From: Nicolas Boisselier Date: Sat, 29 Sep 2018 23:47:21 +0000 (+0100) Subject: www/dbq/html/default.js X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=3767b770af075e047410e1f7f4174d707fe34459;p=nb.git www/dbq/html/default.js --- diff --git a/lib/php/db/field.php b/lib/php/db/field.php index 578a0b37..32f46499 100644 --- a/lib/php/db/field.php +++ b/lib/php/db/field.php @@ -103,17 +103,14 @@ class field extends nb { $s_no = $checked = ' checked="checked"'; if ( ( $s_yes = preg_match('/^(1|yes|on|true)/i',$checked_value) ? $checked : '' ) != '' ) $s_no = ''; + $name = $this->preffix.$this->name; - $t1 = 'span'; $t2 = ""; $t1 = "<$t1>"; - #$t1 = "<$t1 id=\"$this->name\">"; - #$t1 = $t2 = ''; - - return $t1 - .'Yes ' - .' | ' - .'No ' + return '' + .'' + .' ' + .'' #.'' - .$t2; + .''; } diff --git a/lib/php/db/table.php b/lib/php/db/table.php index 8e268439..15df9505 100644 --- a/lib/php/db/table.php +++ b/lib/php/db/table.php @@ -631,7 +631,7 @@ Class Table extends nb { echo '' #.'
' - .'
' + .'
' .( empty($_SERVER['HTTP_REFERER']) ? '' : '') .'' .'' @@ -2163,7 +2163,7 @@ Class Table extends nb { $buttons = '
'; if (!empty($opt['buttons'])) $buttons = $opt['buttons']; - $r = '