[ Index ]
 

Code source de Serendipity 1.2

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

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

   1  <table cellspacing="0" cellpadding="0" summary="this table is a calendar for the month of {$smarty.now|@formatTime:"%B, %Y"}" class="serendipity_calendar">
   2      <thead>
   3        <tr>
   4          <th id="back" scope="col" colspan="1" class="serendipity_calendarHeader" style="text-align: right">
   5          {if $plugin_calendar_head.minScroll le $plugin_calendar_head.month_date}
   6             {if $template_option.colorset == 'blank'}
   7             <a title="{$CONST.BACK}" href="{$plugin_calendar_head.uri_previous}"><img alt="{$CONST.BACK}" src="{serendipity_getFile file="img/back.png"}" width="12" height="12" /></a>
   8             {else}
   9             <a title="{$CONST.BACK}" href="{$plugin_calendar_head.uri_previous}"><img alt="{$CONST.BACK}" src="{$serendipityHTTPPath}templates/{$template}/img/{$template_option.colorset}_back.png" width="12" height="12" /></a>
  10             {/if}
  11          {else}
  12             <img alt="" src="{serendipity_getFile file="img/blank.png"}" width="6" height="6" class="serendipity_calender_spacer" />
  13          {/if}
  14          </th>
  15  
  16          <th id="month" scope="col" colspan="5" class="serendipity_calendarHeader" style="text-align: center">
  17              <b><a style="white-space: nowrap" href="{$plugin_calendar_head.uri_month}">{$plugin_calendar_head.month_date|formatTime:"%B '%y":false}</a></b>
  18          </th>
  19  
  20          <th id="forward" scope="col" colspan="1" class="serendipity_calendarHeader" style="text-align: left">
  21          {if $plugin_calendar_head.maxScroll ge $plugin_calendar_head.month_date}
  22              {if $template_option.colorset == 'blank'}
  23              <a title="{$CONST.FORWARD}" href="{$plugin_calendar_head.uri_next}"><img alt="{$CONST.FORWARD}" src="{serendipity_getFile file="img/forward.png"}" width="12" height="12" /></a>
  24              {else}
  25              <a title="{$CONST.FORWARD}" href="{$plugin_calendar_head.uri_next}"><img alt="{$CONST.FORWARD}" src="{$serendipityHTTPPath}templates/{$template}/img/{$template_option.colorset}_forward.png" width="12" height="12" /></a>
  26              {/if}
  27          {else}
  28              <img alt="" src="{serendipity_getFile file="img/blank.png"}" width="6" height="6" class="serendipity_calender_spacer" />
  29          {/if}
  30          </th>
  31      </tr>
  32  
  33      <tr>
  34      {foreach from=$plugin_calendar_dow item="dow"}
  35          <th id="{$dow.date|@formatTime:"%a":false|@truncate:3:'':true}" scope="col" abbr="{$dow.date|@formatTime:"%A":false}" title="{$dow.date|@formatTime:"%A":false}" class="serendipity_weekDayName" align="center">{$dow.date|@formatTime:"%a":false|@truncate:2:'':true}</th>
  36      {/foreach}
  37      </tr>
  38  </thead>
  39  <tfoot class="serendipity_calendarHeader">
  40  <tr><td id="today" scope="col" colspan="7">{$smarty.now|@formatTime:"%a %B %e %Y"}</td></tr>
  41  </tfoot>
  42  <tbody>
  43      {foreach from=$plugin_calendar_weeks item="week"}
  44          <tr class="serendipity_calendar">
  45          {foreach from=$week.days item="day"}
  46              <td class="serendipity_calendarDay {$day.classes}"{if isset($day.properties.Title)} title="{$day.properties.Title}"{/if}>{if isset($day.properties.Active) and $day.properties.Active}
  47                  <a href="{$day.properties.Link}">{/if}{$day.name|@default:"&#160;"}{if isset($day.properties.Active) and $day.properties.Active}</a>{/if}</td>
  48          {/foreach}
  49          </tr>
  50      {/foreach}
  51  </tbody>
  52  </table>


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