diff --git a/core/groups/groups.php b/core/groups/groups.php index 3e128f9718..b8b0c52416 100644 --- a/core/groups/groups.php +++ b/core/groups/groups.php @@ -124,19 +124,25 @@ echo ""; echo "
"; +//set the row styles $c = 0; $row_style["0"] = "row_style0"; $row_style["1"] = "row_style1"; +//set the columns + $column_count = 5; + +//build the html $html = "\n"; $html .= "\n"; if (permission_exists('group_all') && $_GET['show'] == 'all') { + $column_count++; $html .= " \n"; } $html .= " \n"; $html .= " \n"; - $html .= " \n"; $html .= " \n"; + $html .= " \n"; $html .= " \n"; $html .= " \n"; - $html .= "\n"; - $html .= "\n"; $html .= "\n"; @@ -231,9 +237,9 @@ $c = ($c) ? 0 : 1; $count++; } - + $html .= "\n"; - $html .= ""; + $html .= ""; $html .= "
".$text['label-domain']."".$text['label-group_name']."".$text['label-group_tools']."".$text['label-group_protected']."".$text['label-order']."".$text['label-group_protected']."".$text['label-group_description'].""; if (permission_exists('group_add')) { @@ -150,7 +156,7 @@ $domain_uuid = $row['domain_uuid']; $group_uuid = $row["group_uuid"]; $group_name = $row["group_name"]; - $group_order = $row["group_order"]; + $group_level = $row["group_level"]; $group_protected = $row["group_protected"]; $group_description = $row["group_description"]; if (strlen($group_name) == 0) { $group_name = " "; } @@ -199,12 +205,12 @@ } $html .= ""; + $html .= " ".$group_level; $html .= ""; - $html .= " ".$group_order; + $html .= "".$group_description."
  "; if (permission_exists('group_add')) { $html .= "".$v_link_label_add."";