mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Merge pull request #2141 from ravage84/footer-cakephp-version
Added display of CakePHP version to the default layout
This commit is contained in:
commit
42228c6400
2 changed files with 8 additions and 2 deletions
|
@ -18,6 +18,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$cakeDescription = __d('cake_dev', 'CakePHP: the rapid development php framework');
|
$cakeDescription = __d('cake_dev', 'CakePHP: the rapid development php framework');
|
||||||
|
$cakeVersion = __d('cake_dev', 'CakePHP %s', Configure::version())
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
|
@ -52,9 +53,12 @@ $cakeDescription = __d('cake_dev', 'CakePHP: the rapid development php framework
|
||||||
<?php echo $this->Html->link(
|
<?php echo $this->Html->link(
|
||||||
$this->Html->image('cake.power.gif', array('alt' => $cakeDescription, 'border' => '0')),
|
$this->Html->image('cake.power.gif', array('alt' => $cakeDescription, 'border' => '0')),
|
||||||
'http://www.cakephp.org/',
|
'http://www.cakephp.org/',
|
||||||
array('target' => '_blank', 'escape' => false)
|
array('target' => '_blank', 'escape' => false, 'id' => 'cake-powered')
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
|
<p>
|
||||||
|
<?php echo $cakeVersion; ?>
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php echo $this->element('sql_dump'); ?>
|
<?php echo $this->element('sql_dump'); ?>
|
||||||
|
|
|
@ -107,11 +107,13 @@ p {
|
||||||
#footer {
|
#footer {
|
||||||
clear: both;
|
clear: both;
|
||||||
padding: 6px 10px;
|
padding: 6px 10px;
|
||||||
text-align: right;
|
|
||||||
}
|
}
|
||||||
#header a, #footer a {
|
#header a, #footer a {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
#cake-powered {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
/** containers **/
|
/** containers **/
|
||||||
div.form,
|
div.form,
|
||||||
|
|
Loading…
Add table
Reference in a new issue