diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-03 17:10:42 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-03 17:10:42 +0000 |
commit | b71a8f06f1670d0e2d3eeb4457e1ac06c25975a0 (patch) | |
tree | 52650d2d2bbb1975d17a68893dbe87312e04b5fe /mod/blog/views/default/object/blog-comment.php | |
parent | ed7854c6e006935d8be9b0e860111767f40b3b48 (diff) | |
download | elgg-b71a8f06f1670d0e2d3eeb4457e1ac06c25975a0.tar.gz elgg-b71a8f06f1670d0e2d3eeb4457e1ac06c25975a0.tar.bz2 |
Added comments to blog
git-svn-id: https://code.elgg.org/elgg/trunk@396 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/blog/views/default/object/blog-comment.php')
-rw-r--r-- | mod/blog/views/default/object/blog-comment.php | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/mod/blog/views/default/object/blog-comment.php b/mod/blog/views/default/object/blog-comment.php new file mode 100644 index 000000000..ecbf5fcff --- /dev/null +++ b/mod/blog/views/default/object/blog-comment.php @@ -0,0 +1,31 @@ +<?php
+
+ /**
+ * Elgg blog individual comment view
+ *
+ * @package ElggBlog
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Ben Werdmuller <ben@curverider.co.uk>
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.com/
+ *
+ * @uses $vars['entity'] The comment to view
+ */
+
+
+?>
+
+ <li>
+
+ <?php echo elgg_view("output/longtext",array("value" => $vars['entity']->value)); ?>
+ <p>
+ <?php
+
+ if ($owner = get_entity($vars['entity']->owner_guid)) {
+ echo $owner->name;
+ }
+
+ ?>, <?php echo date("F j, g:i a",$vars['entity']->time_created); ?>
+ </p>
+
+ </li>
\ No newline at end of file |