aboutsummaryrefslogtreecommitdiff
path: root/views/default/output
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-22 10:55:51 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-22 10:55:51 +0000
commit8a45f27fca39f0356987c011c80e07c0f0413d6a (patch)
tree14a06cf61f30e584c1e08dfcfc346b789d82da01 /views/default/output
parenta56299d152912d2617ffe4f7f59fce7f3d925e88 (diff)
downloadelgg-8a45f27fca39f0356987c011c80e07c0f0413d6a.tar.gz
elgg-8a45f27fca39f0356987c011c80e07c0f0413d6a.tar.bz2
Refs #2091 added a tagcloud block that accepts subtype
git-svn-id: http://code.elgg.org/elgg/trunk@8814 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/output')
-rw-r--r--views/default/output/tagcloud.php18
1 files changed, 1 insertions, 17 deletions
diff --git a/views/default/output/tagcloud.php b/views/default/output/tagcloud.php
index 3bc04a3fb..22b6cf49d 100644
--- a/views/default/output/tagcloud.php
+++ b/views/default/output/tagcloud.php
@@ -12,8 +12,6 @@
* @uses $vars['subtype'] Entity subtype
*/
-$context = elgg_get_context();
-
if (!empty($vars['subtype'])) {
$subtype = "&entity_subtype=" . urlencode($vars['subtype']);
} else {
@@ -53,22 +51,8 @@ if (!empty($vars['tagcloud']) && is_array($vars['tagcloud'])) {
$url = elgg_format_url($url);
$cloud .= "<a href=\"$url\" style=\"font-size: $size%\" title=\"".addslashes($tag->tag)." ($tag->total)\">" . htmlspecialchars($tag->tag, ENT_QUOTES, 'UTF-8') . "</a>";
}
-
- if ($context != 'tags') {
- $cloud .= '<p class="small">';
- $cloud .= elgg_view_icon('tag');
- $cloud .= elgg_view('output/url', array(
- 'href' => 'tags',
- 'text' => elgg_echo('tagcloud:allsitetags'),
- ));
- $cloud .= '</p>';
- }
$cloud .= elgg_view('tagcloud/extend');
- if ($context != 'tags') {
- echo elgg_view_module('aside', elgg_echo('tagcloud'), $cloud, array('class' => 'elgg-tagcloud'));
- } else {
- echo "<div class=\"elgg-tagcloud\">$cloud</div>";
- }
+ echo "<div class=\"elgg-tagcloud\">$cloud</div>";
}