aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/views/default/profile/commentwall/commentwall_content.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/views/default/profile/commentwall/commentwall_content.php')
-rw-r--r--mod/profile/views/default/profile/commentwall/commentwall_content.php64
1 files changed, 32 insertions, 32 deletions
diff --git a/mod/profile/views/default/profile/commentwall/commentwall_content.php b/mod/profile/views/default/profile/commentwall/commentwall_content.php
index 1317ba62e..cacea117c 100644
--- a/mod/profile/views/default/profile/commentwall/commentwall_content.php
+++ b/mod/profile/views/default/profile/commentwall/commentwall_content.php
@@ -1,32 +1,32 @@
-<?php
-/**
-* Elgg Message board individual item display page
- */
-?>
-<div class="entity_listing clearfloat">
- <!-- display the user icon of the user that posted the message -->
- <div class="entity_listing_icon">
- <?php
- echo elgg_view("profile/icon",array('entity' => get_entity($vars['annotation']->owner_guid), 'size' => 'tiny'));
- ?>
- </div>
-
- <div class="entity_listing_info">
- <?php
- // if the user looking at the comment can edit, show the delete link
- if ($vars['annotation']->canEdit()) {
- echo "<div class='entity_metadata'><span class='delete_button'>" . elgg_view("output/confirmlink",array(
- 'href' => $vars['url'] . "action/profile/deletecomment?annotation_id=" . $vars['annotation']->id,
- 'text' => elgg_echo('delete'),
- 'confirm' => elgg_echo('deleteconfirm'),
- )) . "</span></div>";
- } //end of can edit if statement
- ?>
- <!-- display the user's name who posted and the date/time -->
- <p class="entity_subtext">
- <?php echo get_entity($vars['annotation']->owner_guid)->name . " " . friendly_time($vars['annotation']->time_created); ?>
- </p>
- <!-- output the actual comment -->
- <?php echo elgg_view("output/longtext",array("value" => parse_urls($vars['annotation']->value))); ?>
- </div>
-</div>
+<?php
+/**
+* Elgg Message board individual item display page
+ */
+?>
+<div class="entity_listing clearfloat">
+ <!-- display the user icon of the user that posted the message -->
+ <div class="entity_listing_icon">
+ <?php
+ echo elgg_view("profile/icon",array('entity' => get_entity($vars['annotation']->owner_guid), 'size' => 'tiny'));
+ ?>
+ </div>
+
+ <div class="entity_listing_info">
+ <?php
+ // if the user looking at the comment can edit, show the delete link
+ if ($vars['annotation']->canEdit()) {
+ echo "<div class='entity_metadata'><span class='delete_button'>" . elgg_view("output/confirmlink",array(
+ 'href' => $vars['url'] . "action/profile/deletecomment?annotation_id=" . $vars['annotation']->id,
+ 'text' => elgg_echo('delete'),
+ 'confirm' => elgg_echo('deleteconfirm'),
+ )) . "</span></div>";
+ } //end of can edit if statement
+ ?>
+ <!-- display the user's name who posted and the date/time -->
+ <p class="entity_subtext">
+ <?php echo get_entity($vars['annotation']->owner_guid)->name . " " . friendly_time($vars['annotation']->time_created); ?>
+ </p>
+ <!-- output the actual comment -->
+ <?php echo elgg_view("output/longtext",array("value" => parse_urls($vars['annotation']->value))); ?>
+ </div>
+</div>