aboutsummaryrefslogtreecommitdiff
path: root/mod/tagcloud/tagcloud.php
blob: a0bc1502f7ff8ce65a784580cbef242af3d8e267 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
/**
 * Display sidebar tagcloud
 **/
 
// Load Elgg engine
require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
 
$title = elgg_view_title(elgg_echo('tagcloud:site:title'));
$tags = display_tagcloud(0, 100, 'tags');

//select the correct canvas area
$body = elgg_view_layout("one_column_with_sidebar", $title . $tags, $sidebar);
		
// Display page
echo elgg_view_page(sprintf(elgg_echo('tagcloud:site:title'),$page_owner->name),$body);