Mercurial > hg > Members > shoshi > webvirt
comparison cake/console/templates/skel/views/layouts/rss/default.ctp @ 0:261e66bd5a0c
hg init
author | Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 24 Jul 2011 21:08:31 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:261e66bd5a0c |
---|---|
1 <?php | |
2 echo $rss->header(); | |
3 | |
4 if (!isset($channel)) { | |
5 $channel = array(); | |
6 } | |
7 if (!isset($channel['title'])) { | |
8 $channel['title'] = $title_for_layout; | |
9 } | |
10 | |
11 echo $rss->document( | |
12 $rss->channel( | |
13 array(), $channel, $content_for_layout | |
14 ) | |
15 ); | |
16 | |
17 ?> |