diff options
Diffstat (limited to 'fai_gestion/src/Template/Layout/error.ctp')
-rw-r--r-- | fai_gestion/src/Template/Layout/error.ctp | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/fai_gestion/src/Template/Layout/error.ctp b/fai_gestion/src/Template/Layout/error.ctp new file mode 100644 index 0000000..7367c1b --- /dev/null +++ b/fai_gestion/src/Template/Layout/error.ctp @@ -0,0 +1,47 @@ +<?php +/** + * CakePHP(tm) : Rapid Development Framework (https://cakephp.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) + * + * Licensed under The MIT License + * For full copyright and license information, please see the LICENSE.txt + * Redistributions of files must retain the above copyright notice. + * + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) + * @link https://cakephp.org CakePHP(tm) Project + * @since 0.10.0 + * @license https://opensource.org/licenses/mit-license.php MIT License + */ +?> +<!DOCTYPE html> +<html> +<head> + <?= $this->Html->charset() ?> + <title> + <?= $this->fetch('title') ?> + </title> + <?= $this->Html->meta('icon') ?> + + <?= $this->Html->css('base.css') ?> + <?= $this->Html->css('style.css') ?> + + <?= $this->fetch('meta') ?> + <?= $this->fetch('css') ?> + <?= $this->fetch('script') ?> +</head> +<body> + <div id="container"> + <div id="header"> + <h1><?= __('Error') ?></h1> + </div> + <div id="content"> + <?= $this->Flash->render() ?> + + <?= $this->fetch('content') ?> + </div> + <div id="footer"> + <?= $this->Html->link(__('Back'), 'javascript:history.back()') ?> + </div> + </div> +</body> +</html> |