mirror of
https://github.com/e107inc/e107.git
synced 2025-08-10 16:46:50 +02:00
- Important URL assembling feature, all routes have now safe fallback option
- News configs updates and refactoring, introducing new config, various bugfixes - News DB changes: news_sef and category_sef fields, titles no more used in URL assembling - Aliases now not able to match existing URL module - New URL setting - choose type of SEF string when auto-extracted from titles (implemented in News and Custom pages, leave SEF string empty to see it in action) - Overall system stability bugfixes
This commit is contained in:
5
news.php
5
news.php
@@ -2,7 +2,7 @@
|
||||
/*
|
||||
* e107 website system
|
||||
*
|
||||
* Copyright (C) 2008-2011 e107 Inc (e107.org)
|
||||
* Copyright (C) e107 Inc (e107.org)
|
||||
* Released under the terms and conditions of the
|
||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||
*
|
||||
@@ -689,7 +689,8 @@ else
|
||||
if($sub_action && 'list' == $action && vartrue($newsAr[1]['category_name']))
|
||||
{
|
||||
// we know category name - pass it to the nexprev url
|
||||
$category_name = $newsUrlparms['name'] = $newsAr[1]['category_name'];
|
||||
$category_name = $newsAr[1]['category_name'];
|
||||
if(vartrue($newsAr[1]['category_sef'])) $newsUrlparms['name'] = $newsAr[1]['category_sef'];
|
||||
if(!isset($NEWSLISTCATTITLE))
|
||||
{
|
||||
$NEWSLISTCATTITLE = "<h1 class='newscatlist-title'>".$tp->toHTML($category_name,FALSE,'TITLE')."</h1>";
|
||||
|
Reference in New Issue
Block a user