WordPress.org

Make WordPress Core

Changeset 4212


Ignore:
Timestamp:
09/23/06 09:33:51 (8 years ago)
Author:
matt
Message:

Add a little class to our links list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/bookmark-template.php

    r4165 r4212  
    231231 
    232232            // Display the category name 
    233             echo '  <li id="linkcat-' . $cat->cat_ID . '"><h2>' . $cat->cat_name . "</h2>\n\t<ul>\n"; 
     233            echo '  <li id="linkcat-' . $cat->cat_ID . '" class="linkcat"><h2>' . $cat->cat_name . "</h2>\n\t<ul>\n"; 
    234234            // Call get_links() with all the appropriate params 
    235235            get_links($cat->cat_ID, '<li>', "</li>", "\n", true, 'name', false); 
     
    341341            if ( empty($bookmarks) ) 
    342342                continue; 
    343             $output .= "<li id=\"linkcat-$cat->cat_ID\">$title_before$cat->cat_name$title_after\n\t<ul>\n"; 
     343            $output .= "<li id='linkcat-$cat->cat_ID' class='linkcat'>$title_before$cat->cat_name$title_after\n\t<ul>\n"; 
    344344            $output .= _walk_bookmarks($bookmarks, $r); 
    345345            $output .= "\n\t</ul>\n</li>\n"; 
Note: See TracChangeset for help on using the changeset viewer.