|
|
|
@ -279,7 +279,7 @@ function table($columns, $rows_raw, $data = true) {
|
|
|
|
|
if (count($rows) == 0)
|
|
|
|
|
return info(_("No data found."), true);
|
|
|
|
|
$html = "";
|
|
|
|
|
$html .= '<table class="table ' . ($data ? ' data' : '') . '">';
|
|
|
|
|
$html .= '<table class="table table-striped' . ($data ? ' data' : '') . '">';
|
|
|
|
|
$html .= '<thead><tr>';
|
|
|
|
|
foreach ($columns as $key => $column)
|
|
|
|
|
$html .= '<th class="column_' . $key . '">' . $column . '</th>';
|
|
|
|
|