aboutsummaryrefslogtreecommitdiffstats
path: root/year.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2002-10-18 21:11:52 +0000
committerChad Little <clittle@users.sourceforge.net>2002-10-18 21:11:52 +0000
commit6aa513f5cd80c9d04d9c242b8b86f0966e5656c8 (patch)
treef41d8713fd1dc0f1b8aa85df8c4825c93e9d10f0 /year.php
parenta34c8777a5c7f2112f7d03a86a1dc68e5b756143 (diff)
downloadphpicalendar-6aa513f5cd80c9d04d9c242b8b86f0966e5656c8.tar.gz
phpicalendar-6aa513f5cd80c9d04d9c242b8b86f0966e5656c8.tar.bz2
phpicalendar-6aa513f5cd80c9d04d9c242b8b86f0966e5656c8.zip
Added links to months in year view via a new style class. Update styles.
Diffstat (limited to 'year.php')
-rw-r--r--year.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/year.php b/year.php
index b53b681..2b514cd 100644
--- a/year.php
+++ b/year.php
@@ -77,8 +77,11 @@ $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>
- <?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>
+ <?php
+ $monthlink = date("Ym", $startYear);
+ $monthlink = $monthlink . $this_day;
+ ?>
+ <td align="center" class="sideback"><?php echo '<a class="ps3" "href="month.php?cal=' . $cal . '&getdate=' . $monthlink . '">'; ?><font class="G10BOLD"><?php print (localizeDate ($dateFormat_month, $startYear)); ?></font></a></td>
<td width="1" class="sideback"></td>
</tr>
</table>

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