$html = '';
- $html .= '<table class="table table-bordered db-rows rows wp-list-table widefat striped">'.NB_EOL;
+ $html .= '<table class="table table-striped db-rows wp-list-table widefat striped">'.NB_EOL;
if ($this->show_header) {
$html .= '<thead>'.NB_EOL;
// Columns names
- $html .= '<tr class="head">'.NB_EOL;
+# NB 12.09.18 $html .= '<tr class="head">'.NB_EOL;
+ $html .= '<tr>'.NB_EOL;
if ($this->buttons() and DB_HTML_EDIT) $html .= '<th class="edit"></th>'.NB_EOL;
foreach ($fields as $name => $f) {
$html .= '<th'.$this->_rows_table_class($f).'>'.$this->url_sort($name).'</th>'.NB_EOL;
$buttons = $this->html_row_buttons($row);
- $html = '<tr class="db-row row">'.NB_EOL;
+ $html = '<tr class="db-row">'.NB_EOL;
if ($this->buttons() and !empty($buttons[0])) $html .= '<td class="action">'.$buttons[0].'</td>'.NB_EOL;
Html Div
-----------------------------------------------------------------*/
private function rows_begin_div() {
- return '<div class="db-row rows db-search-results search-results">'.NB_EOL;
+ return '<div class="db-row db-search-results search-results">'.NB_EOL;
}
private function rows_rec_div(&$row) {
$html = '';
- $html .= '<ul class="db-row row">'.NB_EOL;
+ $html .= '<ul class="db-row">'.NB_EOL;
if ($this->buttons()) {
$html .= '<li class="buttons">'.NB_EOL;
<?php
return [
'is_html' => true,
- 'enclose' => ["<div class=\"db-rows rows\">".NB_EOL,"</div>".NB_EOL],
- 'tag_enclose' => 'div class="db-row row"',
+ 'enclose' => ["<div class=\"db-rows\">".NB_EOL,"</div>".NB_EOL],
+ 'tag_enclose' => 'div class="db-row"',
'tag' => 'div',
'row' => 'out_tag',
'tag_key' => 'label',
<?php
return [
'is_html' => true,
- 'enclose' => array("<table class=\"table table-bordered db-rows rows widefat striped\">".NB_EOL,"</table>".NB_EOL),
- 'tag_enclose' => 'tr class="db-row row"',
+ 'enclose' => array("<table class=\"table table-bordered db-rows widefat striped\">".NB_EOL,"</table>".NB_EOL),
+ 'tag_enclose' => 'tr class="db-row"',
'tag_head' => 'th',
'tag' => 'td',
'row' => 'out_tag',