applying upgrade shell to test app files

This commit is contained in:
AD7six 2011-05-07 19:05:24 +02:00
parent cb010b62e6
commit 79700a5e94
15 changed files with 39 additions and 40 deletions

View file

@ -40,7 +40,7 @@ class TestsAppsPostsController extends AppController {
* *
*/ */
function url_var() { function url_var() {
$this->set('params', $this->params); $this->set('params', $this->request->params);
$this->render('index'); $this->render('index');
} }
@ -49,7 +49,7 @@ class TestsAppsPostsController extends AppController {
* *
*/ */
function post_var() { function post_var() {
$this->set('data', $this->data); $this->set('data', $this->request->data);
$this->render('index'); $this->render('index');
} }

View file

@ -22,7 +22,7 @@
<title><?php echo $page_title?></title> <title><?php echo $page_title?></title>
<?php echo $this->Html->charset(); ?> <?php echo $this->Html->charset(); ?>
<?php if (Configure::read() == 0) { ?> <?php if (Configure::read('debug') == 0) { ?>
<meta http-equiv="Refresh" content="<?php echo $pause?>;url=<?php echo $url?>"/> <meta http-equiv="Refresh" content="<?php echo $pause?>;url=<?php echo $url?>"/>
<?php } ?> <?php } ?>
<style><!-- <style><!--

View file

@ -18,7 +18,7 @@
App::uses('Debugger', 'Utility'); App::uses('Debugger', 'Utility');
?> ?>
<h2><?php echo __d('cake_dev', 'Release Notes for CakePHP %s.', Configure::version()); ?></h2> <h2><?php echo __d('cake_dev', 'Release Notes for CakePHP %s.', Configure::version()); ?></h2>
<a href="http://cakephp.org/changelogs/1.3.6"><?php __d('cake_dev', 'Read the changelog'); ?> </a> <a href="http://cakephp.org/changelogs/1.3.6"><?php echo __d('cake_dev', 'Read the changelog'); ?> </a>
<p> <p>
<?php <?php
if (is_writable(TMP)): if (is_writable(TMP)):

View file

@ -82,8 +82,7 @@ if (!empty($filePresent)):
?> ?>
<p> <p>
<span class="notice"> <span class="notice">
<?php <?php echo __d('cake', 'Cake');
__d('cake', 'Cake');
if ($connected->isConnected()): if ($connected->isConnected()):
__d('cake', ' is able to '); __d('cake', ' is able to ');
else: else:
@ -95,48 +94,48 @@ if (!empty($filePresent)):
</p> </p>
<?php endif; ?> <?php endif; ?>
<h2><?php echo __d('cake', 'Release Notes for CakePHP %s.', Configure::version()); ?></h2> <h2><?php echo __d('cake', 'Release Notes for CakePHP %s.', Configure::version()); ?></h2>
<a href="https://trac.cakephp.org/wiki/notes/1.2.x.x"><?php __d('cake', 'Read the release notes and get the latest version'); ?> </a> <a href="https://trac.cakephp.org/wiki/notes/1.2.x.x"><?php echo __d('cake', 'Read the release notes and get the latest version'); ?> </a>
<h2><?php __d('cake', 'Editing this Page'); ?></h2> <h2><?php echo __d('cake', 'Editing this Page'); ?></h2>
<p> <p>
<?php __d('cake', 'To change the content of this page, create: /app/views/pages/home.ctp.'); ?><br /> <?php echo __d('cake', 'To change the content of this page, create: /app/views/pages/home.ctp.'); ?><br />
<?php __d('cake', 'To change its layout, create: /app/views/layouts/default.ctp.'); ?><br /> <?php echo __d('cake', 'To change its layout, create: /app/views/layouts/default.ctp.'); ?><br />
<a href="http://manual.cakephp.org/"><?php __d('cake', 'See the views section of the manual for more info.'); ?> </a><br /> <a href="http://manual.cakephp.org/"><?php echo __d('cake', 'See the views section of the manual for more info.'); ?> </a><br />
<?php __d('cake', 'You can also add some CSS styles for your pages at: app/webroot/css/.'); ?> <?php echo __d('cake', 'You can also add some CSS styles for your pages at: app/webroot/css/.'); ?>
</p> </p>
<h2><?php __d('cake', 'Getting Started'); ?></h2> <h2><?php echo __d('cake', 'Getting Started'); ?></h2>
<p> <p>
<a href="http://manual.cakephp.org/appendix/blog_tutorial"><?php __d('cake', 'The 15 min Blog Tutorial'); ?></a><br /> <a href="http://manual.cakephp.org/appendix/blog_tutorial"><?php echo __d('cake', 'The 15 min Blog Tutorial'); ?></a><br />
<a href="http://www-128.ibm.com/developerworks/edu/os-dw-os-php-cake1.html"><?php __d('cake', 'Cook up Web sites fast with CakePHP'); ?></a><br /> <a href="http://www-128.ibm.com/developerworks/edu/os-dw-os-php-cake1.html"><?php echo __d('cake', 'Cook up Web sites fast with CakePHP'); ?></a><br />
<a href="http://www-128.ibm.com/developerworks/edu/os-dw-os-php-wiki1.html"><?php __d('cake', 'Create an interactive production wiki using PHP'); ?></a> <a href="http://www-128.ibm.com/developerworks/edu/os-dw-os-php-wiki1.html"><?php echo __d('cake', 'Create an interactive production wiki using PHP'); ?></a>
</p> </p>
<h2><?php __d('cake', 'More about Cake'); ?></h2> <h2><?php echo __d('cake', 'More about Cake'); ?></h2>
<p> <p>
<?php __d('cake', 'CakePHP is a rapid development framework for PHP which uses commonly known design patterns like Active Record, Association Data Mapping, Front Controller and MVC.'); ?> <?php echo __d('cake', 'CakePHP is a rapid development framework for PHP which uses commonly known design patterns like Active Record, Association Data Mapping, Front Controller and MVC.'); ?>
</p> </p>
<p> <p>
<?php __d('cake', 'Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility.'); ?> <?php echo __d('cake', 'Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility.'); ?>
</p> </p>
<ul> <ul>
<li><a href="http://cakefoundation.org/"><?php __d('cake', 'Cake Software Foundation'); ?> </a> <li><a href="http://cakefoundation.org/"><?php echo __d('cake', 'Cake Software Foundation'); ?> </a>
<ul><li><?php __d('cake', 'Promoting development related to CakePHP'); ?></li></ul></li> <ul><li><?php echo __d('cake', 'Promoting development related to CakePHP'); ?></li></ul></li>
<li><a href="http://bakery.cakephp.org"><?php __d('cake', 'The Bakery'); ?> </a> <li><a href="http://bakery.cakephp.org"><?php echo __d('cake', 'The Bakery'); ?> </a>
<ul><li><?php __d('cake', 'Everything CakePHP'); ?></li></ul></li> <ul><li><?php echo __d('cake', 'Everything CakePHP'); ?></li></ul></li>
<li><a href="http://astore.amazon.com/cakesoftwaref-20/"><?php __d('cake', 'Book Store'); ?> </a> <li><a href="http://astore.amazon.com/cakesoftwaref-20/"><?php echo __d('cake', 'Book Store'); ?> </a>
<ul><li><?php __d('cake', 'Recommended Software Books'); ?></li></ul></li> <ul><li><?php echo __d('cake', 'Recommended Software Books'); ?></li></ul></li>
<li><a href="http://www.cafepress.com/cakefoundation"><?php __d('cake', 'CakeSchwag'); ?> </a> <li><a href="http://www.cafepress.com/cakefoundation"><?php echo __d('cake', 'CakeSchwag'); ?> </a>
<ul><li><?php __d('cake', 'Get your own CakePHP gear - Doughnate to Cake'); ?></li></ul></li> <ul><li><?php echo __d('cake', 'Get your own CakePHP gear - Doughnate to Cake'); ?></li></ul></li>
<li><a href="http://www.cakephp.org"><?php __d('cake', 'CakePHP'); ?> </a> <li><a href="http://www.cakephp.org"><?php echo __d('cake', 'CakePHP'); ?> </a>
<ul><li><?php __d('cake', 'The Rapid Development Framework'); ?></li></ul></li> <ul><li><?php echo __d('cake', 'The Rapid Development Framework'); ?></li></ul></li>
<li><a href="http://manual.cakephp.org"><?php __d('cake', 'CakePHP Manual'); ?> </a> <li><a href="http://manual.cakephp.org"><?php echo __d('cake', 'CakePHP Manual'); ?> </a>
<ul><li><?php __d('cake', 'Your Rapid Development Cookbook'); ?></li></ul></li> <ul><li><?php echo __d('cake', 'Your Rapid Development Cookbook'); ?></li></ul></li>
<li><a href="http://api.cakephp.org"><?php __d('cake', 'CakePHP API'); ?> </a> <li><a href="http://api.cakephp.org"><?php echo __d('cake', 'CakePHP API'); ?> </a>
<ul><li><?php __d('cake', 'Docblock Your Best Friend'); ?></li></ul></li> <ul><li><?php echo __d('cake', 'Docblock Your Best Friend'); ?></li></ul></li>
<li><a href="http://www.cakeforge.org"><?php __d('cake', 'CakeForge'); ?> </a> <li><a href="http://www.cakeforge.org"><?php echo __d('cake', 'CakeForge'); ?> </a>
<ul><li><?php __d('cake', 'Open Development for CakePHP'); ?></li></ul></li> <ul><li><?php echo __d('cake', 'Open Development for CakePHP'); ?></li></ul></li>
<li><a href="https://trac.cakephp.org/"><?php __d('cake', 'CakePHP Trac'); ?> </a> <li><a href="https://trac.cakephp.org/"><?php echo __d('cake', 'CakePHP Trac'); ?> </a>
<ul><li><?php __d('cake', 'For the Development of CakePHP (Tickets, SVN browser, Roadmap, Changelogs)'); ?></li></ul></li> <ul><li><?php echo __d('cake', 'For the Development of CakePHP (Tickets, SVN browser, Roadmap, Changelogs)'); ?></li></ul></li>
<li><a href="http://groups-beta.google.com/group/cake-php"><?php __d('cake', 'CakePHP Google Group'); ?> </a> <li><a href="http://groups-beta.google.com/group/cake-php"><?php echo __d('cake', 'CakePHP Google Group'); ?> </a>
<ul><li><?php __d('cake', 'Community mailing list'); ?></li></ul></li> <ul><li><?php echo __d('cake', 'Community mailing list'); ?></li></ul></li>
<li><a href="irc://irc.freenode.net/cakephp">irc.freenode.net #cakephp</a> <li><a href="irc://irc.freenode.net/cakephp">irc.freenode.net #cakephp</a>
<ul><li><?php __d('cake', 'Live chat about CakePHP'); ?></li></ul></li> <ul><li><?php echo __d('cake', 'Live chat about CakePHP'); ?></li></ul></li>
</ul> </ul>