mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
27 lines
534 B
PHP
27 lines
534 B
PHP
<?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; }
|
|
|
|
$heroVisibility = e107::pref('hero', 'visibility', e_UC_NOBODY);
|
|
|
|
if(USER_AREA && deftrue('e_FRONTPAGE') && check_class($heroVisibility))
|
|
{
|
|
e107::library('load', 'animate.css');
|
|
e107::css('hero', 'css/hero.css');
|
|
}
|
|
|
|
unset($heroVisibility);
|
|
|
|
|