diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-06-30 12:47:19 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-06-30 12:47:19 -0400 |
commit | 4d86a13dabdeece527eb5861ddeccaa05bf1f963 (patch) | |
tree | 7380ca2b147a7b96a27d709611815221ab5114cb /usr/local/www/system_groupmanager.php | |
parent | e2d15485e4b4ae6d19b647da5ad1aafcc398a97a (diff) | |
download | pfsense-4d86a13dabdeece527eb5861ddeccaa05bf1f963.zip pfsense-4d86a13dabdeece527eb5861ddeccaa05bf1f963.tar.gz |
Do not show the assigned priveleges area until the item has been saved. Otherwise clicking plus will take you back to the user manager screen which feels beyond broken.
Diffstat (limited to 'usr/local/www/system_groupmanager.php')
-rw-r--r-- | usr/local/www/system_groupmanager.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/local/www/system_groupmanager.php b/usr/local/www/system_groupmanager.php index 2b30626..8748ffb 100644 --- a/usr/local/www/system_groupmanager.php +++ b/usr/local/www/system_groupmanager.php @@ -320,7 +320,8 @@ function presubmit() { </tr> <?php endif; ?> - + <?php if($_GET['act'] != "new"): ?> + <tr> <td width="22%" valign="top" class="vncell"><?=gettext("Assigned Privileges");?></td> <td width="78%" class="vtable"> @@ -359,11 +360,14 @@ function presubmit() { <a href="system_groupmanager_addprivs.php?groupid=<?=$id?>"> <img src="/themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0" alt="" /> </a> + </td> </tr> + </table> </td> </tr> + <?php endif; ?> <tr> <td width="22%" valign="top"> </td> <td width="78%"> |