diff options
author | Phil Davis <phil.davis@inf.org> | 2017-01-10 20:33:55 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2017-02-11 18:25:50 +0545 |
commit | de02dc292637fb731986719dbf8c8ead5fae4912 (patch) | |
tree | 89e3bbf1db16143f031efb77dd0162be4af90880 /src/usr/local/www/system_usermanager_addprivs.php | |
parent | 990bc1fb8b2e577e7a332b7b1e24b2faa3f3be27 (diff) | |
download | pfsense-de02dc292637fb731986719dbf8c8ead5fae4912.zip pfsense-de02dc292637fb731986719dbf8c8ead5fae4912.tar.gz |
Breadcrumb links
(cherry picked from commit edcd75357f0e93b124159314d3306197d5312e6c)
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 eac066b..cc5e209 100644 --- a/src/usr/local/www/system_usermanager_addprivs.php +++ b/src/usr/local/www/system_usermanager_addprivs.php @@ -65,8 +65,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']; } @@ -75,6 +73,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; |