diff options
Diffstat (limited to 'src/usr/local/www/system_authservers.php')
-rw-r--r-- | src/usr/local/www/system_authservers.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/usr/local/www/system_authservers.php b/src/usr/local/www/system_authservers.php index 75e1061..342b7ab 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) { |