[ Index ] |
|
Code source de eZ Publish 3.9.0 |
1 {* DO NOT EDIT THIS FILE! Use an override template instead. *} 2 {default month=false() show_week=false()} 3 {section show=$month} 4 5 <div class="calendar"> 6 7 <table class="calendar"> 8 <tr class="calendar-navigator"> 9 <th colspan="{sum( $month.weekdays|count, $show_week|choose( 0, 1 ) )}"> 10 <table class="calendar-navigator"> 11 <tr> 12 {section show=is_array( $month.previous )}<td><div class="calendar-previous"><a href={$month.previous.link|ezurl} title="{$month.previous.month} {$month.previous.year}"><span class="calendar-arrow">«</span> </a></div></td>{/section} 13 <td> 14 <div class="calendar-date"> 15 <a href={$month.current.link|ezurl} title="{$month.current.month} {$month.current.year}"><span class="calendar-month">{$month.month}</span> <span class="calendar-year">{$month.year}</span></a> 16 </div> 17 </td> 18 {section show=is_array( $month.next )}<td><div class="calendar-next"><a href={$month.next.link|ezurl} title="{$month.next.month} {$month.next.year}"><span class="calendar-arrow">»</span> </a></div></td>{/section} 19 </tr> 20 </table> 21 </th> 22 </tr> 23 <tr class="calendar-day-names"> 24 {section show=$show_week}<th> </th>{/section} 25 {section var=weekday loop=$month.weekdays} 26 <th class="calendar-day-{$weekday.item.class|wash}">{$weekday.item.day|wash}</th> 27 {/section} 28 </tr> 29 {section var=week loop=$month.weeks} 30 <tr class="calendar-days"> 31 {section show=$show_week}<td class="calendar-week">{$week.key}</td>{/section} 32 {section var=day loop=$week.item} 33 {section show=is_boolean( $day.item )} 34 <td class="calendar-empty"> </td> 35 {/section} 36 {section show=is_numeric( $day.item )} 37 <td>{$day.item}</td> 38 {/section} 39 {section show=is_array( $day.item )} 40 {let day_number=$day.item.day 41 day_class=first_set( $day.item.class, false() ) 42 day_link=first_set( $day.item.link, false() ) 43 day_highlight=first_set( $day.item.highlight, false() )} 44 <td{section show=$day_class|count|gt( 0 )} class="calendar-day-{$day_class|wash}"{/section}>{section show=$day_link|count|gt( 0 )}<a href={$day_link|ezurl}>{/section}{section show=and( is_boolean( $day_highlight ), $day_highlight )}<strong class="calendar-day-highlight">{/section}{$day_number}{section show=and( is_boolean( $day_highlight ), $day_highlight )}</strong>{/section}{section show=$day_link|count|gt( 0 )}</a>{/section}</td> 45 {/let} 46 {/section} 47 {/section} 48 </tr> 49 {/section} 50 </table> 51 52 </div> 53 54 {/section} 55 {/default}
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sat Feb 24 10:30:04 2007 | par Balluche grâce à PHPXref 0.7 |