aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-04 12:53:33 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-04 12:53:33 +0000
commitbf870e9a8adcef0459cf94c544e31066dd188b1a (patch)
treeeba0019a4377a77c7c9d5227e7cf34edc08b04f0
parent9a0f193a522c7128d7d9585a84d7d75cbd416cd6 (diff)
downloadelgg-bf870e9a8adcef0459cf94c544e31066dd188b1a.tar.gz
elgg-bf870e9a8adcef0459cf94c544e31066dd188b1a.tar.bz2
Minor update to the comment wall wrapper div.
git-svn-id: http://code.elgg.org/elgg/trunk@5963 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--mod/profile/views/default/profile/commentwall/commentwall.php20
1 files changed, 8 insertions, 12 deletions
diff --git a/mod/profile/views/default/profile/commentwall/commentwall.php b/mod/profile/views/default/profile/commentwall/commentwall.php
index 79869a454..a45c3adde 100644
--- a/mod/profile/views/default/profile/commentwall/commentwall.php
+++ b/mod/profile/views/default/profile/commentwall/commentwall.php
@@ -2,21 +2,17 @@
/**
* Elgg Commentwall display page
*/
-
+//start the div which will wrap all the message board contents
+echo "<div id='comment_wall_display'>";
+
// If there is any content to view, view it
-if (is_array($vars['annotation']) && sizeof($vars['annotation']) > 0) {
-
- //start the div which will wrap all the message board contents
- echo "<div id='comment_wall_display'>";
-
+if (is_array($vars['annotation']) && sizeof($vars['annotation']) > 0) {
//loop through all annotations and display
foreach($vars['annotation'] as $content) {
echo elgg_view("profile/commentwall/commentwall_content", array('annotation' => $content));
- }
-
- //close the wrapper div
- echo "</div>";
-
+ }
} else {
echo "<p class='margin_top'>" . elgg_echo("profile:commentwall:none") . "</p>";
-} \ No newline at end of file
+}
+//close the wrapper div
+echo "</div>"; \ No newline at end of file