1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-20 13:21:54 +02:00

Moving the system to the new URL assembling, fixed call to a non-existent eUrl method system wide.

This commit is contained in:
secretr
2011-11-26 18:17:42 +00:00
parent 0f794aa225
commit 548b585f7e
16 changed files with 55 additions and 42 deletions

View File

@@ -143,7 +143,9 @@ if ($pages)
if(strpos($FORUM_VIEW_START, 'THREADPAGES') !== false || strpos($FORUM_VIEW_END, 'THREADPAGES') !== false)
{
//if(!$page) $page = 1;
$url = rawurlencode(e107::getUrl()->getUrl('forum', 'forum', array('func' => 'view', 'id' => $forumId, 'page' => '[FROM]')));
// __FIX URL__ - forum urls - fixed only parse error
$url = rawurlencode(e107::getUrl()->create('forum', 'forum', array('func' => 'view', 'id' => $forumId, 'page' => '[FROM]')));
$parms = "total={$pages}&type=page&current={$page}&url=".$url."&caption=off";
$fVars->THREADPAGES = $e107->tp->parseTemplate("{NEXTPREV={$parms}}");
}