[ Index ]
 

Code source de Serendipity 1.2

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/templates/bulletproof/ -> entries_archives.tpl (source)

   1  {serendipity_hookPlugin hook="entries_header"}
   2  <div class="serendipity_Entry_Date">
   3     <h3 class="serendipity_date">{$CONST.ARCHIVES}</h3>
   4     {foreach from=$archives item="archive"}
   5        <h4 class="archives_header">{$archive.year}</h4>
   6        {foreach from=$archive.months item="month"}
   7        <ul class="archives_row">
   8           {if $template_option.colorset == 'blank'}
   9           <li class="archives_graph"><img src="{serendipity_getFile file="img/graph_bar_horisontal.png"}" alt="bar graph" height="10" width="{math width=100 equation="count * width / max" count=$month.entry_count max=$max_entries format="%d"}" style="border: 1px solid #000000" /></li>
  10           {else}
  11           <li class="archives_graph"><img src="{$serendipityHTTPPath}templates/{$template}/img/{$template_option.colorset}_graph_bar.png" alt="bar graph" height="10" width="{math width=100 equation="count * width / max" count=$month.entry_count max=$max_entries format="%d"}" style="border: 1px solid #000000" /></li>
  12           {/if}
  13           <li class="archives_date">{$month.date|@formatTime:"%B"}</li>
  14           <li class="archives_count">{$month.entry_count} {$CONST.ENTRIES}</li>
  15           <li class="archives_count_link">({if $month.entry_count}<a href="{$month.link}">{/if}{$CONST.VIEW_FULL}{if $month.entry_count}</a>{/if})</li>
  16           <li class="archives_link">({if $month.entry_count}<a href="{$month.link_summary}">{/if}{$CONST.VIEW_TOPICS}{if $month.entry_count}</a>{/if})</li>
  17        </ul>
  18        {/foreach}
  19     {/foreach}
  20  </div>
  21  <div class="serendipity_pageFooter" style="text-align: center">
  22  {serendipity_hookPlugin hook="entries_footer"}
  23  </div>


Généré le : Sat Nov 24 09:00:37 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics