making spacing of counts consistent betweek archives list and category list
git-svn-id: http://svn.automattic.com/wordpress/trunk@717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5c8b016bf3
commit
1e10cd53ac
|
@ -236,7 +236,7 @@ function get_archives($type='', $limit='', $format='html', $before = "", $after
|
|||
$url = get_month_link($arcresult->year, $arcresult->month);
|
||||
if ($show_post_count) {
|
||||
$text = sprintf("%s %d", $month[zeroise($arcresult->month,2)], $arcresult->year);
|
||||
$after = " ($arcresult->posts)";
|
||||
$after = " ($arcresult->posts)";
|
||||
} else {
|
||||
$text = sprintf("%s %d", $month[zeroise($arcresult->month,2)], $arcresult->year);
|
||||
}
|
||||
|
@ -1527,10 +1527,10 @@ function list_cats($optionall = 1, $all = 'All', $sort_column = 'ID', $sort_orde
|
|||
$link = '<a href="'.get_category_link(0, $category->cat_ID, $category->category_nicename).'" title="View all posts filed under ' . $category->cat_name . '">';
|
||||
$link .= stripslashes($cat_name).'</a>';
|
||||
if (intval($optioncount) == 1) {
|
||||
$link .= ' ('.$category->cat_count.')';
|
||||
$link .= ' ('.$category->cat_count.')';
|
||||
}
|
||||
if (intval($optiondates) == 1) {
|
||||
$link .= ' '.$category->lastday.'/'.$category->lastmonth;
|
||||
$link .= ' '.$category->lastday.'/'.$category->lastmonth;
|
||||
}
|
||||
if ($list) {
|
||||
echo "\t<li>$link</li>\n";
|
||||
|
|
Loading…
Reference in New Issue