mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Added Bake-Banner to home.ctp for baked projects.
This commit is contained in:
parent
eefde54d56
commit
f1400803e4
3 changed files with 11 additions and 1 deletions
|
@ -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):
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue