| 347 | | $output .= str_replace(array('%id', '%class'), array("linkuncat", $class), $category_before); |
| 348 | | $output .= "$title_before$title_li$title_after\n\t<ul>\n"; |
| 349 | | $output .= _walk_bookmarks($bookmarks, $r); |
| 350 | | $output .= "\n\t</ul>\n$category_after\n"; |
| | 347 | if ( !empty( $title_li ) ){ |
| | 348 | $output .= str_replace(array('%id', '%class'), array("linkcat-$category", $class), $category_before); |
| | 349 | $output .= "$title_before$title_li$title_after\n\t<ul>\n"; |
| | 350 | $output .= _walk_bookmarks($bookmarks, $r); |
| | 351 | $output .= "\n\t</ul>\n$category_after\n"; |
| | 352 | } else { |
| | 353 | $output .= _walk_bookmarks($bookmarks, $r); |
| | 354 | } |