Index: trunk/wp-content/themes/xpress_default/blocks/archives_block_theme.php
===================================================================
--- trunk/wp-content/themes/xpress_default/blocks/archives_block_theme.php	(revision 119)
+++ trunk/wp-content/themes/xpress_default/blocks/archives_block_theme.php	(revision 120)
@@ -3,9 +3,9 @@
 {
 	$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
-	$type = empty( $options[1] ) ? false : true ;
-	$limit = empty( $options[2] ) ? '10' : $options[2] ;
-	$show_post_count = empty( $options[3] ) ? false : true ;		
-	$drop_down = empty( $options[4] ) ? false : true ;	
-	$this_template = empty( $options[5] ) ? 'db:'.$mydirname.'_archives_block.html' : trim( $options[3] );
+	$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_archives_block.html' : trim( $options[1] );
+	$type = empty( $options[2] ) ? false : true ;
+	$limit = empty( $options[3] ) ? '10' : $options[3] ;
+	$show_post_count = empty( $options[4] ) ? false : true ;		
+	$drop_down = empty( $options[5] ) ? false : true ;	
 	
 	if ($type) {
Index: trunk/wp-content/themes/xpress_default/blocks/authors_block_theme.php
===================================================================
--- trunk/wp-content/themes/xpress_default/blocks/authors_block_theme.php	(revision 119)
+++ trunk/wp-content/themes/xpress_default/blocks/authors_block_theme.php	(revision 120)
@@ -3,9 +3,9 @@
 {
 	$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
-	$optioncount = empty( $options[1] ) ? false : true ;
-	$exclude_admin = empty( $options[2] ) ? false : true ;
-	$show_fullname = empty( $options[3] ) ? false : true ;
-	$hide_empty = empty( $options[4] ) ? false : true ;		
-	$this_template = empty( $options[5] ) ? 'db:'.$mydirname.'_block_authors.html' : trim( $options[5] );
+	$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_block_authors.html' : trim( $options[1] );
+	$optioncount = empty( $options[2] ) ? false : true ;
+	$exclude_admin = empty( $options[3] ) ? false : true ;
+	$show_fullname = empty( $options[4] ) ? false : true ;
+	$hide_empty = empty( $options[5] ) ? false : true ;		
 	$mydirpath = get_xpress_dir_path();
 	
Index: trunk/wp-content/themes/xpress_default/blocks/calender_block_theme.php
===================================================================
--- trunk/wp-content/themes/xpress_default/blocks/calender_block_theme.php	(revision 119)
+++ trunk/wp-content/themes/xpress_default/blocks/calender_block_theme.php	(revision 120)
@@ -3,7 +3,7 @@
 {
 	$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
-	$sun_color = empty( $options[1] ) ? '#DB0000' : $options[1] ;
-	$sat_color = empty( $options[2] ) ? '#004D99' : $options[2] ;
-	$this_template = empty( $options[3] ) ? 'db:'.$mydirname.'_calender_block.html' : trim( $options[3] );
+	$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_calender_block.html' : trim( $options[1] );
+	$sun_color = empty( $options[2] ) ? '#DB0000' : $options[2] ;
+	$sat_color = empty( $options[3] ) ? '#004D99' : $options[3] ;
 //	$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
 	$mydirpath = get_xpress_dir_path();
Index: trunk/wp-content/themes/xpress_default/blocks/popular_posts_block_theme.php
===================================================================
--- trunk/wp-content/themes/xpress_default/blocks/popular_posts_block_theme.php	(revision 119)
+++ trunk/wp-content/themes/xpress_default/blocks/popular_posts_block_theme.php	(revision 120)
@@ -3,9 +3,9 @@
 {
 	$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
-	$disp_count = empty( $options[1] ) ? '10' : $options[1] ;
-	$show_month_range = empty( $options[2] ) ? '0' : $options[2] ;
-	$tag_select = $options[3] ;
-	$selected = array_slice($options,4); // get allowed cats
-	$this_template = empty( $options[5] ) ? 'db:'.$mydirname.'_block_popular.html' : trim( $options[5] );
+	$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_block_popular.html' : trim( $options[1] );
+	$disp_count = empty( $options[2] ) ? '10' : $options[2] ;
+	$show_month_range = empty( $options[3] ) ? '0' : $options[3] ;
+	$tag_select = $options[4] ;
+	$selected = array_slice($options,5); // get allowed cats
 	$mydirpath = get_xpress_dir_path();
 	
Index: trunk/wp-content/themes/xpress_default/blocks/recent_comments_block_theme.php
===================================================================
--- trunk/wp-content/themes/xpress_default/blocks/recent_comments_block_theme.php	(revision 119)
+++ trunk/wp-content/themes/xpress_default/blocks/recent_comments_block_theme.php	(revision 120)
@@ -5,8 +5,8 @@
 {
 	$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
-	$disp_count = empty( $options[1] ) ? '10' : $options[1] ;
-	$disp_length = empty( $options[2] ) ? '30' : $options[2] ;
-	$selected = array_slice($options,3); // get allowed cats
-	$this_template = empty( $options[4] ) ? 'db:'.$mydirname.'_recent_comments_block.html' : trim( $options[4] );
+	$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_recent_comments_block.html' : trim( $options[1] );
+	$disp_count = empty( $options[2] ) ? '10' : $options[2] ;
+	$disp_length = empty( $options[3] ) ? '30' : $options[3] ;
+	$selected = array_slice($options,4); // get allowed cats
 //	$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
 	$mydirpath = get_xpress_dir_path();
Index: trunk/wp-content/themes/xpress_default/blocks/recent_posts_content_block_theme.php
===================================================================
--- trunk/wp-content/themes/xpress_default/blocks/recent_posts_content_block_theme.php	(revision 119)
+++ trunk/wp-content/themes/xpress_default/blocks/recent_posts_content_block_theme.php	(revision 120)
@@ -5,10 +5,10 @@
 {
 	$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
-	$disp_count =  ($options[1])?intval($options[1]):10;
-	$except = empty( $options[2] ) ? false : true ;
-	$except_size =  ($options[3])?intval($options[3]):100;
-	$tag_select = $options[4] ;
-    $selected = array_slice($options,5); // get allowed cats
-	$this_template = empty( $options[6] ) ? 'db:'.$mydirname.'_recent_posts_content_block.html' : trim( $options[6] );
+	$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_recent_posts_content_block.html' : trim( $options[1] );
+	$disp_count =  ($options[2])?intval($options[2]):10;
+	$except = empty( $options[3] ) ? false : true ;
+	$except_size =  ($options[4])?intval($options[4]):100;
+	$tag_select = $options[5] ;
+    $selected = array_slice($options,6); // get allowed cats
 //	$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
 	$mydirpath = get_xpress_dir_path();
Index: trunk/wp-content/themes/xpress_default/blocks/recent_posts_list_block_theme.php
===================================================================
--- trunk/wp-content/themes/xpress_default/blocks/recent_posts_list_block_theme.php	(revision 119)
+++ trunk/wp-content/themes/xpress_default/blocks/recent_posts_list_block_theme.php	(revision 120)
@@ -3,10 +3,10 @@
 {
 	$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
-	$disp_count = empty( $options[1] ) ? '10' : $options[1] ;
-	$disp_red = empty( $options[2] ) ? '1' : $options[2] ;
-	$disp_green = empty( $options[3] ) ? '7' : $options[3] ;
-	$tag_select = $options[4] ;
-	$selected = array_slice($options,5); // get allowed cats
-	$this_template = empty( $options[6] ) ? 'db:'.$mydirname.'_recent_posts_list_block.html' : trim( $options[6] );
+	$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_recent_posts_list_block.html' : trim( $options[1] );
+	$disp_count = empty( $options[2] ) ? '10' : $options[2] ;
+	$disp_red = empty( $options[3] ) ? '1' : $options[3] ;
+	$disp_green = empty( $options[4] ) ? '7' : $options[4] ;
+	$tag_select = $options[5] ;
+	$selected = array_slice($options,6); // get allowed cats
 //	$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
 	$mydirpath = get_xpress_dir_path();
