Changeset 4795 for trunk/wp-includes/category-template.php
- Timestamp:
- 01/24/2007 05:44:24 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/category-template.php
r4790 r4795 102 102 if ($category->category_parent) 103 103 $thelist .= get_category_parents($category->category_parent, TRUE); 104 $thelist .= '<a href="' . get_category_link($category->cat_ID) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" ' . $rel . ' ">' . $category->cat_name.'</a></li>';104 $thelist .= '<a href="' . get_category_link($category->cat_ID) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" ' . $rel . '>' . $category->cat_name.'</a></li>'; 105 105 break; 106 106 case 'single': 107 $thelist .= '<a href="' . get_category_link($category->cat_ID) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" ' . $rel . ' ">';107 $thelist .= '<a href="' . get_category_link($category->cat_ID) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" ' . $rel . '>'; 108 108 if ($category->category_parent) 109 109 $thelist .= get_category_parents($category->category_parent, FALSE); … … 112 112 case '': 113 113 default: 114 $thelist .= '<a href="' . get_category_link($category->cat_ID) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" ' . $rel . ' ">' . $category->cat_name.'</a></li>';114 $thelist .= '<a href="' . get_category_link($category->cat_ID) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" ' . $rel . '>' . $category->cat_name.'</a></li>'; 115 115 } 116 116 } … … 125 125 if ( $category->category_parent ) 126 126 $thelist .= get_category_parents($category->category_parent, TRUE); 127 $thelist .= '<a href="' . get_category_link($category->cat_ID) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" ' . $rel . ' ">' . $category->cat_name.'</a>';127 $thelist .= '<a href="' . get_category_link($category->cat_ID) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" ' . $rel . '>' . $category->cat_name.'</a>'; 128 128 break; 129 129 case 'single': 130 $thelist .= '<a href="' . get_category_link($category->cat_ID) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" ' . $rel . ' ">';130 $thelist .= '<a href="' . get_category_link($category->cat_ID) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" ' . $rel . '>'; 131 131 if ( $category->category_parent ) 132 132 $thelist .= get_category_parents($category->category_parent, FALSE); … … 135 135 case '': 136 136 default: 137 $thelist .= '<a href="' . get_category_link($category->cat_ID) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" ' . $rel . ' ">' . $category->cat_name.'</a>';137 $thelist .= '<a href="' . get_category_link($category->cat_ID) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" ' . $rel . '>' . $category->cat_name.'</a>'; 138 138 } 139 139 ++$i;
Note: See TracChangeset
for help on using the changeset viewer.