getTemplate(true)->params;
// Detecting Active Variables
$option = $app->input->getCmd('option', '');
$view = $app->input->getCmd('view', '');
$layout = $app->input->getCmd('layout', '');
$task = $app->input->getCmd('task', '');
$itemid = $app->input->getCmd('Itemid', '');
$format = $app->input->getCmd('format', 'html');
$sitename = htmlspecialchars($app->get('sitename'), ENT_QUOTES, 'UTF-8');
if ($task === 'edit' || $layout === 'form')
{
$fullWidth = 1;
}
else
{
$fullWidth = 0;
}
// Add JavaScript Frameworks
JHtml::_('bootstrap.framework');
// Logo file or site title param
if ($params->get('logoFile'))
{
$logo = ' ';
}
elseif ($params->get('sitetitle'))
{
$logo = '' . htmlspecialchars($params->get('sitetitle')) . ' ';
}
else
{
$logo = '' . $sitename . ' ';
}
?>
getBuffer('modules', 'position-1', array('style' => 'none')); ?>
getBuffer('modules', 'banner', array('style' => 'xhtml')); ?>
error->getCode(); ?> error->getMessage(), ENT_QUOTES, 'UTF-8');?>
debug) : ?>
error->getFile(), ENT_QUOTES, 'UTF-8');?>:error->getLine(); ?>
debug) : ?>
renderBacktrace(); ?>
error->getPrevious()) : ?>
_error here and in the loop as setError() assigns errors to this property and we need this for the backtrace to work correctly ?>
setError($this->_error->getPrevious()); ?>
_error->getMessage(), ENT_QUOTES, 'UTF-8'); ?>
_error->getFile(), ENT_QUOTES, 'UTF-8');?>:_error->getLine(); ?>
renderBacktrace(); ?>
setError($this->_error->getPrevious()); ?>
setError($this->error); ?>
getBuffer('modules', 'debug', array('style' => 'none')); ?>