diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-10-09 11:39:17 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-10-09 11:39:17 +0000 |
| commit | 75e0ccc3a64e164d036da4f71f458520ddea3b24 (patch) | |
| tree | 94f00db692e25c95030f7984c27178e1bd7e1bcd /wp-content/themes | |
| parent | ca036ad95fc44c318275ab539a52f1eb6fddf060 (diff) | |
| download | wordpress-mu-75e0ccc3a64e164d036da4f71f458520ddea3b24.tar.gz wordpress-mu-75e0ccc3a64e164d036da4f71f458520ddea3b24.tar.xz wordpress-mu-75e0ccc3a64e164d036da4f71f458520ddea3b24.zip | |
WP Merge - needs testing.
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@797 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-content/themes')
| -rw-r--r-- | wp-content/themes/classic/sidebar.php | 20 | ||||
| -rw-r--r-- | wp-content/themes/default/sidebar.php | 14 |
2 files changed, 24 insertions, 10 deletions
diff --git a/wp-content/themes/classic/sidebar.php b/wp-content/themes/classic/sidebar.php index 24a1cdd..8e34c73 100644 --- a/wp-content/themes/classic/sidebar.php +++ b/wp-content/themes/classic/sidebar.php @@ -3,13 +3,19 @@ <div id="menu"> <ul> - <?php wp_list_pages(); ?> - <?php get_links_list(); ?> - <li id="categories"><?php _e('Categories:'); ?> - <ul> - <?php wp_list_cats(); ?> - </ul> - </li> +<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar() ) : ?> + +</ul> + +</div> + +<?php return; ?> + +<?php endif; ?> + + <?php wp_list_pages('title_li=' . __('Pages:')); ?> + <?php wp_list_bookmarks('title_after=&title_before='); ?> + <?php wp_list_categories('title_li=' . __('Categories:')); ?> <li id="search"> <label for="s"><?php _e('Search:'); ?></label> <form id="searchform" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>"> diff --git a/wp-content/themes/default/sidebar.php b/wp-content/themes/default/sidebar.php index b20b5de..a45b1bb 100644 --- a/wp-content/themes/default/sidebar.php +++ b/wp-content/themes/default/sidebar.php @@ -1,6 +1,14 @@ <div id="sidebar"> <ul> +<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar() ) : ?> + + </ul> + </div> +<?php return; ?> + +<?php endif; ?> + <li> <?php include (TEMPLATEPATH . '/searchform.php'); ?> </li> @@ -24,11 +32,11 @@ <p>You are currently browsing the <a href="<?php bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives for <?php the_time('F, Y'); ?>.</p> - <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> + <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> <p>You are currently browsing the <a href="<?php bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives for the year <?php the_time('Y'); ?>.</p> - <?php /* If this is a monthly archive */ } elseif (is_search()) { ?> + <?php /* If this is a monthly archive */ } elseif (is_search()) { ?> <p>You have searched the <a href="<?php echo bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives for <strong>'<?php the_search_query(); ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p> @@ -38,7 +46,7 @@ <?php } ?> </li> - <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?> + <?php wp_list_pages('title_li=<h2>Pages</h2>&sort_column=post_title&sort_order=ASC'); ?> <li><h2>Archives</h2> <ul> |
