aboutsummaryrefslogtreecommitdiffstats
path: root/config.inc.php
diff options
context:
space:
mode:
authorWesley Miaw <josuah@users.sourceforge.net>2003-11-22 21:16:10 +0000
committerWesley Miaw <josuah@users.sourceforge.net>2003-11-22 21:16:10 +0000
commit3b3487be53650bb9b39d9ed8c7afd1c04b943b60 (patch)
treec0ab013a59cebcbdbc024a99b8050b54b4d4fce8 /config.inc.php
parent3fa43afd25ab763d3540fc5ddaa4c164b2af33c1 (diff)
downloadphpicalendar-3b3487be53650bb9b39d9ed8c7afd1c04b943b60.tar.gz
phpicalendar-3b3487be53650bb9b39d9ed8c7afd1c04b943b60.tar.bz2
phpicalendar-3b3487be53650bb9b39d9ed8c7afd1c04b943b60.zip
Added username/password login to access locked calendars. Moved
calendar availability logic (with support for login) to a calendar_functions.php file. RSS feeds support the login feature when determining which calendars to return. Styles updated for the login box.
Diffstat (limited to 'config.inc.php')
-rw-r--r--config.inc.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/config.inc.php b/config.inc.php
index b739dc4..c7fe55c 100644
--- a/config.inc.php
+++ b/config.inc.php
@@ -47,6 +47,7 @@ $allow_preferences = 'yes'; // Allow visitors to change various preferences v
$printview_default = 'no'; // Set print view as the default view. day, week, and month only supported views for $default_view (listed well above).
$show_todos = 'yes'; // Show your todo list on the side of day and week view.
$show_completed = 'yes'; // Show completed todos on your todo list.
+$show_login = 'no'; // Set to yes to prompt for login to unlock calendars.
// Administration settings
$allow_admin = 'no'; // Set to yes to allow the admin page - remember to change the default password if using 'internal' as the $auth_method
@@ -68,6 +69,18 @@ $list_webcals[] = ''; // or webcal:// and the filename should contain the .
$list_webcals[] = ''; // $allow_webcals does *not* need to be "yes" for these to show up and work
// add more lines as necessary
+$locked_cals[] = ''; // Fill in-between the quotes the names of the calendars you wish to hide
+$locked_cals[] = ''; // unless unlocked by a username/password login. This should be the
+$locked_cals[] = ''; // exact calendar filename without the .ics suffix.
+$locked_cals[] = ''; //
+// add more lines as necessary
+
+$locked_map[] = ''; // Map username:password accounts to locked calendars that should be
+$locked_map[] = ''; // unlocked if logged in. Calendar names should be the same as what is
+$locked_map[] = ''; // listed in the $locked_cals, again without the .ics suffix.
+$locked_map[] = ''; // Example: $locked_map['username:password'] = array('Locked1', 'Locked2');
+// add more lines as necessary
+
$color_cals[] = 'silver'; // Fill in between the quotes the colors you want to display
$color_cals[] = 'red'; // multiple calendars in.
$color_cals[] = 'orange'; // The first color will be used if no color is selected.

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