diff options
author | Chad Little <clittle@users.sourceforge.net> | 2002-11-23 23:42:00 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2002-11-23 23:42:00 +0000 |
commit | 089f72682f3fd9e2cd845843e7bd9a96047a197d (patch) | |
tree | 1defcd74262056de5251bf49f58f5c0954e4d809 /functions | |
parent | 94b4bf779ba7bd00c60ddd68df1563c8db9442b4 (diff) | |
download | phpicalendar-089f72682f3fd9e2cd845843e7bd9a96047a197d.tar.gz phpicalendar-089f72682f3fd9e2cd845843e7bd9a96047a197d.tar.bz2 phpicalendar-089f72682f3fd9e2cd845843e7bd9a96047a197d.zip |
Patched.
Diffstat (limited to 'functions')
-rw-r--r-- | functions/list_icals.php | 2 | ||||
-rw-r--r-- | functions/list_months.php | 4 | ||||
-rw-r--r-- | functions/list_weeks.php | 4 | ||||
-rw-r--r-- | functions/list_years.php | 6 |
4 files changed, 8 insertions, 8 deletions
diff --git a/functions/list_icals.php b/functions/list_icals.php index f72ac7b..3dbf3d6 100644 --- a/functions/list_icals.php +++ b/functions/list_icals.php @@ -3,7 +3,7 @@ if ($display_ical_list == "yes") { // start of <select> tag if (isset($getdate)) { - $query="&getdate=$getdate"; + $query="&getdate=$getdate"; } else { $query=""; } diff --git a/functions/list_months.php b/functions/list_months.php index a1ef122..e7e1a2a 100644 --- a/functions/list_months.php +++ b/functions/list_months.php @@ -10,9 +10,9 @@ for ($i=0; $i<12; $i++) { $month_month = date("m", $month_time); $select_month = localizeDate($dateFormat_month, $month_time); if ($month_month == $getdate_month) { - print "<option value=\"month.php?cal=$cal&getdate=$monthdate\" selected>$select_month</option>\n"; + print "<option value=\"month.php?cal=$cal&getdate=$monthdate\" selected>$select_month</option>\n"; } else { - print "<option value=\"month.php?cal=$cal&getdate=$monthdate\">$select_month</option>\n"; + print "<option value=\"month.php?cal=$cal&getdate=$monthdate\">$select_month</option>\n"; } $month_time = strtotime ("+1 month", $month_time); } diff --git a/functions/list_weeks.php b/functions/list_weeks.php index ead91e8..f9301e8 100644 --- a/functions/list_weeks.php +++ b/functions/list_weeks.php @@ -20,9 +20,9 @@ do { $select_week2 = localizeDate($dateFormat_week_jump, $end_week_time); if (($check_week >= $start_week_time) && ($check_week <= $end_week_time)) { - print "<option value=\"week.php?cal=$cal&getdate=$weekdate\" selected>$select_week1 - $select_week2</option>\n"; + print "<option value=\"week.php?cal=$cal&getdate=$weekdate\" selected>$select_week1 - $select_week2</option>\n"; } else { - print "<option value=\"week.php?cal=$cal&getdate=$weekdate\">$select_week1 - $select_week2</option>\n"; + print "<option value=\"week.php?cal=$cal&getdate=$weekdate\">$select_week1 - $select_week2</option>\n"; } $start_week_time = strtotime ("+1 week", $start_week_time); $end_week_time = $start_week_time + (6 * 25 * 60 * 60); diff --git a/functions/list_years.php b/functions/list_years.php index ab273a1..4a8c213 100644 --- a/functions/list_years.php +++ b/functions/list_years.php @@ -10,7 +10,7 @@ for ($i=0; $i < ($num_years2 +2); $i++) { $year_time2 = strtotime ("-$num_years2 year", $year_time); $yeardate = date("Ymd", $year_time2); $year_year = date ("Y", $year_time2); - print "<option value=\"year.php?cal=$cal&getdate=$yeardate\">$year_year</option>\n"; + print "<option value=\"year.php?cal=$cal&getdate=$yeardate\">$year_year</option>\n"; $num_years2--; } $year_time = strtotime("$this_year-01-01"); @@ -19,9 +19,9 @@ for ($i=0; $i < ($num_years +1); $i++) { $year_year = date ("Y", $year_time); $yeardate = date("Ymd", $year_time); if ($year_year == $getdate_year) { - print "<option value=\"year.php?cal=$cal&getdate=$yeardate\" selected>$year_year</option>\n"; + print "<option value=\"year.php?cal=$cal&getdate=$yeardate\" selected>$year_year</option>\n"; } else { - print "<option value=\"year.php?cal=$cal&getdate=$yeardate\">$year_year</option>\n"; + print "<option value=\"year.php?cal=$cal&getdate=$yeardate\">$year_year</option>\n"; } $year_time = strtotime ("+1 year", $year_time); } |