'profile:commentwall:blank' => "Sorry; you need to actually put something in the message area before we can save it.",
'profile:commentwall:notfound' => "Sorry; we could not find the specified item.",
'profile:commentwall:notdeleted' => "Sorry; we could not delete this message.",
+ 'profile:commentwall:none' => "No comment wall posts found.",
'profile:commentwall:somethingwentwrong' => "Something went wrong when trying to save your message, make sure you actually wrote a message.",
'profile:commentwall:failure' => "An unexpected error occurred when adding your message. Please try again.",
if (is_array($vars['annotation']) && sizeof($vars['annotation']) > 0) {\r
\r
//start the div which will wrap all the message board contents\r
- echo "<div id=\"messageboard_wrapper\">";\r
+ echo "<div id='comment_wall_display'>";\r
\r
//loop through all annotations and display\r
foreach($vars['annotation'] as $content) {\r
echo "</div>";\r
\r
} else {\r
- echo "<div class='ContentWrapper'>" . elgg_echo("profile:commentwall:none") . "</div>";\r
+ echo "<p class='margin_top'>" . elgg_echo("profile:commentwall:none") . "</p>";\r
}
\ No newline at end of file
* Elgg Message board individual item display page\r
*/\r
?>\r
-<div class="messageboard"><!-- start of messageboard div -->\r
+<div class="entity_listing clearfloat">\r
<!-- display the user icon of the user that posted the message -->\r
- <div class="message_sender"> \r
+ <div class="entity_listing_icon"> \r
<?php\r
echo elgg_view("profile/icon",array('entity' => get_entity($vars['annotation']->owner_guid), 'size' => 'tiny'));\r
?>\r
</div>\r
- <!-- display the user's name who posted and the date/time -->\r
- <p class="message_item_timestamp">\r
- <?php echo get_entity($vars['annotation']->owner_guid)->name . " " . friendly_time($vars['annotation']->time_created); ?>\r
- </p> \r
- <!-- output the actual comment -->\r
- <div class="message"><?php echo elgg_view("output/longtext",array("value" => parse_urls($vars['annotation']->value))); ?></div>\r
- <div class="message_buttons"> \r
+ \r
+ <div class="entity_listing_info">\r
<?php\r
// if the user looking at the comment can edit, show the delete link\r
if ($vars['annotation']->canEdit()) {\r
- echo "<div class='delete_message'>" . elgg_view("output/confirmlink",array(\r
+ echo "<div class='entity_metadata'><span class='delete_button'>" . elgg_view("output/confirmlink",array(\r
'href' => $vars['url'] . "action/profile/deletecomment?annotation_id=" . $vars['annotation']->id,\r
'text' => elgg_echo('delete'),\r
'confirm' => elgg_echo('deleteconfirm'),\r
- )) . "</div>";\r
+ )) . "</span></div>";\r
} //end of can edit if statement\r
?>\r
+ <!-- display the user's name who posted and the date/time -->\r
+ <p class="entity_subtext">\r
+ <?php echo get_entity($vars['annotation']->owner_guid)->name . " " . friendly_time($vars['annotation']->time_created); ?>\r
+ </p> \r
+ <!-- output the actual comment -->\r
+ <?php echo elgg_view("output/longtext",array("value" => parse_urls($vars['annotation']->value))); ?> \r
</div>\r
-<div class="clearfloat"></div>\r
-</div><!-- end of messageboard div -->\r
+</div>\r
* Elgg profile comment wall add\r
*/ \r
?>\r
-<div id="mb_input_wrapper">\r
+<div id="comment_wall_add">\r
<form action="<?php echo $vars['url']; ?>action/profile/addcomment" method="post" name="messageboardForm">\r
<!-- textarea for the contents -->\r
- <textarea name="message_content" value="" class="commentwall" style="width:500px;height:20px;"></textarea><br />\r
+ <textarea name="message_content" value="" class="commentwall"></textarea><br />\r
<!-- the person posting an item on the message board -->\r
<input type="hidden" name="guid" value="<?php echo $_SESSION['guid']; ?>" />\r
<!-- the page owner, this will be the profile owner -->\r