summaryrefslogtreecommitdiff
path: root/includes/sys_template.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2014-08-23 02:47:06 +0200
committerPhilip Häusler <msquare@notrademark.de>2014-08-23 02:47:06 +0200
commitf30bc252460e74ca4c71677663acd3d91a8657d6 (patch)
tree13bf648860ac0b924eb6881e14ec0e5fee3aef8b /includes/sys_template.php
parentc5331c44fd5f0251e7ec572c3bfc50a9f52c86bf (diff)
minor bugfixes
Diffstat (limited to 'includes/sys_template.php')
-rw-r--r--includes/sys_template.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/sys_template.php b/includes/sys_template.php
index 24e6797b..2015a0d7 100644
--- a/includes/sys_template.php
+++ b/includes/sys_template.php
@@ -256,16 +256,16 @@ function table($columns, $rows_raw, $data = true) {
$html .= '<table class="table ' . ($data ? ' data' : '') . '">';
$html .= '<thead><tr>';
foreach ($columns as $key => $column)
- $html .= '<th class="' . $key . '">' . $column . '</th>';
+ $html .= '<th class="column_' . $key . '">' . $column . '</th>';
$html .= '</tr></thead>';
$html .= '<tbody>';
foreach ($rows as $row) {
$html .= '<tr>';
foreach ($columns as $key => $column)
if (isset($row[$key]))
- $html .= '<td class="' . $key . '">' . $row[$key] . '</td>';
+ $html .= '<td class="column_' . $key . '">' . $row[$key] . '</td>';
else
- $html .= '<td class="' . $key . '">&nbsp;</td>';
+ $html .= '<td class="column_' . $key . '">&nbsp;</td>';
$html .= '</tr>';
}
$html .= '</tbody>';