From f506d164f5ae9c298b25e18930c955352bdbb672 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Thu, 21 Jun 2018 05:02:54 +0100 Subject: [PATCH] lib/postgres/nginx_vars.sql --- lib/php/db/table.php | 32 +++++++++++++++++++------------- lib/postgres/css_reference.sql | 2 +- lib/postgres/html_tag.sql | 2 +- lib/postgres/nginx_vars.sql | 15 +++++++++++++++ www/dbq/dbq.php | 10 +++++++--- 5 files changed, 43 insertions(+), 18 deletions(-) create mode 100644 lib/postgres/nginx_vars.sql diff --git a/lib/php/db/table.php b/lib/php/db/table.php index 319c7273..9e137de0 100644 --- a/lib/php/db/table.php +++ b/lib/php/db/table.php @@ -734,11 +734,11 @@ Class Table extends nb { $next = 999999; } - if ($prev>=0) $html .= '<< '; + if ($prev>=0) $html .= '< '; $html .= ''.($tot ? ($x+1) : 0).' - '.( $tot<($x+$y) ? $tot : ($x+$y) ).' / '.$tot.''; - if ($next<$tot) $html .= ' >>'; + if ($next<$tot) $html .= ' >'; return $html; @@ -2139,9 +2139,7 @@ Class Table extends nb { $buttons = ''; if (!empty($opt['buttons'])) $buttons = $opt['buttons']; - #$r = '