aboutsummaryrefslogtreecommitdiffstats
path: root/config.inc.php
diff options
context:
space:
mode:
authorjwangen <jwangen>2002-10-04 07:41:57 +0000
committerjwangen <jwangen>2002-10-04 07:41:57 +0000
commit9d2eafe2e806a86b5617ed98040fd8667066f852 (patch)
tree364dbc09e14e6994bc92199fee9e80eb7b1e6082 /config.inc.php
parente3fd5651b14606708e5e223aa13d7efbc7400cfe (diff)
downloadphpicalendar-9d2eafe2e806a86b5617ed98040fd8667066f852.tar.gz
phpicalendar-9d2eafe2e806a86b5617ed98040fd8667066f852.tar.bz2
phpicalendar-9d2eafe2e806a86b5617ed98040fd8667066f852.zip
added blacklisting of local calendars and the ability to view remote
calendars
Diffstat (limited to 'config.inc.php')
-rw-r--r--config.inc.php24
1 files changed, 20 insertions, 4 deletions
diff --git a/config.inc.php b/config.inc.php
index 782bd34..46a4f8a 100644
--- a/config.inc.php
+++ b/config.inc.php
@@ -6,9 +6,25 @@ $default_view = 'day'; // default view for calendars = 'day', 'week', 'month
$default_cal = 'Home'; // exact filename of calendar without .ics
$language = 'english'; // Language support - 'English', 'Polish', 'German', 'French', 'Dutch', 'Danish', 'Italian', 'Japanese', 'Norwegian'
$week_start_day = 'sunday'; // Day of the week your week starts on
-$use_sessions = 'yes'; // For speedy performance on web servers, not good for localhost use.
$day_start = '0700'; // Start time for day grid
-$gridLength = '15'; // grid distance in minutes for day view
-$display_custom_goto = ''; // in the 'Jump To' box, display the custom 'go to day' box. 'yes' means Yes, anything else means no. 'yes' must be lowercase.
-$display_ical_list = 'yes'; // in the 'Jump To' box, display the pop-up menu with the list of all calendars in the $calendar_path directory. 'yes' means Yes, anything else means no. 'yes' must be lowercase.
+$gridLength = '15'; // grid distance in minutes for day view, multiples of 15 preferred
+
+// Yes/No questions --- 'yes' means Yes, anything else means no. 'yes' must be lowercase.
+$use_sessions = 'yes'; // For speedy performance on web servers, not good for localhost use. This has not yet been implemented.
+$display_custom_goto = 'no'; // in the 'Jump To' box, display the custom 'go to day' box.
+$display_ical_list = 'yes'; // in the 'Jump To' box, display the pop-up menu with the list of all calendars in the $calendar_path directory.
+$allow_webcals = 'yes'; // Allow http:// and webcal:// prefixed URLs to be used as the $cal for remote viewing of "subscribe-able" calendars. This does not have to be enabled to allow specific ones below.
+
+$blacklisted_cals[] = ''; // fill in between the quotes the name of the calendars
+$blacklisted_cals[] = ''; // you wish to 'blacklist' or that you don't want to show up in your calendar
+$blacklisted_cals[] = ''; // list. This should be the exact calendar filename without .ics
+$blacklisted_cals[] = ''; // The parser will *not* parse any cal that is in this list (it will not be Web accessible)
+// add more lines as necessary
+
+$list_webcals[] = ''; // fill in between the quotes exact URL of a calendar that you wish
+$list_webcals[] = ''; // to show up in your calendar list. You must prefix the URL with http://
+$list_webcals[] = ''; // or webcal:// and the filename should contain the .ics suffix
+$list_webcals[] = ''; // $allow_webcals does *not* need to be "yes" for these to show up and work
+// add more lines as necessary
+
?> \ No newline at end of file

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