|
From: <par...@us...> - 2009-12-24 17:24:46
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv3201/functions Modified Files: userauth_functions.php Log Message: Fix small time format in French tranlsation Index: userauth_functions.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/userauth_functions.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** userauth_functions.php 9 Feb 2009 16:10:11 -0000 1.10 --- userauth_functions.php 24 Dec 2009 17:24:30 -0000 1.11 *************** *** 4,11 **** // Returns the login query string. function login_querys() { - global $QUERY_STRING; - // Remove the username, password, and action values. ! $querys = preg_replace('/(username|password|action)=[^&]+/', '', $QUERY_STRING); // Return the login query string. --- 4,9 ---- // Returns the login query string. function login_querys() { // Remove the username, password, and action values. ! $querys = preg_replace('/(username|password|action)=[^&]+/', '', $_SERVER['QUERY_STRING']); // Return the login query string. *************** *** 18,25 **** // Returns the logout query string. function logout_querys() { - global $QUERY_STRING; - // Make sure the action is logout. ! $querys = preg_replace('/action=[^&]+/', 'action=logout', $QUERY_STRING); if ($querys == $QUERY_STRING) $querys .= '&action=logout'; --- 16,21 ---- // Returns the logout query string. function logout_querys() { // Make sure the action is logout. ! $querys = preg_replace('/action=[^&]+/', 'action=logout', $_SERVER['QUERY_STRING']); if ($querys == $QUERY_STRING) $querys .= '&action=logout'; |