diff options
author | Chad Little <clittle@users.sourceforge.net> | 2002-10-18 21:11:52 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2002-10-18 21:11:52 +0000 |
commit | 6aa513f5cd80c9d04d9c242b8b86f0966e5656c8 (patch) | |
tree | f41d8713fd1dc0f1b8aa85df8c4825c93e9d10f0 /year.php | |
parent | a34c8777a5c7f2112f7d03a86a1dc68e5b756143 (diff) | |
download | phpicalendar-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.php | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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> |