mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 17:44:37 +02:00
Example addons added to _blank plugin.
This commit is contained in:
26
e107_plugins/_blank/e_header.php
Normal file
26
e107_plugins/_blank/e_header.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?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) // do not include JS in the admin area.
|
||||
{
|
||||
e107::js('_blank', 'js/blank.js'); // loads e107_plugins/_blank/js/blank.js
|
||||
e107::css('_blank', 'css/blank.css'); // loads e107_plugins/_blank/css/blank.css
|
||||
e107::meta('keywords', 'blank,words');
|
||||
}
|
||||
|
||||
|
||||
|
||||
?>
|
Reference in New Issue
Block a user