cakephp2-php8/app/View/Layouts/default.ctp

64 lines
1.8 KiB
Text
Raw Normal View History

<?php
/**
2017-06-10 21:33:55 +00:00
* CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
2017-06-10 21:33:55 +00:00
* @link https://cakephp.org CakePHP(tm) Project
* @package app.View.Layouts
* @since CakePHP(tm) v 0.10.0.1076
* @license https://opensource.org/licenses/mit-license.php MIT License
*/
$cakeDescription = __d('cake_dev', 'CakePHP: the rapid development php framework');
$cakeVersion = __d('cake_dev', 'CakePHP %s', Configure::version())
?>
2012-12-21 18:22:43 +00:00
<!DOCTYPE html>
<html>
<head>
<?php echo $this->Html->charset(); ?>
<title>
<?php echo $cakeDescription ?>:
2014-09-18 08:50:35 +00:00
<?php echo $this->fetch('title'); ?>
</title>
<?php
echo $this->Html->meta('icon');
echo $this->Html->css('cake.generic');
2011-12-18 02:41:06 +00:00
echo $this->fetch('meta');
echo $this->fetch('css');
echo $this->fetch('script');
?>
</head>
<body>
<div id="container">
<div id="header">
2017-06-10 21:33:55 +00:00
<h1><?php echo $this->Html->link($cakeDescription, 'https://cakephp.org'); ?></h1>
</div>
<div id="content">
<?php echo $this->Flash->render(); ?>
2011-12-18 02:41:06 +00:00
<?php echo $this->fetch('content'); ?>
</div>
<div id="footer">
<?php echo $this->Html->link(
2011-12-01 07:21:31 +00:00
$this->Html->image('cake.power.gif', array('alt' => $cakeDescription, 'border' => '0')),
'http://www.cakephp.org/',
array('target' => '_blank', 'escape' => false, 'id' => 'cake-powered')
);
?>
<p>
<?php echo $cakeVersion; ?>
</p>
</div>
</div>
<?php echo $this->element('sql_dump'); ?>
</body>
2011-12-18 02:41:06 +00:00
</html>