Index: trunk/wp-content/themes/xpress_default/blocks/block_style.css
===================================================================
--- trunk/wp-content/themes/xpress_default/blocks/block_style.css	(revision 118)
+++ trunk/wp-content/themes/xpress_default/blocks/block_style.css	(revision 119)
@@ -246,2 +246,7 @@
 
 }
+
+/*********** Search block    ***************/
+.xpress_search_block {
+
+}
Index: trunk/wp-content/themes/xpress_default/blocks/search_block_theme.php
===================================================================
--- trunk/wp-content/themes/xpress_default/blocks/search_block_theme.php	(revision 119)
+++ trunk/wp-content/themes/xpress_default/blocks/search_block_theme.php	(revision 119)
@@ -0,0 +1,20 @@
+<?php
+
+function search_block($options)
+{
+	$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+	$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_block_search.html' : trim( $options[1] );
+	$input_length = empty( $options[2] ) ? '18' : $options[1] ;
+	$mydirpath = get_xpress_dir_path();
+
+	$act_url = get_bloginfo('siteurl');
+	$output  = '<form method="get" id="searchform" action="' . $act_url . '">' ."\n";
+	$output .= '<input type="text" name="s" id="s" size="' . $input_length . '" />' ."\n";
+	$output .= '<input type="submit" id="searchsubmit" value="' . __('Search', 'xpress') . '" />' ."\n";
+	$output .= "</form>\n";
+
+	$block['search'] = $output;
+	return $block ;
+}
+
+?>
