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