error.ctp 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?php
  2. /**
  3. *
  4. * PHP 5
  5. *
  6. * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
  7. * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
  8. *
  9. * Licensed under The MIT License
  10. * Redistributions of files must retain the above copyright notice.
  11. *
  12. * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
  13. * @link http://cakephp.org CakePHP(tm) Project
  14. * @package Cake.View.Layouts
  15. * @since CakePHP(tm) v 0.10.0.1076
  16. * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
  17. */
  18. $cakeDescription = __d('cake_dev', 'CakePHP: the rapid development php framework');
  19. ?>
  20. <!DOCTYPE html>
  21. <html>
  22. <head>
  23. <?php echo $this->Html->charset(); ?>
  24. <title>
  25. <?php echo $cakeDescription ?>:
  26. <?php echo $title_for_layout; ?>
  27. </title>
  28. <?php
  29. echo $this->Html->meta('icon');
  30. echo $this->Html->css('cake.generic');
  31. echo $this->fetch('meta');
  32. echo $this->fetch('css');
  33. echo $this->fetch('script');
  34. ?>
  35. </head>
  36. <body>
  37. <div id="container">
  38. <div id="header">
  39. <h1><?php echo $this->Html->link($cakeDescription, 'http://cakephp.org'); ?></h1>
  40. </div>
  41. <div id="content">
  42. <?php echo $this->Session->flash(); ?>
  43. <?php echo $this->fetch('content'); ?>
  44. </div>
  45. <div id="footer">
  46. <?php echo $this->Html->link(
  47. $this->Html->image('cake.power.gif', array('alt' => $cakeDescription, 'border' => '0')),
  48. 'http://www.cakephp.org/',
  49. array('target' => '_blank', 'escape' => false)
  50. );
  51. ?>
  52. </div>
  53. </div>
  54. <?php echo $this->element('sql_dump'); ?>
  55. </body>
  56. </html>