* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/** @var JDocumentError $this */
$app = JFactory::getApplication();
$user = JFactory::getUser();
// Getting params from template
$params = $app->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');
// 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 . ' ';
}
?>
loadRenderer('modules')->render('position-1', array('style' => 'none')); ?>
loadRenderer('modules')->render('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); ?>
loadRenderer('modules')->render('debug', array('style' => 'none')); ?>