aboutsummaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2003-09-21 05:02:52 +0000
committerChad Little <clittle@users.sourceforge.net>2003-09-21 05:02:52 +0000
commitff5876b2569f2c790e8826d1e6bfc77b19a43ade (patch)
tree17349a92d30340675a355754650de8ab1a2e8956 /functions
parentd130f4125fb2a806096c911575847675ecda621d (diff)
downloadphpicalendar-ff5876b2569f2c790e8826d1e6bfc77b19a43ade.tar.gz
phpicalendar-ff5876b2569f2c790e8826d1e6bfc77b19a43ade.tar.bz2
phpicalendar-ff5876b2569f2c790e8826d1e6bfc77b19a43ade.zip
*** empty log message ***
Diffstat (limited to 'functions')
-rw-r--r--functions/error.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/functions/error.php b/functions/error.php
index 7070769..9633eb0 100644
--- a/functions/error.php
+++ b/functions/error.php
@@ -1,13 +1,10 @@
<?php
if (!defined('BASE')) define('BASE','../');
-$current_view = 'error';
-$display_date = $error_title_lang;
function error($error_msg='There was an error processing the request.', $file='NONE') {
global $style_sheet, $powered_by_lang, $version_lang, $error_title_lang, $error_window_lang, $error_calendar_lang, $error_back_lang, $enable_rss, $this_site_is_lang;
if (!isset($style_sheet)) $style_sheet = 'silver';
if (!isset($powered_by_lang)) $powered_by_lang = 'Powered by';
- if (!isset($version_lang)) $version_lang = '0.8';
if (!isset($error_title_lang)) $error_title_lang = 'Error!';
if (!isset($error_window_lang)) $error_window_lang = 'There was an error!';
if (!isset($error_calendar_lang)) $error_calendar_lang = 'The calendar "%s" was being processed when this error occurred.';
@@ -16,6 +13,9 @@ function error($error_msg='There was an error processing the request.', $file='N
if (!isset($this_site_is_lang)) $this_site_is_lang = 'This site is';
$error_calendar = sprintf($error_calendar_lang, $file);
+ $current_view = 'error';
+ $display_date = $error_title_lang;
+ $calendar_name = $error_title_lang;
include (BASE.'includes/header.inc.php');
?>

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