added id's and classes to li's in the menu to help in skinning

git-svn-id: http://svn.automattic.com/wordpress/trunk@786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
alex_t_king 2004-01-24 22:52:22 +00:00
parent 1f02b3ee69
commit dc902731b0
2 changed files with 7 additions and 7 deletions

View File

@ -70,12 +70,12 @@ require('wp-blog-header.php');
<ul> <ul>
<?php get_links_list(); ?> <?php get_links_list(); ?>
<li>Categories: <li id="categories">Categories:
<ul> <ul>
<?php list_cats(0, 'All', 'name'); ?> <?php list_cats(0, 'All', 'name'); ?>
</ul> </ul>
</li> </li>
<li>Search: <li id="search">Search:
<form id="searchform" method="get" action="<?php echo $PHP_SELF; /*$siteurl."/".$blogfilename*/ ?>"> <form id="searchform" method="get" action="<?php echo $PHP_SELF; /*$siteurl."/".$blogfilename*/ ?>">
<div> <div>
<input type="text" name="s" size="15" /><br /> <input type="text" name="s" size="15" /><br />
@ -83,21 +83,21 @@ require('wp-blog-header.php');
</div> </div>
</form> </form>
</li> </li>
<li>Archives: <li id="archives">Archives:
<ul> <ul>
<?php get_archives('monthly'); ?> <?php get_archives('monthly'); ?>
</ul> </ul>
</li> </li>
<li> <li id="calendar">
<?php get_calendar(); ?> <?php get_calendar(); ?>
</li> </li>
<li>Other: <li id="other">Other:
<ul> <ul>
<li><a href="<?php echo $siteurl; ?>/wp-login.php">login</a></li> <li><a href="<?php echo $siteurl; ?>/wp-login.php">login</a></li>
<li><a href="<?php echo $siteurl; ?>/wp-register.php">register</a></li> <li><a href="<?php echo $siteurl; ?>/wp-register.php">register</a></li>
</ul> </ul>
</li> </li>
<li>Meta: <li id="meta">Meta:
<ul> <ul>
<li><a href="<?php bloginfo('rss2_url'); ?>" title="Syndicate this site using RSS"><abbr title="Really Simple Syndication">RSS</abbr> 2.0</a></li> <li><a href="<?php bloginfo('rss2_url'); ?>" title="Syndicate this site using RSS"><abbr title="Really Simple Syndication">RSS</abbr> 2.0</a></li>
<li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="The latest comments to all posts in RSS">Comments <abbr title="Really Simple Syndication">RSS</abbr> 2.0</a></li> <li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="The latest comments to all posts in RSS">Comments <abbr title="Really Simple Syndication">RSS</abbr> 2.0</a></li>

View File

@ -545,7 +545,7 @@ WHERE link_visible = 'Y'
$orderby = (bool_from_yn($cat['sort_desc'])?'_':'') . $orderby; $orderby = (bool_from_yn($cat['sort_desc'])?'_':'') . $orderby;
// Display the category name // Display the category name
echo ' <li>' . stripslashes($cat['cat_name']) . "\n\t<ul>\n"; echo ' <li class="links">' . stripslashes($cat['cat_name']) . "\n\t<ul>\n";
// Call get_links() with all the appropriate params // Call get_links() with all the appropriate params
get_links($cat['link_category'], get_links($cat['link_category'],