'prefetch', 'href'=>THEME.'images/browsers.png')); 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', e107::getParser()->toGlyph('fa-comment')); define('COMMENTOFFSTRING', ''); 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-4' || $style == 'col-md-6' || $style == 'col-md-8') { echo '
'; if(!empty($caption)) { echo '

'.$caption.'

'; } echo ' '.$text.'
'; return; } if($style == 'menu') { echo '
'.$caption.'
'.$text.'
'; return; } if($style == 'portfolio') { echo '
'.$text.'
'; return; } // default. if(!empty($caption)) { echo '

'.$caption.'

'; } echo $text; return; } // applied before every layout. $LAYOUT['_header_'] = ' '; // applied after every layout. $LAYOUT['_footer_'] = '
{SETSTYLE=default} '; // $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}
{MENU=8}
{MENU=9}
{MENU=10}
{MENU=11}
{MENU=12}
{MENU=13}
{MENU=14}
TMPL; //TODO Add {GALLERY_PORTFOLIO} to portfolio_menu.php $LAYOUT['modern_business_home'] = << {SETSTYLE=none} {FEATUREBOX}
{ALERTS} {MENU=10}
{SETSTYLE=col-md-4} {CMENU=jumbotron-menu-1} {CMENU=jumbotron-menu-2} {CMENU=jumbotron-menu-3}
{SETSTYLE=default}
{WMESSAGE}

Display Some Work on the Home Page Portfolio


{SETSTYLE=portfolio} {SETIMAGE: w=400&h=400&crop=1} {GALLERY_PORTFOLIO: placeholder=1&limit=6}
{SETSTYLE=none}
{CMENU=feature-menu-1}
{CMENU=feature-menu-2}
{CMENU=feature-menu-3}
{---} TMPL; $LAYOUT['jumbotron_full'] = ' {SETSTYLE=default}
{ALERTS} {MENU=1} {---}
'; $LAYOUT['jumbotron_sidebar_right'] = ' {SETSTYLE=default}
{ALERTS}
{---}
{SETSTYLE=default}
{MENU=2}
{MENU=3}
{MENU=4}
{MENU=5}
{MENU=6}
{MENU=7}
{MENU=8}
'; /* XXX EVERYTHING BELOW THIS POINT IS UNUSED FOR NOW */ /** * $HEADER AND $FOOTER are deprecated. */ /* $CUSTOMHEADER, CUSTOMFOOTER and $CUSTOMPAGES are deprecated. Default custom-pages can be assigned in theme.xml */ /* $LAYOUT['docs'] = <<

{PAGE_CHAPTER_NAME}

{PAGE_CHAPTER_DESCRIPTION}

{SETSTYLE=navdoc} {PAGE_NAVIGATION: template=navdocs&auto=1}
{SETSTYLE=doc}
{---}

{SITEDISCLAIMER}

TMPL; */ $NEWSCAT = "\n\n\n\n\n\n\n\n
{NEWSCATEGORY}
{NEWSCAT_ITEM}
"; $NEWSCAT_ITEM = "\n\n\n\n\n\n\n\n
•  {NEWSTITLELINK}
"; ?>