use latest dotclear helper namespace

This commit is contained in:
Jean-Christian Paul Denis 2023-04-22 11:55:43 +02:00
parent 3a6dc3fc82
commit ecc0ac08d8
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -17,6 +17,7 @@ namespace Dotclear\Plugin\httpPassword;
use dcCore; use dcCore;
use dcNsProcess; use dcNsProcess;
use dcPage; use dcPage;
use Dotclear\Helper\Date;
use Dotclear\Helper\Html\Html; use Dotclear\Helper\Html\Html;
use Dotclear\Helper\Html\Form\{ use Dotclear\Helper\Html\Form\{
Checkbox, Checkbox,
@ -31,7 +32,6 @@ use Dotclear\Helper\Html\Form\{
Submit, Submit,
Text Text
}; };
use dt;
/** /**
* Manage contributions list * Manage contributions list
@ -241,7 +241,7 @@ class Manage extends dcNsProcess
echo echo
'<tr class="line">' . '<tr class="line">' .
'<td class="nowrap maximal">' . Html::escapeHTML($logs->f('log_msg')) . '</td>' . '<td class="nowrap maximal">' . Html::escapeHTML($logs->f('log_msg')) . '</td>' .
'<td class="nowrap count">' . Html::escapeHTML(dt::dt2str(__('%Y-%m-%d %H:%M'), $logs->f('log_dt'))) . '</td>' . '<td class="nowrap count">' . Html::escapeHTML(Date::dt2str(__('%Y-%m-%d %H:%M'), $logs->f('log_dt'))) . '</td>' .
'</tr>'; '</tr>';
} }