summaryrefslogtreecommitdiff
path: root/modules/popup-dialog.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-05-17 12:58:38 +0100
committerAndrew Dolgov <[email protected]>2007-05-17 12:58:38 +0100
commit0979b696e4d770f5461057f406dfe8a8f3d3d48c (patch)
tree2e04b54b615d8d74c1d62d212ffe8f59cd357674 /modules/popup-dialog.php
parent1ba6daf78e5d12759e8f3dcc6913c705fc5313bb (diff)
show tag cloud instead of flat tag list
Diffstat (limited to 'modules/popup-dialog.php')
-rw-r--r--modules/popup-dialog.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php
index 0403b6231..3011f8c1b 100644
--- a/modules/popup-dialog.php
+++ b/modules/popup-dialog.php
@@ -412,6 +412,30 @@
return;
}
+ if ($id == "printTagCloud") {
+ print "<div id=\"infoBoxTitle\">".__('Tag Cloud')."</div>";
+ print "<div class=\"infoBoxContents\">";
+
+ print "Showing top 50 most popular tags (<a
+ href='javascript:toggleTags(true)'>show all</a>):<br/>";
+
+ print "<div class=\"tagCloudContainer\">";
+
+ printTagCloud($link);
+
+ print "</div>";
+
+ print "<div align='center'>";
+ print "<input class=\"button\"
+ type=\"submit\" onclick=\"return closeInfoBox()\"
+ value=\"".__('Close')."\">";
+ print "</div>";
+
+ print "</div>";
+
+ return;
+ }
+
print "<div id='infoBoxTitle'>Internal Error</div>
<div id='infoBoxContents'>
<p>Unknown dialog <b>$id</b></p>