1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Issue #2610 Remove legacy SEF URL from forum plugin.

This commit is contained in:
Cameron
2017-05-02 13:47:18 -07:00
parent 5e53dcb991
commit aeb4f925d2
5 changed files with 13 additions and 351 deletions

View File

@@ -554,7 +554,10 @@
{
// global $gen;
$tmp = explode('.', $this->var['forum_lastpost_info']);
$lp_thread = "<a href='" . e107::getUrl()->create('forum/thread/last', array('id' => $tmp[1])) . "'>" . IMAGE_post2 . '</a>';
// $lp_url = e107::getUrl()->create('forum/thread/last', array('id' => $tmp[1]));
$lp_url = $threadUrl = e107::url('forum','topic',$this->var, array('query'=>array('last'=>1)));
$lp_thread = "<a href='" . $lp_url . "'>" . IMAGE_post2 . '</a>';
$lp_date = $this->gen->convert_date($tmp[0], 'forum');
/*--