aboutsummaryrefslogtreecommitdiffstats
path: root/day.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2002-10-05 06:43:42 +0000
committerChad Little <clittle@users.sourceforge.net>2002-10-05 06:43:42 +0000
commit0d8ef88923d9490374fdf6fef328929956f26559 (patch)
treee4357e40814449d53401e1127e5d71355c1f0aea /day.php
parent7856c7ea0ed134c4dfee5c9ae2b4e7e2f9ab8b79 (diff)
downloadphpicalendar-0d8ef88923d9490374fdf6fef328929956f26559.tar.gz
phpicalendar-0d8ef88923d9490374fdf6fef328929956f26559.tar.bz2
phpicalendar-0d8ef88923d9490374fdf6fef328929956f26559.zip
More style sheet tweeks, i think everything is in.
Diffstat (limited to 'day.php')
-rw-r--r--day.php23
1 files changed, 5 insertions, 18 deletions
diff --git a/day.php b/day.php
index b76b999..03a1c63 100644
--- a/day.php
+++ b/day.php
@@ -34,19 +34,6 @@ $this_day = $day_array2[3];
$this_month = $day_array2[2];
$this_year = $day_array2[1];
-$date = strtotime($getdate);
-$month1 = date('m', DateAdd ('m', '-1', $date));
-$month2 = date('m', $date);
-$month3 = date('m', DateAdd ('m', '+1', $date));
-$year1 = date('Y', DateAdd ('m', '-1', $date));
-$year2 = date('Y', $date);
-$year3 = date('Y', DateAdd ('m', '+1', $date));
-$first_sunday1 = sundayOfWeek($year1, $month1, '1');
-$first_sunday2 = sundayOfWeek($year2, $month2, '1');
-$first_sunday3 = sundayOfWeek($year3, $month3, '1');
-$display_month1 = localizeDate ($dateFormat_month, strtotime('-1 month', $date));
-$display_month2 = localizeDate ($dateFormat_month, $date);
-$display_month3 = localizeDate ($dateFormat_month, strtotime('+1 month', $date));
$parse_month = date ('Ym', $date);
$thisday2 = localizeDate($dateFormat_week_list, $date);
@@ -87,18 +74,18 @@ if ($master_array[($getdate)]) {
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
- <td align="right" width="40%" class="navback"><?php echo '<a class="psf" href="day.php?cal='.$cal.'&getdate='.$yesterdays_date.'"><img src="styles/'.$style_sheet.'/left_day.gif" alt="" width="28" height="28" border="0" align="right"></a>'; ?></td>
+ <td align="right" width="40%" class="navback"><?php echo '<a class="psf" href="day.php?cal='.$cal.'&getdate='.$yesterdays_date.'"><img src="styles/'.$style_sheet.'/left_day.gif" alt="" 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="day.php?cal='.$cal.'&getdate='.$tomorrows_date.'"><img src="styles/'.$style_sheet.'/right_day.gif" alt="" width="28" height="28" border="0" align="left"></a>'; ?></td>
+ <td align="left" width="40%" class="navback"><?php echo '<a class="psf" href="day.php?cal='.$cal.'&getdate='.$tomorrows_date.'"><img src="styles/'.$style_sheet.'/right_day.gif" alt="" 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>'; ?>
+ <td><?php echo '<a class="psf" href="day.php?cal='.$cal.'&getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/day_on.gif" alt=""></td>'; ?>
+ <td><?php echo '<a class="psf" href="week.php?cal='.$cal.'&getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/week_on.gif" alt=""></td>'; ?>
+ <td><?php echo '<a class="psf" href="month.php?cal='.$cal.'&getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/month_on.gif" alt=""></td>'; ?>
</tr>
</table>
</td>

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