diff options
author | Wesley Miaw <josuah@users.sourceforge.net> | 2003-09-20 00:16:05 +0000 |
---|---|---|
committer | Wesley Miaw <josuah@users.sourceforge.net> | 2003-09-20 00:16:05 +0000 |
commit | afe581186d6bd59ea42e5dfa3ce47ab6705b9409 (patch) | |
tree | 95c08cb2b0b622ebaec80937af6a088e6ff0a080 /functions/list_icals.php | |
parent | 5acbcff92008621e2f50893be83d58385e00dd67 (diff) | |
download | phpicalendar-afe581186d6bd59ea42e5dfa3ce47ab6705b9409.tar.gz phpicalendar-afe581186d6bd59ea42e5dfa3ce47ab6705b9409.tar.bz2 phpicalendar-afe581186d6bd59ea42e5dfa3ce47ab6705b9409.zip |
Set magic string $ALL_CALENDARS_COMBINED = 'all_calendars_combined971'.
All previous references to 'all_calendars_combined971' now point at
$ALL_CALENDARS_COMBINED.
Uncommented closing form tag on sidebar.php, and set correct spacing
for the entire sidebar.
Diffstat (limited to 'functions/list_icals.php')
-rw-r--r-- | functions/list_icals.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/functions/list_icals.php b/functions/list_icals.php index 904b74a..43b476a 100644 --- a/functions/list_icals.php +++ b/functions/list_icals.php @@ -38,10 +38,10 @@ if ($display_ical_list == "yes") { } // option to open all (non-web) calenders together - if ($cal == 'all_calenders_combined971') { - print "<option value=\"$current_view.php?cal=all_calenders_combined971\" selected>$all_cal_comb_lang</option>"; + if ($cal == $ALL_CALENDARS_COMBINED) { + print "<option value=\"$current_view.php?cal=$ALL_CALENDARS_COMBINED\" selected>$all_cal_comb_lang</option>"; } else { - print "<option value=\"$current_view.php?cal=all_calenders_combined971\">$all_cal_comb_lang</option>"; + print "<option value=\"$current_view.php?cal=$ALL_CALENDARS_COMBINED\">$all_cal_comb_lang</option>"; } foreach($list_webcals as $cal_tmp) { |