Index: trunk/include/xpress_render.php
===================================================================
--- trunk/include/xpress_render.php	(revision 25)
+++ trunk/include/xpress_render.php	(revision 26)
@@ -35,10 +35,36 @@
 }
 
+// get sidebar rendaring 
+function get_sidebar_rander($name = null)
+{
+	$templates = array();
+	if ( isset($name) )
+		$templates[] = "sidebar-{$name}.php";
+
+	$templates[] = "sidebar.php";
+
+	$link= locate_template($templates, false);
+	if ('' == $link)
+		$link =  get_theme_root() . '/default/sidebar.php';
+
+	ob_start();
+		require($link);
+		$sidebar = ob_get_contents();
+	ob_end_clean();
+	return $sidebar;
+}
+
 // < body > tag is pulled out from the header of html contents. 
 function get_body($contents)
 {
+	$xpess_config = new XPressME_Class();
 	$pattern = "<body[^>]*?>(.*)<\/body>";
 	preg_match("/".$pattern."/s",  $contents, $body_matches);
 	$body = $body_matches[1];
+
+	if (!$xpess_config->is_theme_sidebar_disp){
+		$side_panel = get_sidebar_rander();
+			$body = str_replace($side_panel,'',$body);
+	}
 	return $body;
 }
Index: trunk/wp-content/plugins/xpressme/language/xpressme-ja.po
===================================================================
--- trunk/wp-content/plugins/xpressme/language/xpressme-ja.po	(revision 25)
+++ trunk/wp-content/plugins/xpressme/language/xpressme-ja.po	(revision 26)
@@ -3,5 +3,5 @@
 "Project-Id-Version: fckeditor for xpress\n"
 "POT-Creation-Date: \n"
-"PO-Revision-Date: 2008-12-08 16:40+0900\n"
+"PO-Revision-Date: 2008-12-14 13:55+0900\n"
 "Last-Translator: toemon <toychee@toemon.com>\n"
 "Language-Team: \n"
@@ -12,20 +12,41 @@
 "X-Poedit-Country: JAPAN\n"
 "X-Poedit-KeywordsList: _e;__\n"
-"X-Poedit-Basepath: C:\\Data\\toemon.com\\Xpress\\FCK\\fckeditor_for_xpress_lang\n"
-"X-Poedit-SearchPath-0: fckeditor_for_xpress\n"
+"X-Poedit-Basepath: C:\\XPressME2_SVN\\trunk\\wp-content\\plugins\\xpressme\n"
+"X-Poedit-SearchPath-0: .\n"
 
+#: xpressme_class.php:19
 msgid "XPressME Settings"
 msgstr "XPressME設定"
 
+#: xpressme_class.php:66
+msgid "YES"
+msgstr "はい"
+
+#: xpressme_class.php:67
+msgid "NO"
+msgstr "いいえ"
+
+#: xpressme_class.php:101
 msgid "XPressME Configuration Page"
 msgstr "XPressMEの設定ページ"
 
+#: xpressme_class.php:105
 msgid "Media Upload Base Path"
 msgstr "メディアアップロードのベースパス設定"
 
+#: xpressme_class.php:106
 msgid "Use XOOPS UPLOAD PATH"
 msgstr "XOOPSのアップロードパスを使用する。"
 
+#: xpressme_class.php:107
 msgid "USE WordPress BASE_PATH"
 msgstr "WordPressのベースパスを使用する。"
 
+#: xpressme_class.php:114
+msgid "Update Config"
+msgstr "更新"
+
+#: xpressme_class.php:115
+msgid "Preset Config"
+msgstr "プリセット"
+
Index: trunk/wp-content/plugins/xpressme/xpressme_class.php
===================================================================
--- trunk/wp-content/plugins/xpressme/xpressme_class.php	(revision 25)
+++ trunk/wp-content/plugins/xpressme/xpressme_class.php	(revision 26)
@@ -6,4 +6,5 @@
 	var $pluginName = 'xpressme';	
 	var $is_use_xoops_upload_path;
+	var $is_theme_sidebar_disp;
 	
 	//constructor
@@ -30,4 +31,5 @@
 	{
 		$this->is_use_xoops_upload_path = true;
+		$this->is_theme_sidebar_disp = true;
 	}
 	
@@ -49,5 +51,6 @@
 	{
 		$write_options = array (
-			'is_use_xoops_upload_path' => $this->is_use_xoops_upload_path 
+			'is_use_xoops_upload_path' => $this->is_use_xoops_upload_path ,
+			'is_theme_sidebar_disp' => $this->is_theme_sidebar_disp 
 		);
 		if ($mode == 'add_new') {
@@ -61,4 +64,5 @@
 	{
 		$this->is_use_xoops_upload_path = stripslashes(trim($_POST['ch_is_use_xoops_upload_path']));
+		$this->is_theme_sidebar_disp = stripslashes(trim($_POST['ch_is_theme_sidebar_disp']));
 	}
 	
@@ -107,4 +111,9 @@
 												__('USE WordPress BASE_PATH','xpressme')
 												);
+		echo				$this->yes_no_radio_option('is_theme_sidebar_disp',
+												__('Thema Sidebar Display','xpressme'),
+												__('YES','xpressme'),
+												__('NO','xpressme')
+												);
 			
 //		$this->is_use_xoops_upload_path_html();
