} elseif ($action == 'status') {
$this->page($this->table->status()+$this->table->status(['fields']));
- } elseif ($action == 'vi') {
- $this->deniedUnless($this->perm >= self::READ);
- $this->page($this,'vi');
-
} elseif ($action == 'add') {
$this->deniedUnless($this->perm >= self::WRITE);
$this->page($this,'add');
$this->redirect_if_no_referer($this->table->base.'/');
$this->page($info);
-
} elseif (preg_match('/^fields=(.*)\s*$/',$action,$m)) {
$this->page_table_ls($m[1]);
+ } elseif ($action == 'vi'
+ # NB 29.08.24 or $action!=""
+ ) {
+ if ($action != 'vi') $this->params['args'] = $action;
+ #bye($this->params);
+ $this->deniedUnless($this->perm >= self::READ);
+ $this->page($this,'vi');
+
+
} else {
$this->notImplemented('Unknown table action'." `$action`");