diff --git a/core/groups/groups.php b/core/groups/groups.php index 15332dfa96..3df9791ee9 100644 --- a/core/groups/groups.php +++ b/core/groups/groups.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2014 + Portions created by the Initial Developer are Copyright (C) 2008-2017 the Initial Developer. All Rights Reserved. Contributor(s): @@ -67,7 +67,7 @@ //get the groups $sql = "select * from v_groups "; - if (!(permission_exists('group_all') && $_GET['showall'] == 'true')) { + if (!(permission_exists('group_all') && $_GET['show'] == 'all')) { $sql .= "where domain_uuid = '".$domain_uuid."' "; $sql .= "or domain_uuid is null "; } @@ -103,8 +103,8 @@ echo ""; echo ""; if (permission_exists('group_all')) { - if ($_GET['showall'] != 'true') { - echo "\n"; + if ($_GET['show'] != 'all') { + echo "\n"; } } if (permission_exists('user_view')) { @@ -124,7 +124,7 @@ $echo = "\n"; $echo .= "\n"; - if (permission_exists('group_all') && $_GET['showall'] == 'true') { + if (permission_exists('group_all') && $_GET['show'] == 'all') { $echo .= " \n"; } $echo .= " \n"; @@ -160,17 +160,17 @@ unset($tr_link); } $echo .= "\n"; - if (permission_exists('group_all') && $_GET['showall'] == 'true') { + if (permission_exists('group_all') && $_GET['show'] == 'all') { $echo .= "\n"; } $echo .= "\n"; $echo .= "\n"; $echo .= "\n"; $echo .= "\n"; $echo .= "\n"; - $echo .= ""; + $echo .= ""; $echo .= "
".$text['label-domain']."".$text['label-group_name']."
"; $echo .= ($domain_uuid != '') ? $_SESSION['domains'][$domain_uuid]['domain_name'] : "".$text['label-global'].""; $echo .= ""; if (permission_exists('group_edit') && !($domain_uuid == '' && in_array($group_name, $system_groups))) { - $echo .= "".(($domain_uuid == '' && $_GET['showall'] != 'true') ? "".$group_name."" : $group_name).""; + $echo .= "".(($domain_uuid == '' && $_GET['show'] != 'all') ? "".$group_name."" : $group_name).""; } else { - $echo .= ($domain_uuid == '' && $_GET['showall'] != 'true') ? "".$group_name."" : $group_name; + $echo .= ($domain_uuid == '' && $_GET['show'] != 'all') ? "".$group_name."" : $group_name; } $echo .= "".$group_description.""; @@ -213,7 +213,7 @@ } $echo .= "
  "; if (permission_exists('group_add')) { $echo .= "".$v_link_label_add."";