aboutsummaryrefslogtreecommitdiffstats
path: root/functions/list_icals.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2003-09-16 05:38:33 +0000
committerChad Little <clittle@users.sourceforge.net>2003-09-16 05:38:33 +0000
commit20c668e9def5ae16ff2384ea332fd5548e178f76 (patch)
tree4af2053389e6233964bc55b63091f6bf79ef122f /functions/list_icals.php
parentefd930c5a2a02dc06423de7122b4ef890bd6c44c (diff)
downloadphpicalendar-20c668e9def5ae16ff2384ea332fd5548e178f76.tar.gz
phpicalendar-20c668e9def5ae16ff2384ea332fd5548e178f76.tar.bz2
phpicalendar-20c668e9def5ae16ff2384ea332fd5548e178f76.zip
Finally fixed the jumpto's to not have space around them. Also cleaned up
the HTML footprint to be slimmer.
Diffstat (limited to 'functions/list_icals.php')
-rw-r--r--functions/list_icals.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/functions/list_icals.php b/functions/list_icals.php
index 91b6b7c..904b74a 100644
--- a/functions/list_icals.php
+++ b/functions/list_icals.php
@@ -6,9 +6,7 @@ if ($display_ical_list == "yes") {
$query="&amp;getdate=$getdate";
} else {
$query="";
- }
- print "<form action=\"day.php\" method=\"GET\">\n<select name=\"action\" class=\"query_style\" onChange=\"window.location=(this.options[this.selectedIndex].value+'$query');\">\n";
-
+ }
// open file
$dir_handle = @opendir($calendar_path) or die(error(sprintf($error_path_lang, $calendar_path), $cal_filename));
@@ -32,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>\n";
+ print "<option value=\"$current_view.php?cal=$cal_tmp\" selected>$cal_displayname_tmp $calendar_lang</option>";
} else {
- print "<option value=\"$current_view.php?cal=$cal_tmp\">$cal_displayname_tmp $calendar_lang</option>\n";
+ print "<option value=\"$current_view.php?cal=$cal_tmp\">$cal_displayname_tmp $calendar_lang</option>";
}
}
}
// 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>\n";
+ print "<option value=\"$current_view.php?cal=all_calenders_combined971\" selected>$all_cal_comb_lang</option>";
} else {
- print "<option value=\"$current_view.php?cal=all_calenders_combined971\">$all_cal_comb_lang</option>\n";
+ print "<option value=\"$current_view.php?cal=all_calenders_combined971\">$all_cal_comb_lang</option>";
}
foreach($list_webcals as $cal_tmp) {
@@ -53,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>\n";
+ print "<option value=\"$current_view.php?cal=$cal_encoded_tmp\" selected>$cal_displayname_tmp Webcal</option>";
} else {
- print "<option value=\"$current_view.php?cal=$cal_encoded_tmp\">$cal_displayname_tmp Webcal</option>\n";
+ print "<option value=\"$current_view.php?cal=$cal_encoded_tmp\">$cal_displayname_tmp Webcal</option>";
}
}
}
@@ -64,7 +62,9 @@ if ($display_ical_list == "yes") {
closedir($dir_handle);
// finish <select>
- print "</select>\n</form>";
+ print "</select>";
}
+
+
?>

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