|
From: <cl...@us...> - 2003-02-25 17:35:26
|
Update of /cvsroot/phpicalendar/phpicalendar
In directory sc8-pr-cvs1:/tmp/cvs-serv30738
Modified Files:
preferences.php
Log Message:
Fixed the back button, yet again! Go testing!
Index: preferences.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/preferences.php,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** preferences.php 24 Feb 2003 17:20:01 -0000 1.25
--- preferences.php 25 Feb 2003 17:35:22 -0000 1.26
***************
*** 7,13 ****
$cookie_uri = $HTTP_SERVER_VARS['SERVER_NAME'].substr($HTTP_SERVER_VARS['PHP_SELF'],0,strpos($HTTP_SERVER_VARS['PHP_SELF'], '/'));
}
$current_view = "preferences";
! $default_view = "$default_view" . ".php";
! if ($allow_preferences == 'no') header("Location: $default_view");
$action = $HTTP_GET_VARS['action'];
$startdays = array ('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
--- 7,15 ----
$cookie_uri = $HTTP_SERVER_VARS['SERVER_NAME'].substr($HTTP_SERVER_VARS['PHP_SELF'],0,strpos($HTTP_SERVER_VARS['PHP_SELF'], '/'));
}
+
$current_view = "preferences";
! $back_page = BASE.$default_view.'.php?cal='.$cal.'&getdate='.$getdate;
! if ($allow_preferences == 'no') header("Location: $back_page");
!
$action = $HTTP_GET_VARS['action'];
$startdays = array ('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
***************
*** 58,62 ****
}
- $back_page = BASE.$default_view.'.php?cal='.$cal.'&getdate='.$getdate;
?>
--- 60,63 ----
|