diff options
author | Phil Davis <phil.davis@inf.org> | 2017-01-10 20:33:55 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2017-01-10 20:33:55 +0545 |
commit | edcd75357f0e93b124159314d3306197d5312e6c (patch) | |
tree | 6794b7c6bfc78f057e2990bca7096a733c70cb0f /src/usr/local/www/system_usermanager_addprivs.php | |
parent | c50f228a1583fe694993778e8576322877a15bba (diff) | |
download | pfsense-edcd75357f0e93b124159314d3306197d5312e6c.zip pfsense-edcd75357f0e93b124159314d3306197d5312e6c.tar.gz |
Breadcrumb links
Diffstat (limited to 'src/usr/local/www/system_usermanager_addprivs.php')
-rw-r--r-- | src/usr/local/www/system_usermanager_addprivs.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/usr/local/www/system_usermanager_addprivs.php b/src/usr/local/www/system_usermanager_addprivs.php index ee6d416..301bb53 100644 --- a/src/usr/local/www/system_usermanager_addprivs.php +++ b/src/usr/local/www/system_usermanager_addprivs.php @@ -33,8 +33,6 @@ function admusercmp($a, $b) { require_once("guiconfig.inc"); -$pgtitle = array(gettext("System"), gettext("User Manager"), gettext("Users"), gettext("Edit"), gettext("Add Privileges")); - if (is_numericint($_GET['userid'])) { $userid = $_GET['userid']; } @@ -43,6 +41,9 @@ if (isset($_POST['userid']) && is_numericint($_POST['userid'])) { $userid = $_POST['userid']; } +$pgtitle = array(gettext("System"), gettext("User Manager"), gettext("Users"), gettext("Edit"), gettext("Add Privileges")); +$pglinks = array("", "system_usermanager.php", "system_usermanager.php", "system_usermanager.php?act=edit&userid=" . $userid, "@self"); + if (!isset($config['system']['user'][$userid]) && !is_array($config['system']['user'][$userid])) { pfSenseHeader("system_usermanager.php"); exit; |