summaryrefslogtreecommitdiffstats
path: root/sidebar.php
diff options
context:
space:
mode:
authoro <o@immerda.ch>2011-03-05 17:39:31 +0100
committero <o@immerda.ch>2011-03-05 17:39:31 +0100
commita8821abe79e1b32a4bc02330e6b9faeb6cd0ec30 (patch)
tree3d9c1c5f84a0960baff262ff953ac74698ba187c /sidebar.php
parentbc20b8d484cbab4277bae2d5242bd883dc8df67f (diff)
initial version. fork of simplepress 2
Diffstat (limited to 'sidebar.php')
-rw-r--r--sidebar.php79
1 files changed, 79 insertions, 0 deletions
diff --git a/sidebar.php b/sidebar.php
new file mode 100644
index 0000000..b26d849
--- /dev/null
+++ b/sidebar.php
@@ -0,0 +1,79 @@
+
+
+ <div id="right">
+
+ <div class="widget">
+ <h3>Search</h3>
+ <form method="get" id="searchform" action="<?php bloginfo('home'); ?>/">
+ <input type="text" value="Search" name="s" id="search_input" onfocus="this.value=''; changefc('white');" />
+ <input type="image" src="" title="Search" id="search_button" />
+ </form>
+ </div>
+ <?php if ( !function_exists('dynamic_sidebar')
+ || !dynamic_sidebar('Sidebar') ) : ?>
+
+
+
+ <div class="widget">
+ <h3>Recent Posts</h3>
+
+ <ul>
+
+ <?php wp_get_archives('title_li=&type=postbypost&limit=10'); ?>
+
+ </ul>
+ </div>
+
+ <div class="widget">
+ <h3>Categories</h3>
+
+ <ul>
+
+ <?php wp_list_categories('orderby=name&title_li='); ?>
+
+ </ul>
+ </div>
+ <div class="widget">
+ <h3>Archives</h3>
+
+ <ul>
+ <?php wp_get_archives('type=monthly'); ?>
+ </ul>
+ </div>
+ <div class="widget">
+ <h3>Tags</h3>
+
+ <ul>
+ <?php wp_tag_cloud(); ?>
+ </ul>
+ </div>
+
+ <div class="widget">
+ <h3><?php _e('Blogroll'); ?></h3>
+
+ <ul>
+ <?php get_links(-1, '<li>', '</li>', '', FALSE, 'name', FALSE, FALSE, -1, FALSE); ?>
+ </ul>
+ </div>
+ <div class="widget">
+ <h3><?php _e('Meta'); ?></h3>
+
+ <ul>
+
+ <li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS'); ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
+
+ <li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php _e('The latest comments to all posts in RSS'); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
+
+ <li><a href="http://validator.w3.org/check/referer" title="<?php _e('This page validates as XHTML 1.0 Transitional'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>'); ?></a></li>
+
+ <li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
+
+ <?php wp_meta(); ?>
+
+ </ul>
+ </div>
+<?php endif; ?>
+
+ </div><!-- End Right -->
+
+