mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-06 03:22:39 +00:00
Cleanup missing view/layout errors.
Fix formatting issues and make path listings correct.
This commit is contained in:
parent
e548dfcaea
commit
fecc687f81
2 changed files with 6 additions and 14 deletions
|
@ -21,19 +21,16 @@
|
|||
<strong><?php echo __d('cake_dev', 'Error'); ?>: </strong>
|
||||
<?php echo __d('cake_dev', 'The layout file %s can not be found or does not exist.', '<em>' . h($file) . '</em>'); ?>
|
||||
</p>
|
||||
<p class="error">
|
||||
<strong><?php echo __d('cake_dev', 'Error'); ?>: </strong>
|
||||
<?php echo __d('cake_dev', 'Confirm you have created the file: %s', '<em>' . h($file) . '</em>'); ?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
You should create "<?php echo h($file); ?>" in one of he following paths:
|
||||
<?php echo __d('cake_dev', 'Confirm you have created the file: %s', h($file)); ?>
|
||||
in one of the following paths:
|
||||
</p>
|
||||
<ul>
|
||||
<?php
|
||||
$paths = $this->_paths($this->plugin);
|
||||
foreach ($paths as $path):
|
||||
echo sprintf('<li>%s%s%s</li>', h($path), DS, h($file));
|
||||
echo sprintf('<li>%s%s</li>', h($path), h($file));
|
||||
endforeach;
|
||||
?>
|
||||
</ul>
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
<?php
|
||||
/**
|
||||
*
|
||||
*
|
||||
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
|
||||
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
|
||||
*
|
||||
|
@ -21,19 +19,16 @@
|
|||
<strong><?php echo __d('cake_dev', 'Error'); ?>: </strong>
|
||||
<?php echo __d('cake_dev', 'The view for %1$s%2$s was not found.', '<em>' . h(Inflector::camelize($this->request->controller)) . 'Controller::</em>', '<em>' . h($this->request->action) . '()</em>'); ?>
|
||||
</p>
|
||||
<p class="error">
|
||||
<strong><?php echo __d('cake_dev', 'Error'); ?>: </strong>
|
||||
<?php echo __d('cake_dev', 'Confirm you have created the file: %s', h($file)); ?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
You should create "<?php echo h($file); ?>" in one of he following paths:
|
||||
<?php echo __d('cake_dev', 'Confirm you have created the file: %s', h($file)); ?>
|
||||
in one of the following paths:
|
||||
</p>
|
||||
<ul>
|
||||
<?php
|
||||
$paths = $this->_paths($this->plugin);
|
||||
foreach ($paths as $path):
|
||||
echo sprintf('<li>%s%s%s</li>', h($path), DS, h($file));
|
||||
echo sprintf('<li>%s%s</li>', h($path), h($file));
|
||||
endforeach;
|
||||
?>
|
||||
</ul>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue