1
0
mirror of https://github.com/e107inc/e107.git synced 2025-09-01 10:23:53 +02:00

News Carousel added and a method to check if a menu is loaded. (see e107_plugins/news/e_header.php )

This commit is contained in:
Cameron
2014-01-30 10:14:13 -08:00
parent 859c71d1a2
commit 1d5e08197c
5 changed files with 190 additions and 8 deletions

View File

@@ -395,14 +395,14 @@ class news_admin_ui extends e_admin_ui
protected $cats = array();
protected $newspost;
protected $news_renderTypes = array(
protected $news_renderTypes = array( // TODO Placement location and template should be separate.
'0' => "Default",
'1' => "Default - Title",
'4' => "Default - Title/Summary",
'0' => "Default Area",
'1' => "Default Area - Title",
'4' => "Default Area - Title/Summary",
'2' => "Sidebar - Othernews",
'3' => "Sidebar - Othernews 2",
'5' => "Carousel",
//'5' => "Featurebox"
);
@@ -2438,7 +2438,7 @@ class admin_newspost
<tr>
<td>Notify Ping Services: </td>
<td>".$frm->checkbox('news_ping',1, 1)."</td>
<td>".$frm->checkbox('news_ping',1, false)."</td>
</tr>
</tbody>