Navigation Menu

Skip to content

Commit

Permalink
Added Bake-Banner to home.ctp for baked projects.
Browse files Browse the repository at this point in the history
  • Loading branch information
predominant committed Jul 25, 2011
1 parent eefde54 commit f140080
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cake/console/templates/default/views/home.ctp
@@ -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):
Expand Down
3 changes: 3 additions & 0 deletions cake/libs/view/pages/home.ctp
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions cake/tests/test_app/views/pages/home.ctp
@@ -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
Expand Down

0 comments on commit f140080

Please sign in to comment.