This commit is contained in:
Jean-Christian Paul Denis 2022-12-20 22:30:58 +01:00
parent f4e8e597a5
commit 6588ab0906
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
2 changed files with 6 additions and 6 deletions

View File

@ -26,7 +26,7 @@ dcCore::app()->addBehavior('adminColumnsListsV2', function (ArrayObject $cols) {
$cols['dcloglist'] = [
__('Log'),
[
'date' => [true, __('Date')],
'date' => [true, __('Date')],
//'msg' => [true, __('Message')],
'blog' => [true, __('Blog')],
'table' => [true, __('Component')],

View File

@ -74,25 +74,25 @@ class dcLogList extends adminGenericListV2
'check' => '<td class="nowrap minimal">' .
form::checkbox(['entries[]'], $this->rs->log_id, ['checked' => $checked]) .
'</td>',
'date' => '<td class="nowrap minimal">' .
'date' => '<td class="nowrap minimal">' .
html::escapeHTML(dt::dt2str(
__('%Y-%m-%d %H:%M'),
$this->rs->log_dt
)) .
'</td>',
'msg' => '<td class="maximal">' .
'msg' => '<td class="maximal">' .
nl2br(html::escapeHTML($this->rs->log_msg)) .
'</td>',
'blog' => '<td class="minimal nowrap">' .
'blog' => '<td class="minimal nowrap">' .
html::escapeHTML($this->rs->blog_id) .
'</td>',
'table' => '<td class="minimal nowrap">' .
html::escapeHTML($this->rs->log_table) .
'</td>',
'user' => '<td class="minimal nowrap">' .
'user' => '<td class="minimal nowrap">' .
html::escapeHTML($this->rs->getUserCN()) .
'</td>',
'ip' => '<td class="minimal nowrap">' .
'ip' => '<td class="minimal nowrap">' .
html::escapeHTML($this->rs->log_ip) .
'</td>',
];