mirror of
https://github.com/e107inc/e107.git
synced 2025-08-28 16:50:07 +02:00
#2209 Display message when user registration is disabled and preventing login form from rendering.
This commit is contained in:
@@ -59,8 +59,13 @@ $query .= "
|
||||
ORDER BY n.news_sticky DESC, n.news_datestamp DESC
|
||||
LIMIT ".$limit;
|
||||
|
||||
|
||||
|
||||
|
||||
$data = $sql->retrieve($query,true);
|
||||
|
||||
|
||||
|
||||
if(empty($data))
|
||||
{
|
||||
e107::getMessage()->addDebug( "No News items found with 'carousel' as the template ")->render();
|
||||
@@ -73,7 +78,7 @@ $count = 0;
|
||||
|
||||
$sc = e107::getScBatch('news');
|
||||
$text = '';
|
||||
|
||||
$nav = array();
|
||||
|
||||
foreach($data as $row)
|
||||
{
|
||||
|
Reference in New Issue
Block a user