|
From: <cl...@us...> - 2003-05-29 18:33:48
|
Update of /cvsroot/phpicalendar/phpicalendar
In directory sc8-pr-cvs1:/tmp/cvs-serv26270
Modified Files:
preferences.php
Log Message:
more error_reporting
Index: preferences.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/preferences.php,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** preferences.php 25 Feb 2003 17:35:22 -0000 1.26
--- preferences.php 29 May 2003 18:33:44 -0000 1.27
***************
*** 12,16 ****
if ($allow_preferences == 'no') header("Location: $back_page");
! $action = $HTTP_GET_VARS['action'];
$startdays = array ('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
--- 12,21 ----
if ($allow_preferences == 'no') header("Location: $back_page");
! if (isset($HTTP_GET_VARS['action'])) {
! $action = $HTTP_GET_VARS['action'];
! } else {
! $action = '';
! }
!
$startdays = array ('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
***************
*** 33,37 ****
}
! if ($HTTP_COOKIE_VARS['phpicalendar']) {
$phpicalendar = unserialize(stripslashes($HTTP_COOKIE_VARS['phpicalendar']));
$cookie_language = $phpicalendar['cookie_language'];
--- 38,42 ----
}
! if (isset($HTTP_COOKIE_VARS['phpicalendar'])) {
$phpicalendar = unserialize(stripslashes($HTTP_COOKIE_VARS['phpicalendar']));
$cookie_language = $phpicalendar['cookie_language'];
***************
*** 294,298 ****
</td>
</tr>
! <?php if ($HTTP_COOKIE_VARS['phpicalendar']) { ?>
<tr>
<td align="left" valign="top" nowrap><?php echo "$unset_prefs_lang"; ?></td>
--- 299,303 ----
</td>
</tr>
! <?php if (isset($HTTP_COOKIE_VARS['phpicalendar'])) { ?>
<tr>
<td align="left" valign="top" nowrap><?php echo "$unset_prefs_lang"; ?></td>
|