mirror of
https://github.com/e107inc/e107.git
synced 2025-08-21 21:57:34 +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:
22
e107_plugins/news/e_header.php
Normal file
22
e107_plugins/news/e_header.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
/*
|
||||
* e107 website system
|
||||
*
|
||||
* Copyright (C) 2008-2014 e107 Inc (e107.org)
|
||||
* Released under the terms and conditions of the
|
||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||
*
|
||||
* Related configuration module - News
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
|
||||
if(USER_AREA && e107::getMenu()->isLoaded('news_carousel'))
|
||||
{
|
||||
e107::css('news','news_carousel.css');
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user