mirror of
https://github.com/e107inc/e107.git
synced 2025-08-18 12:21:45 +02:00
featurebox front-end - work in progress
This commit is contained in:
@@ -1,37 +1,33 @@
|
||||
<?php
|
||||
/*
|
||||
+ ----------------------------------------------------------------------------+
|
||||
| e107 website system
|
||||
|
|
||||
| Copyright (c) e107 Inc. 2001-2009
|
||||
| http://e107.org
|
||||
|
|
||||
| Released under the terms and conditions of the
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/featurebox/templates/featurebox_template.php,v $
|
||||
| $Revision: 1.1 $
|
||||
| $Date: 2009-11-24 14:48:34 $
|
||||
| $Author: e107coders $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
global $sc_style;
|
||||
|
||||
|
||||
$FEATUREBOX_TEMPLATE['default'] = "
|
||||
<div class='defaulttext'><b>$fb_title</b></div>
|
||||
<hr />
|
||||
$fb_text
|
||||
";
|
||||
|
||||
|
||||
|
||||
$FEATUREBOX_TEMPLATE['centered'] = "
|
||||
<div class='defaulttext' style='text-align: center;'><b>$fb_title</b>
|
||||
<hr />
|
||||
$fb_text
|
||||
$FEATUREBOX_TEMPLATE['default'] = '
|
||||
<div class="featurebox-item default">
|
||||
<h3>{FEATUREBOX_TITLE|default}</h3>
|
||||
<div class="featurebox-body">{FEATUREBOX_TEXT|default}</div>
|
||||
</div>
|
||||
<br /><br />
|
||||
";
|
||||
';
|
||||
|
||||
$sc_style['FEATUREBOX_IMAGE|image_left']['pre'] = '<div class="f-left">';
|
||||
$sc_style['FEATUREBOX_IMAGE|image_left']['post'] = '</div>';
|
||||
$FEATUREBOX_TEMPLATE['image_right'] = '
|
||||
<div class="featurebox-item imgleft" id="featurebox-item-{FEATUREBOX_ID}">
|
||||
<div class="featurebox-body">{FEATUREBOX_IMAGE|image_left}<h3>{FEATUREBOX_TITLE|image_left}</h3>{FEATUREBOX_TEXT|image_left}</div>
|
||||
</div>
|
||||
';
|
||||
|
||||
$sc_style['FEATUREBOX_IMAGE|image_right']['pre'] = '<div class="f-right">';
|
||||
$sc_style['FEATUREBOX_IMAGE|image_right']['post'] = '</div>';
|
||||
$FEATUREBOX_TEMPLATE['image_right'] = '
|
||||
<div class="featurebox-item imgright" id="featurebox-item-{FEATUREBOX_ID}">
|
||||
<div class="featurebox-body">{FEATUREBOX_IMAGE|image_right}<h3>{FEATUREBOX_TITLE|image_right}</h3>{FEATUREBOX_TEXT|image_right}</div>
|
||||
</div>
|
||||
';
|
||||
|
||||
$FEATUREBOX_TEMPLATE['__INFO__'] = array(
|
||||
'deafult' => array('title' => 'Default - no image'),
|
||||
'image_right' => array('title' => 'Image to right'),
|
||||
'image_left' => array('title' => 'Image to left'),
|
||||
);
|
||||
|
||||
?>
|
@@ -1,37 +1,19 @@
|
||||
<?php
|
||||
/*
|
||||
+ ----------------------------------------------------------------------------+
|
||||
| e107 website system
|
||||
|
|
||||
| Copyright (c) e107 Inc. 2001-2009
|
||||
| http://e107.org
|
||||
|
|
||||
| Released under the terms and conditions of the
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/featurebox/templates/layout/default_template.php,v $
|
||||
| $Revision: 1.1 $
|
||||
| $Date: 2009-11-26 17:15:45 $
|
||||
| $Author: secretr $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
$LAYOUT_DEFAULT_TEMPLATE['list_start'] = '
|
||||
<div class="box featurebox">
|
||||
<h2>{FEATUREBOX_CATEGORY_ICON}{FEATUREBOX_CATEGORY_TITLE}</h2>
|
||||
<div class="body">
|
||||
';
|
||||
|
||||
$FEATUREBOX_TEMPLATE['default'] = "
|
||||
<div class='defaulttext'><b>$fb_title</b></div>
|
||||
<hr />
|
||||
$fb_text
|
||||
";
|
||||
|
||||
|
||||
|
||||
$FEATUREBOX_TEMPLATE['centered'] = "
|
||||
<div class='defaulttext' style='text-align: center;'><b>$fb_title</b>
|
||||
<hr />
|
||||
$fb_text
|
||||
$LAYOUT_DEFAULT_TEMPLATE['list_end'] = '
|
||||
</div>
|
||||
</div>
|
||||
<br /><br />
|
||||
";
|
||||
';
|
||||
|
||||
$LAYOUT_DEFAULT_TEMPLATE['item_start'] = '';
|
||||
|
||||
$LAYOUT_DEFAULT_TEMPLATE['item_end'] = '';
|
||||
|
||||
$LAYOUT_DEFAULT_TEMPLATE['item_separator'] = '';
|
||||
?>
|
Reference in New Issue
Block a user