PageRenderTime 51ms CodeModel.GetById 26ms RepoModel.GetById 0ms app.codeStats 0ms

/administrator/templates/system/error.php

https://github.com/joebushi/joomla
PHP | 35 lines | 29 code | 1 blank | 5 comment | 1 complexity | 67d95aaa60ff37fee2a78b4179c93d0f MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0
  1. <?php
  2. /**
  3. * @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
  4. * @license GNU General Public License version 2 or later; see LICENSE.txt
  5. */
  6. // no direct access
  7. defined('_JEXEC') or die;
  8. ?>
  9. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  10. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" >
  11. <head>
  12. <link rel="stylesheet" href="templates/system/css/error.css" type="text/css" />
  13. </head>
  14. <body>
  15. <table width="550" align="center" class="outline">
  16. <tr>
  17. <td align="center">
  18. <h1>
  19. <?php echo $this->error->getCode() ?> - <?php echo JText::_('AN_ERROR_HAS_OCCURRED') ?>
  20. </td>
  21. </tr>
  22. <tr>
  23. <td width="39%" align="center">
  24. <p><?php echo $this->error->getMessage(); ?></p>
  25. <p>
  26. <?php if ($this->debug) :
  27. echo $this->renderBacktrace();
  28. endif; ?>
  29. </p>
  30. </td>
  31. </tr>
  32. </table>
  33. </body>
  34. </html>