use latest helper namespace

This commit is contained in:
Jean-Christian Paul Denis 2023-04-22 13:54:55 +02:00
parent 18311b9985
commit db5713dd2b
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -17,12 +17,12 @@ namespace Dotclear\Plugin\lastpostsExtend;
use dcBlog; use dcBlog;
use dcCore; use dcCore;
use dcMeta; use dcMeta;
use Dotclear\Helper\Date;
use Dotclear\Helper\Text; use Dotclear\Helper\Text;
use Dotclear\Helper\File\Path; use Dotclear\Helper\File\Path;
use Dotclear\Helper\Html\Html; use Dotclear\Helper\Html\Html;
use Dotclear\Plugin\widgets\WidgetsStack; use Dotclear\Plugin\widgets\WidgetsStack;
use Dotclear\Plugin\widgets\WidgetsElement; use Dotclear\Plugin\widgets\WidgetsElement;
use dt;
class Widgets class Widgets
{ {
@ -317,11 +317,11 @@ class Widgets
$res .= '<li>' . $res .= '<li>' .
'<' . ($published ? 'a href="' . $rs->getURL() . '"' : 'span') . '<' . ($published ? 'a href="' . $rs->getURL() . '"' : 'span') .
' title="' . ' title="' .
dt::dt2str( Date::dt2str(
dcCore::app()->blog->settings->get('system')->get('date_format'), dcCore::app()->blog->settings->get('system')->get('date_format'),
$rs->f('post_upddt') $rs->f('post_upddt')
) . ', ' . ) . ', ' .
dt::dt2str( Date::dt2str(
dcCore::app()->blog->settings->get('system')->get('time_format'), dcCore::app()->blog->settings->get('system')->get('time_format'),
$rs->f('post_upddt') $rs->f('post_upddt')
) . '">' . ) . '">' .