mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
If column['fieldname'] is a description then change html class to listbg to conform to rest of GUI description table columns.
This commit is contained in:
parent
7773b86862
commit
4ff99fcbc3
@ -319,10 +319,14 @@ if ($pkg['tabs'] <> "") {
|
||||
echo "<tr valign=\"top\">\n";
|
||||
if($pkg['adddeleteeditpagefields']['columnitem'] <> "")
|
||||
foreach ($pkg['adddeleteeditpagefields']['columnitem'] as $column) {
|
||||
if ($column['fieldname'] == "description")
|
||||
$class = "listbg";
|
||||
else
|
||||
$class = "listlr";
|
||||
?>
|
||||
<td class="listlr" ondblclick="document.location='pkg_edit.php?xml=<?=$xml?>&act=edit&id=<?=$i;?>';">
|
||||
<td class="<?=$class;?>" ondblclick="document.location='pkg_edit.php?xml=<?=$xml?>&act=edit&id=<?=$i;?>';">
|
||||
<?php
|
||||
$fieldname = $ip[xml_safe_fieldname($column['fieldname'])];
|
||||
$fieldname = $ip[xml_safe_fieldname($column['fieldname'])];
|
||||
if($column['type'] == "checkbox") {
|
||||
if($fieldname == "") {
|
||||
echo gettext("No");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user