cakephp2-php8/cake/libs/view/templates/layouts/default.thtml
phpnut 68b194965e [1178]
Author: phpnut
Date: 8:52:12 PM, Sunday, October 23, 2005
Message:
adding cakephp power image

[1177]
Author: phpnut
Date: 8:48:32 PM, Sunday, October 23, 2005
Message:
Updated scaffold to use new layout template.

[1176]
Author: phpnut
Date: 7:09:27 PM, Sunday, October 23, 2005
Message:
renaming cake/conf to cake/config

[1175]
Author: phpnut
Date: 7:06:04 PM, Sunday, October 23, 2005
Message:
moving tags.ini.php to cake/conf/tags.ini.php

[1174]
Author: phpnut
Date: 6:52:19 PM, Sunday, October 23, 2005
Message:
updating css/cake.scaffold.css

[1173]
Author: phpnut
Date: 6:46:07 PM, Sunday, October 23, 2005
Message:
updating css/cake.deafult.css and default layout

[1172]
Author: phpnut
Date: 6:42:48 PM, Sunday, October 23, 2005
Message:
updating css/cake.scaffold.css

[1171]
Author: phpnut
Date: 6:41:00 PM, Sunday, October 23, 2005
Message:
Adding spaces to tags.ini file

[1170]
Author: phpnut
Date: 6:37:17 PM, Sunday, October 23, 2005
Message:
Removing code that is no longer used

[1169]
Author: phpnut
Date: 6:34:24 PM, Sunday, October 23, 2005
Message:
removing files that are no longer used

[1168]
Author: phpnut
Date: 6:19:46 PM, Sunday, October 23, 2005
Message:
Cleaning up Scaffold class.

[1167]
Author: phpnut
Date: 5:26:27 PM, Sunday, October 23, 2005
Message:
Changes are added to remove the $this->models array that would hold the instance of the models.    
Now they are available as $this->ModelName; This should be CamelCased.                             
Added check in the Scaffold to return forms when accessing the actions update, create without a form being submitted.

[1166]
Author: phpnut
Date: 3:53:08 PM, Sunday, October 23, 2005
Message:
Making change to allow setting the name of a class camel cased to fix issues with PHP 4.
In both the model and the controllers:

  Model: var $name = 'ModelName'; 

  Controller: var $name = 'ControllerName'; ControllerName not ControllerNameController.  

[1165]
Author: phpnut
Date: 1:45:17 PM, Sunday, October 23, 2005
Message:
Fix added for problems with key name that was added to the class registry when underscored

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1179 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-10-24 01:56:20 +00:00

75 lines
3 KiB
Text

<? //echo $this->webroot?>
<!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 :: <?php echo $title_for_layout?></title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<?php echo $html->charset('UTF-8')?>
<?php echo $html->css('cake.default')?>
<?php echo $html->css('cake.scaffold')?>
<?php echo $html->css('cake.form')?>
</head>
<body>
<div id="container">
<div id="header">
<div id="headerLogo">
<a href="http://cakephp.org">
<?php echo $html->image('cake.logo.png', array('alt'=>"CakePHP : Rapid Development Framework")); ?>
</a>
</div>
<div id="headerNav">
<?php
$css_class = ($title_for_layout == 'Blog') ? 'active' : '';
echo $html->link('CakeBlog', '/',array('class'=>$css_class));
echo $html->link('CakeWiki', 'http://wiki.cakephp.org',array('class'=>$css_class));
echo $html->link('CakeForge', 'http://cakeforge.org',array('class'=>$css_class));
echo $html->link('CakeTrac', 'https://trac.cakephp.org',array('class'=>$css_class));
$css_class = ($title_for_layout == 'Pastes') ? 'active' : '';
echo $html->link('CakeBin', 'http://cakephp.org/pastes/',array('class'=>$css_class));
?>
</div>
</div>
<div id="pageNav">
<?php
$css_class = ($title_for_layout == 'Home') ? 'active' : '';
echo $html->link('Home', 'http://cakephp.org/',array('class'=>$css_class));
echo '&nbsp;';
$css_class = ($title_for_layout == 'Documentation') ? 'active' : '';
echo $html->link('Documentation', 'http://cakephp.org/pages/documentation',array('class'=>$css_class));
echo '&nbsp;';
$css_class = ($title_for_layout == 'Downloads') ? 'active' : '';
echo $html->link('Downloads', 'http://cakephp.org/downloads/',array('class'=>$css_class));
echo '&nbsp;';
$css_class = ($title_for_layout == 'Support') ? 'active' : '';
echo $html->link('Support', 'http://cakephp.org/pages/support/',array('class'=>$css_class));
?>
</div>
<div id="content">
<?php echo $content_for_layout?>
</div>
<div id="pb-cake">
&copy; 2005 CakePHP ::
<a href="https://trac.cakephp.org/wiki/Authors">CakePHP Developers and Authors</a>
<p>CakePHP version 0.10.0.1076_dev</p>
<a href="http://www.cakephp.org/" target="_new" class="simple">
<?php echo $html->image('cake.power.png', array('alt'=>"CakePHP : Rapid Development Framework", 'border'=>"0"))?>
</a>
<a href="http://www.cakephp.org/" target="_new" class="simple">
<?php echo $html->image('pbcake.gif', array('width'=>"120",'height'=>"28",'alt'=>"CakePHP : Rapid Development Framework", 'border'=>"0"))?>
</a>
</div>
<div id="footer">
<a href='http://www.silktide.com/index.php?node=18448&url=http%3A%2F%2Fwww.cakephp.org'>
<img src='http://sitescore.silktide.com/index.php?siteScoreUrl=http%3A%2F%2Fwww.cakephp.org' alt='Silktide SiteScore for this website' border='0'>
</a>
</div>
</div>
<!---PLEASE USE ONE OF THE POWERED BY CAKE LOGOS------->
</body>
</html>