[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/templates/system/ -> error.php (source)

   1  <?php
   2  /**
   3   * @copyright    Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
   4   * @license        GNU/GPL, see LICENSE.php
   5   * Joomla! is free software. This version may have been modified pursuant
   6   * to the GNU General Public License, and as distributed it includes or
   7   * is derivative of works licensed under the GNU General Public License or
   8   * other free or open source software licenses.
   9   * See COPYRIGHT.php for copyright notices and details.
  10   */
  11  
  12  // no direct access
  13  defined( '_JEXEC' ) or die( 'Restricted access' );
  14  if (!isset($this->error)) {
  15      $this->error = JError::raiseWarning( 403, JText::_('ALERTNOTAUTH') );
  16      $this->debug = false; 
  17  }
  18  ?>
  19  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  20  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
  21  <head>
  22      <title><?php echo $this->error->code ?> - <?php echo $this->title; ?></title>
  23      <link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/system/css/error.css" type="text/css" />
  24      <?php if($this->direction == 'rtl') : ?>
  25      <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/error_rtl.css" type="text/css" />
  26      <?php endif; ?>
  27  </head>
  28  <body>
  29      <div align="center">
  30          <div id="outline">
  31          <div id="errorboxoutline">
  32              <div id="errorboxheader"><?php echo $this->error->code ?> - <?php echo $this->error->message ?></div>
  33              <div id="errorboxbody">
  34              <p><strong><?php echo JText::_('You may not be able to visit this page because of:'); ?></strong></p>
  35                  <ol>
  36                      <li><?php echo JText::_('An out-of-date bookmark/favourite'); ?></li>
  37                      <li><?php echo JText::_('A search engine that has an out-of-date listing for this site'); ?></li>
  38                      <li><?php echo JText::_('A mis-typed address'); ?></li>
  39                      <li><?php echo JText::_('You have no access to this page'); ?></li>
  40                      <li><?php echo JText::_('The requested resource was not found'); ?></li>
  41                      <li><?php echo JText::_('An error has occurred while processing your request.'); ?></li>
  42                  </ol>
  43              <p><strong><?php echo JText::_('Please try one of the following pages:'); ?></strong></p>
  44              <p>
  45                  <ul>
  46                      <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>
  47                  </ul>
  48              </p>
  49              <p><?php echo JText::_('If difficulties persist, please contact the system administrator of this site.'); ?></p>
  50              <div id="techinfo">
  51              <p><?php echo $this->error->message; ?></p>
  52              <p>
  53                  <?php if($this->debug) :
  54                      echo $this->renderBacktrace();
  55                  endif; ?>
  56              </p>
  57              </div>
  58              </div>
  59          </div>
  60          </div>
  61      </div>
  62  </body>
  63  </html>


Generated: Wed Mar 28 15:54:07 2012 Cross-referenced by PHPXref 0.7.1