diff options
author | Chad Little <clittle@users.sourceforge.net> | 2003-11-13 06:02:47 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2003-11-13 06:02:47 +0000 |
commit | 2a395c25874187bc10f3cc3e1bc99daccff71324 (patch) | |
tree | 3a11242356e898615405d1e1e9babfd8b78b3b45 | |
parent | 574068692ad23ff3d4917a201d76769f47b8d671 (diff) | |
download | phpicalendar-2a395c25874187bc10f3cc3e1bc99daccff71324.tar.gz phpicalendar-2a395c25874187bc10f3cc3e1bc99daccff71324.tar.bz2 phpicalendar-2a395c25874187bc10f3cc3e1bc99daccff71324.zip |
Moved select to list icals, changed ical_parser back to previous.
-rw-r--r-- | functions/ical_parser.php | 2 | ||||
-rw-r--r-- | functions/list_icals.php | 3 | ||||
-rw-r--r-- | includes/sidebar.php | 3 |
3 files changed, 4 insertions, 4 deletions
diff --git a/functions/ical_parser.php b/functions/ical_parser.php index 990abe3..7775c49 100644 --- a/functions/ical_parser.php +++ b/functions/ical_parser.php @@ -395,7 +395,7 @@ foreach ($cal_filelist as $filename) { if (!isset($number)) $number = 1; // if $until isn't set yet, we set it to the end of our range we're looking at // The FREQ switch array will always kick our early, so lets try this workaround. - if (isset($until)) $until = strtotime('+'.$interval.' '.$freq_type, $until);; + // if (isset($until)) $until = strtotime('+'.$interval.' '.$freq_type, $until);; if (!isset($until)) $until = $end_range_time; $end_date_time = $until; diff --git a/functions/list_icals.php b/functions/list_icals.php index 57de27a..fecf484 100644 --- a/functions/list_icals.php +++ b/functions/list_icals.php @@ -7,6 +7,9 @@ if ($display_ical_list == "yes") { } else { $query=""; } + echo "<select name=\"action\" class=\"query_style\" onChange=\"window.location=(this.options[this.selectedIndex].value+'"; + if (isset($query)) echo $query; + echo "');\">"; // open file $dir_handle = @opendir($calendar_path) or die(error(sprintf($error_path_lang, $calendar_path), $cal_filename)); diff --git a/includes/sidebar.php b/includes/sidebar.php index 921e937..d7c389f 100644 --- a/includes/sidebar.php +++ b/includes/sidebar.php @@ -51,9 +51,6 @@ $search_box = '<form style="margin-bottom:0;" action="search.php" method="GET">< echo '<div style="padding: 5px;">'; echo '<form style="margin-bottom:0;" action="day.php" method="GET">'; - echo "<select name=\"action\" class=\"query_style\" onChange=\"window.location=(this.options[this.selectedIndex].value+'"; - if (isset($query)) echo $query; - echo "');\">"; include('./functions/list_icals.php'); include('./functions/list_years.php'); include('./functions/list_months.php'); |