diff options
author | Chad Little <clittle@users.sourceforge.net> | 2003-09-20 19:13:12 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2003-09-20 19:13:12 +0000 |
commit | fae38172f95e53853037beddd7998af0c676fc3d (patch) | |
tree | 0ea7db145df4c3cf9d3293735a99c46328f0339b /functions/list_icals.php | |
parent | 2ba3f29f78b9ee4d3358cf1daa4d1d2431c82aa2 (diff) | |
download | phpicalendar-fae38172f95e53853037beddd7998af0c676fc3d.tar.gz phpicalendar-fae38172f95e53853037beddd7998af0c676fc3d.tar.bz2 phpicalendar-fae38172f95e53853037beddd7998af0c676fc3d.zip |
Added BYYEARDAY support, added getdate to switching calendars.
Diffstat (limited to 'functions/list_icals.php')
-rw-r--r-- | functions/list_icals.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/functions/list_icals.php b/functions/list_icals.php index 43b476a..57de27a 100644 --- a/functions/list_icals.php +++ b/functions/list_icals.php @@ -30,18 +30,18 @@ if ($display_ical_list == "yes") { $cal_displayname_tmp = str_replace("32", " ", $cal_filename_tmp); if (!in_array($cal_filename_tmp, $blacklisted_cals)) { if ($cal_tmp == $cal) { - print "<option value=\"$current_view.php?cal=$cal_tmp\" selected>$cal_displayname_tmp $calendar_lang</option>"; + print "<option value=\"$current_view.php?cal=$cal_tmp&getdate=$getdate\" selected>$cal_displayname_tmp $calendar_lang</option>"; } else { - print "<option value=\"$current_view.php?cal=$cal_tmp\">$cal_displayname_tmp $calendar_lang</option>"; + print "<option value=\"$current_view.php?cal=$cal_tmp&getdate=$getdate\">$cal_displayname_tmp $calendar_lang</option>"; } } } // option to open all (non-web) calenders together if ($cal == $ALL_CALENDARS_COMBINED) { - print "<option value=\"$current_view.php?cal=$ALL_CALENDARS_COMBINED\" selected>$all_cal_comb_lang</option>"; + print "<option value=\"$current_view.php?cal=$ALL_CALENDARS_COMBINED&getdate=$getdate\" selected>$all_cal_comb_lang</option>"; } else { - print "<option value=\"$current_view.php?cal=$ALL_CALENDARS_COMBINED\">$all_cal_comb_lang</option>"; + print "<option value=\"$current_view.php?cal=$ALL_CALENDARS_COMBINED&getdate=$getdate\">$all_cal_comb_lang</option>"; } foreach($list_webcals as $cal_tmp) { @@ -51,9 +51,9 @@ if ($display_ical_list == "yes") { $cal_displayname_tmp = substr($cal_displayname_tmp,0,-4); $cal_encoded_tmp = urlencode($cal_tmp); if ($cal_tmp == $cal_httpPrefix || $cal_tmp == $cal_webcalPrefix) { - print "<option value=\"$current_view.php?cal=$cal_encoded_tmp\" selected>$cal_displayname_tmp Webcal</option>"; + print "<option value=\"$current_view.php?cal=$cal_encoded_tmp&getdate=$getdate\" selected>$cal_displayname_tmp Webcal</option>"; } else { - print "<option value=\"$current_view.php?cal=$cal_encoded_tmp\">$cal_displayname_tmp Webcal</option>"; + print "<option value=\"$current_view.php?cal=$cal_encoded_tmp&getdate=$getdate\">$cal_displayname_tmp Webcal</option>"; } } } |