Ejemplo n.º 1
0
defined('_JEXEC') or die;
JLoader::register("TplHelper", dirname(__FILE__) . '/helper.php');
JPluginHelper::importPlugin('content');
// variables
$app = JFactory::getApplication();
$doc = JFactory::getDocument();
$tpath = $this->baseurl . '/templates/' . $this->template;
$templateparams = $app->getTemplate(true)->params;
$date = $templateparams->get('off_data');
$this->setGenerator(null);
// Get the message queue
$errMessages = $app->getMessageQueue();
$hasErrors = is_array($errMessages) && !empty($errMessages) ? true : false;
// load css - below are the stylesheets that are loaded
TplHelper::loadCSS(array('css/jsystem.css', 'css/bootstrap.css', 'css/template.css', 'css/updates.css', 'css/custom.css', 'css/responsive-devices.css', 'css/offline.css'), $templateparams);
?>
<!doctype html>
<!--[if IE 7 ]>    <html lang="<?php 
echo $this->language;
?>
" class="isie ie7 oldie no-js"> <![endif]-->
<!--[if IE 8 ]>    <html lang="<?php 
echo $this->language;
?>
" class="isie ie8 oldie no-js"> <![endif]-->
<!--[if IE 9 ]>    <html lang="<?php 
echo $this->language;
?>
" class="isie ie9 no-js"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="<?php 
Ejemplo n.º 2
0
	<meta charset="utf-8">
	<meta name="robots" content="index, follow"/>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<?php 
$parameter_script = 'metaTags';
$headerstuff = $doc->getHeadData();
unset($headerstuff[$parameter_script]['http-equiv']);
$doc->setHeadData($headerstuff);
?>
<jdoc:include type="head" />

<?php 
// display the favicons
echo TplHelper::displayFavicons($templateparams);
// load css - below are the stylesheets that are loaded
TplHelper::loadCSS(array('css/jsystem.css', 'css/bootstrap.css', 'addons/superfish_responsive/superfish.css', 'css/template.css', $responsive ? 'css/bootstrap_responsive.css' : ($gridsize == 1170 ? 'css/bootstrap_1170.css' : ''), $templateparams->get('theme', 'light') == 'dark' ? 'css/dark-theme.css' : '', 'css/updates.css', 'css/custom.css'), $templateparams);
// load js - below are the js files that are loaded
TplHelper::loadJS(array($templateparams->get('modernizr') ? 'js/modernizr-2.6.2.js' : '', 'js/plugins.js', 'addons/superfish_responsive/superfish_menu.js'), $templateparams);
//load google fonts
TplHelper::googleFonts($templateparams);
?>
	<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
	<!--[if lt IE 9]>
		<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->

	<!--[if lte IE 8]>

		<script type="text/javascript">
		var $buoop = {vs:{i:8,f:6,o:10.6,s:4,n:9}}
		$buoop.ol = window.onload;