mirror of
https://github.com/e107inc/e107.git
synced 2025-08-30 17:50:12 +02:00
Forum SEF Url fixes
This commit is contained in:
@@ -255,14 +255,13 @@ else
|
||||
$pages = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if ($pages)
|
||||
{
|
||||
if(strpos($FORUM_VIEW_START, 'THREADPAGES') !== false || strpos($FORUM_VIEW_END, 'THREADPAGES') !== false)
|
||||
{
|
||||
//if(!$page) $page = 1;
|
||||
$urlparms = $forumInfo;
|
||||
$urlparms['page'] = '[FROM]';
|
||||
$url = rawurlencode(e107::getUrl()->create('forum/forum/view', $urlparms));
|
||||
$url = e107::url('forum','forum',$forumInfo, array('query'=>array('p'=>'[FROM]')));
|
||||
$parms = "total={$pages}&type=page¤t={$page}&url=".$url."&caption=off";
|
||||
$fVars->THREADPAGES = $tp->parseTemplate("{NEXTPREV={$parms}}");
|
||||
unset($urlparms);
|
||||
|
Reference in New Issue
Block a user