diff --git a/cake/tests/test_app/views/pages/extract.ctp b/cake/tests/test_app/views/pages/extract.ctp index e3eede1c170..bc4e7eb4077 100644 --- a/cake/tests/test_app/views/pages/extract.ctp +++ b/cake/tests/test_app/views/pages/extract.ctp @@ -3,12 +3,12 @@ $count = 10; $messages = array('count' => 10); // Plural -__n('You have %d new message.', 'You have %d new messages.', $count); -__n('You deleted %d message.', 'You deleted %d messages.', $messages['count']); +echo __n('You have %d new message.', 'You have %d new messages.', $count); +echo __n('You deleted %d message.', 'You deleted %d messages.', $messages['count']); // Domain Plural -__dn('domain', 'You have %d new message (domain).', 'You have %d new messages (domain).', '10'); -__dn('domain', 'You deleted %d message (domain).', 'You deleted %d messages (domain).', $messages['count']); +echo __dn('domain', 'You have %d new message (domain).', 'You have %d new messages (domain).', '10'); +echo __dn('domain', 'You deleted %d message (domain).', 'You deleted %d messages (domain).', $messages['count']); // Duplicated Message -__('Editing this Page'); \ No newline at end of file +echo __('Editing this Page'); \ No newline at end of file diff --git a/cake/tests/test_app/views/pages/home.ctp b/cake/tests/test_app/views/pages/home.ctp index 830a21faeea..196f1af6de7 100644 --- a/cake/tests/test_app/views/pages/home.ctp +++ b/cake/tests/test_app/views/pages/home.ctp @@ -9,11 +9,11 @@ endif; '; - __('Your tmp directory is writable.'); + echo __('Your tmp directory is writable.'); echo ''; else: echo ''; - __('Your tmp directory is NOT writable.'); + echo __('Your tmp directory is NOT writable.'); echo ''; endif; ?> @@ -23,11 +23,11 @@ endif; $settings = Cache::settings(); if (!empty($settings)): echo ''; - printf(__('The %s is being used for caching. To change the config edit APP/config/core.php ', true), ''. $settings['engine'] . 'Engine'); + printf(__('The %s is being used for caching. To change the config edit APP/config/core.php '), ''. $settings['engine'] . 'Engine'); echo ''; else: echo ''; - __('Your cache is NOT working. Please check the settings in APP/config/core.php'); + echo __('Your cache is NOT working. Please check the settings in APP/config/core.php'); echo ''; endif; ?> @@ -37,14 +37,14 @@ endif; $filePresent = null; if (file_exists(CONFIGS . 'database.php')): echo ''; - __('Your database configuration file is present.'); + echo __('Your database configuration file is present.'); $filePresent = true; echo ''; else: echo ''; - __('Your database configuration file is NOT present.'); + echo __('Your database configuration file is NOT present.'); echo '
'; - __('Rename config/database.php.default to config/database.php'); + echo __('Rename config/database.php.default to config/database.php'); echo '
'; endif; ?> @@ -61,22 +61,22 @@ if (!empty($filePresent)): isConnected()): echo ''; - __('Cake is able to connect to the database.'); + echo __('Cake is able to connect to the database.'); echo ''; else: echo ''; - __('Cake is NOT able to connect to the database.'); + echo __('Cake is NOT able to connect to the database.'); echo ''; endif; ?>

-

+

', APP . 'views' . DS . 'layouts' . DS . 'default.ctp.
', APP . 'webroot' . DS . 'css'); ?>

\ No newline at end of file diff --git a/cake/tests/test_app/views/posts/cache_form.ctp b/cake/tests/test_app/views/posts/cache_form.ctp index 87ec9cf5b5a..3dbe361201f 100644 --- a/cake/tests/test_app/views/posts/cache_form.ctp +++ b/cake/tests/test_app/views/posts/cache_form.ctp @@ -2,7 +2,7 @@ create('User');?>
- + input('username'); echo $form->input('email'); diff --git a/cake/tests/test_app/views/posts/test_nocache_tags.ctp b/cake/tests/test_app/views/posts/test_nocache_tags.ctp index d1bf80e72e7..61e7e19f5ed 100644 --- a/cake/tests/test_app/views/posts/test_nocache_tags.ctp +++ b/cake/tests/test_app/views/posts/test_nocache_tags.ctp @@ -21,11 +21,11 @@ @@ -34,12 +34,12 @@

' . $settings['engine']; - __(' is being used to cache, to change this edit config/core.php '); + echo __(' is being used to cache, to change this edit config/core.php '); echo '

'; echo 'Settings:
    '; @@ -49,10 +49,10 @@ echo '
'; else: - __('NOT working.'); + echo __('NOT working.'); echo '
'; if (is_writable(TMP)): - __('Edit: config/core.php to insure you have the newset version of this file and the variable $cakeCache set properly'); + echo __('Edit: config/core.php to insure you have the newset version of this file and the variable $cakeCache set properly'); endif; endif; ?> @@ -61,15 +61,15 @@

'; - __('Rename config/database.php.default to config/database.php'); + echo __('Rename config/database.php.default to config/database.php'); endif; ?>