init(); $doc = JFactory::getDocument(); $app = JFactory::getApplication(); // Less Variables $lessVariables = array( 'accent-color1' => $gantry->get('accent-color1', '#00AFE9'), 'accent-color2' => $gantry->get('accent-color2', '#3091CF'), 'pagesurround-background1' => $gantry->get('pagesurround-background1', '#746496'), 'pagesurround-background2' => $gantry->get('pagesurround-background2', '#6C7DB4'), 'pagesurround-background3' => $gantry->get('pagesurround-background3', '#32306E'), 'headersurround-textcolor' => $gantry->get('headersurround-textcolor', '#F8F8F8'), 'headersurround-background' => $gantry->get('headersurround-background', '#09053f'), 'headersurround-type' => $gantry->get('headersurround-type', 'preset1'), 'maintop-textcolor' => $gantry->get('maintop-textcolor', '#A8A8A8'), 'maintop-background' => $gantry->get('maintop-background', '#F5F5F5'), 'expandedbottom-textcolor' => $gantry->get('expandedbottom-textcolor', '#F8F8F8'), 'expandedbottom-background' => $gantry->get('expandedbottom-background', '#09053f'), 'extension-textcolor' => $gantry->get('extension-textcolor', '#F8F8F8'), 'extension-background' => $gantry->get('extension-background', '#111111'), 'mainbody-overlay' => $gantry->get('mainbody-overlay', 'light'), 'bottom-textcolor' => $gantry->get('bottom-textcolor', '#A8A8A8'), 'bottom-background' => $gantry->get('bottom-background', '#FFFFFF'), 'footer-textcolor' => $gantry->get('footer-textcolor', '#A8A8A8'), 'footer-background' => $gantry->get('footer-background', '#F5F5F5') ); $gantry->addStyle('grid-responsive.css', 5); $gantry->addLess('bootstrap.less', 'bootstrap.css', 6); $gantry->addLess('error.less', 'error.css', 4, $lessVariables); // Scripts if ($gantry->browser->name == 'ie'){ if ($gantry->browser->shortversion == 8){ $gantry->addScript('html5shim.js'); $gantry->addScript('placeholder-ie.js'); } if ($gantry->browser->shortversion == 9){ $gantry->addInlineScript("if (typeof RokMediaQueries !== 'undefined') window.addEvent('domready', function(){ RokMediaQueries._fireEvent(RokMediaQueries.getQuery()); });"); $gantry->addScript('placeholder-ie.js'); } } if ($gantry->get('layout-mode', 'responsive') == 'responsive') $gantry->addScript('rokmediaqueries.js'); ob_start(); ?>
displayBodyTag(); ?>>