diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/local/www/system_authservers.php | 9 | ||||
-rw-r--r-- | src/usr/local/www/system_groupmanager.php | 7 | ||||
-rw-r--r-- | src/usr/local/www/system_groupmanager_addprivs.php | 2 | ||||
-rw-r--r-- | src/usr/local/www/system_usermanager.php | 7 | ||||
-rw-r--r-- | src/usr/local/www/system_usermanager_addprivs.php | 2 |
5 files changed, 18 insertions, 9 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) { diff --git a/src/usr/local/www/system_groupmanager.php b/src/usr/local/www/system_groupmanager.php index 4230f53..57137c2 100644 --- a/src/usr/local/www/system_groupmanager.php +++ b/src/usr/local/www/system_groupmanager.php @@ -67,8 +67,6 @@ require("guiconfig.inc"); -$pgtitle = array(gettext("System"), gettext("User Manager"), gettext("Groups")); - if (!is_array($config['system']['group'])) { $config['system']['group'] = array(); } @@ -257,6 +255,11 @@ function build_priv_table() { return($privhtml); } +$pgtitle = array(gettext("System"), gettext("User Manager"), gettext("Groups")); + +if ($act == "new" || $act == "edit") { + $pgtitle[] = gettext('Edit'); +} include("head.inc"); if ($input_errors) { diff --git a/src/usr/local/www/system_groupmanager_addprivs.php b/src/usr/local/www/system_groupmanager_addprivs.php index 69ee6c8..381a591 100644 --- a/src/usr/local/www/system_groupmanager_addprivs.php +++ b/src/usr/local/www/system_groupmanager_addprivs.php @@ -80,7 +80,7 @@ function admin_groups_sort() { require("guiconfig.inc"); -$pgtitle = array(gettext("System"), gettext("User Manager"), gettext("Groups"), gettext("Add Privileges")); +$pgtitle = array(gettext("System"), gettext("User Manager"), gettext("Groups"), gettext("Edit"), gettext("Add Privileges")); if (is_numericint($_GET['groupid'])) { $groupid = $_GET['groupid']; diff --git a/src/usr/local/www/system_usermanager.php b/src/usr/local/www/system_usermanager.php index 94b7fe5..97e616e 100644 --- a/src/usr/local/www/system_usermanager.php +++ b/src/usr/local/www/system_usermanager.php @@ -69,8 +69,6 @@ require("certs.inc"); require("guiconfig.inc"); // start admin user code -$pgtitle = array(gettext("System"), gettext("User Manager"), gettext("Users")); - if (isset($_POST['userid']) && is_numericint($_POST['userid'])) { $id = $_POST['userid']; } @@ -466,6 +464,11 @@ function build_cert_table() { return($certhtml); } +$pgtitle = array(gettext("System"), gettext("User Manager"), gettext("Users")); + +if ($act == "new" || $act == "edit" || $input_errors) { + $pgtitle[] = gettext('Edit'); +} include("head.inc"); if ($input_errors) { diff --git a/src/usr/local/www/system_usermanager_addprivs.php b/src/usr/local/www/system_usermanager_addprivs.php index 4889c91..aad6fcc 100644 --- a/src/usr/local/www/system_usermanager_addprivs.php +++ b/src/usr/local/www/system_usermanager_addprivs.php @@ -67,7 +67,7 @@ function admusercmp($a, $b) { require("guiconfig.inc"); -$pgtitle = array(gettext("System"), gettext("User Manager"), gettext("Users"), gettext("Add Privileges")); +$pgtitle = array(gettext("System"), gettext("User Manager"), gettext("Users"), gettext("Edit"), gettext("Add Privileges")); if (is_numericint($_GET['userid'])) { $userid = $_GET['userid']; |