mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 14:17:49 +02:00
Pull to solve missing pagination & quickreply shortcode
Pull to solve missing pagination & quickreply shortcode
This commit is contained in:
@@ -473,6 +473,10 @@ $i = $thread->page;
|
|||||||
//---- Moved upwards, to enclose $tVars...
|
//---- Moved upwards, to enclose $tVars...
|
||||||
//---- $sc = e107::getScBatch('view', 'forum');
|
//---- $sc = e107::getScBatch('view', 'forum');
|
||||||
|
|
||||||
|
$mes = e107::getMessage();
|
||||||
|
// $sc->setVars($thread->threadInfo);
|
||||||
|
//--->$forend = $tp->simpleParse($FORUMEND, $tVars);
|
||||||
|
$forend = $tp->parseTemplate($FORUMEND, true, $sc);
|
||||||
|
|
||||||
|
|
||||||
foreach ($postList as $c => $postInfo)
|
foreach ($postList as $c => $postInfo)
|
||||||
@@ -538,6 +542,7 @@ foreach ($postList as $c => $postInfo)
|
|||||||
}
|
}
|
||||||
unset($loop_uid);
|
unset($loop_uid);
|
||||||
|
|
||||||
|
/*---->
|
||||||
if ($forum->checkPerm($thread->threadInfo['thread_forum_id'], 'post') && $thread->threadInfo['thread_active'])
|
if ($forum->checkPerm($thread->threadInfo['thread_forum_id'], 'post') && $thread->threadInfo['thread_active'])
|
||||||
{
|
{
|
||||||
//XXX Show only on the last page??
|
//XXX Show only on the last page??
|
||||||
@@ -578,11 +583,14 @@ if ($forum->checkPerm($thread->threadInfo['thread_forum_id'], 'post') && $thread
|
|||||||
$tVars->QUICKREPLY = $forum_quickreply;
|
$tVars->QUICKREPLY = $forum_quickreply;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
<----*/
|
||||||
|
|
||||||
|
/*--->
|
||||||
$mes = e107::getMessage();
|
$mes = e107::getMessage();
|
||||||
$forend = $tp->simpleParse($FORUMEND, $tVars);
|
$sc->setVars($thread->threadInfo);
|
||||||
|
//--->$forend = $tp->simpleParse($FORUMEND, $tVars);
|
||||||
|
$forend = $tp->parseTemplate($FORUMEND, true, $sc);
|
||||||
|
<---*/
|
||||||
$forumstring = $forstr . $forthr . vartrue($forrep) . $forend;
|
$forumstring = $forstr . $forthr . vartrue($forrep) . $forend;
|
||||||
|
|
||||||
//If last post came after USERLV and not yet marked as read, mark the thread id as read
|
//If last post came after USERLV and not yet marked as read, mark the thread id as read
|
||||||
|
Reference in New Issue
Block a user