diff -r 2db0975aa31a -r a267c5be7963 plugins/SpecialPageFuncs.php
--- a/plugins/SpecialPageFuncs.php Mon May 11 19:53:25 2009 -0400
+++ b/plugins/SpecialPageFuncs.php Wed May 13 09:39:45 2009 -0400
@@ -618,33 +618,6 @@
$template->footer();
}
-// tag cloud sidebar block
-function sidebar_add_tag_cloud()
-{
- global $db, $session, $paths, $template, $plugins; // Common objects
- global $lang;
- $cloud = new TagCloud();
-
- $q = $db->sql_query('SELECT tag_name FROM '.table_prefix.'tags;');
- if ( !$q )
- $db->_die();
- if ( $db->numrows() < 1 )
- {
- $sb_html = $lang->get('pagetools_tagcloud_msg_no_tags');
- }
- else
- {
- while ( $row = $db->fetchrow() )
- {
- $cloud->add_word($row['tag_name']);
- }
- $sb_html = $cloud->make_html('small', 'justify') . '
' . $lang->get('pagetools_tagcloud_sidebar_btn_larger') . '';
- }
- $template->sidebar_widget('pagetools_tagcloud_sidebar_title', "