cleanup of the register widget area code for the head/foot of each widget placed

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2010-01-02 10:47:24 -08:00
parent 71c30e3008
commit 9e334d8998
1 changed files with 4 additions and 10 deletions

View File

@ -802,16 +802,10 @@ if ( function_exists('register_sidebar') ) {
) as $label) {
register_sidebar(array(
'name'=> $label,
'before_widget' => '
<div class="widget-head"></div>
<div id="%1$s" class="widget %2$s">
',
'after_widget' => '
</div>
<div class="widget-foot"></div>
',
'before_title' => ' <h2 class="widgettitle">',
'after_title' => '</h2>'
'before_widget' => "<div class=\"widget-head\"></div>\r\n<div id=\"".'%1$s'."\" class=\"widget ".'%2$s'."\">\r\n",
'after_widget' => "</div>\r\n<div class=\"widget-foot\"></div>\r\n",
'before_title' => "<h2 class=\"widgettitle\">\r\n",
'after_title' => "</h2>\r\n"
));
}
}