aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/blog/views/default/blog/sidebar_menu.php3
-rw-r--r--mod/tagcloud/tagcloud.php2
-rw-r--r--mod/tagcloud/views/default/tagcloud/css.php10
3 files changed, 2 insertions, 13 deletions
diff --git a/mod/blog/views/default/blog/sidebar_menu.php b/mod/blog/views/default/blog/sidebar_menu.php
index 5d051640b..ecd232c52 100644
--- a/mod/blog/views/default/blog/sidebar_menu.php
+++ b/mod/blog/views/default/blog/sidebar_menu.php
@@ -63,6 +63,5 @@ if ($page_owner) {
}
// tag-cloud display
-$tags = display_tagcloud(0, 50, 'tags');
-echo "<h3>".elgg_echo('tagcloud')."</h3><div class='tagcloud sidebar'>{$tags}</div><a href=\"".$CONFIG->wwwroot."mod/tagcloud/tagcloud.php\">".elgg_echo('tagcloud:allsitetags')."</a>";
+echo display_tagcloud(0, 50, 'tags');
?> \ No newline at end of file
diff --git a/mod/tagcloud/tagcloud.php b/mod/tagcloud/tagcloud.php
index 564e839e3..c40cc095b 100644
--- a/mod/tagcloud/tagcloud.php
+++ b/mod/tagcloud/tagcloud.php
@@ -7,7 +7,7 @@
require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
$title = elgg_view_title(elgg_echo('tagcloud:site:title'));
-$tags = "<div class='tagcloud site'>".display_tagcloud(0, 100, 'tags')."</div>";
+$tags = display_tagcloud(0, 100, 'tags');
//select the correct canvas area
$body = elgg_view_layout("one_column_with_sidebar", $title . $tags, $sidebar);
diff --git a/mod/tagcloud/views/default/tagcloud/css.php b/mod/tagcloud/views/default/tagcloud/css.php
index 00e972c8a..37f887075 100644
--- a/mod/tagcloud/views/default/tagcloud/css.php
+++ b/mod/tagcloud/views/default/tagcloud/css.php
@@ -4,13 +4,3 @@
*/
?>
-.tagcloud {
- text-align:justify;
- font-size:1.0em; /* default font-size for single page tagcloud */
-}
-.tagcloud.site a {
- margin-right:0.2em;
-}
-.tagcloud.sidebar {
- font-size:0.7em; /* reset default size for sidebar tagclouds */
-} \ No newline at end of file