diff --git a/e107_plugins/featurebox/templates/centered.php b/e107_plugins/featurebox/templates/centered.php deleted file mode 100644 index df95a2b57..000000000 --- a/e107_plugins/featurebox/templates/centered.php +++ /dev/null @@ -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 /> -"; - -?> \ No newline at end of file diff --git a/e107_plugins/featurebox/templates/default.php b/e107_plugins/featurebox/templates/default.php deleted file mode 100644 index 617d4ce3c..000000000 --- a/e107_plugins/featurebox/templates/default.php +++ /dev/null @@ -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 -"; - -?> \ No newline at end of file diff --git a/e107_plugins/featurebox/templates/featurebox_category_template.php b/e107_plugins/featurebox/templates/featurebox_category_template.php index 64ed05085..b01162129 100644 --- a/e107_plugins/featurebox/templates/featurebox_category_template.php +++ b/e107_plugins/featurebox/templates/featurebox_category_template.php @@ -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') ); ?> \ No newline at end of file