summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato.botelho@bluepex.com>2010-06-21 09:48:44 -0300
committerRenato Botelho <renato.botelho@bluepex.com>2010-06-21 10:40:51 -0300
commit89c1552e68e059958638f91e1ee105fc4912ef92 (patch)
treef899a4a6ed47430f2fbad86e4ef313bff70f2e71
parentc2cabfca5a60a7197f9dc607c7262e2430b1a66b (diff)
downloadpfsense-89c1552e68e059958638f91e1ee105fc4912ef92.zip
pfsense-89c1552e68e059958638f91e1ee105fc4912ef92.tar.gz
Few adjustements on gettext
-rwxr-xr-xusr/local/www/diag_authentication.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/diag_authentication.php b/usr/local/www/diag_authentication.php
index 079e335..972ac6f 100755
--- a/usr/local/www/diag_authentication.php
+++ b/usr/local/www/diag_authentication.php
@@ -49,16 +49,16 @@ if ($_POST) {
$authcfg = auth_get_authserver($_POST['authmode']);
if (!$authcfg)
- $input_errors[] = "{$_POST['authmode']}" + gettext("is not a valid authentication server ");
+ $input_errors[] = $_POST['authmode'] . " " . gettext("is not a valid authentication server");
if (empty($_POST['username']) || empty($_POST['password']))
$input_errors[] = gettext("A username and password must be specified.");
if (!$input_errors) {
if (authenticate_user($_POST['username'], $_POST['password'], $authcfg)) {
- $savemsg = gettext("User: ") + {$_POST['username']} + gettext(" authenticated sucessfully.");
+ $savemsg = gettext("User") . ": " . $_POST['username'] . " " . gettext("authenticated sucessfully.");
$groups = getUserGroups($_POST['username'], $authcfg);
- $savemsg .= "<br />" + gettext("This user is member of this groups:") + " <br />";
+ $savemsg .= "<br />" + gettext("This user is member of this groups") + ": <br />";
foreach ($groups as $group)
$savemsg .= "{$group} ";
} else {
OpenPOWER on IntegriCloud