Index: trunk/wp-content/themes/xpress_default/blocks/enhanced_block_theme.php
===================================================================
--- trunk/wp-content/themes/xpress_default/blocks/enhanced_block_theme.php	(revision 138)
+++ trunk/wp-content/themes/xpress_default/blocks/enhanced_block_theme.php	(revision 138)
@@ -0,0 +1,24 @@
+<?php
+function enhanced_block($options)
+{
+	$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+	$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_enhanced_block.html' : trim( $options[1] );
+	$include_file = empty( $options[2] ) ? '' : $options[2] ;
+	
+	$include_path = dirname(__FILE__) . '/my_' . $include_file . '_block.php';
+
+	if (empty($include_file)) {
+		$output = __('The include file name to display it is not set.','xpress');
+	} else if (! file_exists($include_path)) {
+		$output = sprintf(__('File %s not exist.','xpress'),$include_path);
+	} else {
+		ob_start();
+			require $include_path;
+			$output = ob_get_contents();
+		ob_end_clean();
+		if (empty($output)) $output = __('PHP code error','xpress') . '( ' . $php_code . ' )';
+	}
+	$block['enhanced'] = $output;
+	return $block ;	
+}
+?>
Index: trunk/wp-content/themes/xpress_default/ja.po
===================================================================
--- trunk/wp-content/themes/xpress_default/ja.po	(revision 137)
+++ trunk/wp-content/themes/xpress_default/ja.po	(revision 138)
@@ -18,5 +18,5 @@
 "Report-Msgid-Bugs-To: wp-polyglots@lists.automattic.com\n"
 "POT-Creation-Date: 2008-08-15 21:16+0900\n"
-"PO-Revision-Date: 2009-03-20 12:18+0900\n"
+"PO-Revision-Date: 2009-03-25 00:23+0900\n"
 "Last-Translator: toemon <toychee@toemon.com>\n"
 "Language-Team: toemon <info@toemon.com>\n"
@@ -690,4 +690,17 @@
 msgstr ""
 
+#: xpress_default/blocks/enhanced_block_theme.php:11
+msgid "The include file name to display it is not set."
+msgstr "表示を行うためのインクルードファイル名が設定されていません。"
+
+#: xpress_default/blocks/enhanced_block_theme.php:13
+#, php-format
+msgid "File %s not exist."
+msgstr "ファイル %s が見つかりません。"
+
+#: xpress_default/blocks/enhanced_block_theme.php:19
+msgid "PHP code error"
+msgstr "PHPコードにエラーがあります。"
+
 #: xpress_default/blocks/meta_block_theme.php:24
 msgid "Posts RSS"
