summaryrefslogtreecommitdiff
path: root/modules/comment/views
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-06-20 17:21:25 -0700
committerBharat Mediratta <bharat@menalto.com>2010-06-20 17:21:25 -0700
commit74e821b03ef149a43eb8704fd2350985699d3ded (patch)
tree71239f4c4d00f77a9e9a103218e84f06af31f8cc /modules/comment/views
parent261da7b1c362fe329fe97ca8478a0c6b3721dedf (diff)
Rename the feed variable from "children" to "comments" since that
makes more semantic sense.
Diffstat (limited to 'modules/comment/views')
-rw-r--r--modules/comment/views/comment.mrss.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/modules/comment/views/comment.mrss.php b/modules/comment/views/comment.mrss.php
index c2a4b538..809e7890 100644
--- a/modules/comment/views/comment.mrss.php
+++ b/modules/comment/views/comment.mrss.php
@@ -20,19 +20,19 @@
<? endif ?>
<pubDate><?= $pub_date ?></pubDate>
<lastBuildDate><?= $pub_date ?></lastBuildDate>
- <? foreach ($feed->children as $child): ?>
+ <? foreach ($feed->comments as $comment): ?>
<item>
- <title><?= html::purify($child->title) ?></title>
- <link><?= html::clean($child->item_uri) ?></link>
- <author><?= html::clean($child->author) ?></author>
- <guid isPermaLink="true"><?= $child->item_uri ?></guid>
- <pubDate><?= $child->pub_date ?></pubDate>
+ <title><?= html::purify($comment->title) ?></title>
+ <link><?= html::clean($comment->item_uri) ?></link>
+ <author><?= html::clean($comment->author) ?></author>
+ <guid isPermaLink="true"><?= $comment->item_uri ?></guid>
+ <pubDate><?= $comment->pub_date ?></pubDate>
<content:encoded>
<![CDATA[
- <p><?= nl2br(html::purify($child->text)) ?></p>
+ <p><?= nl2br(html::purify($comment->text)) ?></p>
<p>
- <img alt="" src="<?= $child->thumb_url ?>"
- height="<?= $child->thumb_height ?>" width="<?= $child->thumb_width ?>" />
+ <img alt="" src="<?= $comment->thumb_url ?>"
+ height="<?= $comment->thumb_height ?>" width="<?= $comment->thumb_width ?>" />
<br />
</p>
]]>