From 8f1ab2a45cfbf0b509fb9c54830f4ce3fb125ad1 Mon Sep 17 00:00:00 2001 From: k-paulius Date: Sun, 14 Feb 2016 13:35:02 -0600 Subject: Indicate in the breadcrumb if we are editing list item. --- src/usr/local/www/system_groupmanager.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/usr/local/www/system_groupmanager.php') 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) { -- cgit v1.1