summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_authservers.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-02-03 01:09:30 +0545
committerPhil Davis <phil.davis@inf.org>2016-02-03 01:09:30 +0545
commit762faef5db8600855a04a88cb86ff4fec5804682 (patch)
tree14ef5d198793967a3013f9ca224f485151b53a01 /src/usr/local/www/system_authservers.php
parent250061b0997147eda9ff04e6ae7faa228dd1a661 (diff)
downloadpfsense-762faef5db8600855a04a88cb86ff4fec5804682.zip
pfsense-762faef5db8600855a04a88cb86ff4fec5804682.tar.gz
Internationalization of various system*.php
Diffstat (limited to 'src/usr/local/www/system_authservers.php')
-rw-r--r--src/usr/local/www/system_authservers.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/usr/local/www/system_authservers.php b/src/usr/local/www/system_authservers.php
index 75e71a6..1171c7e 100644
--- a/src/usr/local/www/system_authservers.php
+++ b/src/usr/local/www/system_authservers.php
@@ -111,7 +111,7 @@ if ($act == "del") {
/* Remove server from temp list used later on this page. */
unset($a_server[$_GET['id']]);
- $savemsg = gettext("Authentication Server") . " " . htmlspecialchars($serverdeleted) . " " . gettext("deleted") . "<br />";
+ $savemsg = sprintf(gettext("Authentication Server %s deleted"), htmlspecialchars($serverdeleted));
write_config($savemsg);
}
@@ -379,11 +379,13 @@ if($_POST && $input_errors) {
include("head.inc");
-if ($input_errors)
+if ($input_errors) {
print_input_errors($input_errors);
+}
-if ($savemsg)
+if ($savemsg) {
print_info_box($savemsg, 'success');
+}
$tab_array = array();
$tab_array[] = array(gettext("Users"), false, "system_usermanager.php");
@@ -392,8 +394,7 @@ $tab_array[] = array(gettext("Settings"), false, "system_usermanager_settings.ph
$tab_array[] = array(gettext("Servers"), true, "system_authservers.php");
display_top_tabs($tab_array);
-if (!($act == "new" || $act == "edit" || $input_errors))
-{
+if (!($act == "new" || $act == "edit" || $input_errors)) {
?>
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><?=gettext('Authentication Servers')?></h2></div>
OpenPOWER on IntegriCloud