plugins/SpecialPageFuncs.php
changeset 607 935f3799b654
parent 593 4f9bec0d65c1
child 648 082b7b47b859
equal deleted inserted replaced
605:d2d4e40ecd29 607:935f3799b654
   834     {
   834     {
   835       $cloud->add_word($row['tag_name']);
   835       $cloud->add_word($row['tag_name']);
   836     }
   836     }
   837     $sb_html = $cloud->make_html('small', 'justify') . '<br /><a style="text-align: center;" href="' . makeUrlNS('Special', 'TagCloud') . '">' . $lang->get('pagetools_tagcloud_sidebar_btn_larger') . '</a>';
   837     $sb_html = $cloud->make_html('small', 'justify') . '<br /><a style="text-align: center;" href="' . makeUrlNS('Special', 'TagCloud') . '">' . $lang->get('pagetools_tagcloud_sidebar_btn_larger') . '</a>';
   838   }
   838   }
   839   $template->sidebar_widget($lang->get('pagetools_tagcloud_sidebar_title'), "<div style='padding: 5px;'>$sb_html</div>");
   839   $template->sidebar_widget('pagetools_tagcloud_sidebar_title', "<div style='padding: 5px;'>$sb_html</div>");
   840 }
   840 }
   841 
   841 
   842 $plugins->attachHook('compile_template', 'sidebar_add_tag_cloud();');
   842 $plugins->attachHook('compile_template', 'sidebar_add_tag_cloud();');
   843 
   843 
   844 function page_Special_Autofill()
   844 function page_Special_Autofill()