diff options
author | cash <cash.costello@gmail.com> | 2011-10-29 15:07:43 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-10-29 15:07:43 -0400 |
commit | 4106d50727d5a56ec1442b16e182fbd9acc6b167 (patch) | |
tree | 461b4ed1050214bdd681b7368ba56d5cb5a4092e /views/rss/page/elements | |
parent | 508000e9e3a49c0f659279ba916bde4a771ed777 (diff) | |
download | elgg-4106d50727d5a56ec1442b16e182fbd9acc6b167.tar.gz elgg-4106d50727d5a56ec1442b16e182fbd9acc6b167.tar.bz2 |
Fixes #3201 updates rss view type for core Elgg
Diffstat (limited to 'views/rss/page/elements')
-rw-r--r-- | views/rss/page/elements/comments.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/views/rss/page/elements/comments.php b/views/rss/page/elements/comments.php new file mode 100644 index 000000000..9c655ffef --- /dev/null +++ b/views/rss/page/elements/comments.php @@ -0,0 +1,13 @@ +<?php +/** + * RSS comments view + * + * @uses $vars['entity'] + */ + +$options = array( + 'guid' => $vars['entity']->getGUID(), + 'annotation_name' => 'generic_comment', + 'order_by' => 'n_table.time_created desc', +); +echo elgg_list_annotations($options); |