Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Copying missing directories to skel/views/layouts
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5029 3807eeeb-6ff5-0310-8944-8be069107fe0
- Loading branch information
Showing
3 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
cake/console/libs/templates/skel/views/layouts/js/default.ctp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,2 @@ | |||
<?php echo $scripts_for_layout; ?> | |||
<script type="text/javascript"><?php echo $content_for_layout; ?></script> |
17 changes: 17 additions & 0 deletions
17
cake/console/libs/templates/skel/views/layouts/rss/default.ctp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,17 @@ | |||
<?php | |||
echo $rss->header(); | |||
|
|||
if (!isset($channel)) { | |||
$channel = array(); | |||
} | |||
if (!isset($channel['title'])) { | |||
$channel['title'] = $title_for_layout; | |||
} | |||
|
|||
echo $rss->document( | |||
$rss->channel( | |||
array(), $channel, $content_for_layout | |||
) | |||
); | |||
|
|||
?> |
2 changes: 2 additions & 0 deletions
2
cake/console/libs/templates/skel/views/layouts/xml/default.ctp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,2 @@ | |||
<?php e($xml->header()); ?> | |||
<?php echo $content_for_layout; ?> |