PageRenderTime 153ms CodeModel.GetById 70ms app.highlight 4ms RepoModel.GetById 76ms app.codeStats 0ms

/templates/system/error.php

https://github.com/joebushi/joomla
PHP | 52 lines | 43 code | 3 blank | 6 comment | 1 complexity | 1377f9bce3ac0ae2e91c93a7d587ab36 MD5 | raw file
 1<?php
 2/**
 3 * @version		$Id$
 4 * @package		Joomla.Site
 5 * @copyright	Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
 6 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 7 */
 8
 9defined('_JEXEC') or die;
10?>
11<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
12<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
13<head>
14	<title><?php echo $this->error->getCode(); ?> - <?php echo $this->title; ?></title>
15	<link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/system/css/error.css" type="text/css" />
16</head>
17<body>
18	<div align="center">
19		<div id="outline">
20		<div id="errorboxoutline">
21			<div id="errorboxheader"><?php echo $this->error->getCode(); ?> - <?php echo $this->error->getMessage(); ?></div>
22			<div id="errorboxbody">
23			<p><strong><?php echo JText::_('YOU_MAY_NOT_BE_ABLE_TO_VISIT_THIS_PAGE_BECAUSE_OF'); ?>:</strong></p>
24				<ol>
25					<li><?php echo JText::_('AN_OUT_OF_DATE_BOOKMARK_FAVOURITE'); ?></li>
26					<li><?php echo JText::_('A_SEARCH_ENGINE_THAT_HAS_AN_OUT_OF_DATE_LISTING_FOR_THIS_SITE'); ?></li>
27					<li><?php echo JText::_('A_MIS_TYPED_ADDRESS'); ?></li>
28					<li><?php echo JText::_('YOU_HAVE_NO_ACCESS_TO_THIS_PAGE'); ?></li>
29					<li><?php echo JText::_('The requested resource was not found'); ?></li>
30					<li><?php echo JText::_('An error has occurred while processing your request.'); ?></li>
31				</ol>
32			<p><strong><?php echo JText::_('PLEASE_TRY_ONE_OF_THE_FOLLOWING_PAGES'); ?>:</strong></p>
33			
34				<ul>
35					<li><a href="<?php echo $this->baseurl; ?>/index.php" title="<?php echo JText::_('GO_TO_THE_HOME_PAGE'); ?>"><?php echo JText::_('HOME_PAGE'); ?></a></li>
36				</ul>
37			
38			<p><?php echo JText::_('IF_DIFFICULTIES_PERSIST__PLEASE_CONTACT_THE_SYSTEM_ADMINISTRATOR_OF_THIS_SITE'); ?>.</p>
39			<div id="techinfo">
40			<p><?php echo $this->error->getMessage(); ?></p>
41			<p>
42				<?php if ($this->debug) :
43					echo $this->renderBacktrace();
44				endif; ?>
45			</p>
46			</div>
47			</div>
48		</div>
49		</div>
50	</div>
51</body>
52</html>