diff options
Diffstat (limited to 'views/default/output')
-rw-r--r-- | views/default/output/tagcloud.php | 5 | ||||
-rw-r--r-- | views/default/output/tags.php | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/views/default/output/tagcloud.php b/views/default/output/tagcloud.php index d9397faab..329119a6b 100644 --- a/views/default/output/tagcloud.php +++ b/views/default/output/tagcloud.php @@ -56,8 +56,9 @@ if (!empty($vars['tagcloud']) && is_array($vars['tagcloud'])) { if ($context != 'tags') { $text = elgg_echo('tagcloud:allsitetags'); - $cloud .= '<p class="elgg-tags">'; - $cloud .= "<a href=\"".elgg_get_site_url()."pg/tags\">$text</a>"; + $cloud .= '<p class="small">'; + $cloud .= '<span class="elgg-icon elgg-icon-tag"></span>'; + $cloud .= "<a href=\"" . elgg_get_site_url() . "pg/tags\">$text</a>"; $cloud .= '</p>'; } diff --git a/views/default/output/tags.php b/views/default/output/tags.php index f4804e76e..76145276c 100644 --- a/views/default/output/tags.php +++ b/views/default/output/tags.php @@ -32,6 +32,8 @@ if (!empty($vars['tags'])) { $vars['tags'] = array($vars['tags']); } + echo '<div>'; + echo '<span class="elgg-icon elgg-icon-tag"></span>'; echo '<ul class="elgg-tags">'; foreach($vars['tags'] as $tag) { if (!empty($vars['type'])) { @@ -47,4 +49,5 @@ if (!empty($vars['tags'])) { } } echo '</ul>'; + echo '</div>'; } |