forked from friendica/themes-community
Tobias Diekershoff
91771ae8ce
From the beginnings of Friendica, a derived theme from duepuntozero (so this has to be available in the Friendica themes directory). Inspired by a Wordpress theme.
56 lines
1.7 KiB
PHP
56 lines
1.7 KiB
PHP
<!-- begin sidebar -->
|
|
|
|
<ul>
|
|
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar() ) : else : ?>
|
|
|
|
<li><h2>Recent Posts</h2>
|
|
<ul><?php wp_get_archives('type=postbypost&limit=10'); ?></ul></li>
|
|
<?php get_links_list(); ?>
|
|
|
|
<li><h2>Categories</h2>
|
|
<ul><?php wp_list_cats(); ?></ul></li>
|
|
|
|
<li><h2>Archives</h2>
|
|
<ul><?php wp_get_archives('type=monthly'); ?></ul></li>
|
|
|
|
|
|
<li><h2>Meta</h2>
|
|
<ul>
|
|
<?php wp_register(); ?>
|
|
<li><?php wp_loginout(); ?></li>
|
|
|
|
<li><a href="feed:<?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="feed:<?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>
|
|
|
|
<li><a href="http://wordpress.org/" title="<?php _e('Powered by WordPress, state-of-the-art semantic personal publishing platform.'); ?>"><abbr title="WordPress">WP</abbr></a></li>
|
|
|
|
<?php wp_meta(); ?>
|
|
</ul></li>
|
|
|
|
|
|
|
|
<li><h2>Search</h2>
|
|
|
|
<ul><li>
|
|
|
|
<form id="searchform" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
|
|
|
|
<input type="text" name="s" id="s" size="15" />
|
|
|
|
<input type="submit" value="<?php _e('Go'); ?>" />
|
|
|
|
</form></li></ul></li>
|
|
|
|
<?php endif; ?>
|
|
</ul>
|
|
|
|
|
|
|
|
<!-- end sidebar -->
|
|
|