Q 피
汾 1.1 ( ֧LifeType 1.1.x)
dBY http://sourceforge.net/projects/lifetype/ or http://www.pactofshadow.com/lifetype/2/articleperma/40.html
ʽڙࣺ GPL
ߣ lss(1.0) / EagleKing(porting to 1.1)

;

ṩW־피Wվ档

O

̨ݣ

   1. Ոɂ·Ź漰¡
   2.  ˾W־O >> 피O MиO
   3. AOĿĿ 5 ƪ£޸ĳҪ@ʾĔĿ
   4. xx¼µķ 

ژӰneʹã

   1. $stickyposts->isEnabled() z plugin Ƿѽá
   2. $stickyposts->getArticles( 'sticky' ) µ article УOĿ
   3. $stickyposts->getArticles( 'announce' ) عµ article УOĹĿ
   4. $stickyposts->getArticles( 12 ) ָ· ID  article Се 12 · ID
   5. $stickyposts->getCategory( 'sticky' ) µ category Áɸ³BY
   6. $stickyposts->getCategory( 'announce' ) 춹µ category Áɸ๫³BY
   7. $stickyposts->getCategory( 12 ) ָ· ID  category  

 'sticky'  'announce'  plugin ı֡

Ӱn

ĬJ 'standrad' Ӱ޸ġ

{if $category}<h2>{$locale->tr("category")}: {$category->getName()}</h2>{/if} 


{if empty($showAll) && $stickyposts->isEnabled()}
  <h2>Sticky Posts</h2>
  {assign var=stickys value=$stickyposts->getArticles('sticky')}
  {foreach from=$stickys item=post}
  <h3><a href="{$url->postPermalink($post)}">{$post->getTopic()}</a></h3>
  {/foreach}  
  {assign var=stickyCategory value=$stickyposts->getCategory('sticky')}
  <h4><a href="{$url->categoryLink($stickyCategory)}">More Sticky...</a></h4>
  
  <h2>Announce Posts</h2>
  {assign var=stickys value=$stickyposts->getArticles('announce')}
  {foreach from=$stickys item=post}
  <h3><a href="{$url->postPermalink($post)}">{$post->getTopic()}</a></h3>
  {/foreach}
  {assign var=announceCategory value=$stickyposts->getCategory('announce')}
  <h4><a href="{$url->categoryLink($announceCategory)}">More Announce...</a></h4>
{/if} 