detail.table_body.php
Исходный код
<?php
$Table = $Page;
print "\n" . '<tbody>';
$cols = $Table->getCols();
foreach ($Table->getRows() as $Row) {
print "\n" . '<tr' . $Row->displayClass() . $Row->displayStyle() . $Row->displayAttrs() . '>';
foreach ($cols as $name => $Col) {
$href = $Col->href($Row);
print "\n" . '<td' . $Col->displayClass($Row) . $Col->displayStyle($Row) . $Col->displayAttrs($Row) . '>';
if ($href) print '<a href="' . $href . '"' . (strpos($href, '//') !== false ? ' target="_blank"' : '') . '><u>';
print $Col->displayValue($Row);
if ($href) print '</u></a>';
print '</td>';
}
print "\n" . '</tr>';
}
print "\n" . '</tbody>';
?>