mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 21:21:54 +02:00
Featurebox cleanup
This commit is contained in:
parent
4b2b29ef01
commit
2ec48d353e
e107_plugins/featurebox/templates
@ -1,27 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* e107 website system
|
||||
*
|
||||
* Copyright (C) 2008-2009 e107 Inc (e107.org)
|
||||
* Released under the terms and conditions of the
|
||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||
*
|
||||
*
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/featurebox/templates/centered.php,v $
|
||||
* $Revision: 1.3 $
|
||||
* $Date: 2009-11-18 01:05:36 $
|
||||
* $Author: e107coders $
|
||||
*/
|
||||
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
$FB_TEMPLATE = "
|
||||
<div class='defaulttext' style='text-align: center;'><b>$fb_title</b>
|
||||
<hr />
|
||||
$fb_text
|
||||
</div>
|
||||
<br /><br />
|
||||
";
|
||||
|
||||
?>
|
@ -1,25 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* e107 website system
|
||||
*
|
||||
* Copyright (C) 2008-2009 e107 Inc (e107.org)
|
||||
* Released under the terms and conditions of the
|
||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||
*
|
||||
*
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/featurebox/templates/default.php,v $
|
||||
* $Revision: 1.3 $
|
||||
* $Date: 2009-11-18 01:05:36 $
|
||||
* $Author: e107coders $
|
||||
*/
|
||||
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
$FB_TEMPLATE = "
|
||||
<div class='defaulttext'><b>$fb_title</b></div>
|
||||
<hr />
|
||||
$fb_text
|
||||
";
|
||||
|
||||
?>
|
@ -79,6 +79,82 @@ $FEATUREBOX_CATEGORY_TEMPLATE['dynamic']['nav_separator'] = ' ';
|
||||
$FEATUREBOX_CATEGORY_TEMPLATE['dynamic']['js'] = '{e_PLUGIN}featurebox/featurebox.js';
|
||||
// inline JS, without <script> tags
|
||||
$FEATUREBOX_CATEGORY_TEMPLATE['dynamic']['js_inline'] = 'new Featurebox(\'featurebox-container\')';
|
||||
|
||||
|
||||
|
||||
//TODO - tabs template.
|
||||
$FEATUREBOX_CATEGORY_TEMPLATE['tabs']['list_start'] = '';
|
||||
|
||||
$FEATUREBOX_CATEGORY_TEMPLATE['tabs']['list_end'] = '';
|
||||
|
||||
// For Reference:
|
||||
/*
|
||||
<div class="admintabs" id="tab-container">
|
||||
|
||||
<div class="tabs">
|
||||
|
||||
<ul class="e-tabs e-hideme clearer" id="front-tabs">
|
||||
|
||||
<li id="tab-01"><a href="#tab-01-activate"><span>'.LAN_THEME_TAB_1.'</span></a></li>
|
||||
|
||||
<li id="tab-02"><a href="#tab-02-activate"><span>'.LAN_THEME_TAB_2.'</span></a></li>
|
||||
|
||||
<li id="tab-03"><a href="#tab-03-activate"><span>'.LAN_THEME_TAB_3.'</span></a></li>
|
||||
|
||||
<li id="tab-04"><a href="#tab-04-activate"><span>'.LAN_THEME_TAB_4.'</span></a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="tab-content-wrap">
|
||||
|
||||
<div id="tab-01-activate">
|
||||
|
||||
<div class="tab-content">
|
||||
|
||||
{MENU=2}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="tab-02-activate">
|
||||
|
||||
<div class="tab-content">
|
||||
|
||||
{MENU=3}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="tab-03-activate">
|
||||
|
||||
<div class="tab-content">
|
||||
|
||||
{MENU=4}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="tab-04-activate">
|
||||
|
||||
<div class="tab-content">
|
||||
|
||||
{MENU=5}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Template information.
|
||||
* Allowed keys:
|
||||
@ -91,5 +167,6 @@ $FEATUREBOX_CATEGORY_TEMPLATE['dynamic']['js_inline'] = 'new Featurebox(\'featur
|
||||
$FEATUREBOX_CATEGORY_TEMPLATE['__INFO__'] = array(
|
||||
'default' => array('title' => 'Default - show by category limit'),
|
||||
'dynamic' => array('title' => 'Dynamic (AJAX) loading'),
|
||||
'tabs' => array('title' => 'Tabs')
|
||||
);
|
||||
?>
|
Loading…
x
Reference in New Issue
Block a user