Sì, prima di <head>
defined('_JEXEC') or die;
include_once(JPATH_ROOT . "/templates/" .
$this->template . '/lib/php/tools.php');
include_once(JPATH_ROOT .
"/templates/" . $this->template .
'/lib/php/layout.php');
$template_baseurl = $this->baseurl . '/templates/'
. $this->template;
JHTML::_('behavior.mootools');
// set
title
$this->setTitle($mainframe->getCfg('sitename') . ' - ' .
$this->getTitle());
// add template mootools to JDocumentHTML
if
($this->params->get('loadMootools')) {
$mootools =
$this->params->get('gzip') ? '/lib/js/mootools.js.php' :
'/lib/js/mootools/mootools-release-1.11.js';
$this->_scripts =
array_merge(array($template_baseurl . $mootools => 'text/javascript'),
$this->_scripts);
unset($this->_scripts[$this->baseurl .
'/media/system/js/mootools.js']);
}
// add template javascript to
JDocumentHTML
if ($this->params->get('loadJavascript'))
{
$yootools->addJavaScript($this);
}
// add template css to
JDocumentHTML
$yootools->addCSS($this);
<!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; ?>"
dir="<?php echo $this->direction; ?>"
>
<head>
<jdoc:include type="head" />
<link
rel="apple-touch-icon" href="<?php echo $template_baseurl
?>/apple_touch_icon.png" />
</head>
(la vedo dura)