diff options
author | Wesley Miaw <josuah@users.sourceforge.net> | 2003-11-22 21:16:10 +0000 |
---|---|---|
committer | Wesley Miaw <josuah@users.sourceforge.net> | 2003-11-22 21:16:10 +0000 |
commit | 3b3487be53650bb9b39d9ed8c7afd1c04b943b60 (patch) | |
tree | c0ab013a59cebcbdbc024a99b8050b54b4d4fce8 /admin.php | |
parent | 3fa43afd25ab763d3540fc5ddaa4c164b2af33c1 (diff) | |
download | phpicalendar-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 'admin.php')
-rw-r--r-- | admin.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,6 +4,7 @@ session_start(); define('BASE', './'); include (BASE.'functions/init.inc.php'); include (BASE.'functions/admin_functions.php'); +include (BASE.'functions/calendar_functions.php'); // Redirect if administration is not allowed if ($allow_admin != "yes") { @@ -234,7 +235,7 @@ if ($action == "delete") { // $COLUMNS_TO_PRINT = 3; $column = 1; - $filelist = get_calendar_files($calendar_path); + $filelist = availableCalendarNames('', '', '', true); foreach ($filelist as $file) { if ($column > $COLUMNS_TO_PRINT) { echo "</tr>"; |