diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2016-02-14 17:28:08 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-02-14 17:28:08 -0500 |
commit | f7253434877138dee1262cb930e329cf65209b77 (patch) | |
tree | 3361f8a350cb3a2cfb135808f25ba19a7c2102fb /src/usr/local/www/system_authservers.php | |
parent | e1346a0ca9ca1110c2f377fcac830a67d5d95767 (diff) | |
parent | 2b38c46bb6ca3cc6234c6433d63ba5360d061ccc (diff) | |
download | pfsense-f7253434877138dee1262cb930e329cf65209b77.zip pfsense-f7253434877138dee1262cb930e329cf65209b77.tar.gz |
Merge pull request #2637 from k-paulius/patch-6
Diffstat (limited to 'src/usr/local/www/system_authservers.php')
-rw-r--r-- | src/usr/local/www/system_authservers.php | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/usr/local/www/system_authservers.php b/src/usr/local/www/system_authservers.php index de192ed..9f113b0 100644 --- a/src/usr/local/www/system_authservers.php +++ b/src/usr/local/www/system_authservers.php @@ -64,9 +64,6 @@ require("guiconfig.inc"); require_once("auth.inc"); -$pgtitle = array(gettext("System"), gettext("User Manager"), gettext("Authentication Servers")); -$shortcut_section = "authentication"; - if (is_numericint($_GET['id'])) { $id = $_GET['id']; } @@ -377,6 +374,12 @@ if($_POST && $input_errors) { $pconfig['ldap_template'] = $_POST['ldap_tmpltype']; } +$pgtitle = array(gettext("System"), gettext("User Manager"), gettext("Authentication Servers")); + +if ($act == "new" || $act == "edit" || $input_errors) { + $pgtitle[] = gettext('Edit'); +} +$shortcut_section = "authentication"; include("head.inc"); if ($input_errors) { @@ -501,7 +504,7 @@ if (empty($a_ca)) { $section->addInput(new Form_StaticText( 'Peer Certificate Authority', - 'No Certificate Authorities defined.<br/>Create one under <a href="system_camanager.php">System > Cert Manager</a>.' + 'No Certificate Authorities defined.<br/>Create one under <a href="system_camanager.php">System > Cert. Manager</a>.' )); } else |