aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2002-09-30 05:49:40 +0000
committerChad Little <clittle@users.sourceforge.net>2002-09-30 05:49:40 +0000
commita2949eb87f0cb82392956922a38cdef34adec71e (patch)
tree1d5a2790dc184b3d19d482312c6fdd5f065a1fe3
parent3f1ef03a58bb075995bb70543632a8a71902b7ff (diff)
downloadphpicalendar-a2949eb87f0cb82392956922a38cdef34adec71e.zip
phpicalendar-a2949eb87f0cb82392956922a38cdef34adec71e.tar.gz
phpicalendar-a2949eb87f0cb82392956922a38cdef34adec71e.tar.bz2
tweeks to today_today, subscribe icon
-rw-r--r--images/small_icalicon.gifbin369 -> 0 bytes
-rw-r--r--images/smallicon.gifbin371 -> 111 bytes
-rw-r--r--month.php6
-rw-r--r--week.php2
4 files changed, 7 insertions, 1 deletions
diff --git a/images/small_icalicon.gif b/images/small_icalicon.gif
deleted file mode 100644
index cf5b6de..0000000
--- a/images/small_icalicon.gif
+++ /dev/null
Binary files differ
diff --git a/images/smallicon.gif b/images/smallicon.gif
index ab0c9c2..db52d9e 100644
--- a/images/smallicon.gif
+++ b/images/smallicon.gif
Binary files differ
diff --git a/month.php b/month.php
index fbda09a..4da99f6 100644
--- a/month.php
+++ b/month.php
@@ -10,13 +10,17 @@
$this_day = $day_array2[3];
$this_month = $day_array2[2];
$this_year = $day_array2[1];
+
+ $unix_time = strtotime($getdate);
+ $today_today = date ("Ymd");
+ $tomorrows_date = date( "Ymd", strtotime("+1 day", $unix_time));
+ $yesterdays_date = date( "Ymd", strtotime("-1 day", $unix_time));
$date = mktime(0,0,0,"$this_month","$this_day","$this_year");
$next_month = date("Ymd", DateAdd ("m", "1", $date));
$prev_month = date("Ymd", DateAdd ("m", "-1", $date));
$display_month = strftime ($dateFormat_month, $date);
$parse_month = date ("Ym", $date);
$first_sunday = sundayOfWeek($this_year, $this_month, "1");
- $today_today = date ("Ymd");
?>
diff --git a/week.php b/week.php
index 69e1fba..72d47ac 100644
--- a/week.php
+++ b/week.php
@@ -17,6 +17,8 @@ $unix_time = strtotime($getdate);
$today_today = date ("Ymd");
$next_week = date("Ymd", strtotime("+1 week", $unix_time));
$prev_week = date("Ymd", strtotime("-1 week", $unix_time));
+$tomorrows_date = date( "Ymd", strtotime("+1 day", $unix_time));
+$yesterdays_date = date( "Ymd", strtotime("-1 day", $unix_time));
$start_week_time = strtotime(dateOfWeek($getdate, $week_start_day));
$end_week_time = $start_week_time + (6 * 25 * 60 * 60);

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