aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/views/default/object/blog-comment.php
blob: ecbf5fcff9416fcc950f698dc45797e5b7464888 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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>