master
Jean-Christian Paul Denis 2023-01-05 00:41:00 +01:00
parent c55a2aaaa0
commit 5e58eebbfc
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
3 changed files with 3 additions and 4 deletions

View File

@ -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__));
}
},
]);

View File

@ -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

View File

@ -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 -->