cosmetic
This commit is contained in:
parent
f4e8e597a5
commit
6588ab0906
@ -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')],
|
||||
|
@ -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>',
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user