mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
EONE-48 (Improvement): removing current implementation, waiting for fix
This commit is contained in:
parent
14c3a17ac8
commit
5b765a37a5
6
news.php
6
news.php
@ -311,10 +311,10 @@ if ($action == 'extend')
|
||||
}
|
||||
define("e_PAGETITLE",$news['news_title']);
|
||||
}*/
|
||||
|
||||
/* FIXME - better implementation: cache, shortcodes, do it inside the model/shortcode class itself.
|
||||
if (TRUE)
|
||||
{
|
||||
/* Added by nlStart - show links to previous and next news */
|
||||
// Added by nlStart - show links to previous and next news
|
||||
if (!isset($news['news_extended'])) $news['news_extended'] = '';
|
||||
$news['news_extended'].="<div style='text-align:center;'><a href='".e_SELF."?cat.".$id."'>".LAN_NEWS_85."</a> <a href='".e_SELF."'>".LAN_NEWS_84."</a></div>";
|
||||
$prev_query = "SELECT news_id, news_title FROM `#news`
|
||||
@ -338,7 +338,7 @@ if ($action == 'extend')
|
||||
$news['news_extended'].="<div style='float:left;'><a href='".e_SELF."?extend.".$next_news['news_id']."'>".LAN_NEWS_87."</a></div>";
|
||||
}
|
||||
$news['news_extended'].="<br /><br />";
|
||||
}
|
||||
}*/
|
||||
|
||||
require_once(HEADERF);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user