]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/themes/default/sidebar.php
Wordpress 2.8.4-scripts
[autoinstalls/wordpress.git] / wp-content / themes / default / sidebar.php
index 36dea86f62bb0751793a18303ff8bffc9283a344..d73b632344a9d2d393e3caa2fdf20e22730c9d33 100644 (file)
@@ -1,9 +1,15 @@
-       <div id="sidebar">
+<?php
+/**
+ * @package WordPress
+ * @subpackage Default_Theme
+ */
+?>
+       <div id="sidebar" role="complementary">
                <ul>
                        <?php   /* Widgetized sidebar, if you have the plugin installed. */
                                        if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
                        <li>
                <ul>
                        <?php   /* Widgetized sidebar, if you have the plugin installed. */
                                        if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
                        <li>
-                               <?php include (TEMPLATEPATH . '/searchform.php'); ?>
+                               <?php get_search_form(); ?>
                        </li>
 
                        <!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.
                        </li>
 
                        <!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.
 
                        <?php } ?>
 
 
                        <?php } ?>
 
-                       </li> <?php }?>
-
+                       </li>
+               <?php }?>
+               </ul>
+               <ul role="navigation">
                        <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?>
 
                        <li><h2>Archives</h2>
                        <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?>
 
                        <li><h2>Archives</h2>
@@ -52,7 +60,8 @@
                        </li>
 
                        <?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?>
                        </li>
 
                        <?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?>
-
+               </ul>
+               <ul>
                        <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
                                <?php wp_list_bookmarks(); ?>
 
                        <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
                                <?php wp_list_bookmarks(); ?>