'prefetch', 'href'=>THEME.'images/browsers.png'));
// http://voux-with-out-slider-themexpose.blogspot.in/
// e107::js("footer-inline", "$('.e-tip').tooltip({container: 'body'})"); // activate bootstrap tooltips.
// Legacy Stuff.
define('OTHERNEWS_COLS',false); // no tables, only divs.
define('OTHERNEWS_LIMIT', 3); // Limit to 3.
define('OTHERNEWS2_COLS',false); // no tables, only divs.
define('OTHERNEWS2_LIMIT', 3); // Limit to 3.
define('COMMENTLINK', 'Comments ');
define('COMMENTOFFSTRING', 'Comments disabled');
define('PRE_EXTENDEDSTRING', ' ');
/**
* @param string $caption
* @param string $text
* @param string $id : id of the current render
* @param array $info : current style and other menu data.
*/
function tablestyle($caption, $text, $id='', $info=array())
{
// global $style; // no longer needed.
$style = $info['setStyle'];
echo "\n\n";
$type = $style;
if(empty($caption))
{
$type = 'box';
}
if($style == 'navdoc' || $style == 'none')
{
echo $text;
return;
}
/*
if($id == 'wm') // Example - If rendered from 'welcome message'
{
}
if($id == 'featurebox') // Example - If rendered from 'featurebox'
{
}
*/
if($style == 'jumbotron')
{
echo '
';
if(!empty($caption))
{
echo '
'.$caption.' ';
}
echo '
'.$text.'
';
return;
}
if($style == 'col-md-3' || $style == 'col-md-4' || $style == 'col-md-6' || $style == 'col-md-8' || $style == 'col-md-9')
{
echo ' ';
if(!empty($caption))
{
echo '
'.$caption.' ';
}
echo '
'.$text.'
';
return;
}
if($style == 'menu')
{
echo '';
return;
}
if($style == 'portfolio')
{
echo '
'.$text.'
';
return;
}
// default.
if(!empty($caption))
{
echo ''.$caption.' ';
}
echo $text;
return;
}
// applied before every layout.
$LAYOUT['_header_'] = '
{NAVIGATION=main}
{BOOTSTRAP_USERNAV: placement=top}
{XURL_ICONS: size=2x&tip=0}
';
// applied after every layout.
$LAYOUT['_footer_'] = '
{SETSTYLE=menu}
{MENU=100}
{MENU=101}
{MENU=102}
{SETSTYLE=default}
{MENU=115}
{NAVIGATION=footer}
{MENU=116}
';
// e107 Theme based on "Voux" by ThemeXpose which is realeased under the terms of the GNU General Public license.
// $LAYOUT is a combined $HEADER and $FOOTER, automatically split at the point of "{---}"
$LAYOUT['jumbotron_home'] = <<
{ALERTS}
{SETSTYLE=jumbotron}
{WMESSAGE=force}
{SETSTYLE=default}
{MENU=1}
{---}
{SETSTYLE=col-md-4}
{MENU=2}
{MENU=3}
{MENU=4}
{SETSTYLE=col-md-4}
{MENU=5}
{MENU=6}
{MENU=7}
{SETSTYLE=default}
TMPL;
//TODO Add {GALLERY_PORTFOLIO} to portfolio_menu.php
$LAYOUT['modern_business_home'] = <<
{SETSTYLE=none}
{FEATUREBOX}
{ALERTS}
{MENU=1}
{SETSTYLE=col-md-4}
{CMENU=jumbotron-menu-1}
{CMENU=jumbotron-menu-2}
{CMENU=jumbotron-menu-3}
{SETSTYLE=default}
Display Some Work on the Home Page Portfolio
{SETSTYLE=portfolio}
{SETIMAGE: w=700&h=500&crop=1}
{GALLERY_PORTFOLIO: placeholder=1&limit=6}
{SETSTYLE=none}
{---}
TMPL;
$LAYOUT['jumbotron_full'] = '
{SETSTYLE=default}
{ALERTS}
{MENU=1}
{---}
';
$LAYOUT['jumbotron_sidebar_right'] = '
{SETSTYLE=default}
';
/*
$NEWSCAT = "\n\n\n\n\n\n\n\n
{NEWSCATEGORY}
{NEWSCAT_ITEM}
";
$NEWSCAT_ITEM = "\n\n\n\n\n\n\n\n
";*/
?>