[ Index ] |
|
Code source de Serendipity 1.2 |
1 <table style="width: 100%" cellspacing="0" cellpadding="0" class="serendipity_calendar"> 2 <tr> 3 <td class="serendipity_calendarHeader"> 4 <?php if ($GLOBALS['tpl']['plugin_calendar_head']['minScroll'] <= $GLOBALS['tpl']['plugin_calendar_head']['month_date']): ?> 5 <a title="<?= BACK ?>" href="<?= $GLOBALS['tpl']['plugin_calendar_head']['uri_previous'] ?>"><img alt="<?= BACK ?>" src="<?php echo serendipity_getTemplateFile('img/back.png'); ?>" width="16" height="12" style="border: 0px" /></a> 6 <?php endif; ?> 7 </td> 8 9 <td colspan="5" class="serendipity_calendarHeader" style="text-align: center; vertical-align: bottom"> 10 <b><a style="white-space: nowrap" href="<?= $GLOBALS['tpl']['plugin_calendar_head']['uri_month'] ?>"><?= serendipity_formatTime("%B '%y", $GLOBALS['tpl']['plugin_calendar_head']['month_date']); ?></a></b> 11 </td> 12 13 <td class="serendipity_calendarHeader" style="text-align: right"> 14 <?php if ($GLOBALS['tpl']['plugin_calendar_head']['maxScroll'] >= $GLOBALS['tpl']['plugin_calendar_head']['month_date']): ?> 15 <a title="<?= FORWARD ?>" href="<?= $GLOBALS['tpl']['plugin_calendar_head']['uri_next'] ?>"><img alt="<?= FORWARD ?>" src="<?php echo serendipity_getTemplateFile('img/forward.png'); ?>" width="16" height="12" style="border: 0px" /></a> 16 <?php endif; ?> 17 </td> 18 </tr> 19 20 <tr> 21 <?php foreach($GLOBALS['tpl']['plugin_calendar_dow'] AS $dow): ?> 22 <td scope="col" abbr="<?= serendipity_formatTime('%A', $dow['date']); ?>" title="<?= serendipity_formatTime('%A', $dow['date']); ?>" class="serendipity_weekDayName" align="center"><?= serendipity_formatTime('%a', $dow['date']); ?></td> 23 <?php endforeach; ?> 24 </tr> 25 26 <?php foreach($GLOBALS['tpl']['plugin_calendar_weeks'] AS $week): ?> 27 <tr class="serendipity_calendar"> 28 <?php foreach($week['days'] AS $day): ?> 29 <td class="serendipity_calendarDay <?= $day['classes'] ?>"<?php if (isset($day['properties']['Title'])): ?> title="<?= $day['properties']['Title'] ?>"<?php endif; ?>><?php if (isset($day['properties']['Active']) AND $day['properties']['Active']): ?><a href="<?= $day['properties']['Link'] ?>"><?php endif; ?><?= $day['name']; ?><?php if (isset($day['properties']['Active']) AND $day['properties']['Active']): ?></a><?php endif; ?></td> 30 <?php endforeach; ?> 31 </tr> 32 <?php endforeach; ?> 33 </table>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sat Nov 24 09:00:37 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |