Esempio n. 1
0
JHtml::_('bootstrap.framework');
if ($templateParameters->jquery) {
    JHtml::_('jquery.framework', true);
}
?>

<!DOCTYPE html>
<html lang="<?php 
echo $this->language;
?>
">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<?php 
// Include the CSS files using the groups as defined in the layout parameters
echo xtcCSS($params->xtctypo, $params->xtcgrid, $params->xtcstyle, $params->xtccss3);
// Get Xtc Menu library
$document->addScript($xtc->templateUrl . 'js/xtcMenu.js');
$document->addScriptDeclaration("window.addEvent('load', function(){ xtcMenu(null, 'menu', 0, 50, 'h', new Fx.Transition(Fx.Transitions.Cubic.easeInOut), 0, true, false); });");
?>
  <link rel="stylesheet" href="media/jui/css/easy-responsive-tabs.css" type="text/css" />
  <link rel="stylesheet" href="media/jui/css/yamm.css" type="text/css" />
<jdoc:include type="head" />
<?php 
if (!$xtc->agent->isMobile && xtcIsFrontpage()) {
    ?>
<script src="<?php 
    echo $xtc->templateUrl;
    ?>
js/scrollReveal.js" type="text/javascript"></script>
<?php 
Esempio n. 2
0
require JPATH_THEMES . '/' . $this->template . '/XTC/XTC.php';
$templateParameters = xtcLoadParams();
$layout = $templateParameters->templateLayout;
$params = $templateParameters->group->{$layout};
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php 
echo $this->language;
?>
" lang="<?php 
echo $this->language;
?>
" >
<head>
<?php 
echo xtcCSS($params->xtcstyle, $params->xtctypo);
?>
<jdoc:include type="head" />
<!--[if IE 7]><link rel="stylesheet" type="text/css" href="<?php 
echo $xtc->templateUrl;
?>
css/ie7.css" /><![endif]-->
<!--[if IE 8]><link rel="stylesheet" type="text/css" href="<?php 
echo $xtc->templateUrl;
?>
css/ie8.css" /><![endif]-->
</head>
<body>
<jdoc:include type="message" />
<jdoc:include type="component" />
</body>