aboutsummaryrefslogtreecommitdiffstats
path: root/year.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2002-10-18 20:26:25 +0000
committerChad Little <clittle@users.sourceforge.net>2002-10-18 20:26:25 +0000
commita34c8777a5c7f2112f7d03a86a1dc68e5b756143 (patch)
tree861b538169324e4e2ccc0238195cf9bc5bdb65a6 /year.php
parenta80f1686b8f2d1c5f66e771568fde19e7c42e589 (diff)
downloadphpicalendar-a34c8777a5c7f2112f7d03a86a1dc68e5b756143.tar.gz
phpicalendar-a34c8777a5c7f2112f7d03a86a1dc68e5b756143.tar.bz2
phpicalendar-a34c8777a5c7f2112f7d03a86a1dc68e5b756143.zip
Year - added clickable months, Week - applied patch for colspan, README - update Mozilla support
Diffstat (limited to 'year.php')
-rw-r--r--year.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/year.php b/year.php
index 38ce618..b53b681 100644
--- a/year.php
+++ b/year.php
@@ -77,7 +77,8 @@ $thisday2 = localizeDate($dateFormat_week_list, $unix_time);
<table border="0" width="210" cellspacing="0" cellpadding="0">
<tr>
<td width="1" class="sideback"><img src="images/spacer.gif" width="1" height="20" alt=""></td>
- <td align="center" class="sideback"><font class="G10BOLD"><?php print (localizeDate ($dateFormat_month, $startYear)); ?></font></td>
+ <?php $monthlink = date("Ymd", $startYear); ?>
+ <td align="center" class="sideback" <?php echo 'onclick="window.location.href=\'month.php?cal=' . $cal . '&getdate=' . $monthlink . '\'">'; ?><font class="G10BOLD"><?php print (localizeDate ($dateFormat_month, $startYear)); ?></font></td>
<td width="1" class="sideback"></td>
</tr>
</table>

© 2014-2024 Faster IT GmbH | imprint | privacy policy