use latest helper namespace
This commit is contained in:
parent
18311b9985
commit
db5713dd2b
@ -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')
|
||||||
) . '">' .
|
) . '">' .
|
||||||
|
Loading…
Reference in New Issue
Block a user