Template: minor: documented sidebar_widget()
authorDan
Wed, 08 Jul 2009 18:51:48 -0400
changeset 1043 ac1ecaacb48e
parent 1042 13ad9c1cb7d4
child 1044 ad6a22377507
Template: minor: documented sidebar_widget()
includes/template.php
--- a/includes/template.php	Wed Jul 08 18:51:19 2009 -0400
+++ b/includes/template.php	Wed Jul 08 18:51:48 2009 -0400
@@ -308,6 +308,13 @@
       $this->named_theme_list[ $theme['theme_id'] ] =& $this->theme_list[$i];
   }
   
+  /**
+   * Register a new sidebar block.
+   * @param string Block title
+   * @param string Block HTML
+   * @param bool If true, the class of the block will be the same as the one used for blocks that are a list of links instead of HTML content. This can do some wacky things like make all your <a>s block level.
+   */
+  
   function sidebar_widget($t, $h, $use_normal_section = false)
   {
     global $db, $session, $paths, $template, $plugins; // Common objects