Updating outdated layout file in skeleton

This commit is contained in:
ADmad 2012-04-14 19:22:52 +05:30
parent b0b36e8fba
commit 4e1a2670da
2 changed files with 3 additions and 6 deletions

View file

@ -11,4 +11,4 @@ echo $this->Rss->document(
array(), $channel, $content_for_layout
)
);
?>
?>

View file

@ -1,6 +1,4 @@
<?php
echo $rss->header();
if (!isset($channel)) {
$channel = array();
}
@ -8,10 +6,9 @@ if (!isset($channel['title'])) {
$channel['title'] = $title_for_layout;
}
echo $rss->document(
$rss->channel(
echo $this->Rss->document(
$this->Rss->channel(
array(), $channel, $content_for_layout
)
);
?>