This commit is contained in:
Jean-Christian Paul Denis 2023-05-13 10:25:29 +02:00
parent 75afbcda1c
commit f6e457f977
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
2 changed files with 6 additions and 6 deletions

View File

@ -114,7 +114,7 @@ class BackendList extends adminGenericListV2
(new Checkbox(['entries[]'], $checked)) (new Checkbox(['entries[]'], $checked))
->value($this->rs->log_id), ->value($this->rs->log_id),
]), ]),
'date' => (new Text('td', Html::escapeHTML(Date::dt2str(__('%Y-%m-%d %H:%M'),$this->rs->log_dt)))) 'date' => (new Text('td', Html::escapeHTML(Date::dt2str(__('%Y-%m-%d %H:%M'), $this->rs->log_dt))))
->class('nowrap minimal'), ->class('nowrap minimal'),
'msg' => (new Text('td', nl2br(Html::escapeHTML($this->rs->log_msg)))) 'msg' => (new Text('td', nl2br(Html::escapeHTML($this->rs->log_msg))))
->class('maximal'), ->class('maximal'),

View File

@ -129,11 +129,11 @@ class Manage extends dcNsProcess
->class('delete') ->class('delete')
->value(__('Delete all logs')), ->value(__('Delete all logs')),
]), ]),
(new Text( (new Text(
'', '',
dcCore::app()->adminurl?->getHiddenFormFields('admin.plugin.' . My::id(), $current->filter->values()) . dcCore::app()->adminurl?->getHiddenFormFields('admin.plugin.' . My::id(), $current->filter->values()) .
dcCore::app()->formNonce() dcCore::app()->formNonce()
)), )),
]), ]),
])->render(), ])->render(),
$current->filter->show() $current->filter->show()