mirror of
https://github.com/e107inc/e107.git
synced 2025-08-19 04:41:53 +02:00
Fix for News SEF Url 'list/all'
This commit is contained in:
2
news.php
2
news.php
@@ -318,7 +318,7 @@ if ($action == 'cat' || $action == 'all' || vartrue($_GET['tag']))
|
||||
$NEWSLISTTITLE = str_replace("{NEWSCATEGORY}",$tp->toHTML($category_name,FALSE,'TITLE'),$NEWSLISTTITLE);
|
||||
}
|
||||
|
||||
$text .= "<div class='center news-list-footer'><a class='btn btn-default' href='".e107::getUrl()->create('news/all')."'>".LAN_NEWS_84."</a></div>";
|
||||
$text .= "<div class='center news-list-footer'><a class='btn btn-default' href='".e107::getUrl()->create('news/list/all')."'>".LAN_NEWS_84."</a></div>";
|
||||
|
||||
ob_start();
|
||||
$ns->tablerender($NEWSLISTTITLE, $text, 'news');
|
||||
|
Reference in New Issue
Block a user