Initial working version ofa consistent layout with side menu

git-svn-id: file:///svn-source/pmgr/branches/initial_20090526@38 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-05-29 14:49:11 +00:00
parent 2da7b6b2c0
commit f384e051bf
10 changed files with 234 additions and 45 deletions

View File

@@ -27,38 +27,56 @@
<head>
<?php echo $html->charset(); ?>
<title>
<?php __('CakePHP: the rapid development php framework:'); ?>
<?php echo $title_for_layout; ?>
Property Manager: <?php echo $title_for_layout; ?>
</title>
<?php
echo $html->meta('icon');
echo $html->css('cake.generic');
echo $scripts_for_layout;
?>
<LINK REL="stylesheet" TYPE="text/css" HREF="<?php echo $html->url('/webroot/css/sidemenu.css') ?>" />
</head>
<body>
<TABLE id="layout">
<!-- LAYOUT TABLE -->
<TR>
<!-- LAYOUT ROW -->
<TD ID="sidecolumn">
<!-- SIDE MENU COLUMN -->
<?php echo $this->element('sidemenu', array('menu' => $sidemenu)); ?>
<!-- END SIDE MENU COLUMN -->
</TD>
<TD ID="pagecolumn">
<!-- CONTENT COLUMN -->
<div id="container">
<div id="header">
<h1><?php echo $html->link(__('CakePHP: the rapid development php framework', true), 'http://cakephp.org'); ?></h1>
</div>
<div id="content">
<?php $session->flash(); ?>
<?php echo $content_for_layout; ?>
</div>
<div id="footer">
<?php echo $html->link(
$html->image('cake.power.gif', array('alt'=> __("CakePHP: the rapid development php framework", true), 'border'=>"0")),
'http://www.cakephp.org/',
array('target'=>'_blank'), null, false
);
?>
</div>
</div>
<?php echo $cakeDebug; ?>
<!-- END CONTENT COLUMN -->
</TD>
<!-- LAYOUT ROW -->
</TR>
<!-- LAYOUT TABLE -->
</TABLE>
<?php echo $cakeDebug; ?>
<?php /* pr($this); */ ?>
</body>
</html>
</html>