Fix the display of the device table header
This commit is contained in:
parent
951d3f9321
commit
f8662f20a3
|
|
@ -480,6 +480,9 @@
|
||||||
echo " </tr>\n";
|
echo " </tr>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//define the previous profile key vendor
|
||||||
|
$previous_profile_key_vendor = null;
|
||||||
|
|
||||||
$x = 0;
|
$x = 0;
|
||||||
foreach($device_profile_keys as $row) {
|
foreach($device_profile_keys as $row) {
|
||||||
|
|
||||||
|
|
@ -494,7 +497,6 @@
|
||||||
$device_vendor = str_replace(' ', '_', $row['profile_key_vendor']);
|
$device_vendor = str_replace(' ', '_', $row['profile_key_vendor']);
|
||||||
|
|
||||||
//set the column names
|
//set the column names
|
||||||
$previous_profile_key_vendor = null;
|
|
||||||
if ($previous_profile_key_vendor != $row['profile_key_vendor']) {
|
if ($previous_profile_key_vendor != $row['profile_key_vendor']) {
|
||||||
echo " <tr>\n";
|
echo " <tr>\n";
|
||||||
echo " <th class='vtablereq'>".$text['label-device_key_category']."</td>\n";
|
echo " <th class='vtablereq'>".$text['label-device_key_category']."</td>\n";
|
||||||
|
|
@ -803,4 +805,4 @@
|
||||||
//include the footer
|
//include the footer
|
||||||
require_once "resources/footer.php";
|
require_once "resources/footer.php";
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue