Revision 4ff99fcb
Added by Warren Baker almost 15 years ago
usr/local/www/pkg.php | ||
---|---|---|
319 | 319 |
echo "<tr valign=\"top\">\n"; |
320 | 320 |
if($pkg['adddeleteeditpagefields']['columnitem'] <> "") |
321 | 321 |
foreach ($pkg['adddeleteeditpagefields']['columnitem'] as $column) { |
322 |
if ($column['fieldname'] == "description") |
|
323 |
$class = "listbg"; |
|
324 |
else |
|
325 |
$class = "listlr"; |
|
322 | 326 |
?> |
323 |
<td class="listlr" ondblclick="document.location='pkg_edit.php?xml=<?=$xml?>&act=edit&id=<?=$i;?>';">
|
|
327 |
<td class="<?=$class;?>" ondblclick="document.location='pkg_edit.php?xml=<?=$xml?>&act=edit&id=<?=$i;?>';">
|
|
324 | 328 |
<?php |
325 |
$fieldname = $ip[xml_safe_fieldname($column['fieldname'])];
|
|
329 |
$fieldname = $ip[xml_safe_fieldname($column['fieldname'])];
|
|
326 | 330 |
if($column['type'] == "checkbox") { |
327 | 331 |
if($fieldname == "") { |
328 | 332 |
echo gettext("No"); |
Also available in: Unified diff
If column['fieldname'] is a description then change html class to listbg to conform to rest of GUI description table columns.