Source

IAMWW w2 DnD / functions.php

Full commit
<?php if ( function_exists('register_sidebars') ) register_sidebars(2); ?>
<?php function widget_mytheme_search() { ?>
<li>
<h2 class="widgettitle">Search</h2>
<form method="get" id="widget-searchform" action="<?php bloginfo('home'); ?>/">
<div><input type="text" value="<?php the_search_query(); ?>" name="s" id="s2" />
<input type="submit" id="widget-searchsubmit" value="Search" />
</div>
</form>
</li>
<?php } if ( function_exists('register_sidebar_widget') ) register_sidebar_widget(__('Search'), 'widget_mytheme_search'); ?>
<?php
function w_ShowAbout() { ?>
	<li class="about">
  		<h3>About</h3>
  		<?php $userdata = get_userdata(1); ?><?php if ($userdata->description != '') { ?>
<p><?php _e($userdata->description); ?></p><?php } else { ?><p>If you want edit me, just go to your user profile in admin and add text to the "About Yourself" section.</p><?php } ?>
  	</li>
<?php }	?>