aboutsummaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2003-11-13 06:02:47 +0000
committerChad Little <clittle@users.sourceforge.net>2003-11-13 06:02:47 +0000
commit2a395c25874187bc10f3cc3e1bc99daccff71324 (patch)
tree3a11242356e898615405d1e1e9babfd8b78b3b45 /functions
parent574068692ad23ff3d4917a201d76769f47b8d671 (diff)
downloadphpicalendar-2a395c25874187bc10f3cc3e1bc99daccff71324.tar.gz
phpicalendar-2a395c25874187bc10f3cc3e1bc99daccff71324.tar.bz2
phpicalendar-2a395c25874187bc10f3cc3e1bc99daccff71324.zip
Moved select to list icals, changed ical_parser back to previous.
Diffstat (limited to 'functions')
-rw-r--r--functions/ical_parser.php2
-rw-r--r--functions/list_icals.php3
2 files changed, 4 insertions, 1 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));

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