summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_authservers.php
diff options
context:
space:
mode:
authork-paulius <k.dash.paulius@gmail.com>2016-02-14 13:35:02 -0600
committerk-paulius <k.dash.paulius@gmail.com>2016-02-14 13:35:02 -0600
commit8f1ab2a45cfbf0b509fb9c54830f4ce3fb125ad1 (patch)
treea68a9b868ba6b143c0efb5f212820bba8dccb290 /src/usr/local/www/system_authservers.php
parentab61de4da4d46bcf7aa1e5a0cf449843ead5a901 (diff)
downloadpfsense-8f1ab2a45cfbf0b509fb9c54830f4ce3fb125ad1.zip
pfsense-8f1ab2a45cfbf0b509fb9c54830f4ce3fb125ad1.tar.gz
Indicate in the breadcrumb if we are editing list item.
Diffstat (limited to 'src/usr/local/www/system_authservers.php')
-rw-r--r--src/usr/local/www/system_authservers.php9
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) {
OpenPOWER on IntegriCloud