cakephp2-php8/cake/libs/view/templates/layouts/default.thtml

58 lines
2.2 KiB
Text
Raw Normal View History

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CakePHP : a rapid development framework :: <?=$title_for_layout?></title>
<link REL="SHORTCUT ICON" HREF="favicon.ico" type="image/x-icon">
<?=$html->charsetTag('UTF-8')?>
<?=$html->cssTag('cake.default')?>
</head>
<body>
<div id="main">
<div id="header">
<div id="headerLogo"><?= $html->image('cake.logo.png'); ?></div>
<div id="headerNav">
<?
$css_class = ($title_for_layout == 'Home') ? 'active' : '';
echo $html->link('Home', 'http://cakephp.org',array('class'=>$css_class));
$css_class = ($title_for_layout == 'Documentation') ? 'active' : '';
echo $html->link('Documentation', 'http://cakephp.org/pages/documentation',array('class'=>$css_class));
$css_class = ($title_for_layout == 'Downloads') ? 'active' : '';
echo $html->link('Downloads', 'http://cakephp.org/downloads/',array('class'=>$css_class));
$css_class = ($title_for_layout == 'Support') ? 'active' : '';
echo $html->link('Support', 'http://cakephp.org/pages/support/',array('class'=>$css_class));
$css_class = ($title_for_layout == 'Development') ? 'active' : '';
echo $html->link('Development', 'https://trac.cakephp.org',array('class'=>$css_class));
?>
</div>
<div id="headerSubNav">
<?
$css_class = ($title_for_layout == 'Blog') ? 'active' : '';
echo $html->link('Blog', '/',array('class'=>$css_class));
$css_class = ($title_for_layout == 'Community') ? 'active' : '';
echo $html->link('Community', '/',array('class'=>$css_class));
$css_class = ($title_for_layout == 'Plugins') ? 'active' : '';
echo $html->link('Apps & Plugins', '/',array('class'=>$css_class));
$css_class = ($title_for_layout == 'Cakebin') ? 'active' : '';
echo $html->link('Cakebin', 'http://cakephp.org/pastes/',array('class'=>$css_class));
?>
</div>
</div>
<div id="content">
<?=$content_for_layout?>
</div>
</div>
<div id="footer" align="center">
&copy; 2005 CakePHP ::
<a href="https://trac.cakephp.org/wiki/Authors">CakePHP Developers and Authors</a>
</div>
</body>
</html>