Added Bake-Banner to home.ctp for baked projects.

This commit is contained in:
Graham Weldon 2011-07-26 03:11:05 +10:00
parent eefde54d56
commit f1400803e4
3 changed files with 11 additions and 1 deletions

View file

@ -1,5 +1,9 @@
<?php
$output = "<h2>Sweet, \"" . Inflector::humanize($app) . "\" got Baked by CakePHP!</h2>\n";
$output = "
<iframe src=\"http://cakephp.org/bake-banner\" width=\"830\" height=\"160\" style=\"overflow:hidden; border:none;\">
<p>For updates and important announcements, visit http://cakefest.org</p>
</iframe>\n";
$output .= "<h2>Sweet, \"" . Inflector::humanize($app) . "\" got Baked by CakePHP!</h2>\n";
$output .="
<?php
if (Configure::read() > 0):

View file

@ -20,6 +20,9 @@ if (Configure::read() == 0):
$this->cakeError('error404');
endif;
?>
<iframe src="http://cakephp.org/bake-banner" width="830" height="160" style="overflow:hidden; border:none;">
<p>For updates and important announcements, visit http://cakefest.org</p>
</iframe>
<h2><?php echo sprintf(__('Release Notes for CakePHP %s.', true), Configure::version()); ?></h2>
<a href="http://cakephp.org/changelogs/1.3.10"><?php __('Read the changelog'); ?> </a>
<?php

View file

@ -1,3 +1,6 @@
<iframe src="http://cakephp.org/bake-banner" width="830" height="160" style="overflow:hidden; border:none;">
<p>For updates and important announcements, visit http://cakefest.org</p>
</iframe>
<h2>Sweet, "Test App" got Baked by CakePHP!</h2>
<?php