]> git.nbdom.net Git - nb.git/commitdiff
www/dbq/dbq.php
authorDevops <sys@15gifts.com>
Tue, 23 May 2017 10:15:22 +0000 (11:15 +0100)
committerDevops <sys@15gifts.com>
Tue, 23 May 2017 10:15:22 +0000 (11:15 +0100)
www/dbq/dbq.php

index 2ac17140a23edbf3228f2065258ae56afc7fb9bb..4d95e70d25d72c52655762d07194af4ef83cc708 100644 (file)
@@ -177,7 +177,7 @@ class DbQ extends nb {
       $this->page->body_class = ''
         .(empty($this->params['db']) ? '' : ' db-'.$this->params['db'])
         .(empty($this->params['table']) ? '' : ' table-'.$this->params['table'])
-        .(empty($this->params['action']) ? ' action-'.self::PARAM_DB_DEFAULT : ' action-'.$this->params['action'])
+        .(empty($this->params['action']) ? ' action-'.self::PARAM_DB_DEFAULT : ' action-'.($this->params['action'] == 'add' ? 'vi' : $this->params['action']))
 
       ;
       $this->page->begin();