--- skins/_categories.php.old Sat Sep 10 04:21:59 2005
+++ skins/_categories.php Sat Sep 10 08:43:58 2005
@@ -34,6 +34,16 @@
* This is a little tricky. Don't modify below unless you really know what you're doing!
*/
+ function my_blog_url() { // a little dirty hack
+ global $m;
+ if(!$m) return get_bloginfo('blogurl');
+ $my_y = substr($m,0,4);
+ $my_m = substr($m,4,2);
+ $my_d = substr($m,6,2);
+ return archive_link($my_y, ($my_m ? $my_m : ''), ($my_d ? $my_d : ''),
+ (empty($w) ? '' : $w), false);
+ }
+
// ----------------- START RECURSIVE CAT LIST ----------------
cat_query(); // make sure the caches are loaded
if( ! isset( $cat_array ) ) $cat_array = array();
@@ -64,7 +74,7 @@
}
echo ' />';
}
- echo ''.format_to_output($cat['cat_name'], 'htmlbody').' ('.$cat['cat_postcount'].')';
+ echo ''.format_to_output($cat['cat_name'], 'htmlbody').' ('.$cat['cat_postcount'].')';
if( in_array( $cat_ID, $cat_array ) )
{ // This category is in the current selection
echo "*";
@@ -102,7 +112,7 @@
if( !empty( $cat_all ) )
{ // We want to display a link to all cats:
echo $cat_line_start,"\n";
- echo '',$cat_all,'';
+ echo '',$cat_all,'';
echo $cat_line_end,"\n";
}