aboutsummaryrefslogtreecommitdiff
path: root/mod/file/views/default
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/file/views/default
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/file/views/default')
-rw-r--r--mod/file/views/default/object/file.php6
1 files changed, 1 insertions, 5 deletions
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);