pictcode / lib / Cake / View / Errors / missing_layout.ctp @ 0b1b8047
履歴 | 表示 | アノテート | ダウンロード (1.512 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 Cake.View.Errors |
| 13 |
* @since CakePHP(tm) v 0.10.0.1076 |
| 14 |
* @license http://www.opensource.org/licenses/mit-license.php MIT License |
| 15 |
*/ |
| 16 |
?> |
| 17 |
<h2><?php echo __d('cake_dev', 'Missing Layout'); ?></h2>
|
| 18 |
<p class="error"> |
| 19 |
<strong><?php echo __d('cake_dev', 'Error'); ?>: </strong>
|
| 20 |
<?php echo __d('cake_dev', 'The layout file %s can not be found or does not exist.', '<em>' . h($file) . '</em>'); ?>
|
| 21 |
</p> |
| 22 |
|
| 23 |
<p> |
| 24 |
<?php echo __d('cake_dev', 'Confirm you have created the file: %s', h($file)); ?>
|
| 25 |
in one of the following paths: |
| 26 |
</p> |
| 27 |
<ul> |
| 28 |
<?php |
| 29 |
$paths = $this->_paths($this->plugin); |
| 30 |
foreach ($paths as $path): |
| 31 |
if (strpos($path, CORE_PATH) !== false) {
|
| 32 |
continue; |
| 33 |
} |
| 34 |
echo sprintf('<li>%s%s</li>', h($path), h($file));
|
| 35 |
endforeach; |
| 36 |
?> |
| 37 |
</ul> |
| 38 |
|
| 39 |
<p class="notice"> |
| 40 |
<strong><?php echo __d('cake_dev', 'Notice'); ?>: </strong>
|
| 41 |
<?php echo __d('cake_dev', 'If you want to customize this error message, create %s', APP_DIR . DS . 'View' . DS . 'Errors' . DS . 'missing_layout.ctp'); ?>
|
| 42 |
</p> |
| 43 |
|
| 44 |
<?php |
| 45 |
echo $this->element('exception_stack_trace');
|
| 46 |
?> |