aboutsummaryrefslogtreecommitdiffstats
path: root/week.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2002-10-04 04:17:57 +0000
committerChad Little <clittle@users.sourceforge.net>2002-10-04 04:17:57 +0000
commit5d0e816c04d4c0bcb04f6409292ea73a24f4bb49 (patch)
treeea975777613f964377142c94583421653501fa50 /week.php
parent3b3fdb389b295490382a8a9c1c734dabe13d9166 (diff)
downloadphpicalendar-5d0e816c04d4c0bcb04f6409292ea73a24f4bb49.tar.gz
phpicalendar-5d0e816c04d4c0bcb04f6409292ea73a24f4bb49.tar.bz2
phpicalendar-5d0e816c04d4c0bcb04f6409292ea73a24f4bb49.zip
Added day, week, month navigation to all pages.
Diffstat (limited to 'week.php')
-rw-r--r--week.php24
1 files changed, 20 insertions, 4 deletions
diff --git a/week.php b/week.php
index 5bb26ff..1e81e68 100644
--- a/week.php
+++ b/week.php
@@ -72,11 +72,27 @@ for ($i=0;$i<7;$i++) {
<table width="540" border="0" cellspacing="0" cellpadding="0" class="calborder">
<tr>
<td align="center" valign="middle">
- <table width="100%" border="0" cellspacing="0" cellpadding="0" class="G10B">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
- <td align="left" width="75" class="navback"><?php echo "<a class=\"psf\" href=\"week.php?cal=$cal&getdate=$prev_week\"><img src=\"styles/$style_sheet/left_day.gif\" alt=\"\" width=\"28\" height=\"28\" border=\"0\" align=\"left\"></a>"; ?></td>
- <td align="center" class="navback"><font class="H20"><?php echo "$display_date"; ?></font></td>
- <td align="right" width="75" class="navback"><?php echo "<a class=\"psf\" href=\"week.php?cal=$cal&getdate=$next_week\"><img src=\"styles/$style_sheet/right_day.gif\" alt=\"\" width=\"28\" height=\"28\" border=\"0\" align=\"right\"></a>"; ?></td>
+ <td align="left" width="90" class="navback">&nbsp;</td>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td align="right" width="40%" class="navback"><?php echo "<a class=\"psf\" href=\"week.php?cal=$cal&getdate=$prev_week\"><img src=\"styles/$style_sheet/left_day.gif\" alt=\"\" width=\"28\" height=\"28\" border=\"0\" align=\"right\"></a>"; ?></td>
+ <td align="center" width="20%" class="navback" nowrap valign="middle"><font class="H20"><?php echo $display_date; ?></font></td>
+ <td align="left" width="40%" class="navback"><?php echo "<a class=\"psf\" href=\"week.php?cal=$cal&getdate=$next_week\"><img src=\"styles/$style_sheet/right_day.gif\" alt=\"\" width=\"28\" height=\"28\" border=\"0\" align=\"left\"></a>"; ?></td>
+ </tr>
+ </table>
+ </td>
+ <td align="right" width="90" class="navback">
+ <table width="90" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><?php echo '<a class="psf" href="day.php?cal='.$cal.'&getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/day_on.gif" width="30" height="24" alt=""></td>'; ?>
+ <td><?php echo '<a class="psf" href="week.php?cal='.$cal.'&getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/week_on.gif" width="30" height="24" alt=""></td>'; ?>
+ <td><?php echo '<a class="psf" href="month.php?cal='.$cal.'&getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/month_on.gif" width="30" height="24" alt=""></td>'; ?>
+ </tr>
+ </table>
+ </td>
</tr>
</table>
</td>

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