aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Oster <parasytic@users.sourceforge.net>2009-12-24 17:24:30 +0000
committerJason Oster <parasytic@users.sourceforge.net>2009-12-24 17:24:30 +0000
commit53df246c9fffc9277bd87698e161cdccdda71f86 (patch)
tree0967285258d8b8fe86b458c215a946d61295c0b4
parent4da5af3759b449378aecac9b3d812662aef51d25 (diff)
downloadphpicalendar-53df246c9fffc9277bd87698e161cdccdda71f86.tar.gz
phpicalendar-53df246c9fffc9277bd87698e161cdccdda71f86.tar.bz2
phpicalendar-53df246c9fffc9277bd87698e161cdccdda71f86.zip
Fix small time format in French tranlsation
-rw-r--r--functions/userauth_functions.php8
-rw-r--r--languages/french.inc.php2
2 files changed, 3 insertions, 7 deletions
diff --git a/functions/userauth_functions.php b/functions/userauth_functions.php
index 9be7205..b9204bc 100644
--- a/functions/userauth_functions.php
+++ b/functions/userauth_functions.php
@@ -3,10 +3,8 @@
//
// 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);
+ $querys = preg_replace('/(username|password|action)=[^&]+/', '', $_SERVER['QUERY_STRING']);
// Return the login query string.
$querys = preg_replace('/&&/', '', $querys);
@@ -17,10 +15,8 @@ function login_querys() {
//
// 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);
+ $querys = preg_replace('/action=[^&]+/', 'action=logout', $_SERVER['QUERY_STRING']);
if ($querys == $QUERY_STRING) $querys .= '&action=logout';
// Remove references to the username or password.
diff --git a/languages/french.inc.php b/languages/french.inc.php
index 113c8a4..5a6af56 100644
--- a/languages/french.inc.php
+++ b/languages/french.inc.php
@@ -177,7 +177,7 @@ $monthsofyearshort_lang = array ('Jan','F&eacute;v','Mar','Avr','Mai','Juin','J
// For time formatting, check out: http://www.php.net/manual/en/function.date.php
$timeFormat = 'H:i';
-$timeFormat_small = 'g:i';
+$timeFormat_small = 'G:i';
// For date formatting, see note below
$dateFormat_day = '%A %e %B';

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