cosmetic
parent
c55a2aaaa0
commit
5e58eebbfc
|
@ -43,7 +43,7 @@ dcCore::app()->addBehaviors([
|
|||
if (basename(__DIR__) == $type) {
|
||||
$item[0] = __('Comments list');
|
||||
$item[1] = dcCore::app()->blog->settings->get(basename(__DIR__))->get('page_title') ?? __('Comments list');
|
||||
$item[2] = dcCore::app()->admin->blog_url . dcCore::app()->url->getURLFor(basename(__DIR__));
|
||||
$item[2] = dcCore::app()->admin->__get('blog_url') . dcCore::app()->url->getURLFor(basename(__DIR__));
|
||||
}
|
||||
},
|
||||
]);
|
||||
|
|
|
@ -239,7 +239,7 @@ class tplComListe
|
|||
public static function comListePagination(ArrayObject $attr, string $content): string
|
||||
{
|
||||
$params = "<?php\n" .
|
||||
'$params = dcCore::app()->ctx->comments_params;'. "\n" .
|
||||
'$params = dcCore::app()->ctx->comments_params;' . "\n" .
|
||||
dcCore::app()->callBehavior(
|
||||
'templatePrepareParams',
|
||||
[
|
||||
|
@ -267,7 +267,6 @@ class tplComListe
|
|||
"<?php endif;\n" .
|
||||
'dcCore::app()->ctx->nb_entry_per_page = $bakcup_old_nbpp; ' . "\n" .
|
||||
'?>';
|
||||
|
||||
}
|
||||
|
||||
public static function comListePaginationCounter(ArrayObject $attr): string
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
<a href="{{tpl:CommentPostURL}}#c{{tpl:CommentID}}" class="comment-number">{{tpl:CommentOrderNumber}}.</a>
|
||||
{{tpl:lang On}} {{tpl:CommentDate}}, {{tpl:CommentTime}},
|
||||
{{tpl:lang by}} {{tpl:CommentAuthorLink}}
|
||||
<br />({{tpl:lang source:}} <a href="{{tpl:CommentPostURL}}#c{{tpl:CommentID}}">{{tpl:CommentEntryTitle}}</a>)
|
||||
<br />({{tpl:lang Source:}} <a href="{{tpl:CommentPostURL}}#c{{tpl:CommentID}}">{{tpl:CommentEntryTitle}}</a>)
|
||||
</dt>
|
||||
<dd class="{{tpl:CommentIfMe}} {{tpl:CommentIfOdd}} {{tpl:CommentIfFirst}}">
|
||||
<!-- # --BEHAVIOR-- publicCommentBeforeContent -->
|
||||
|
|
Loading…
Reference in New Issue