aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/elements
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-19 17:15:20 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-19 17:15:20 +0000
commit67bee86f7fa86273494302bdb816fc27022ea037 (patch)
treeb988ea5b05612003ce300740d62d95b50ee76ed8 /views/default/page/elements
parent8a4261fb21d1fe604d00a6ad62848683fc575824 (diff)
downloadelgg-67bee86f7fa86273494302bdb816fc27022ea037.tar.gz
elgg-67bee86f7fa86273494302bdb816fc27022ea037.tar.bz2
improved the styling of the comment area
git-svn-id: http://code.elgg.org/elgg/trunk@8335 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page/elements')
-rw-r--r--views/default/page/elements/comments.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/views/default/page/elements/comments.php b/views/default/page/elements/comments.php
index 6a7e74b2a..3d44f5785 100644
--- a/views/default/page/elements/comments.php
+++ b/views/default/page/elements/comments.php
@@ -23,7 +23,12 @@ $options = array(
'guid' => $vars['entity']->getGUID(),
'annotation_name' => 'generic_comment'
);
-echo elgg_list_annotations($options);
+$html = elgg_list_annotations($options);
+if ($html) {
+ echo '<h3>Comments</h3>';
+ echo $html;
+}
+//echo strlen($html);
if ($show_add_form) {
$form_vars = array('name' => 'elgg_add_comment');