~tsep-dev/tsep/0.9-beta

« back to all changes in this revision

Viewing changes to branches/symfony/cake/libs/view/errors/missing_component_class.ctp

  • Committer: geoffreyfishing
  • Date: 2011-01-11 23:46:12 UTC
  • Revision ID: svn-v4:ae0de26e-ed09-4cbe-9a20-e40b4c60ac6c::125
Created a symfony branch for future migration to symfony

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/**
 
3
 *
 
4
 * PHP versions 4 and 5
 
5
 *
 
6
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 
7
 * Copyright 2005-2010, 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-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
 
13
 * @link          http://cakephp.org CakePHP(tm) Project
 
14
 * @package       cake
 
15
 * @subpackage    cake.cake.libs.view.templates.errors
 
16
 * @since         CakePHP(tm) v 0.10.0.1076
 
17
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 
18
 */
 
19
?>
 
20
<h2><?php __('Missing Component Class'); ?></h2>
 
21
<p class="error">
 
22
        <strong><?php __('Error'); ?>: </strong>
 
23
        <?php printf(__('Component class %1$s in %2$s was not found.', true), '<em>' . $component . 'Component</em>', '<em>' . $controller . 'Controller</em>'); ?>
 
24
</p>
 
25
<p class="error">
 
26
        <strong><?php __('Error'); ?>: </strong>
 
27
        <?php printf(__('Create the class %s in file: %s', true), '<em>' . $component . 'Component</em>', APP_DIR . DS . 'controllers' . DS . 'components' . DS . $file); ?>
 
28
</p>
 
29
<pre>
 
30
&lt;?php
 
31
class <?php echo $component;?>Component extends Object {<br />
 
32
 
 
33
}
 
34
?&gt;
 
35
</pre>
 
36
<p class="notice">
 
37
        <strong><?php __('Notice'); ?>: </strong>
 
38
        <?php printf(__('If you want to customize this error message, create %s', true), APP_DIR . DS . 'views' . DS . 'errors' . DS . 'missing_component_class.ctp'); ?>
 
39
</p>
 
 
b'\\ No newline at end of file'