From fb11b7a063db3879259bafb962e2a161b11d6a53 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Wed, 12 Sep 2018 02:35:30 +0100 Subject: [PATCH] www/dbq/html/default.js --- lib/php/db/table.php | 11 ++++++----- lib/php/out/div.php | 4 ++-- lib/php/out/table.php | 4 ++-- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/lib/php/db/table.php b/lib/php/db/table.php index cc620d16..a6bf406f 100644 --- a/lib/php/db/table.php +++ b/lib/php/db/table.php @@ -1611,13 +1611,14 @@ Class Table extends nb { $html = ''; - $html .= ''.NB_EOL; + $html .= '
'.NB_EOL; if ($this->show_header) { $html .= ''.NB_EOL; // Columns names - $html .= ''.NB_EOL; +# NB 12.09.18 $html .= ''.NB_EOL; + $html .= ''.NB_EOL; if ($this->buttons() and DB_HTML_EDIT) $html .= ''.NB_EOL; foreach ($fields as $name => $f) { $html .= '_rows_table_class($f).'>'.$this->url_sort($name).''.NB_EOL; @@ -1635,7 +1636,7 @@ Class Table extends nb { $buttons = $this->html_row_buttons($row); - $html = ''.NB_EOL; + $html = ''.NB_EOL; if ($this->buttons() and !empty($buttons[0])) $html .= ''.NB_EOL; @@ -1661,14 +1662,14 @@ Class Table extends nb { Html Div -----------------------------------------------------------------*/ private function rows_begin_div() { - return '
'.NB_EOL; + return '
'.NB_EOL; } private function rows_rec_div(&$row) { $html = ''; - $html .= '
    '.NB_EOL; + $html .= '
      '.NB_EOL; if ($this->buttons()) { $html .= '
    • '.NB_EOL; diff --git a/lib/php/out/div.php b/lib/php/out/div.php index fa63a600..faf21721 100644 --- a/lib/php/out/div.php +++ b/lib/php/out/div.php @@ -1,8 +1,8 @@ true, - 'enclose' => ["
      ".NB_EOL,"
      ".NB_EOL], - 'tag_enclose' => 'div class="db-row row"', + 'enclose' => ["
      ".NB_EOL,"
      ".NB_EOL], + 'tag_enclose' => 'div class="db-row"', 'tag' => 'div', 'row' => 'out_tag', 'tag_key' => 'label', diff --git a/lib/php/out/table.php b/lib/php/out/table.php index 698db888..8f73838b 100644 --- a/lib/php/out/table.php +++ b/lib/php/out/table.php @@ -1,8 +1,8 @@ true, - 'enclose' => array("
'.$buttons[0].'
".NB_EOL,"
".NB_EOL), - 'tag_enclose' => 'tr class="db-row row"', + 'enclose' => array("".NB_EOL,"
".NB_EOL), + 'tag_enclose' => 'tr class="db-row"', 'tag_head' => 'th', 'tag' => 'td', 'row' => 'out_tag', -- 2.47.3