|
From: <cl...@us...> - 2003-05-29 18:28:03
|
Update of /cvsroot/phpicalendar/phpicalendar
In directory sc8-pr-cvs1:/tmp/cvs-serv24363
Modified Files:
admin.php print.php
Log Message:
More error_reporting cleanup.
Index: admin.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/admin.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** admin.php 13 May 2003 04:14:22 -0000 1.2
--- admin.php 29 May 2003 18:28:00 -0000 1.3
***************
*** 17,21 ****
// Logout by clearing session variables
! if ($action == "logout") {
$HTTP_SESSION_VARS['phpical_loggedin'] = FALSE;
unset($HTTP_SESSION_VARS['phpical_username']);
--- 17,21 ----
// Logout by clearing session variables
! if ((isset($action)) && ($action == "logout")) {
$HTTP_SESSION_VARS['phpical_loggedin'] = FALSE;
unset($HTTP_SESSION_VARS['phpical_username']);
***************
*** 78,83 ****
// If User is Not Logged In, Display The Login Page
if ($is_loged_in == FALSE) {
! if (isset($username))
$login_error = "<font color=\"red\">$invalid_login_lang</font>";
echo <<<EOT
--- 78,86 ----
// If User is Not Logged In, Display The Login Page
if ($is_loged_in == FALSE) {
! if (isset($username)) {
$login_error = "<font color=\"red\">$invalid_login_lang</font>";
+ } else {
+ $login_error = '';
+ }
echo <<<EOT
Index: print.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/print.php,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** print.php 30 Nov 2002 21:05:39 -0000 1.15
--- print.php 29 May 2003 18:28:00 -0000 1.16
***************
*** 24,27 ****
--- 24,29 ----
$print_next_nav = $next_day_lang;
$print_prev_nav = $last_day_lang;
+ $week_start = '';
+ $week_end = '';
} elseif ($printview == 'week') {
$start_week = localizeDate($dateFormat_week, $start_week_time);
***************
*** 42,45 ****
--- 44,49 ----
$print_next_nav = $next_month_lang;
$print_prev_nav = $last_month_lang;
+ $week_start = '';
+ $week_end = '';
}
|