aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-06 12:52:08 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-06 12:52:08 +0000
commit3a917aa158c1ef0945c8b4892eaa8f87e5fa1a1e (patch)
treee56511d288a4a332ae14b15f63e7b92d9bdc26f6 /mod
parentd219c7312b87a0a18250c0018812e34619bfde43 (diff)
downloadelgg-3a917aa158c1ef0945c8b4892eaa8f87e5fa1a1e.tar.gz
elgg-3a917aa158c1ef0945c8b4892eaa8f87e5fa1a1e.tar.bz2
changed tag display to <ul>
git-svn-id: http://code.elgg.org/elgg/trunk@7851 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/blog/views/default/object/blog.php6
-rw-r--r--mod/file/views/default/object/file.php6
2 files changed, 2 insertions, 10 deletions
diff --git a/mod/blog/views/default/object/blog.php b/mod/blog/views/default/object/blog.php
index 23ccb57be..fd2c4fee8 100644
--- a/mod/blog/views/default/object/blog.php
+++ b/mod/blog/views/default/object/blog.php
@@ -23,11 +23,7 @@ $owner_link = elgg_view('output/url', array(
'text' => $owner->name,
));
$author_text = elgg_echo('blog:author_by_line', array($owner_link));
-if ($blog->tags) {
- $tags = "<p class=\"elgg-tags\">" . elgg_view('output/tags', array('tags' => $blog->tags)) . "</p>";
-} else {
- $tags = "";
-}
+$tags = elgg_view('output/tags', array('tags' => $blog->tags));
$date = elgg_view_friendly_time($blog->publish_date);
// The "on" status changes for comments, so best to check for !Off
diff --git a/mod/file/views/default/object/file.php b/mod/file/views/default/object/file.php
index 1d3aa7140..89367feb3 100644
--- a/mod/file/views/default/object/file.php
+++ b/mod/file/views/default/object/file.php
@@ -34,11 +34,7 @@ $file_icon = elgg_view('file/icon', array(
'size' => 'small'
));
-if ($file->tags) {
- $tags = "<p class=\"elgg-tags\">" . elgg_view('output/tags', array('tags' => $file->tags)) . "</p>";
-} else {
- $tags = "";
-}
+$tags = elgg_view('output/tags', array('tags' => $file->tags));
$date = elgg_view_friendly_time($file->time_created);
$comments_count = elgg_count_comments($file);