aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2003-11-26 01:42:40 +0000
committerChad Little <clittle@users.sourceforge.net>2003-11-26 01:42:40 +0000
commitcd0cbe802fba76310d906770b438a983e80a0250 (patch)
treeb42c7b91408923c3d9076064bef0252b3bdcfdcd
parent898fcfae0f94e5dfeaa6f1c360924fedc0f7b072 (diff)
downloadphpicalendar-cd0cbe802fba76310d906770b438a983e80a0250.tar.gz
phpicalendar-cd0cbe802fba76310d906770b438a983e80a0250.tar.bz2
phpicalendar-cd0cbe802fba76310d906770b438a983e80a0250.zip
Fixes.
-rw-r--r--admin.php2
-rw-r--r--config.inc.php7
-rw-r--r--includes/header.inc.php2
3 files changed, 6 insertions, 5 deletions
diff --git a/admin.php b/admin.php
index 21272af..2ea8b1b 100644
--- a/admin.php
+++ b/admin.php
@@ -40,6 +40,8 @@ else {
$is_loged_in = login ($username, $password);
}
}
+
+$calendar_name = $admin_header_lang;
include (BASE.'includes/header.inc.php');
?>
diff --git a/config.inc.php b/config.inc.php
index f566339..8efa9e5 100644
--- a/config.inc.php
+++ b/config.inc.php
@@ -29,8 +29,7 @@ $download_uri = ''; // The HTTP URL to your calendars directory, ie. http:
$default_path = 'http://www.example.com/phpicalendar'; // The HTTP URL to the PHP iCalendar directory, ie. http://www.example.com/phpicalendar
// Yes/No questions --- 'yes' means Yes, anything else means no. 'yes' must be lowercase.
-$save_parsed_cals = 'yes'; // Recommended 'yes'. Saves a copy of the cal in /tmp after it's been parsed. Improves performence.
-$use_sessions = 'no'; // This has not yet been implemented.
+$save_parsed_cals = 'yes'; // Recommended 'yes'. Saves a copy of the cal in /tmp after it's been parsed. Improves performence.
$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 = 'no'; // 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.
@@ -43,13 +42,13 @@ $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 = 'no'; // Show completed todos on your todo list.
-$allow_login = 'no'; // Set to yes to prompt for login to unlock calendars.
+$allow_login = 'n0'; // Set to yes to prompt for login to unlock calendars.
// Webdav style publishing
$phpicalendar_publishing = ''; // Set to '1' to enable remote webdav style publish. See 'calendars/publish.php' for complete information;
// 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
+$allow_admin = 'yes'; // Set to yes to allow the admin page - remember to change the default password if using 'internal' as the $auth_method
$auth_method = 'ftp'; // Valid values are: 'ftp', 'internal', or 'none'. 'ftp' uses the ftp server's username and password as well as ftp commands to delete and copy files. 'internal' uses $auth_internal_username and $auth_internal_password defined below - CHANGE the password. 'none' uses NO authentication - meant to be used with another form of authentication such as http basic.
$auth_internal_username = 'admin'; // Only used if $auth_method='internal'. The username for the administrator.
$auth_internal_password = 'default'; // Only used if $auth_method='internal'. The password for the administrator.
diff --git a/includes/header.inc.php b/includes/header.inc.php
index 3d4b7cc..bb7f547 100644
--- a/includes/header.inc.php
+++ b/includes/header.inc.php
@@ -3,7 +3,7 @@
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
- <title><?php echo "$calendar_name - $display_date"; ?></title>
+ <title><?php echo $calendar_name; ?><?php if ($display_date != '') echo " - $display_date"; ?></title>
<link rel="stylesheet" type="text/css" href="<?php echo BASE."styles/$style_sheet/default.css"; ?>">
<?php

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