Index: /tags/Ver2.5.4/extras/for_wordpressme2011/ja_EUC/wp-config.php
===================================================================
--- /tags/Ver2.5.4/extras/for_wordpressme2011/ja_EUC/wp-config.php	(revision 866)
+++ /tags/Ver2.5.4/extras/for_wordpressme2011/ja_EUC/wp-config.php	(revision 866)
@@ -0,0 +1,85 @@
+<?php
+/** It is an additional loading for XPressME. */
+require_once dirname( __FILE__ ).'/include/add_xpress_config.php' ;
+
+/**
+ * mb_language() sets language. If language  is omitted, it returns current language as string.
+ * language setting is used for encoding e-mail messages. 
+ * Valid languages are "Japanese", "ja","English","en" and "uni" (UTF-8). 
+ * mb_send_mail() uses this setting to encode e-mail.
+ * Language and its setting is ISO-2022-JP/Base64 for Japanese, UTF-8/Base64 for uni, ISO-8859-1/quoted printable for English. 
+ */
+ if (function_exists("mb_language")) mb_language('Japanese');
+ if (function_exists("mb_internal_encoding")) mb_internal_encoding('EUC-JP');
+
+
+// ** MySQL settings - You can get this info from your web host ** //
+// Do not change  'DB_NAME','DB_USER','DB_PASSWORD' & 'DB_HOST'
+// because copies a set value of XOOPS. 
+
+/** Do not change. The name of the database for WordPress */
+define('DB_NAME', $xoops_config->xoops_db_name);
+
+/** Do not change. MySQL database username */
+define('DB_USER', $xoops_config->xoops_db_user);
+
+/** Do not change. MySQL database password */
+define('DB_PASSWORD', $xoops_config->xoops_db_pass);
+
+/** Do not change. MySQL hostname */
+define('DB_HOST', $xoops_config->xoops_db_host);
+	
+/** Database Charset to use in creating database tables. */
+define('DB_CHARSET', 'ujis');
+
+/** The Database Collate type. Don't change this if in doubt. */
+define('DB_COLLATE', '');
+
+//define('WP_DEBUG' ,true);
+
+/**#@+
+ * Authentication Unique Keys.
+ *
+ * Change these to different unique phrases!
+ * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/ WordPress.org secret-key service}
+ *
+ * @since 2.6.0
+ */
+define('AUTH_KEY', 'put your unique phrase here');
+define('SECURE_AUTH_KEY', 'put your unique phrase here');
+define('LOGGED_IN_KEY', 'put your unique phrase here');
+define('NONCE_KEY', 'put your unique phrase here');
+
+/**
+ * WordPress Database Table prefix.
+ *
+ * You can have multiple installations in one database if you give each a unique
+ * prefix. Only numbers, letters, and underscores please!
+ */
+// Do not change. $table_prefix is generated from XOOPS DB Priefix and the module directory name. 
+$table_prefix  = $xoops_config->module_db_prefix;
+
+/**
+ * WordPress Localized Language, defaults to Japanese.
+ *
+ * Change this to localize WordPress.  A corresponding MO file for the chosen
+ * language must be installed to wp-content/languages. For example, install
+ * de.mo to wp-content/languages and set WPLANG to 'de' to enable German
+ * language support.
+ *
+ * Example:
+ * define ('WPLANG', '');		// language support to English
+ */
+define ('WPLANG', 'ja_EUC');		// language support to Japanese
+
+/* That's all, stop editing! Happy blogging. */
+
+/** WordPress absolute path to the Wordpress directory. */
+if ( !defined('ABSPATH') )
+	define('ABSPATH', dirname(__FILE__).'/');
+
+/** Processing for XPressME is done.*/
+require_once( ABSPATH .'/include/add_xpress_process.php');
+
+require_once(ABSPATH.'wp-settings.php');
+?>
Index: /tags/Ver2.5.4/extras/for_wordpressme2011/ja_UTF/wp-config.php
===================================================================
--- /tags/Ver2.5.4/extras/for_wordpressme2011/ja_UTF/wp-config.php	(revision 866)
+++ /tags/Ver2.5.4/extras/for_wordpressme2011/ja_UTF/wp-config.php	(revision 866)
@@ -0,0 +1,84 @@
+<?php
+/** It is an additional loading for XPressME. */
+require_once dirname( __FILE__ ).'/include/add_xpress_config.php' ;
+
+/**
+ * mb_language() sets language. If language  is omitted, it returns current language as string.
+ * language setting is used for encoding e-mail messages. 
+ * Valid languages are "Japanese", "ja","English","en" and "uni" (UTF-8). 
+ * mb_send_mail() uses this setting to encode e-mail.
+ * Language and its setting is ISO-2022-JP/Base64 for Japanese, UTF-8/Base64 for uni, ISO-8859-1/quoted printable for English. 
+ */
+ if (function_exists("mb_language")) mb_language('Japanese');
+ if (function_exists("mb_internal_encoding")) mb_internal_encoding('UTF-8');
+
+// ** MySQL settings - You can get this info from your web host ** //
+// Do not change  'DB_NAME','DB_USER','DB_PASSWORD' & 'DB_HOST'
+// because copies a set value of XOOPS. 
+
+/** Do not change. The name of the database for WordPress */
+define('DB_NAME', $xoops_config->xoops_db_name);
+
+/** Do not change. MySQL database username */
+define('DB_USER', $xoops_config->xoops_db_user);
+
+/** Do not change. MySQL database password */
+define('DB_PASSWORD', $xoops_config->xoops_db_pass);
+
+/** Do not change. MySQL hostname */
+define('DB_HOST', $xoops_config->xoops_db_host);
+	
+/** Database Charset to use in creating database tables. */
+define('DB_CHARSET', 'utf8');
+
+/** The Database Collate type. Don't change this if in doubt. */
+define('DB_COLLATE', '');
+
+//define('WP_DEBUG' ,true);
+
+/**#@+
+ * Authentication Unique Keys.
+ *
+ * Change these to different unique phrases!
+ * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/ WordPress.org secret-key service}
+ *
+ * @since 2.6.0
+ */
+define('AUTH_KEY', 'put your unique phrase here');
+define('SECURE_AUTH_KEY', 'put your unique phrase here');
+define('LOGGED_IN_KEY', 'put your unique phrase here');
+define('NONCE_KEY', 'put your unique phrase here');
+
+/**
+ * WordPress Database Table prefix.
+ *
+ * You can have multiple installations in one database if you give each a unique
+ * prefix. Only numbers, letters, and underscores please!
+ */
+// Do not change. $table_prefix is generated from XOOPS DB Priefix and the module directory name. 
+$table_prefix  = $xoops_config->module_db_prefix;
+
+/**
+ * WordPress Localized Language, defaults to Japanese.
+ *
+ * Change this to localize WordPress.  A corresponding MO file for the chosen
+ * language must be installed to wp-content/languages. For example, install
+ * de.mo to wp-content/languages and set WPLANG to 'de' to enable German
+ * language support.
+ *
+ * Example:
+ * define ('WPLANG', '');		// language support to English
+ */
+define ('WPLANG', 'ja_UTF');		// language support to Japanese
+
+/* That's all, stop editing! Happy blogging. */
+
+/** WordPress absolute path to the Wordpress directory. */
+if ( !defined('ABSPATH') )
+	define('ABSPATH', dirname(__FILE__).'/');
+
+/** Processing for XPressME is done.*/
+require_once( ABSPATH .'/include/add_xpress_process.php');
+
+require_once(ABSPATH.'wp-settings.php');
+?>
Index: /tags/Ver2.5.4/extras/htaccess_for_xrea/readme.txt
===================================================================
--- /tags/Ver2.5.4/extras/htaccess_for_xrea/readme.txt	(revision 866)
+++ /tags/Ver2.5.4/extras/htaccess_for_xrea/readme.txt	(revision 866)
@@ -0,0 +1,3 @@
+File .htaccess effectively does the Wordpress up-loading by the XREA server. 
+
+Please upload file .htaccess in the wp-admin directory of the XPressME module. 
Index: /tags/Ver2.5.4/extras/htaccess_for_xrea/src/wp-admin/.htaccess
===================================================================
--- /tags/Ver2.5.4/extras/htaccess_for_xrea/src/wp-admin/.htaccess	(revision 866)
+++ /tags/Ver2.5.4/extras/htaccess_for_xrea/src/wp-admin/.htaccess	(revision 866)
@@ -0,0 +1,23 @@
+<files async-upload.php>
+AddHandler application/x-httpd-phpcgi .php
+</files>
+
+<files media-upload.php>
+AddHandler application/x-httpd-phpcgi .php
+</files>
+
+<Files plugin-install.php>
+AddHandler application/x-httpd-phpcgi .php
+</Files>
+
+<Files update.php>
+AddHandler application/x-httpd-phpcgi .php
+</Files>
+
+<Files update-core.php>
+AddHandler application/x-httpd-phpcgi .php
+</Files>
+
+<Files admin.php>
+AddHandler application/x-httpd-phpcgi .php
+</Files>
Index: /tags/Ver2.5.4/extras/htaccess_for_xrea/src/wp-content/.htaccess
===================================================================
--- /tags/Ver2.5.4/extras/htaccess_for_xrea/src/wp-content/.htaccess	(revision 866)
+++ /tags/Ver2.5.4/extras/htaccess_for_xrea/src/wp-content/.htaccess	(revision 866)
@@ -0,0 +1,3 @@
+<files uploader.php>
+AddHandler application/x-httpd-phpcgi .php
+</files>
Index: /tags/Ver2.5.4/extras/my_themes/404.php
===================================================================
--- /tags/Ver2.5.4/extras/my_themes/404.php	(revision 866)
+++ /tags/Ver2.5.4/extras/my_themes/404.php	(revision 866)
@@ -0,0 +1,29 @@
+<?php get_header(); ?>
+
+       <div id="xpress_wrap">
+	   
+	<?php if(xpress_is_theme_sidebar_disp()) : ?>
+	   
+		<div id="xpress_content" class="narrowcolumn">
+		
+	<?php else : ?>
+	
+		<div id="xpress_content" class="narrowcolumn_nonside">
+		
+	<?php endif; ?>
+
+    <div id="xpress_header">
+    	<div id="xpress_headerimg">
+    		<h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
+    		<div class="description"><?php bloginfo('description'); ?></div>
+    	</div>
+    </div>
+
+		<h2 class="center"><?php _e('Error 404 - Not Found', 'xpress'); ?></h2>
+
+	</div>
+       </div>
+
+<?php get_sidebar(); ?>
+
+<?php get_footer(); ?>
Index: /tags/Ver2.5.4/extras/my_themes/archives.php
===================================================================
--- /tags/Ver2.5.4/extras/my_themes/archives.php	(revision 866)
+++ /tags/Ver2.5.4/extras/my_themes/archives.php	(revision 866)
@@ -0,0 +1,32 @@
+<?php
+/*
+Template Name: Archives
+*/
+?>
+
+<?php get_header(); ?>
+
+<div id="xpress_content" class="widecolumn">
+
+    <div id="xpress_header">
+    	<div id="xpress_headerimg">
+    		<h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
+    		<div class="description"><?php bloginfo('description'); ?></div>
+    	</div>
+    </div>
+
+<?php include (get_template_directory() . '/searchform.php'); ?>
+
+	<h2><?php _e('Archives by Month:', 'xpress'); ?></h2>
+	<ul>
+		<?php wp_get_archives('type=monthly'); ?>
+	</ul>
+
+	<h2><?php _e('Archives by Subject:', 'xpress'); ?></h2>
+	<ul>
+		 <?php wp_list_categories(); ?>
+	</ul>
+
+</div>
+
+<?php get_footer(); ?>
Index: /tags/Ver2.5.4/extras/my_themes/comments-popup.php
===================================================================
--- /tags/Ver2.5.4/extras/my_themes/comments-popup.php	(revision 866)
+++ /tags/Ver2.5.4/extras/my_themes/comments-popup.php	(revision 866)
@@ -0,0 +1,116 @@
+<?php
+/* Don't remove these lines. */
+add_filter('comment_text', 'popuplinks');
+while ( have_posts()) : the_post();
+?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+     <title><?php printf(__('%1$s - Comments on %2$s', 'xpress'), get_option('blogname'), the_title('','',false)); ?></title>
+
+	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
+	<style type="text/css" media="screen">
+		@import url( <?php bloginfo('stylesheet_url'); ?> );
+		body { margin: 3px; }
+	</style>
+
+</head>
+<body id="xpress_commentspopup">
+
+<h1 id="xpress_header"><a href="" title="<?php echo get_option('blogname'); ?>"><?php echo get_option('blogname'); ?></a></h1>
+
+<h2 id="xpress_comments"><?php _e('Comments', 'xpress'); ?></h2>
+
+<p><a href="<?php echo get_post_comments_feed_link($post->ID); ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.', 'xpress'); ?></a></p>
+
+<?php if ('open' == $post->ping_status) { ?>
+<p><?php printf(__('The <abbr title="Universal Resource Locator">URL</abbr> to TrackBack this entry is: <em>%s</em>', 'xpress'), get_trackback_url()); ?></p>
+<?php } ?>
+
+<?php
+// this line is WordPress' motor, do not delete it.
+$commenter = wp_get_current_commenter();
+extract($commenter);
+$comments = get_approved_comments($id);
+$post = get_post($id);
+if (!empty($post->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH] != $post->post_password) {  // and it doesn't match the cookie
+	echo(get_the_password_form());
+} else { ?>
+
+<?php if ($comments) { ?>
+<ol id="xpress_commentlist">
+<?php foreach ($comments as $comment) { ?>
+	<li id="comment-<?php comment_ID() ?>">
+	<?php comment_text() ?>
+	<p><cite><?php comment_type(__('Comment', 'xpress'), __('Trackback', 'xpress'), __('Pingback', 'xpress')); ?> <?php printf(__('by %1$s &#8212; %2$s @ <a href="#comment-%3$s">%4$s</a>', 'xpress'), get_comment_author_link(), get_comment_date(), get_comment_ID(), get_comment_time()); ?></cite></p>
+	</li>
+
+<?php } // end for each comment ?>
+</ol>
+<?php } else { // this is displayed if there are no comments so far ?>
+	<p><?php _e('No comments yet.', 'xpress'); ?></p>
+<?php } ?>
+
+<?php if ('open' == $post->comment_status) { ?>
+<h2><?php _e('Leave a comment', 'xpress'); ?></h2>
+<p><?php printf(__('Line and paragraph breaks automatic, e-mail address never displayed, <acronym title="Hypertext Markup Language">HTML</acronym> allowed: <code>%s</code>', 'xpress'), allowed_tags()); ?></p>
+
+<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
+<?php if ( $user_ID ) : ?>
+	<p><?php printf(__('Logged in as <a href="%1$s">%2$s</a>. <a href="%3$s" title="Log out of this account">Log out &raquo;</a>', 'xpress'), get_option('siteurl') . '/wp-admin/profile.php', $user_identity, get_option('siteurl') . '/wp-login.php?action=logout'); ?></p>
+<?php else : ?>
+	<p>
+	  <input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" />
+	   <label for="author"><?php _e('Name', 'xpress'); ?></label>
+	<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
+	<input type="hidden" name="redirect_to" value="<?php echo attribute_escape($_SERVER["REQUEST_URI"]); ?>" />
+	</p>
+
+	<p>
+	  <input type="text" name="email" id="xpress_email" value="<?php echo $comment_author_email; ?>" size="28" tabindex="2" />
+	   <label for="email"><?php _e('E-mail', 'xpress'); ?></label>
+	</p>
+
+	<p>
+	  <input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="28" tabindex="3" />
+	   <label for="url"><?php _e('<abbr title="Universal Resource Locator">URL</abbr>', 'xpress'); ?></label>
+	</p>
+<?php endif; ?>
+
+	<p>
+	  <label for="comment"><?php _e('Your Comment', 'xpress'); ?></label>
+	<br />
+	  <textarea name="comment" id="xpress_comment" cols="70" rows="4" tabindex="4"></textarea>
+	</p>
+
+	<p>
+	  <input name="submit" type="submit" tabindex="5" value="<?php _e('Say It!' , 'xpress'); ?>" />
+	</p>
+	<?php do_action('comment_form', $post->ID); ?>
+</form>
+<?php } else { // comments are closed ?>
+<p><?php _e('Sorry, the comment form is closed at this time.', 'xpress'); ?></p>
+<?php }
+} // end password check
+?>
+
+<div><strong><a href="javascript:window.close()"><?php _e('Close this window.', 'xpress'); ?></a></strong></div>
+
+<?php // if you delete this the sky will fall on your head
+endwhile;
+?>
+
+<!-- // this is just the end of the motor - don't touch that line either :) -->
+<?php //} ?>
+<p class="credit"><?php timer_stop(1); ?> <cite><?php printf(__('Powered by <a href="%s" title="Powered by WordPress, state-of-the-art semantic personal publishing platform"><strong>WordPress</strong></a>', 'xpress'), 'http://wordpress.org/'); ?></cite></p>
+<?php // Seen at http://www.mijnkopthee.nl/log2/archive/2003/05/28/esc(18) ?>
+<script type="text/javascript">
+<!--
+document.onkeypress = function esc(e) {
+	if(typeof(e) == "undefined") { e=event; }
+	if (e.keyCode == 27) { self.close(); }
+}
+// -->
+</script>
+</body>
+</html>
Index: /tags/Ver2.5.4/extras/my_themes/comments.php
===================================================================
--- /tags/Ver2.5.4/extras/my_themes/comments.php	(revision 866)
+++ /tags/Ver2.5.4/extras/my_themes/comments.php	(revision 866)
@@ -0,0 +1,125 @@
+<?php // Do not delete these lines
+	if (isset($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
+		die ('Please do not load this page directly. Thanks!');
+	
+	if ( post_password_required() ) { ?>
+		<p class="nocomments"><?php _e('This post is password protected. Enter the password to view comments.', 'xpress'); ?></p> 
+	<?php
+		return;
+	}
+
+?>
+
+<!-- You can start editing here. -->
+<?php if ( xpress_is_wp_version('>=','2.7')) : ?>
+	<?php if ( have_comments() ) : ?>
+		<?php if ( ! empty($comments_by_type['comment']) ) : ?>
+			<h3 id="xpress_comments"><?php comments_number(__('No Responses', 'xpress'), __('One Response', 'xpress'), __('% Responses', 'xpress'));?> <?php printf(__('to &#8220;%s&#8221;', 'xpress'), the_title('', '', false)); ?></h3>
+			<div id="xpress_commentlist">
+				<?php wp_list_comments('type=comment&style=div'); ?>
+			</div>
+		<?php endif; ?>
+		
+		<div class="navigation">
+			<div class="alignleft"><?php previous_comments_link() ?></div>
+			<div class="alignright"><?php next_comments_link() ?></div>
+		</div>
+	<?php else : // this is displayed if there are no comments so far ?>
+
+		<?php if ('open' == $post->comment_status) : ?>
+			<!-- If comments are open, but there are no comments. -->
+		<?php else : // comments are closed ?>
+			<!-- If comments are closed. -->
+			<p class="nocomments"><?php _e('Comments are closed.' , 'xpress'); ?></p>
+		<?php endif; ?>
+	<?php endif; ?>
+<?php else : // is version 2.7 under?>
+	<?php if ( $comments ) : ?>
+		<h3 id="xpress_comments"><?php comments_number(__('No Responses', 'xpress'), __('One Response', 'xpress'), __('% Responses', 'xpress'));?> <?php printf(__('to &#8220;%s&#8221;', 'xpress'), the_title('', '', false)); ?></h3>
+		<div id="xpress_commentlist">
+			<?php foreach ($comments as $comment) : ?>
+				<li <?php echo $oddcomment; ?>id="comment-<?php comment_ID() ?>">
+					<?php if (function_exists('get_avatar')) echo get_avatar( $comment, 32 ); ?>	
+					<?php printf(__('<cite>%s</cite> Says:', 'xpress'), get_comment_author_link()); ?>
+					<?php if ($comment->comment_approved == '0') : ?>
+					<em><?php _e('Your comment is awaiting moderation.', 'xpress'); ?></em>
+					<?php endif; ?>
+					<br />
+					<small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title=""><?php printf(__('%1$s at %2$s', 'xpress'), get_comment_date(), get_comment_time()); ?></a> <?php edit_comment_link(__('Comment Edit', 'xpress'),'&nbsp;&nbsp;',''); ?></small>
+					<?php comment_text() ?>
+				</li>
+				<?php
+					/* Changes every other comment to a different class */
+					$oddcomment = ( empty( $oddcomment ) ) ? 'class="alt" ' : '';
+				?>
+			<?php endforeach; /* end for each comment */ ?>
+			</ol>
+		</div>
+	<?php else : // this is displayed if there are no comments so far ?>
+		<?php if ('open' == $post->comment_status) : ?>
+			<!-- If comments are open, but there are no comments. -->
+		<?php else : // comments are closed ?>
+			<!-- If comments are closed. -->
+			<p class="nocomments"><?php _e('Comments are closed.' , 'xpress'); ?></p>
+		<?php endif; ?>
+	<?php endif; ?>
+<?php endif; ?>
+
+<?php if ('open' == $post->comment_status) : ?>
+	<div id="respond">
+		<h3><?php comment_form_title( __('Leave a Reply', 'xpress'), __('Leave a Reply for %s' , 'xpress') ); ?></h3>
+			
+		<?php if ( function_exists('cancel_comment_reply_link') ): ?>
+			<div id="cancel-comment-reply"> 
+				<small><?php cancel_comment_reply_link() ?></small>
+			</div> 
+		<?php endif; ?>
+		
+		<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
+			<p><?php printf(__('You must be <a href="%s">logged in</a> to post a comment.', 'xpress'), get_option('siteurl') . '/wp-login.php?redirect_to=' . urlencode(get_permalink())); ?></p>
+		<?php else : ?>
+			<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
+				<div id="xpress-comment-user">
+					<?php if ( $user_ID ) : ?>
+						<?php if ( function_exists('wp_logout_url') ): ?>
+							<p><?php printf(__('Logged in as <a href="%1$s">%2$s</a>.', 'xpress'), get_option('siteurl') . '/wp-admin/profile.php', $user_identity); ?> <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="<?php _e('Log out of this account', 'xpress'); ?>"><?php _e('Log out &raquo;', 'xpress'); ?></a></p>
+						<?php else : ?>
+							<p><?php printf(__('Logged in as <a href="%1$s">%2$s</a>.', 'xpress'), get_option('siteurl') . '/wp-admin/profile.php', $user_identity); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log out of this account', 'xpress'); ?>"><?php _e('Log out &raquo;', 'xpress'); ?></a></p>
+						<?php endif; ?>
+					<?php else : ?>
+						<p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" <?php if ($req) echo "aria-required='true'"; ?> />
+						<label for="author"><small><?php _e('Name', 'xpress'); ?> <?php if ($req) _e("(required)", "xpress"); ?></small></label></p>
+
+						<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?> />
+						<label for="email"><small><?php _e('Mail (will not be published)', 'xpress'); ?> <?php if ($req) _e("(required)", "xpress"); ?></small></label></p>
+
+						<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
+						<label for="url"><small><?php _e('Website', 'xpress'); ?></small></label></p>
+					<?php endif; ?>
+				</div>
+
+				<div id="xpress-comment-form">
+					<!--<p><small><?php printf(__('<strong>XHTML:</strong> You can use these tags: <code>%s</code>', 'xpress'), allowed_tags()); ?></small></p>-->
+
+					<textarea name="comment" id="comment" cols="100" rows="5" tabindex="4" style="width:100%"></textarea>
+					<div class ="xpress-comment-submit">
+						<input name="submit" type="submit" id="submit" tabindex="5" value="<?php _e('Submit Comment', 'xpress'); ?>" />
+					</div>
+					<?php if (function_exists('comment_id_fields')) : ?>
+						<?php comment_id_fields(); //@since 2.7.0 ?>  
+					<?php else : ?>
+						<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
+					<?php endif; ?>
+					<?php
+						ob_start();
+							do_action('comment_form', $post->ID);
+							$output = ob_get_contents();
+						ob_end_clean();
+						echo str_replace(' id="_wp', ' id="wp', $output);
+					?>
+				</div>
+			</form>
+		<?php endif; // If registration required and not logged in ?>
+	</div>
+
+<?php endif; // if you delete this the sky will fall on your head ?>
Index: /tags/Ver2.5.4/extras/my_themes/footer.php
===================================================================
--- /tags/Ver2.5.4/extras/my_themes/footer.php	(revision 866)
+++ /tags/Ver2.5.4/extras/my_themes/footer.php	(revision 866)
@@ -0,0 +1,17 @@
+<hr class="xpress-border"></hr>
+<?php
+	/* A sidebar in the footer? Yep. You can can customize
+	 * your footer with four columns of widgets.
+	 */
+	get_sidebar( 'footer' );
+?>
+<div id="xpress_footer">
+	<div class="xpress_rss">
+		<?php printf(__('%1$s and %2$s.', 'xpress'), '<a href="' . get_bloginfo('rss2_url') . '">' . __('Entries (RSS)', 'xpress') . '</a>', '<a href="' . get_bloginfo('comments_rss2_url') . '">' . __('Comments (RSS)', 'xpress') . '</a>'); ?>
+	</div>
+	<div class="xpress_credit"><?php echo xpress_credit('echo=0'). ' (' . xpress_convert_time('echo=0&format=' . __('%.3f sec.', 'xpress')) . ')'; ?></div>
+</div>
+</div>
+		<?php wp_footer(); ?>
+</body>
+</html>
Index: /tags/Ver2.5.4/extras/my_themes/functions.php
===================================================================
--- /tags/Ver2.5.4/extras/my_themes/functions.php	(revision 866)
+++ /tags/Ver2.5.4/extras/my_themes/functions.php	(revision 866)
@@ -0,0 +1,550 @@
+<?php
+/** Tell WordPress to run xpress_setup() when the 'after_setup_theme' hook is run. */
+add_action( 'after_setup_theme', 'xpress_setup' );
+if ( ! function_exists( 'xpress_setup' ) ):
+function xpress_setup() {
+	// This theme uses post thumbnails
+	add_theme_support( 'post-thumbnails' );
+	// Add default posts and comments RSS feed links to head
+	add_theme_support( 'automatic-feed-links' );
+
+	// Make theme available for translation
+	// Translations can be filed in the /languages/ directory
+	load_theme_textdomain( 'xpress', TEMPLATEPATH . '/languages' );
+
+	$locale = get_locale();
+	$locale_file = TEMPLATEPATH . "/languages/$locale.php";
+	if ( is_readable( $locale_file ) )
+		require_once( $locale_file );
+
+	// This theme uses wp_nav_menu()
+	if ( function_exists('add_theme_support') )add_theme_support( 'nav-menus' );
+	// This theme uses wp_nav_menu() in one location.
+	if ( function_exists('register_nav_menus') ){
+			register_nav_menus( array(
+			'primary' => __('Primary Navigation','xpress'),
+		) );
+	}
+	
+}	
+endif;
+	
+if ( function_exists('register_sidebar') )
+    register_sidebar(array(
+        'before_widget' => '<li id="%1$s" class="widget %2$s">',
+        'after_widget' => '</li>',
+        'before_title' => '<h2 class="widgettitle">',
+        'after_title' => '</h2>',
+    ));
+
+
+function xpress_head() {
+	$head = "<style type='text/css'>\n<!--";
+	$output = '';
+	if ( xpress_header_image() ) {
+		$url =  xpress_header_image_url() ;
+		$output .= "#xpress_header { background: url('$url') repeat-x bottom left; }\n";
+	}
+	if ( false !== ( $color = xpress_header_color() ) ) {
+		$output .= "#xpress-header-bar-top a, #xpress-header-bar-top a:visited, #xpress-header-bar-top .xpress-description ,#xpress-header-bar-top .xpress-conditional-title,#access a, #xpress-menu a{ color: $color; }\n";
+	}
+	if ( false !== ( $display = xpress_header_display() ) ) {
+		$output .= "#headerimg { display: $display }\n";
+	}
+	$foot = "--></style>\n";
+	if ( '' != $output )
+		echo $head . $output . $foot;
+}
+
+add_action('wp_head', 'xpress_head');
+
+function xpress_header_image() {
+	return apply_filters('xpress_header_image', get_option('xpress_header_image'));
+}
+
+function xpress_upper_color() {
+	if (strpos($url = xpress_header_image_url(), 'header-img.php?') !== false) {
+		parse_str(substr($url, strpos($url, '?') + 1), $q);
+		return $q['upper'];
+	} else
+		return 'ffffff';
+}
+
+function xpress_lower_color() {
+	if (strpos($url = xpress_header_image_url(), 'header-img.php?') !== false) {
+		parse_str(substr($url, strpos($url, '?') + 1), $q);
+		return $q['lower'];
+	} else
+		return 'ffffff';
+}
+
+function xpress_header_image_url() {
+	if ( $image = xpress_header_image() )
+		$url = get_template_directory_uri() . '/images/' . $image;
+	else
+		$url = get_template_directory_uri() . '/images/xpressheader.jpg';
+
+	return $url;
+}
+
+function xpress_header_color() {
+	return apply_filters('xpress_header_color', get_option('xpress_header_color'));
+}
+
+function xpress_header_color_string() {
+	$color = xpress_header_color();
+	if ( false === $color )
+		return 'black';
+
+	return $color;
+}
+
+function xpress_header_display() {
+	return apply_filters('xpress_header_display', get_option('xpress_header_display'));
+}
+
+function xpress_header_display_string() {
+	$display = xpress_header_display();
+	return $display ? $display : 'inline';
+}
+
+add_action('admin_menu', 'xpress_add_theme_page');
+
+function xpress_add_theme_page() {
+	if ( isset( $_GET['page'] ) && $_GET['page'] == basename(__FILE__) ) {
+		if ( isset( $_REQUEST['action'] ) && 'save' == $_REQUEST['action'] ) {
+			check_admin_referer('xpress-header');
+			if ( isset($_REQUEST['njform']) ) {
+				if ( isset($_REQUEST['defaults']) ) {
+					delete_option('xpress_header_image');
+					delete_option('xpress_header_color');
+					delete_option('xpress_header_display');
+				} else {
+					if ( '' == $_REQUEST['njfontcolor'] )
+						delete_option('xpress_header_color');
+					else {
+						$fontcolor = preg_replace('/^.*(#[0-9a-fA-F]{6})?.*$/', '$1', $_REQUEST['njfontcolor']);
+						update_option('xpress_header_color', $fontcolor);
+					}
+					if ( preg_match('/[0-9A-F]{6}|[0-9A-F]{3}/i', $_REQUEST['njuppercolor'], $uc) && preg_match('/[0-9A-F]{6}|[0-9A-F]{3}/i', $_REQUEST['njlowercolor'], $lc) ) {
+						$uc = ( strlen($uc[0]) == 3 ) ? $uc[0]{0}.$uc[0]{0}.$uc[0]{1}.$uc[0]{1}.$uc[0]{2}.$uc[0]{2} : $uc[0];
+						$lc = ( strlen($lc[0]) == 3 ) ? $lc[0]{0}.$lc[0]{0}.$lc[0]{1}.$lc[0]{1}.$lc[0]{2}.$lc[0]{2} : $lc[0];
+						update_option('xpress_header_image', "header-img.php?upper=$uc&lower=$lc");
+					}
+
+					if ( isset($_REQUEST['toggledisplay']) ) {
+						if ( false === get_option('xpress_header_display') )
+							update_option('xpress_header_display', 'none');
+						else
+							delete_option('xpress_header_display');
+					}
+				}
+			} else {
+
+				if ( isset($_REQUEST['headerimage']) ) {
+					check_admin_referer('xpress-header');
+					if ( '' == $_REQUEST['headerimage'] )
+						delete_option('xpress_header_image');
+					else {
+						$headerimage = preg_replace('/^.*?(header-img.php\?upper=[0-9a-fA-F]{6}&lower=[0-9a-fA-F]{6})?.*$/', '$1', $_REQUEST['headerimage']);
+						update_option('xpress_header_image', $headerimage);
+					}
+				}
+
+				if ( isset($_REQUEST['fontcolor']) ) {
+					check_admin_referer('xpress-header');
+					if ( '' == $_REQUEST['fontcolor'] )
+						delete_option('xpress_header_color');
+					else {
+						$fontcolor = preg_replace('/^.*?(#[0-9a-fA-F]{6})?.*$/', '$1', $_REQUEST['fontcolor']);
+						update_option('xpress_header_color', $fontcolor);
+					}
+				}
+
+				if ( isset($_REQUEST['fontdisplay']) ) {
+					check_admin_referer('xpress-header');
+					if ( '' == $_REQUEST['fontdisplay'] || 'inline' == $_REQUEST['fontdisplay'] )
+						delete_option('xpress_header_display');
+					else
+						update_option('xpress_header_display', 'none');
+				}
+			}
+			
+
+			//print_r($_REQUEST);
+			wp_redirect("themes.php?page=functions.php&saved=true");
+			die;
+		}
+		add_action('admin_head', 'xpress_theme_page_head');
+		
+		if ( isset( $_REQUEST['action'] ) && 'update_footer' == $_REQUEST['action'] ) {
+			check_admin_referer('xpress-footer');
+			if ( isset($_REQUEST['xpress_footer_sidebars_count']) ) {
+				check_admin_referer('xpress-footer');
+				if ( '' == $_REQUEST['xpress_footer_sidebars_count'] || '0' == $_REQUEST['xpress_footer_sidebars_count'] ){
+					delete_option('xpress_footer_sidebars_count');
+				} else {
+					update_option('xpress_footer_sidebars_count',  $_REQUEST['xpress_footer_sidebars_count']);
+				}
+			}
+
+			//print_r($_REQUEST);
+			wp_redirect("themes.php?page=functions.php&footer_saved=true");
+			die;
+		}
+	}
+	add_theme_page(__('Header & Footer', 'xpress'), __('Header & Footer', 'xpress'), 'edit_themes', basename(__FILE__), 'xpress_theme_header_page');
+}
+
+
+function xpress_theme_page_head() {
+?>
+<script type="text/javascript" src="../wp-includes/js/colorpicker.js"></script>
+<script type='text/javascript'>
+// <![CDATA[
+	function pickColor(color) {
+		ColorPicker_targetInput.value = color;
+		kUpdate(ColorPicker_targetInput.id);
+	}
+	function PopupWindow_populate(contents) {
+		contents += '<br /><p style="text-align:center;margin-top:0px;"><input type="button" class="button-secondary" value="<?php echo attribute_escape(__('Close Color Picker', 'xpress')); ?>" onclick="cp.hidePopup(\'prettyplease\')"></input></p>';
+		this.contents = contents;
+		this.populated = false;
+	}
+	function PopupWindow_hidePopup(magicword) {
+		if ( magicword != 'prettyplease' )
+			return false;
+		if (this.divName != null) {
+			if (this.use_gebi) {
+				document.getElementById(this.divName).style.visibility = "hidden";
+			}
+			else if (this.use_css) {
+				document.all[this.divName].style.visibility = "hidden";
+			}
+			else if (this.use_layers) {
+				document.layers[this.divName].visibility = "hidden";
+			}
+		}
+		else {
+			if (this.popupWindow && !this.popupWindow.closed) {
+				this.popupWindow.close();
+				this.popupWindow = null;
+			}
+		}
+		return false;
+	}
+	function colorSelect(t,p) {
+		if ( cp.p == p && document.getElementById(cp.divName).style.visibility != "hidden" )
+			cp.hidePopup('prettyplease');
+		else {
+			cp.p = p;
+			cp.select(t,p);
+		}
+	}
+	function PopupWindow_setSize(width,height) {
+		this.width = 162;
+		this.height = 210;
+	}
+
+	var cp = new ColorPicker();
+	function advUpdate(val, obj) {
+		document.getElementById(obj).value = val;
+		kUpdate(obj);
+	}
+	function kUpdate(oid) {
+		if ( 'uppercolor' == oid || 'lowercolor' == oid ) {
+			uc = document.getElementById('uppercolor').value.replace('#', '');
+			lc = document.getElementById('lowercolor').value.replace('#', '');
+			hi = document.getElementById('headerimage');
+			hi.value = 'header-img.php?upper='+uc+'&lower='+lc;
+			document.getElementById('header').style.background = 'url("<?php echo get_template_directory_uri(); ?>/images/'+hi.value+'") center no-repeat';
+			document.getElementById('advuppercolor').value = '#'+uc;
+			document.getElementById('advlowercolor').value = '#'+lc;
+		}
+		if ( 'fontcolor' == oid ) {
+			document.getElementById('header').style.color = document.getElementById('fontcolor').value;
+			document.getElementById('advfontcolor').value = document.getElementById('fontcolor').value;
+		}
+		if ( 'fontdisplay' == oid ) {
+			document.getElementById('headerimg').style.display = document.getElementById('fontdisplay').value;
+		}
+	}
+	function toggleDisplay() {
+		td = document.getElementById('fontdisplay');
+		td.value = ( td.value == 'none' ) ? 'inline' : 'none';
+		kUpdate('fontdisplay');
+	}
+	function toggleAdvanced() {
+		a = document.getElementById('jsAdvanced');
+		if ( a.style.display == 'none' )
+			a.style.display = 'block';
+		else
+			a.style.display = 'none';
+	}
+	function kDefaults() {
+		document.getElementById('headerimage').value = '';
+		document.getElementById('advuppercolor').value = document.getElementById('uppercolor').value = '#69aee7';
+		document.getElementById('advlowercolor').value = document.getElementById('lowercolor').value = '#4180b6';
+		document.getElementById('header').style.background = 'url("<?php echo get_template_directory_uri(); ?>/images/xpressheader.jpg") center no-repeat';
+		document.getElementById('header').style.color = '#FFFFFF';
+		document.getElementById('advfontcolor').value = document.getElementById('fontcolor').value = '';
+		document.getElementById('fontdisplay').value = 'inline';
+		document.getElementById('headerimg').style.display = document.getElementById('fontdisplay').value;
+	}
+	function kRevert() {
+		document.getElementById('headerimage').value = '<?php echo js_escape(xpress_header_image()); ?>';
+		document.getElementById('advuppercolor').value = document.getElementById('uppercolor').value = '#<?php echo js_escape(xpress_upper_color()); ?>';
+		document.getElementById('advlowercolor').value = document.getElementById('lowercolor').value = '#<?php echo js_escape(xpress_lower_color()); ?>';
+		document.getElementById('header').style.background = 'url("<?php echo js_escape(xpress_header_image_url()); ?>") center no-repeat';
+		document.getElementById('header').style.color = '';
+		document.getElementById('advfontcolor').value = document.getElementById('fontcolor').value = '<?php echo js_escape(xpress_header_color_string()); ?>';
+		document.getElementById('fontdisplay').value = '<?php echo js_escape(xpress_header_display_string()); ?>';
+		document.getElementById('headerimg').style.display = document.getElementById('fontdisplay').value;
+	}
+	function kInit() {
+		document.getElementById('jsForm').style.display = 'block';
+		document.getElementById('nonJsForm').style.display = 'none';
+	}
+	addLoadEvent(kInit);
+// ]]>
+</script>
+<style type='text/css'>
+	#headwrap {
+		text-align: center;
+	}
+	#xpress-header {
+		font-size: 80%;
+	}
+	#xpress-header .hibrowser {
+		width: 780px;
+		height: 260px;
+		overflow: scroll;
+	}
+	#xpress-header #hitarget {
+		display: none;
+	}
+	#xpress-header #header h1 {
+		font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
+		font-weight: bold;
+		font-size: 2em;
+		text-align: center;
+		padding-top: 70px;
+		margin: 0;
+	}
+
+	#xpress-header #header .description {
+		font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
+		font-size: 1.2em;
+		text-align: center;
+	}
+	#xpress-header #header {
+		text-decoration: none;
+		color: <?php echo xpress_header_color_string(); ?>;
+		padding: 0;
+		margin: 0;
+		height: 200px;
+		text-align: center;
+		background: url('<?php echo xpress_header_image_url(); ?>') center no-repeat;
+	}
+	#xpress-header #headerimg {
+		margin: 0;
+		height: 200px;
+		width: 100%;
+		display: <?php echo xpress_header_display_string(); ?>;
+	}
+	#jsForm {
+		display: none;
+		text-align: center;
+	}
+	#jsForm input.submit, #jsForm input.button, #jsAdvanced input.button {
+		padding: 0px;
+		margin: 0px;
+	}
+	#advanced {
+		text-align: center;
+		width: 620px;
+	}
+	html>body #advanced {
+		text-align: center;
+		position: relative;
+		left: 50%;
+		margin-left: -380px;
+	}
+	#jsAdvanced {
+		text-align: right;
+	}
+	#nonJsForm {
+		position: relative;
+		text-align: left;
+		margin-left: -370px;
+		left: 50%;
+	}
+	#nonJsForm label {
+		padding-top: 6px;
+		padding-right: 5px;
+		float: left;
+		width: 100px;
+		text-align: right;
+	}
+	.defbutton {
+		font-weight: bold;
+	}
+	.zerosize {
+		width: 0px;
+		height: 0px;
+		overflow: hidden;
+	}
+	#colorPickerDiv a, #colorPickerDiv a:hover {
+		padding: 1px;
+		text-decoration: none;
+		border-bottom: 0px;
+	}
+	#footer_submit {
+		margin-top: 20px;
+		text-align: center;
+	}
+	#footer_form{
+		padding-left: 40px;
+	}
+
+</style>
+<?php
+}
+
+function xpress_theme_header_page() {
+	if ( isset( $_REQUEST['saved'] ) ) echo '<div id="message" class="updated fade"><p><strong>'.__('Header Options saved.', 'xpress').'</strong></p></div>';
+	if ( isset( $_REQUEST['footer_saved'] ) ) echo '<div id="message" class="updated fade"><p><strong>'.__('Footer Options saved.', 'xpress').'</strong></p></div>';
+?>
+<div class='wrap'>
+	<div id="xpress-header">
+	<h2><?php _e('Header Image and Color', 'xpress'); ?></h2>
+		<div id="headwrap">
+			<div id="header">
+				<div id="headerimg">
+					<h1><?php bloginfo('name'); ?></h1>
+					<div class="description"><?php bloginfo('description'); ?></div>
+				</div>
+			</div>
+		</div>
+		<br />
+		<div id="nonJsForm">
+			<form method="post" action="">
+				<?php wp_nonce_field('xpress-header'); ?>
+				<div class="zerosize"><input type="submit" name="defaultsubmit" value="<?php echo attribute_escape(__('Save', 'xpress')); ?>" /></div>
+					<label for="njfontcolor"><?php _e('Font Color:', 'xpress'); ?></label><input type="text" name="njfontcolor" id="njfontcolor" value="<?php echo attribute_escape(xpress_header_color()); ?>" /> <?php printf(__('Any CSS color (%s or %s or %s)', 'xpress'), '<code>red</code>', '<code>#FF0000</code>', '<code>rgb(255, 0, 0)</code>'); ?><br />
+					<label for="njuppercolor"><?php _e('Upper Color:', 'xpress'); ?></label><input type="text" name="njuppercolor" id="njuppercolor" value="#<?php echo attribute_escape(xpress_upper_color()); ?>" /> <?php printf(__('HEX only (%s or %s)', 'xpress'), '<code>#FF0000</code>', '<code>#F00</code>'); ?><br />
+				<label for="njlowercolor"><?php _e('Lower Color:', 'xpress'); ?></label><input type="text" name="njlowercolor" id="njlowercolor" value="#<?php echo attribute_escape(xpress_lower_color()); ?>" /> <?php printf(__('HEX only (%s or %s)', 'xpress'), '<code>#FF0000</code>', '<code>#F00</code>'); ?><br />
+				<input type="hidden" name="hi" id="hi" value="<?php echo attribute_escape(xpress_header_image()); ?>" />
+				<input type="submit" name="toggledisplay" id="toggledisplay" value="<?php echo attribute_escape(__('Toggle Text', 'xpress')); ?>" />
+				<input type="submit" name="defaults" value="<?php echo attribute_escape(__('Use Defaults', 'xpress')); ?>" />
+				<input type="submit" class="defbutton" name="submitform" value="&nbsp;&nbsp;<?php _e('Save', 'xpress'); ?>&nbsp;&nbsp;" />
+				<input type="hidden" name="action" value="save" />
+				<input type="hidden" name="njform" value="true" />
+			</form>
+		</div>
+		<div id="jsForm">
+			<form style="display:inline;" method="post" name="hicolor" id="hicolor" action="<?php echo attribute_escape($_SERVER['REQUEST_URI']); ?>">
+				<?php wp_nonce_field('xpress-header'); ?>
+	<input type="button" class="button-secondary" onclick="tgt=document.getElementById('fontcolor');colorSelect(tgt,'pick1');return false;" name="pick1" id="pick1" value="<?php echo attribute_escape(__('Font Color', 'xpress')); ?>"></input>
+		<input type="button" class="button-secondary" onclick="tgt=document.getElementById('uppercolor');colorSelect(tgt,'pick2');return false;" name="pick2" id="pick2" value="<?php echo attribute_escape(__('Upper Color', 'xpress')); ?>"></input>
+		<input type="button" class="button-secondary" onclick="tgt=document.getElementById('lowercolor');colorSelect(tgt,'pick3');return false;" name="pick3" id="pick3" value="<?php echo attribute_escape(__('Lower Color', 'xpress')); ?>"></input>
+				<input type="button" class="button-secondary" name="revert" value="<?php echo attribute_escape(__('Revert', 'xpress')); ?>" onclick="kRevert()" />
+				<input type="button" class="button-secondary" value="<?php echo attribute_escape(__('Advanced', 'xpress')); ?>" onclick="toggleAdvanced()" />
+				<input type="hidden" name="action" value="save" />
+				<input type="hidden" name="fontdisplay" id="fontdisplay" value="<?php echo attribute_escape(xpress_header_display()); ?>" />
+				<input type="hidden" name="fontcolor" id="fontcolor" value="<?php echo attribute_escape(xpress_header_color()); ?>" />
+				<input type="hidden" name="uppercolor" id="uppercolor" value="<?php echo attribute_escape(xpress_upper_color()); ?>" />
+				<input type="hidden" name="lowercolor" id="lowercolor" value="<?php echo attribute_escape(xpress_lower_color()); ?>" />
+				<input type="hidden" name="headerimage" id="headerimage" value="<?php echo attribute_escape(xpress_header_image()); ?>" />
+				<p class="submit"><input type="submit" name="submitform" class="defbutton" value="<?php echo attribute_escape(__('Update Header &raquo;', 'xpress')); ?>" onclick="cp.hidePopup('prettyplease')" /></p>
+			</form>
+			<div id="colorPickerDiv" style="z-index: 100;background:#eee;border:1px solid #ccc;position:absolute;visibility:hidden;"> </div>
+			<div id="advanced">
+				<form id="jsAdvanced" style="display:none;" action="">
+					<?php wp_nonce_field('xpress-header'); ?>
+					<label for="advfontcolor"><?php _e('Font Color (CSS):', 'xpress'); ?> </label><input type="text" id="advfontcolor" onchange="advUpdate(this.value, 'fontcolor')" value="<?php echo attribute_escape(xpress_header_color()); ?>" /><br />
+					<label for="advuppercolor"><?php _e('Upper Color (HEX):');?> </label><input type="text" id="advuppercolor" onchange="advUpdate(this.value, 'uppercolor')" value="#<?php echo attribute_escape(xpress_upper_color()); ?>" /><br />
+					<label for="advlowercolor"><?php _e('Lower Color (HEX):'); ?> </label><input type="text" id="advlowercolor" onchange="advUpdate(this.value, 'lowercolor')" value="#<?php echo attribute_escape(xpress_lower_color()); ?>" /><br />
+					<input type="button" class="button-secondary" name="default" value="<?php echo attribute_escape(__('Select Default Colors', 'xpress')); ?>" onclick="kDefaults()" /><br />
+					<input type="button" class="button-secondary" onclick="toggleDisplay();return false;" name="pick" id="pick" value="<?php echo attribute_escape(__('Toggle Text Display', 'xpress')); ?>"></input><br />
+				</form>
+			</div>
+		</div>
+	</div>
+	<div id="xpress-footer">
+	<h2><?php _e('Footer', 'xpress'); ?></h2>
+		<form id="footer_setting" style="display:inline;" method="post" action="">
+			<div id="footer_form">
+				<?php wp_nonce_field('xpress-footer'); ?>
+				<?php
+				if ( function_exists('register_sidebar') ){
+					echo __('Set number of the sidebar to display in the footer.','xpress');
+					echo '<select name="xpress_footer_sidebars_count">'."\n";
+						$side_bar_num = get_option('xpress_footer_sidebars_count');
+						if (empty($side_bar_num)) $side_bar_num = 0;
+						for($i=0;$i<=5;$i++){
+							if ($i== 0) $sel_name = __('none','xpress'); else $sel_name = $i;
+							if ($i == $side_bar_num) $selected = ' selected '; else $selected = '';
+							echo "\t\t\t\t<option value=\"{$i}\" label=\"{$i}\" {$selected}>{$sel_name}</option>\n";
+						}
+					echo "</select>\n";
+				}
+				?>
+				<input type="hidden" name="action" value="update_footer" />
+			</div>
+			<div id="footer_submit">
+			<input type="submit" name="footer_submit" id="footer_submit" value="<?php echo attribute_escape(__('Update Footer &raquo;', 'xpress')); ?>" />
+			</div>
+		</form>
+	</div>
+
+</div>
+<?php } 
+
+function footer_widgets_init() {
+	if (!function_exists('register_sidebar') ) return;
+
+	$side_bar_num = get_option('xpress_footer_sidebars_count');
+	if (empty($side_bar_num)) return;
+	for($i=1;$i <= $side_bar_num;$i++){
+		switch($i){
+			case 1:
+				$name = __( 'First Footer Widget Area', 'kubrick' );
+				$description = __( 'The first footer widget area', 'kubrick' );
+				break;
+			case 2:
+				$name = __( 'Second Footer Widget Area', 'kubrick' );
+				$description = __( 'The second footer widget area', 'kubrick' );
+				break;
+			case 3:
+				$name = __( 'Third Footer Widget Area', 'kubrick' );
+				$description = __( 'The third footer widget area', 'kubrick' );
+				break;
+			case 4:
+				$name = __( 'Fourth Footer Widget Area', 'kubrick' );
+				$description = __( 'The fourth footer widget area', 'kubrick' );
+				break;
+			case 5:
+				$name = __( 'Fifth Footer Widget Area', 'kubrick' );
+				$description = __( 'The fifth footer widget area', 'kubrick' );
+				break;
+				
+		}
+
+		register_sidebar( array(
+			'name' => $name,
+			'id' => 'footer-widget-area-'.$i,
+			'description' => $description,
+			'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
+			'after_widget' => '</li>',
+			'before_title' => '<h3 class="widget-title">',
+			'after_title' => '</h3>',
+		) );
+	}
+}
+
+add_action( 'widgets_init', 'footer_widgets_init' );
+
+
+
+?>
Index: /tags/Ver2.5.4/extras/my_themes/header.php
===================================================================
--- /tags/Ver2.5.4/extras/my_themes/header.php	(revision 866)
+++ /tags/Ver2.5.4/extras/my_themes/header.php	(revision 866)
@@ -0,0 +1,69 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" <?php if (function_exists('language_attributes')) { language_attributes(); }?>>
+
+<head profile="http://gmpg.org/xfn/11">
+<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
+
+<title><?php bloginfo('name');
+if ( is_single() ) {
+	_e('&raquo; Blog Archive', 'xpress');
+}
+wp_title(); ?></title>
+
+<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
+<link rel="alternate" type="application/rss+xml" title="<?php printf(__('%s RSS Feed', 'xpress'), get_bloginfo('name')); ?>" href="<?php bloginfo('rss2_url'); ?>" />
+<link rel="alternate" type="application/atom+xml" title="<?php printf(__('%s Atom Feed', 'xpress'), get_bloginfo('name')); ?>" href="<?php bloginfo('atom_url'); ?>" />
+<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
+<?php
+// comment-replay.js load  @since 2.7.0
+if (function_exists('wp_enqueue_script')) { // not function Ver2.0
+	if ( is_singular() ){  //not function Ver2.0
+		wp_enqueue_script( 'comment-reply' );
+	}
+}
+?>
+<?php wp_head(); ?>
+</head>
+<body <?php if(function_exists('body_class')) body_class(); ?>>
+<div id="xpress_page">
+	<div id="xpress-header-bar">
+		<!-- <div id="xpress_header" role="banner"> -->
+		<div id="xpress_header">
+			<div id="xpress-header-bar-top">
+				<div class="xpress-header-title">
+					<?php  if (xpress_selected_author_id('echo=0') && function_exists('get_avatar')) echo get_avatar(xpress_selected_author_id('echo=0'),$size = '32'); ?>
+					<a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a>
+				</div>
+				<div class="xpress-conditional-title">
+					&nbsp; <?php xpress_conditional_title();?> 
+				</div>
+				<div class="xpress-description">
+					<?php bloginfo('description'); ?>
+				</div>
+			</div><!-- #xpress-header-bar-top -->
+	
+			<!-- <div id="menu_div" role="navigation"> -->
+			<div id="menu_div">
+				<div id="access">
+					<?php if (function_exists('wp_nav_menu')) wp_nav_menu( array( 'sort_column' => 'menu_order', 'container_class' => 'menu-aheader' ) ); ?> 
+				</div><!-- #access -->
+				<div id="xpress-menu">
+					<div class="menu-header">
+						<div class="menu">
+							<ul>
+								<?php
+									if(xpress_is_multiblog()){
+										$blog_details = get_blog_details(1);
+										$site_url = $blog_details->siteurl;
+										echo '<li><a href="' . $site_url . '/">' . __('Main Page','xpress') . '</a></li>';
+									}
+								?>
+								<li><a href="<?php echo get_option('home'); ?>/"><?php _e('Blogs Home','xpress')?></a></li>
+								<?php if(xpress_is_contributor()) { echo '<li>'. xpress_post_new_link('link_title='. __('Post New','xpress'). '&echo=0').'</li>'; }?>
+							</ul>
+						</div><!-- #menu -->
+					</div><!-- #menu-header -->
+				</div><!-- #xpress-menu -->
+			</div><!-- #menu_div -->
+		</div><!-- #xpress_header -->
+	</div><!-- #xpress-header-bar -->
Index: /tags/Ver2.5.4/extras/my_themes/image.php
===================================================================
--- /tags/Ver2.5.4/extras/my_themes/image.php	(revision 866)
+++ /tags/Ver2.5.4/extras/my_themes/image.php	(revision 866)
@@ -0,0 +1,64 @@
+<?php get_header(); ?>
+
+	<div id="xpress_content" class="widecolumn">
+
+  <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
+
+		<div class="post" id="post-<?php the_ID(); ?>">
+			<h2><a href="<?php echo get_permalink($post->post_parent); ?>" rev="attachment"><?php echo get_the_title($post->post_parent); ?></a> &raquo; <?php the_title(); ?></h2>
+			<div class="entry">
+				<p class="attachment"><a href="<?php echo wp_get_attachment_url($post->ID); ?>"><?php echo wp_get_attachment_image( $post->ID, 'medium' ); ?></a></p> 
+				<div class="caption"><?php if ( !empty($post->post_excerpt) ) the_excerpt(); // this is the "caption" ?></div>
+
+				<?php the_content('<p class="serif">' . __('Read the rest of this entry &raquo;', 'xpress') . '</p>'); ?>
+
+				<?php wp_link_pages(array('before' => '<p><strong>' . __('Pages:', 'xpress') . '</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
+
+				<div class="navigation">
+					<div class="alignleft"><?php previous_image_link() ?></div>
+					<div class="alignright"><?php next_image_link() ?></div>
+				</div>
+				<br class="clear" />
+
+				<p class="postmetadata alt">
+					<small>
+						<?php printf(__('This entry was posted on %1$s at %2$s and is filed under %3$s.', 'xpress'),  get_the_time(__('l, F jS, Y', 'xpress')), get_the_time(), get_the_category_list(', ')); ?>
+						<?php the_taxonomies(); ?>
+						<?php printf(__("You can follow any responses to this entry through the <a href='%s'>RSS 2.0</a> feed.", "xpress"), get_post_comments_feed_link()); ?> 
+
+						<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
+							// Both Comments and Pings are open ?>
+							<?php printf(__('You can <a href="#respond">leave a response</a>, or <a href="%s" rel="trackback">trackback</a> from your own site.', 'xpress'), trackback_url(false)); ?>
+
+						<?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
+							// Only Pings are Open ?>
+							<?php printf(__('Responses are currently closed, but you can <a href="%s" rel="trackback">trackback</a> from your own site.', 'xpress'), trackback_url(false)); ?>
+
+						<?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
+							// Comments are open, Pings are not ?>
+							<?php _e('You can skip to the end and leave a response. Pinging is currently not allowed.', 'xpress'); ?>
+
+						<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
+							// Neither Comments, nor Pings are open ?>
+							<?php _e('Both comments and pings are currently closed.', 'xpress'); ?>
+
+						<?php } edit_post_link(__('Edit this entry.', 'xpress'),'',''); ?>
+
+					</small>
+				</p>
+
+			</div>
+
+		</div>
+
+	<?php comments_template(); ?>
+
+	<?php endwhile; else: ?>
+
+		<p><?php _e('Sorry, no posts matched your criteria.', 'xpress'); ?></p>
+
+<?php endif; ?>
+
+	</div>
+
+<?php get_footer(); ?>
Index: /tags/Ver2.5.4/extras/my_themes/images/header-img.php
===================================================================
--- /tags/Ver2.5.4/extras/my_themes/images/header-img.php	(revision 866)
+++ /tags/Ver2.5.4/extras/my_themes/images/header-img.php	(revision 866)
@@ -0,0 +1,77 @@
+<?php
+
+$img = 'xpressheader.jpg';
+
+// If we don't have image processing support, redirect.
+if ( ! function_exists('imagecreatefromjpeg') )
+	die(header("Location: xpressheader.jpg"));
+
+// Assign and validate the color values
+$default = false;
+$vars = array('upper'=>array('r1', 'g1', 'b1'), 'lower'=>array('r2', 'g2', 'b2'));
+foreach ( $vars as $var => $subvars ) {
+	if ( isset($_GET[$var]) ) {
+		foreach ( $subvars as $index => $subvar ) {
+			$length = strlen($_GET[$var]) / 3;
+			$v = substr($_GET[$var], $index * $length, $length);
+			if ( $length == 1 ) $v = '' . $v . $v;
+			$$subvar = hexdec( $v );
+			if ( $$subvar < 0 || $$subvar > 255 )
+				$default = true;
+		}
+	} else {
+		$default = true;
+	}
+}
+
+if ( $default )
+	list ( $r1, $g1, $b1, $r2, $g2, $b2 ) = array ( 105, 174, 231, 65, 128, 182 );
+
+// Create the image
+$im = imagecreatefromjpeg($img);
+
+// Get the background color, define the rectangle height
+$white = imagecolorat( $im, 15, 15 );
+$h = 84;
+
+// Define the boundaries of the rounded edges ( y => array ( x1, x2 ) )
+$corners = array(
+	0 => array ( 25, 734 ),
+	1 => array ( 23, 736 ),
+	2 => array ( 22, 737 ),
+	3 => array ( 21, 738 ),
+	4 => array ( 21, 738 ),
+	177 => array ( 21, 738 ),
+	178 => array ( 21, 738 ),
+	179 => array ( 22, 737 ),
+	180 => array ( 23, 736 ),
+	181 => array ( 25, 734 ),
+	);
+
+// Blank out the blue thing
+for ( $i = 0; $i < $h; $i++ ) {
+	$x1 = 0;
+	$x2 = 800;
+	imageline( $im, $x1, $i, $x2, $i, $white );
+}
+
+// Draw a new color thing
+for ( $i = 0; $i < $h; $i++ ) {
+	$x1 = 0;
+	$x2 = 800;
+	$r = ( $r2 - $r1 != 0 ) ? $r1 + ( $r2 - $r1 ) * ( $i / $h ) : $r1;
+	$g = ( $g2 - $g1 != 0 ) ? $g1 + ( $g2 - $g1 ) * ( $i / $h ) : $g1;
+	$b = ( $b2 - $b1 != 0 ) ? $b1 + ( $b2 - $b1 ) * ( $i / $h ) : $b1;
+	$color = imagecolorallocate( $im, $r, $g, $b );
+//	if ( array_key_exists($i, $corners) ) {
+//		imageline( $im, $x1, 18 + $i, $x2, 18 + $i, $white );
+//		list ( $x1, $x2 ) = $corners[$i];
+//	}
+	imageline( $im, $x1, $i, $x2, $i, $color );
+}
+
+//die;
+header("Content-Type: image/jpeg");
+imagejpeg($im, '', 92);
+imagedestroy($im);
+?>
Index: /tags/Ver2.5.4/extras/my_themes/index.php
===================================================================
--- /tags/Ver2.5.4/extras/my_themes/index.php	(revision 866)
+++ /tags/Ver2.5.4/extras/my_themes/index.php	(revision 866)
@@ -0,0 +1,77 @@
+<?php get_header(); ?>
+
+		
+<div id="xpress_wrap">				
+	<?php
+		if(xpress_is_theme_sidebar_disp()) {
+			echo '<div id="xpress_content" class="narrowcolumn">';	
+		} else {
+			echo '<div id="xpress_content" class="narrowcolumn_nonside">';
+		}	
+	?>				
+		<?php if (have_posts()) : ?>
+			<div class="xpress-navi-bar">
+				<?php if(function_exists('wp_pagenavi')) : ?>			
+					<div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div>
+				<?php else : ?>
+					<div class="alignleft"><?php xpress_left_arrow_posts_link('echo=1'); ?></div>
+					<div class="alignright"><?php xpress_right_arrow_posts_link('echo=1'); ?></div>
+				<?php endif; ?>
+			</div>
+				
+			<?php while (have_posts()) : the_post(); ?>
+
+				<div class="xpress-post" id="post-<?php the_ID(); ?>">
+					<div class ="xpress-post-header">
+						<?php if (function_exists('hotDates')) { hotDates(); }?>
+						<div class ="xpress-post-title">
+							<?php if(function_exists('the_title_attribute')) : ?>			
+								<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'xpress'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2>
+							<?php else : ?>
+								<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'xpress'), the_title('','',false)); ?>"><?php the_title(); ?></a></h2>
+							<?php endif; ?>
+						</div>
+					</div>
+					<div class="xpress-post-entry">
+						<?php xpress_the_content(); ?>
+					</div>
+					<div class="xpress-link-pages"><?php wp_link_pages() ?></div>
+					<div class ="xpress-post-footer">
+					<?php
+						the_time('Y/m/d l');
+						echo ' - ';
+						the_author_posts_link();
+						echo ' (' . xpress_post_views_count('post_id=' . $post->ID . '&format=' . __('Views :%d', 'xpress'). '&echo=0') . ')'; 
+						echo ' | ';
+						// echo the_tags(__('Tags:', 'xpress') . ' ', ', ', ' | ');
+						printf(__('Posted in %s', 'xpress'), get_the_category_list(', '));
+						echo ' | ';
+						edit_post_link(__('Edit', 'xpress'), '', ' | ');
+						comments_popup_link(__('No Comments &#187;', 'xpress'), __('1 Comment &#187;', 'xpress'), __('% Comments &#187;', 'xpress'), '', __('Comments Closed', 'xpress') );
+					?>
+					</div>
+				</div>
+
+			<?php endwhile; ?>
+				
+			<div class="xpress-navi-bar">
+				<?php if(function_exists('wp_pagenavi')) : ?>			
+					<div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div>
+				<?php else : ?>
+					<div class="alignleft"><?php xpress_left_arrow_posts_link('echo=1'); ?></div>
+					<div class="alignright"><?php xpress_right_arrow_posts_link('echo=1'); ?></div>
+				<?php endif; ?>
+			</div>
+				
+		<?php else : ?>
+
+			<h2 class="center"><?php _e('Not Found', 'xpress'); ?></h2>
+			<p class="center"><?php _e('Sorry, but you are looking for something that isn&#8217;t here.', 'xpress'); ?></p>
+			<?php include (get_template_directory() . "/searchform.php"); ?>
+
+		<?php endif; ?>
+	</div>
+</div>
+<?php if(xpress_is_theme_sidebar_disp()) get_sidebar(); ?>
+
+<?php get_footer(); ?>
Index: /tags/Ver2.5.4/extras/my_themes/languages/ja.po
===================================================================
--- /tags/Ver2.5.4/extras/my_themes/languages/ja.po	(revision 866)
+++ /tags/Ver2.5.4/extras/my_themes/languages/ja.po	(revision 866)
@@ -0,0 +1,823 @@
+# Japanese (UTF-8) translation for XPressME Default Themes
+# Copyright (c) 2005-2008 XPressME
+# This file is distributed under the same license as the XPressME package.
+# toemon <info@toemon.com>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: XPress_Default_themes\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2011-02-21 09:49+0900\n"
+"PO-Revision-Date: 2011-02-21 09:50+0900\n"
+"Last-Translator: toemon <info@toemon.com>\n"
+"Language-Team: toemon <info@toemon.com>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Japanese\n"
+"X-Poedit-Country: JAPAN\n"
+"X-Poedit-SourceCharset: utf-8\n"
+"X-Poedit-KeywordsList: __;_e;_c\n"
+"X-Poedit-Basepath: D:\\XPressME_Project\\XPressME_SVN_Trunk\\xpressme_integration_kit\\wp-content\\themes\\xpress_default\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Poedit-SearchPath-0: .\n"
+
+#: 404.php:22
+msgid "Error 404 - Not Found"
+msgstr "エラー 404 - 見つかりませんでした"
+
+#: archives.php:20
+msgid "Archives by Month:"
+msgstr "月別のアーカイブ:"
+
+#: archives.php:25
+msgid "Archives by Subject:"
+msgstr "カテゴリー別アーカイブ:"
+
+#: comments-popup.php:9
+#, php-format
+msgid "%1$s - Comments on %2$s"
+msgstr "%1$s - %2$s へのコメント"
+
+#: comments-popup.php:22
+msgid "Comments"
+msgstr "コメント"
+
+#: comments-popup.php:24
+msgid "<abbr title=\"Really Simple Syndication\">RSS</abbr> feed for comments on this post."
+msgstr "このコメント欄の <abbr title=\"Really Simple Syndication\">RSS</abbr> フィード"
+
+#: comments-popup.php:27
+#, php-format
+msgid "The <abbr title=\"Universal Resource Locator\">URL</abbr> to TrackBack this entry is: <em>%s</em>"
+msgstr "この投稿へのトラックバック <acronym title=\"Universal Resource Locator\">URL</acronym>: <em>%s</em>"
+
+#: comments-popup.php:45
+msgid "Comment"
+msgstr "コメント"
+
+#: comments-popup.php:45
+msgid "Trackback"
+msgstr "トラックバック"
+
+#: comments-popup.php:45
+msgid "Pingback"
+msgstr "ピンバック"
+
+#: comments-popup.php:45
+#, php-format
+msgid "by %1$s &#8212; %2$s @ <a href=\"#comment-%3$s\">%4$s</a>"
+msgstr "&#8212; %2$s @ <a href=\"#comment-%3$s\">%4$s</a>: %1$s より"
+
+#: comments-popup.php:51
+msgid "No comments yet."
+msgstr "コメントはまだありません。"
+
+#: comments-popup.php:55
+msgid "Leave a comment"
+msgstr "コメントをどうぞ"
+
+#: comments-popup.php:56
+#, php-format
+msgid "Line and paragraph breaks automatic, e-mail address never displayed, <acronym title=\"Hypertext Markup Language\">HTML</acronym> allowed: <code>%s</code>"
+msgstr "改行と段落タグは自動で挿入されます。メールアドレスは表示されません。利用可能な <acronym title=\"Hypertext Markup Language\">HTML</acronym> タグ: <code>%s</code>"
+
+#: comments-popup.php:60
+#, php-format
+msgid "Logged in as <a href=\"%1$s\">%2$s</a>. <a href=\"%3$s\" title=\"Log out of this account\">Log out &raquo;</a>"
+msgstr "<a href=\"%1$s\">%2$s</a> としてログイン中。<a href=\"%3$s\" title=\"このアカウントからログアウトする\">ログアウト &raquo;</a>"
+
+#: comments-popup.php:64
+#: comments.php:91
+msgid "Name"
+msgstr "お名前"
+
+#: comments-popup.php:71
+msgid "E-mail"
+msgstr "メールアドレス"
+
+#: comments-popup.php:76
+msgid "<abbr title=\"Universal Resource Locator\">URL</abbr>"
+msgstr "<abbr title=\"Universal Resource Locator\">URL</abbr>"
+
+#: comments-popup.php:81
+msgid "Your Comment"
+msgstr "コメント"
+
+#: comments-popup.php:87
+msgid "Say It!"
+msgstr "送信する !"
+
+#: comments-popup.php:92
+msgid "Sorry, the comment form is closed at this time."
+msgstr "コメントフォームは現在閉鎖中です。"
+
+#: comments-popup.php:97
+msgid "Close this window."
+msgstr "このウインドウを閉じる。"
+
+#: comments-popup.php:105
+#, php-format
+msgid "Powered by <a href=\"%s\" title=\"Powered by WordPress, state-of-the-art semantic personal publishing platform\"><strong>WordPress</strong></a>"
+msgstr "Powered by <a href=\"%s\" title=\"Powered by WordPress, state-of-the-art semantic personal publishing platform\"><strong>WordPress</strong></a>"
+
+#: comments.php:6
+msgid "This post is password protected. Enter the password to view comments."
+msgstr "この投稿はパスワードで保護されています。コメントを閲覧するにはパスワードを入力してください。"
+
+#: comments.php:17
+#: comments.php:38
+msgid "No Responses"
+msgstr "コメント はありません"
+
+#: comments.php:17
+#: comments.php:38
+msgid "One Response"
+msgstr "コメント 1 件"
+
+#: comments.php:17
+#: comments.php:38
+msgid "% Responses"
+msgstr "コメント % 件"
+
+#: comments.php:17
+#: comments.php:38
+#, php-format
+msgid "to &#8220;%s&#8221;"
+msgstr "<!-- to &#8220;%s&#8221; -->"
+
+#: comments.php:33
+#: comments.php:63
+msgid "Comments are closed."
+msgstr "現在コメントは受け付けていません。"
+
+#: comments.php:43
+#, php-format
+msgid "<cite>%s</cite> Says:"
+msgstr "<cite>%s</cite> より:"
+
+#: comments.php:45
+msgid "Your comment is awaiting moderation."
+msgstr "コメントは承認待ちです。"
+
+#: comments.php:48
+#, php-format
+msgid "%1$s at %2$s"
+msgstr "%1$s %2$s"
+
+#: comments.php:48
+msgid "Comment Edit"
+msgstr "編集"
+
+#: comments.php:70
+msgid "Leave a Reply"
+msgstr "コメントをどうぞ"
+
+#: comments.php:70
+#, php-format
+msgid "Leave a Reply for %s"
+msgstr "%s にコメントする"
+
+#: comments.php:79
+#, php-format
+msgid "You must be <a href=\"%s\">logged in</a> to post a comment."
+msgstr "コメントを投稿するには<a href=\"%s\">ログイン</a>してください。"
+
+#: comments.php:85
+#: comments.php:87
+#, php-format
+msgid "Logged in as <a href=\"%1$s\">%2$s</a>."
+msgstr "<a href=\"%1$s\">%2$s</a> としてログイン中。"
+
+#: comments.php:85
+#: comments.php:87
+msgid "Log out of this account"
+msgstr "このアカウントからログアウト"
+
+#: comments.php:85
+#: comments.php:87
+msgid "Log out &raquo;"
+msgstr "ログアウト &raquo;"
+
+#: comments.php:91
+#: comments.php:94
+msgid "(required)"
+msgstr " (必須)"
+
+#: comments.php:94
+msgid "Mail (will not be published)"
+msgstr "メールアドレス (公開されません)"
+
+#: comments.php:97
+msgid "Website"
+msgstr "ウェブサイト"
+
+#: comments.php:102
+#, php-format
+msgid "<strong>XHTML:</strong> You can use these tags: <code>%s</code>"
+msgstr "<strong>XHTML:</strong> 次のタグを使用できます: <code>%s</code>"
+
+#: comments.php:106
+msgid "Submit Comment"
+msgstr "コメント送信"
+
+#: footer.php:10
+#, php-format
+msgid "%1$s and %2$s."
+msgstr "%1$s と %2$s"
+
+#: footer.php:10
+msgid "Entries (RSS)"
+msgstr "投稿 (RSS)"
+
+#: footer.php:10
+msgid "Comments (RSS)"
+msgstr "コメント (RSS)"
+
+#: footer.php:12
+#, php-format
+msgid "%.3f sec."
+msgstr "%.3f 秒"
+
+#: functions.php:25
+msgid "Primary Navigation"
+msgstr "メインナビゲージョン"
+
+#: functions.php:196
+msgid "Header & Footer"
+msgstr "ヘッダー&フッター"
+
+#: functions.php:210
+msgid "Close Color Picker"
+msgstr "カラーピッカーを閉じる"
+
+#: functions.php:415
+msgid "Header Options saved."
+msgstr "ヘッダー設定を保存しました。"
+
+#: functions.php:416
+msgid "Footer Options saved."
+msgstr "フッター設定を保存しました。"
+
+#: functions.php:420
+msgid "Header Image and Color"
+msgstr "ヘッダーの背景と文字の色"
+
+#: functions.php:433
+#: functions.php:440
+msgid "Save"
+msgstr "保存"
+
+#: functions.php:434
+msgid "Font Color:"
+msgstr "フォントの色:"
+
+#: functions.php:434
+#, php-format
+msgid "Any CSS color (%s or %s or %s)"
+msgstr "CSS 色指定 (%s 、%s もしくは %s)"
+
+#: functions.php:435
+msgid "Upper Color:"
+msgstr "グラデーション上側の色:"
+
+#: functions.php:435
+#: functions.php:436
+#, php-format
+msgid "HEX only (%s or %s)"
+msgstr "16 進数のみ (%s もしくは %s)"
+
+#: functions.php:436
+msgid "Lower Color:"
+msgstr "グラデーション下側の色:"
+
+#: functions.php:438
+msgid "Toggle Text"
+msgstr "テキスト表示の切替え"
+
+#: functions.php:439
+msgid "Use Defaults"
+msgstr "デフォルト設定に戻す"
+
+#: functions.php:448
+msgid "Font Color"
+msgstr "フォントの色"
+
+#: functions.php:449
+msgid "Upper Color"
+msgstr "グラデーション上側の色"
+
+#: functions.php:450
+msgid "Lower Color"
+msgstr "グラデーション下側の色"
+
+#: functions.php:451
+msgid "Revert"
+msgstr "取り消し"
+
+#: functions.php:452
+msgid "Advanced"
+msgstr "詳細"
+
+#: functions.php:459
+msgid "Update Header &raquo;"
+msgstr "ヘッダーを更新 &raquo;"
+
+#: functions.php:465
+msgid "Font Color (CSS):"
+msgstr "フォントの色 (CSS):"
+
+#: functions.php:466
+msgid "Upper Color (HEX):"
+msgstr "グラデーション上側の色 (16 進数):"
+
+#: functions.php:467
+msgid "Lower Color (HEX):"
+msgstr "グラデーション下側の色 (16 進数):"
+
+#: functions.php:468
+msgid "Select Default Colors"
+msgstr "デフォルト設定に戻す"
+
+#: functions.php:469
+msgid "Toggle Text Display"
+msgstr "テキスト表示の切替え"
+
+#: functions.php:475
+msgid "Footer"
+msgstr "フッター"
+
+#: functions.php:481
+msgid "Set number of the sidebar to display in the footer."
+msgstr "フッターに表示するサイドバーの数を設定"
+
+#: functions.php:486
+msgid "none"
+msgstr "なし"
+
+#: functions.php:496
+msgid "Update Footer &raquo;"
+msgstr "フッターを更新 &raquo;"
+
+#: functions.php:512
+msgid "First Footer Widget Area"
+msgstr "フッターウィジェットエリア１"
+
+#: functions.php:513
+msgid "The first footer widget area"
+msgstr "フッターウィジェットエリア１"
+
+#: functions.php:516
+msgid "Second Footer Widget Area"
+msgstr "フッターウィジェットエリア２"
+
+#: functions.php:517
+msgid "The second footer widget area"
+msgstr "フッターウィジェットエリア２"
+
+#: functions.php:520
+msgid "Third Footer Widget Area"
+msgstr "フッターウィジェットエリア３"
+
+#: functions.php:521
+msgid "The third footer widget area"
+msgstr "フッターウィジェットエリア３"
+
+#: functions.php:524
+msgid "Fourth Footer Widget Area"
+msgstr "フッターウィジェットエリア４"
+
+#: functions.php:525
+msgid "The fourth footer widget area"
+msgstr "フッターウィジェットエリア４"
+
+#: functions.php:528
+msgid "Fifth Footer Widget Area"
+msgstr "フッターウィジェットエリア５"
+
+#: functions.php:529
+msgid "The fifth footer widget area"
+msgstr "フッターウィジェットエリア５"
+
+#: header.php:9
+msgid "&raquo; Blog Archive"
+msgstr "&raquo; ブログアーカイブ"
+
+#: header.php:14
+#, php-format
+msgid "%s RSS Feed"
+msgstr "%s RSS フィード"
+
+#: header.php:15
+#, php-format
+msgid "%s Atom Feed"
+msgstr "%s Atom フィード"
+
+#: header.php:58
+msgid "Main Page"
+msgstr "メインページ"
+
+#: header.php:61
+msgid "Blogs Home"
+msgstr "ブログのホーム"
+
+#: header.php:62
+msgid "Post New"
+msgstr "新規投稿"
+
+#: image.php:13
+msgid "Read the rest of this entry &raquo;"
+msgstr "この投稿の続きを読む &raquo;"
+
+#: image.php:15
+#: page.php:22
+msgid "Pages:"
+msgstr "ページ:"
+
+#: image.php:25
+#, php-format
+msgid "This entry was posted on %1$s at %2$s and is filed under %3$s."
+msgstr "この投稿は %1$s %2$s に %3$s カテゴリーに公開されました。"
+
+#: image.php:25
+#: sidebar.php:24
+msgid "l, F jS, Y"
+msgstr "Y 年 n 月 j 日 l"
+
+#: image.php:27
+#, php-format
+msgid "You can follow any responses to this entry through the <a href='%s'>RSS 2.0</a> feed."
+msgstr "この投稿へのコメントは <a href='%s'>RSS 2.0</a> フィードで購読することができます。"
+
+#: image.php:31
+#, php-format
+msgid "You can <a href=\"#respond\">leave a response</a>, or <a href=\"%s\" rel=\"trackback\">trackback</a> from your own site."
+msgstr "<a href=\"#respond\">コメントを残すか</a>、ご自分のサイトから<a href=\"%s\" rel=\"trackback\">トラックバック</a>することができます。"
+
+#: image.php:35
+#, php-format
+msgid "Responses are currently closed, but you can <a href=\"%s\" rel=\"trackback\">trackback</a> from your own site."
+msgstr "現在コメントは受け付けておりませんが、ご自分のサイトから<a href=\"%s\" rel=\"trackback\">トラックバック</a>を送ることはできます。"
+
+#: image.php:39
+msgid "You can skip to the end and leave a response. Pinging is currently not allowed."
+msgstr "このページの一番下でコメントを残すことができます。トラックバック / ピンバックは現在受け付けていません。"
+
+#: image.php:43
+msgid "Both comments and pings are currently closed."
+msgstr "現在コメント、トラックバックともに受け付けておりません。"
+
+#: image.php:45
+#: page.php:27
+msgid "Edit this entry."
+msgstr "この投稿を編集する。"
+
+#: image.php:58
+msgid "Sorry, no posts matched your criteria."
+msgstr "該当する投稿は見つかりませんでした。"
+
+#: index.php:29
+#: index.php:31
+#: multi_blog_index.php:33
+#: multi_blog_index.php:35
+#, php-format
+msgid "Permanent Link to %s"
+msgstr "%s のパーマリンク"
+
+#: index.php:44
+#: multi_blog_index.php:48
+#, php-format
+msgid "Views :%d"
+msgstr "閲覧 :%d"
+
+#: index.php:47
+#: multi_blog_index.php:51
+#, php-format
+msgid "Posted in %s"
+msgstr "カテゴリー: %s"
+
+#: index.php:49
+#: multi_blog_index.php:53
+msgid "Edit"
+msgstr "編集"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "No Comments &#187;"
+msgstr "コメントはまだありません &#187;"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "1 Comment &#187;"
+msgstr "1 件のコメント &#187;"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "% Comments &#187;"
+msgstr "% 件のコメント &#187;"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "Comments Closed"
+msgstr "コメントは受け付けていません。"
+
+#: index.php:68
+#: multi_blog_index.php:72
+msgid "Not Found"
+msgstr "見つかりませんでした。"
+
+#: index.php:69
+#: multi_blog_index.php:73
+msgid "Sorry, but you are looking for something that isn&#8217;t here."
+msgstr "お探しの物はここにはありません。"
+
+#: links.php:18
+msgid "Links:"
+msgstr "リンク:"
+
+#: multi_blog_front.php:9
+msgid "Site News"
+msgstr "サイトニュース"
+
+#: multi_blog_front.php:18
+msgid "Blogs List"
+msgstr "ブログリスト"
+
+#: multi_blog_front.php:27
+msgid "post count"
+msgstr "投稿数"
+
+#: multi_blog_front.php:34
+msgid "New Entries"
+msgstr "最近の投稿"
+
+#: multi_blog_front.php:39
+#, fuzzy, php-format
+msgid "%1$s wrote %2$s in %3$s."
+msgstr "%1$s %2$s"
+
+#: multi_blog_front.php:46
+msgid "Updated Blogs"
+msgstr "最近更新されたブログ"
+
+#: multi_blog_front.php:67
+#, php-format
+msgid "Howdy %s"
+msgstr "ようこそ %s さん"
+
+#: multi_blog_front.php:73
+msgid "Your Blogs list"
+msgstr "あなたのブログリスト"
+
+#: multi_blog_front.php:84
+msgid "Create a new blog"
+msgstr "新しいブログの作成"
+
+#: page.php:20
+msgid "Read the rest of this page &raquo;"
+msgstr "このページの続きを読む &raquo;"
+
+#: searchform.php:2
+msgid "Search for:"
+msgstr "検索:"
+
+#: searchform.php:8
+msgid "Search"
+msgstr "検索"
+
+#: sidebar.php:10
+msgid "Author"
+msgstr "作成者"
+
+#: sidebar.php:21
+#, php-format
+msgid "You are currently browsing the archives for the %s category."
+msgstr "%s カテゴリーのアーカイブを表示しています。"
+
+#: sidebar.php:24
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives for the day %3$s."
+msgstr "<a href=\"%1$s\">%2$s</a> ブログの %3$s のアーカイブを表示しています。"
+
+#: sidebar.php:27
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives for %3$s."
+msgstr "<a href=\"%1$s/\">%2$s</a> の %3$s のアーカイブを閲覧中です。"
+
+#: sidebar.php:27
+msgid "F, Y"
+msgstr "Y 年 n 月"
+
+#: sidebar.php:30
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives for the year %3$s."
+msgstr "<a href=\"%1$s\">%2$s</a> ブログの %3$s 年のアーカイブを表示しています。"
+
+#: sidebar.php:33
+#, php-format
+msgid "You have searched the <a href=\"%1$s/\">%2$s</a> blog archives for <strong>&#8216;%3$s&#8217;</strong>. If you are unable to find anything in these search results, you can try one of these links."
+msgstr "<a href=\"%1$s/\">%2$s</a> のアーカイブ内で<strong>&#8216;%3$s&#8217;</strong>を探しました。お探しのものが見つからない場合は他のリンクを試してみてください。"
+
+#: sidebar.php:36
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives."
+msgstr "<a href=\"%1$s/\">%2$s</a> ブログのアーカイブを閲覧中です。"
+
+#: sidebar.php:42
+msgid "Pages"
+msgstr "ページ"
+
+#: sidebar.php:44
+msgid "Archives"
+msgstr "アーカイブ"
+
+#: sidebar.php:51
+#: sidebar.php:53
+msgid "Categories"
+msgstr "カテゴリー"
+
+#: sidebar.php:62
+msgid "Meta"
+msgstr "メタ情報"
+
+#: sidebar.php:66
+msgid "This page validates as XHTML 1.0 Transitional"
+msgstr "このページが XHTML 1.0 Transitional に準拠しているか確認する"
+
+#: sidebar.php:66
+msgid "Valid <abbr title=\"eXtensible HyperText Markup Language\">XHTML</abbr>"
+msgstr "Valid <abbr title=\"eXtensible HyperText Markup Language\">XHTML</abbr>"
+
+#: sidebar.php:67
+msgid "XHTML Friends Network"
+msgstr "XHTML Friends Network"
+
+#: sidebar.php:67
+msgid "XFN"
+msgstr "XFN"
+
+#: sidebar.php:68
+msgid "Powered by WordPress, state-of-the-art semantic personal publishing platform."
+msgstr "Powered by WordPress, state-of-the-art semantic personal publishing platform."
+
+#: single.php:53
+msgid "No Trackback/Pingback"
+msgstr "トラックバック・ピンバックはありません"
+
+#: single.php:53
+msgid "One Trackback/Pingback"
+msgstr "トラックバック・ピンバック 1 件"
+
+#: single.php:53
+msgid "% TrackBack/Pingback"
+msgstr "トラックバック・ピンバック % 件"
+
+#: single.php:57
+#, php-format
+msgid "You can <a href=\"%s\" rel=\"trackback\">trackback</a> from your own site."
+msgstr "ご自分のサイトから<a href=\"%s\" rel=\"trackback\">トラックバック</a>を送ることができます。"
+
+#: single.php:59
+msgid "Pinging is currently not allowed."
+msgstr "トラックバック / ピンバックは現在受け付けていません。"
+
+#: blocks/archives_block_theme.php:14
+msgid "Select Yearly"
+msgstr "年を選択"
+
+#: blocks/archives_block_theme.php:17
+#: blocks/archives_block_theme.php:29
+msgid "Select Monthly"
+msgstr "月を選択"
+
+#: blocks/archives_block_theme.php:20
+msgid "Select Weekly"
+msgstr "週を選択"
+
+#: blocks/archives_block_theme.php:23
+msgid "Select Daily"
+msgstr "日を選択"
+
+#: blocks/archives_block_theme.php:26
+msgid "Select Post"
+msgstr "記事を選択"
+
+#: blocks/authors_block_theme.php:32
+msgid "All Authors"
+msgstr "全ての投稿者"
+
+#: blocks/blog_list_block_theme.php:66
+#: blocks/global_popular_posts_block_theme.php:192
+#: blocks/global_recent_comments_block_theme.php:130
+#: blocks/global_recent_posts_list_block_theme.php:44
+msgid "This blog is not set to the multi blog."
+msgstr "このブログはマルチブログに設定されていません。"
+
+#: blocks/enhanced_block_theme.php:14
+msgid "The include file name to display it is not set."
+msgstr "表示を行うためのインクルードファイル名が設定されていません。"
+
+#: blocks/enhanced_block_theme.php:21
+#, php-format
+msgid "File %s not exist."
+msgstr "ファイル %s が見つかりません。"
+
+#: blocks/enhanced_block_theme.php:29
+msgid "Data is Empty"
+msgstr "データは空です"
+
+#: blocks/global_popular_posts_block_theme.php:114
+#: blocks/popular_posts_block_theme.php:122
+#: blocks/recent_posts_content_block_theme.php:84
+#: blocks/recent_posts_list_block_theme.php:70
+msgid "Tags:"
+msgstr "タグ:"
+
+#: blocks/global_popular_posts_block_theme.php:143
+#: blocks/popular_posts_block_theme.php:151
+#: blocks/recent_posts_content_block_theme.php:123
+#: blocks/recent_posts_list_block_theme.php:99
+msgid "Comments (0)"
+msgstr "コメントはありません"
+
+#: blocks/global_popular_posts_block_theme.php:143
+#: blocks/popular_posts_block_theme.php:151
+#: blocks/recent_posts_content_block_theme.php:123
+#: blocks/recent_posts_list_block_theme.php:99
+msgid "Comments (1)"
+msgstr "1件のコメント"
+
+#: blocks/global_popular_posts_block_theme.php:143
+#: blocks/popular_posts_block_theme.php:151
+#: blocks/recent_posts_content_block_theme.php:123
+#: blocks/recent_posts_list_block_theme.php:99
+msgid "Comments (%)"
+msgstr "Comments (%)"
+
+#: blocks/global_recent_comments_block_theme.php:85
+#: blocks/recent_comments_block_theme.php:82
+#, php-format
+msgid "%1$s on %2$s"
+msgstr "%2$s に %1$s より"
+
+#: blocks/meta_block_theme.php:25
+msgid "Posts RSS"
+msgstr "投稿の RSS"
+
+#: blocks/meta_block_theme.php:28
+msgid "Comments RSS"
+msgstr "コメント のRSS"
+
+#: blocks/meta_block_theme.php:41
+#: blocks/meta_block_theme.php:46
+msgid "Add New"
+msgstr "新規投稿"
+
+#: blocks/meta_block_theme.php:55
+msgid "Site Admin"
+msgstr "WordPress管理"
+
+#: blocks/meta_block_theme.php:61
+msgid "User Profile"
+msgstr "ユーザープロファイル"
+
+#: blocks/meta_block_theme.php:69
+#: blocks/meta_block_theme.php:74
+msgid "Subscription management"
+msgstr "メール購読の設定"
+
+#: blocks/meta_block_theme.php:82
+msgid "ReadMe"
+msgstr "ReadMe表示"
+
+#: blocks/meta_block_theme.php:87
+msgid "Themes"
+msgstr "テーマ選択"
+
+#~ msgid "PHP code error"
+#~ msgstr "PHPコードにエラーがあります。"
+
+#~ msgid "Customize Header"
+#~ msgstr "ヘッダーのカスタマイズ"
+
+#~ msgid "%d queries. %s seconds."
+#~ msgstr "%d 個のクエリと %s 秒を要しました。"
+
+#~ msgid "views: %d"
+#~ msgstr "閲覧 :%d回"
+
+#~ msgid "more"
+#~ msgstr "続きを読む"
+
+#, fuzzy
+#~ msgid "F jS, Y"
+#~ msgstr "Y 年 n 月 j 日 l"
+
+#~ msgid "Calendar"
+#~ msgstr "カレンダー"
+
+#~ msgid "%1$s %2$s|Used as a calendar caption"
+#~ msgstr "%2$s 年 %1$s|カレンダーのキャプションに使われます"
+
+#~ msgid "View posts for %1$s %2$s"
+#~ msgstr "%2$s 年 %1$s の投稿を表示"
Index: /tags/Ver2.5.4/extras/my_themes/languages/ja_EUC.po
===================================================================
--- /tags/Ver2.5.4/extras/my_themes/languages/ja_EUC.po	(revision 866)
+++ /tags/Ver2.5.4/extras/my_themes/languages/ja_EUC.po	(revision 866)
@@ -0,0 +1,820 @@
+# Japanese (EUC-JP) translation for XPressME Default Themes
+# Copyright (c) 2005-2008 XPressME
+# This file is distributed under the same license as the XPressME package.
+# toemon <info@toemon.com>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: XPress_Default_themes\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2010-06-12 12:47+0900\n"
+"PO-Revision-Date: 2011-02-21 09:52+0900\n"
+"Last-Translator: toemon <info@toemon.com>\n"
+"Language-Team: toemon <info@toemon.com>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=euc-jp\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Japanese\n"
+"X-Poedit-Country: JAPAN\n"
+"X-Poedit-SourceCharset: euc-jp\n"
+"X-Poedit-KeywordsList: __;_e;_c\n"
+"X-Poedit-Basepath: D:\\XPressME_Project\\XPressME_SVN_Trunk\\xpressme_integration_kit\\wp-content\\themes\\xpress_default\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Poedit-SearchPath-0: .\n"
+
+#: 404.php:22
+msgid "Error 404 - Not Found"
+msgstr "¥¨¥é¡¼ 404 - ¸«¤Ä¤«¤ê¤Þ¤»¤ó¤Ç¤·¤¿"
+
+#: archives.php:20
+msgid "Archives by Month:"
+msgstr "·îÊÌ¤Î¥¢¡¼¥«¥¤¥Ö:"
+
+#: archives.php:25
+msgid "Archives by Subject:"
+msgstr "¥«¥Æ¥´¥ê¡¼ÊÌ¥¢¡¼¥«¥¤¥Ö:"
+
+#: comments-popup.php:9
+#, php-format
+msgid "%1$s - Comments on %2$s"
+msgstr "%1$s - %2$s ¤Ø¤Î¥³¥á¥ó¥È"
+
+#: comments-popup.php:22
+msgid "Comments"
+msgstr "¥³¥á¥ó¥È"
+
+#: comments-popup.php:24
+msgid "<abbr title=\"Really Simple Syndication\">RSS</abbr> feed for comments on this post."
+msgstr "¤³¤Î¥³¥á¥ó¥ÈÍó¤Î <abbr title=\"Really Simple Syndication\">RSS</abbr> ¥Õ¥£¡¼¥É"
+
+#: comments-popup.php:27
+#, php-format
+msgid "The <abbr title=\"Universal Resource Locator\">URL</abbr> to TrackBack this entry is: <em>%s</em>"
+msgstr "¤³¤ÎÅê¹Æ¤Ø¤Î¥È¥é¥Ã¥¯¥Ð¥Ã¥¯ <acronym title=\"Universal Resource Locator\">URL</acronym>: <em>%s</em>"
+
+#: comments-popup.php:45
+msgid "Comment"
+msgstr "¥³¥á¥ó¥È"
+
+#: comments-popup.php:45
+msgid "Trackback"
+msgstr "¥È¥é¥Ã¥¯¥Ð¥Ã¥¯"
+
+#: comments-popup.php:45
+msgid "Pingback"
+msgstr "¥Ô¥ó¥Ð¥Ã¥¯"
+
+#: comments-popup.php:45
+#, php-format
+msgid "by %1$s &#8212; %2$s @ <a href=\"#comment-%3$s\">%4$s</a>"
+msgstr "&#8212; %2$s @ <a href=\"#comment-%3$s\">%4$s</a>: %1$s ¤è¤ê"
+
+#: comments-popup.php:51
+msgid "No comments yet."
+msgstr "¥³¥á¥ó¥È¤Ï¤Þ¤À¤¢¤ê¤Þ¤»¤ó¡£"
+
+#: comments-popup.php:55
+msgid "Leave a comment"
+msgstr "¥³¥á¥ó¥È¤ò¤É¤¦¤¾"
+
+#: comments-popup.php:56
+#, php-format
+msgid "Line and paragraph breaks automatic, e-mail address never displayed, <acronym title=\"Hypertext Markup Language\">HTML</acronym> allowed: <code>%s</code>"
+msgstr "²þ¹Ô¤ÈÃÊÍî¥¿¥°¤Ï¼«Æ°¤ÇÁÞÆþ¤µ¤ì¤Þ¤¹¡£¥á¡¼¥ë¥¢¥É¥ì¥¹¤ÏÉ½¼¨¤µ¤ì¤Þ¤»¤ó¡£ÍøÍÑ²ÄÇ½¤Ê <acronym title=\"Hypertext Markup Language\">HTML</acronym> ¥¿¥°: <code>%s</code>"
+
+#: comments-popup.php:60
+#, php-format
+msgid "Logged in as <a href=\"%1$s\">%2$s</a>. <a href=\"%3$s\" title=\"Log out of this account\">Log out &raquo;</a>"
+msgstr "<a href=\"%1$s\">%2$s</a> ¤È¤·¤Æ¥í¥°¥¤¥óÃæ¡£<a href=\"%3$s\" title=\"¤³¤Î¥¢¥«¥¦¥ó¥È¤«¤é¥í¥°¥¢¥¦¥È¤¹¤ë\">¥í¥°¥¢¥¦¥È &raquo;</a>"
+
+#: comments-popup.php:64
+#: comments.php:91
+msgid "Name"
+msgstr "¤ªÌ¾Á°"
+
+#: comments-popup.php:71
+msgid "E-mail"
+msgstr "¥á¡¼¥ë¥¢¥É¥ì¥¹"
+
+#: comments-popup.php:76
+msgid "<abbr title=\"Universal Resource Locator\">URL</abbr>"
+msgstr "<abbr title=\"Universal Resource Locator\">URL</abbr>"
+
+#: comments-popup.php:81
+msgid "Your Comment"
+msgstr "¥³¥á¥ó¥È"
+
+#: comments-popup.php:87
+msgid "Say It!"
+msgstr "Á÷¿®¤¹¤ë !"
+
+#: comments-popup.php:92
+msgid "Sorry, the comment form is closed at this time."
+msgstr "¥³¥á¥ó¥È¥Õ¥©¡¼¥à¤Ï¸½ºßÊÄº¿Ãæ¤Ç¤¹¡£"
+
+#: comments-popup.php:97
+msgid "Close this window."
+msgstr "¤³¤Î¥¦¥¤¥ó¥É¥¦¤òÊÄ¤¸¤ë¡£"
+
+#: comments-popup.php:105
+#, php-format
+msgid "Powered by <a href=\"%s\" title=\"Powered by WordPress, state-of-the-art semantic personal publishing platform\"><strong>WordPress</strong></a>"
+msgstr "Powered by <a href=\"%s\" title=\"Powered by WordPress, state-of-the-art semantic personal publishing platform\"><strong>WordPress</strong></a>"
+
+#: comments.php:6
+msgid "This post is password protected. Enter the password to view comments."
+msgstr "¤³¤ÎÅê¹Æ¤Ï¥Ñ¥¹¥ï¡¼¥É¤ÇÊÝ¸î¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¥³¥á¥ó¥È¤ò±ÜÍ÷¤¹¤ë¤Ë¤Ï¥Ñ¥¹¥ï¡¼¥É¤òÆþÎÏ¤·¤Æ¤¯¤À¤µ¤¤¡£"
+
+#: comments.php:17
+#: comments.php:38
+msgid "No Responses"
+msgstr "¥³¥á¥ó¥È ¤Ï¤¢¤ê¤Þ¤»¤ó"
+
+#: comments.php:17
+#: comments.php:38
+msgid "One Response"
+msgstr "¥³¥á¥ó¥È 1 ·ï"
+
+#: comments.php:17
+#: comments.php:38
+msgid "% Responses"
+msgstr "¥³¥á¥ó¥È % ·ï"
+
+#: comments.php:17
+#: comments.php:38
+#, php-format
+msgid "to &#8220;%s&#8221;"
+msgstr "<!-- to &#8220;%s&#8221; -->"
+
+#: comments.php:33
+#: comments.php:63
+msgid "Comments are closed."
+msgstr "¸½ºß¥³¥á¥ó¥È¤Ï¼õ¤±ÉÕ¤±¤Æ¤¤¤Þ¤»¤ó¡£"
+
+#: comments.php:43
+#, php-format
+msgid "<cite>%s</cite> Says:"
+msgstr "<cite>%s</cite> ¤è¤ê:"
+
+#: comments.php:45
+msgid "Your comment is awaiting moderation."
+msgstr "¥³¥á¥ó¥È¤Ï¾µÇ§ÂÔ¤Á¤Ç¤¹¡£"
+
+#: comments.php:48
+#, php-format
+msgid "%1$s at %2$s"
+msgstr "%1$s %2$s"
+
+#: comments.php:48
+msgid "Comment Edit"
+msgstr "ÊÔ½¸"
+
+#: comments.php:70
+msgid "Leave a Reply"
+msgstr "¥³¥á¥ó¥È¤ò¤É¤¦¤¾"
+
+#: comments.php:70
+#, php-format
+msgid "Leave a Reply for %s"
+msgstr "%s ¤Ë¥³¥á¥ó¥È¤¹¤ë"
+
+#: comments.php:79
+#, php-format
+msgid "You must be <a href=\"%s\">logged in</a> to post a comment."
+msgstr "¥³¥á¥ó¥È¤òÅê¹Æ¤¹¤ë¤Ë¤Ï<a href=\"%s\">¥í¥°¥¤¥ó</a>¤·¤Æ¤¯¤À¤µ¤¤¡£"
+
+#: comments.php:85
+#: comments.php:87
+#, php-format
+msgid "Logged in as <a href=\"%1$s\">%2$s</a>."
+msgstr "<a href=\"%1$s\">%2$s</a> ¤È¤·¤Æ¥í¥°¥¤¥óÃæ¡£"
+
+#: comments.php:85
+#: comments.php:87
+msgid "Log out of this account"
+msgstr "¤³¤Î¥¢¥«¥¦¥ó¥È¤«¤é¥í¥°¥¢¥¦¥È"
+
+#: comments.php:85
+#: comments.php:87
+msgid "Log out &raquo;"
+msgstr "¥í¥°¥¢¥¦¥È &raquo;"
+
+#: comments.php:91
+#: comments.php:94
+msgid "(required)"
+msgstr " (É¬¿Ü)"
+
+#: comments.php:94
+msgid "Mail (will not be published)"
+msgstr "¥á¡¼¥ë¥¢¥É¥ì¥¹ (¸ø³«¤µ¤ì¤Þ¤»¤ó)"
+
+#: comments.php:97
+msgid "Website"
+msgstr "¥¦¥§¥Ö¥µ¥¤¥È"
+
+#: comments.php:102
+#, php-format
+msgid "<strong>XHTML:</strong> You can use these tags: <code>%s</code>"
+msgstr "<strong>XHTML:</strong> ¼¡¤Î¥¿¥°¤ò»ÈÍÑ¤Ç¤­¤Þ¤¹: <code>%s</code>"
+
+#: comments.php:106
+msgid "Submit Comment"
+msgstr "¥³¥á¥ó¥ÈÁ÷¿®"
+
+#: footer.php:10
+#, php-format
+msgid "%1$s and %2$s."
+msgstr "%1$s ¤È %2$s"
+
+#: footer.php:10
+msgid "Entries (RSS)"
+msgstr "Åê¹Æ (RSS)"
+
+#: footer.php:10
+msgid "Comments (RSS)"
+msgstr "¥³¥á¥ó¥È (RSS)"
+
+#: footer.php:12
+#, php-format
+msgid "%.3f sec."
+msgstr "%.3f ÉÃ"
+
+#: functions.php:25
+msgid "Primary Navigation"
+msgstr "¥á¥¤¥ó¥Ê¥Ó¥²¡¼¥¸¥ç¥ó"
+
+#: functions.php:196
+msgid "Header & Footer"
+msgstr "¥Ø¥Ã¥À¡¼&¥Õ¥Ã¥¿¡¼"
+
+#: functions.php:210
+msgid "Close Color Picker"
+msgstr "¥«¥é¡¼¥Ô¥Ã¥«¡¼¤òÊÄ¤¸¤ë"
+
+#: functions.php:415
+msgid "Header Options saved."
+msgstr "¥Ø¥Ã¥À¡¼ÀßÄê¤òÊÝÂ¸¤·¤Þ¤·¤¿¡£"
+
+#: functions.php:416
+msgid "Footer Options saved."
+msgstr "¥Õ¥Ã¥¿¡¼ÀßÄê¤òÊÝÂ¸¤·¤Þ¤·¤¿¡£"
+
+#: functions.php:420
+msgid "Header Image and Color"
+msgstr "¥Ø¥Ã¥À¡¼¤ÎÇØ·Ê¤ÈÊ¸»ú¤Î¿§"
+
+#: functions.php:433
+#: functions.php:440
+msgid "Save"
+msgstr "ÊÝÂ¸"
+
+#: functions.php:434
+msgid "Font Color:"
+msgstr "¥Õ¥©¥ó¥È¤Î¿§:"
+
+#: functions.php:434
+#, php-format
+msgid "Any CSS color (%s or %s or %s)"
+msgstr "CSS ¿§»ØÄê (%s ¡¢%s ¤â¤·¤¯¤Ï %s)"
+
+#: functions.php:435
+msgid "Upper Color:"
+msgstr "¥°¥é¥Ç¡¼¥·¥ç¥ó¾åÂ¦¤Î¿§:"
+
+#: functions.php:435
+#: functions.php:436
+#, php-format
+msgid "HEX only (%s or %s)"
+msgstr "16 ¿Ê¿ô¤Î¤ß (%s ¤â¤·¤¯¤Ï %s)"
+
+#: functions.php:436
+msgid "Lower Color:"
+msgstr "¥°¥é¥Ç¡¼¥·¥ç¥ó²¼Â¦¤Î¿§:"
+
+#: functions.php:438
+msgid "Toggle Text"
+msgstr "¥Æ¥­¥¹¥ÈÉ½¼¨¤ÎÀÚÂØ¤¨"
+
+#: functions.php:439
+msgid "Use Defaults"
+msgstr "¥Ç¥Õ¥©¥ë¥ÈÀßÄê¤ËÌá¤¹"
+
+#: functions.php:448
+msgid "Font Color"
+msgstr "¥Õ¥©¥ó¥È¤Î¿§"
+
+#: functions.php:449
+msgid "Upper Color"
+msgstr "¥°¥é¥Ç¡¼¥·¥ç¥ó¾åÂ¦¤Î¿§"
+
+#: functions.php:450
+msgid "Lower Color"
+msgstr "¥°¥é¥Ç¡¼¥·¥ç¥ó²¼Â¦¤Î¿§"
+
+#: functions.php:451
+msgid "Revert"
+msgstr "¼è¤ê¾Ã¤·"
+
+#: functions.php:452
+msgid "Advanced"
+msgstr "¾ÜºÙ"
+
+#: functions.php:459
+msgid "Update Header &raquo;"
+msgstr "¥Ø¥Ã¥À¡¼¤ò¹¹¿· &raquo;"
+
+#: functions.php:465
+msgid "Font Color (CSS):"
+msgstr "¥Õ¥©¥ó¥È¤Î¿§ (CSS):"
+
+#: functions.php:466
+msgid "Upper Color (HEX):"
+msgstr "¥°¥é¥Ç¡¼¥·¥ç¥ó¾åÂ¦¤Î¿§ (16 ¿Ê¿ô):"
+
+#: functions.php:467
+msgid "Lower Color (HEX):"
+msgstr "¥°¥é¥Ç¡¼¥·¥ç¥ó²¼Â¦¤Î¿§ (16 ¿Ê¿ô):"
+
+#: functions.php:468
+msgid "Select Default Colors"
+msgstr "¥Ç¥Õ¥©¥ë¥ÈÀßÄê¤ËÌá¤¹"
+
+#: functions.php:469
+msgid "Toggle Text Display"
+msgstr "¥Æ¥­¥¹¥ÈÉ½¼¨¤ÎÀÚÂØ¤¨"
+
+#: functions.php:475
+msgid "Footer"
+msgstr "¥Õ¥Ã¥¿¡¼"
+
+#: functions.php:479
+msgid "Set number of the sidebar to display in the footer."
+msgstr "¥Õ¥Ã¥¿¡¼¤ËÉ½¼¨¤¹¤ë¥µ¥¤¥É¥Ð¡¼¤Î¿ô¤òÀßÄê"
+
+#: functions.php:485
+msgid "none"
+msgstr "¤Ê¤·"
+
+#: functions.php:494
+msgid "Update Footer &raquo;"
+msgstr "¥Õ¥Ã¥¿¡¼¤ò¹¹¿· &raquo;"
+
+#: functions.php:510
+msgid "First Footer Widget Area"
+msgstr "¥Õ¥Ã¥¿¡¼¥¦¥£¥¸¥§¥Ã¥È¥¨¥ê¥¢£±"
+
+#: functions.php:511
+msgid "The first footer widget area"
+msgstr "¥Õ¥Ã¥¿¡¼¥¦¥£¥¸¥§¥Ã¥È¥¨¥ê¥¢£±"
+
+#: functions.php:514
+msgid "Second Footer Widget Area"
+msgstr "¥Õ¥Ã¥¿¡¼¥¦¥£¥¸¥§¥Ã¥È¥¨¥ê¥¢£²"
+
+#: functions.php:515
+msgid "The second footer widget area"
+msgstr "¥Õ¥Ã¥¿¡¼¥¦¥£¥¸¥§¥Ã¥È¥¨¥ê¥¢£²"
+
+#: functions.php:518
+msgid "Third Footer Widget Area"
+msgstr "¥Õ¥Ã¥¿¡¼¥¦¥£¥¸¥§¥Ã¥È¥¨¥ê¥¢£³"
+
+#: functions.php:519
+msgid "The third footer widget area"
+msgstr "¥Õ¥Ã¥¿¡¼¥¦¥£¥¸¥§¥Ã¥È¥¨¥ê¥¢£³"
+
+#: functions.php:522
+msgid "Fourth Footer Widget Area"
+msgstr "¥Õ¥Ã¥¿¡¼¥¦¥£¥¸¥§¥Ã¥È¥¨¥ê¥¢£´"
+
+#: functions.php:523
+msgid "The fourth footer widget area"
+msgstr "¥Õ¥Ã¥¿¡¼¥¦¥£¥¸¥§¥Ã¥È¥¨¥ê¥¢£´"
+
+#: functions.php:526
+msgid "Fifth Footer Widget Area"
+msgstr "¥Õ¥Ã¥¿¡¼¥¦¥£¥¸¥§¥Ã¥È¥¨¥ê¥¢£µ"
+
+#: functions.php:527
+msgid "The fifth footer widget area"
+msgstr "¥Õ¥Ã¥¿¡¼¥¦¥£¥¸¥§¥Ã¥È¥¨¥ê¥¢£µ"
+
+#: header.php:9
+msgid "&raquo; Blog Archive"
+msgstr "&raquo; ¥Ö¥í¥°¥¢¡¼¥«¥¤¥Ö"
+
+#: header.php:14
+#, php-format
+msgid "%s RSS Feed"
+msgstr "%s RSS ¥Õ¥£¡¼¥É"
+
+#: header.php:15
+#, php-format
+msgid "%s Atom Feed"
+msgstr "%s Atom ¥Õ¥£¡¼¥É"
+
+#: header.php:56
+msgid "Main Page"
+msgstr "¥á¥¤¥ó¥Ú¡¼¥¸"
+
+#: header.php:59
+msgid "Blogs Home"
+msgstr "¥Ö¥í¥°¤Î¥Û¡¼¥à"
+
+#: header.php:60
+msgid "Post New"
+msgstr "¿·µ¬Åê¹Æ"
+
+#: image.php:13
+msgid "Read the rest of this entry &raquo;"
+msgstr "¤³¤ÎÅê¹Æ¤ÎÂ³¤­¤òÆÉ¤à &raquo;"
+
+#: image.php:15
+#: page.php:22
+msgid "Pages:"
+msgstr "¥Ú¡¼¥¸:"
+
+#: image.php:25
+#, php-format
+msgid "This entry was posted on %1$s at %2$s and is filed under %3$s."
+msgstr "¤³¤ÎÅê¹Æ¤Ï %1$s %2$s ¤Ë %3$s ¥«¥Æ¥´¥ê¡¼¤Ë¸ø³«¤µ¤ì¤Þ¤·¤¿¡£"
+
+#: image.php:25
+#: sidebar.php:24
+msgid "l, F jS, Y"
+msgstr "Y Ç¯ n ·î j Æü l"
+
+#: image.php:27
+#, php-format
+msgid "You can follow any responses to this entry through the <a href='%s'>RSS 2.0</a> feed."
+msgstr "¤³¤ÎÅê¹Æ¤Ø¤Î¥³¥á¥ó¥È¤Ï <a href='%s'>RSS 2.0</a> ¥Õ¥£¡¼¥É¤Ç¹ØÆÉ¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£"
+
+#: image.php:31
+#, php-format
+msgid "You can <a href=\"#respond\">leave a response</a>, or <a href=\"%s\" rel=\"trackback\">trackback</a> from your own site."
+msgstr "<a href=\"#respond\">¥³¥á¥ó¥È¤ò»Ä¤¹¤«</a>¡¢¤´¼«Ê¬¤Î¥µ¥¤¥È¤«¤é<a href=\"%s\" rel=\"trackback\">¥È¥é¥Ã¥¯¥Ð¥Ã¥¯</a>¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£"
+
+#: image.php:35
+#, php-format
+msgid "Responses are currently closed, but you can <a href=\"%s\" rel=\"trackback\">trackback</a> from your own site."
+msgstr "¸½ºß¥³¥á¥ó¥È¤Ï¼õ¤±ÉÕ¤±¤Æ¤ª¤ê¤Þ¤»¤ó¤¬¡¢¤´¼«Ê¬¤Î¥µ¥¤¥È¤«¤é<a href=\"%s\" rel=\"trackback\">¥È¥é¥Ã¥¯¥Ð¥Ã¥¯</a>¤òÁ÷¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤¹¡£"
+
+#: image.php:39
+msgid "You can skip to the end and leave a response. Pinging is currently not allowed."
+msgstr "¤³¤Î¥Ú¡¼¥¸¤Î°ìÈÖ²¼¤Ç¥³¥á¥ó¥È¤ò»Ä¤¹¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¥È¥é¥Ã¥¯¥Ð¥Ã¥¯ / ¥Ô¥ó¥Ð¥Ã¥¯¤Ï¸½ºß¼õ¤±ÉÕ¤±¤Æ¤¤¤Þ¤»¤ó¡£"
+
+#: image.php:43
+msgid "Both comments and pings are currently closed."
+msgstr "¸½ºß¥³¥á¥ó¥È¡¢¥È¥é¥Ã¥¯¥Ð¥Ã¥¯¤È¤â¤Ë¼õ¤±ÉÕ¤±¤Æ¤ª¤ê¤Þ¤»¤ó¡£"
+
+#: image.php:45
+#: page.php:27
+msgid "Edit this entry."
+msgstr "¤³¤ÎÅê¹Æ¤òÊÔ½¸¤¹¤ë¡£"
+
+#: image.php:58
+msgid "Sorry, no posts matched your criteria."
+msgstr "³ºÅö¤¹¤ëÅê¹Æ¤Ï¸«¤Ä¤«¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£"
+
+#: index.php:29
+#: index.php:31
+#: multi_blog_index.php:33
+#: multi_blog_index.php:35
+#, php-format
+msgid "Permanent Link to %s"
+msgstr "%s ¤Î¥Ñ¡¼¥Þ¥ê¥ó¥¯"
+
+#: index.php:44
+#: multi_blog_index.php:48
+#, php-format
+msgid "Views :%d"
+msgstr "±ÜÍ÷ :%d"
+
+#: index.php:47
+#: multi_blog_index.php:51
+#, php-format
+msgid "Posted in %s"
+msgstr "¥«¥Æ¥´¥ê¡¼: %s"
+
+#: index.php:49
+#: multi_blog_index.php:53
+msgid "Edit"
+msgstr "ÊÔ½¸"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "No Comments &#187;"
+msgstr "¥³¥á¥ó¥È¤Ï¤Þ¤À¤¢¤ê¤Þ¤»¤ó &#187;"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "1 Comment &#187;"
+msgstr "1 ·ï¤Î¥³¥á¥ó¥È &#187;"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "% Comments &#187;"
+msgstr "% ·ï¤Î¥³¥á¥ó¥È &#187;"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "Comments Closed"
+msgstr "¥³¥á¥ó¥È¤Ï¼õ¤±ÉÕ¤±¤Æ¤¤¤Þ¤»¤ó¡£"
+
+#: index.php:68
+#: multi_blog_index.php:72
+msgid "Not Found"
+msgstr "¸«¤Ä¤«¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£"
+
+#: index.php:69
+#: multi_blog_index.php:73
+msgid "Sorry, but you are looking for something that isn&#8217;t here."
+msgstr "¤ªÃµ¤·¤ÎÊª¤Ï¤³¤³¤Ë¤Ï¤¢¤ê¤Þ¤»¤ó¡£"
+
+#: links.php:18
+msgid "Links:"
+msgstr "¥ê¥ó¥¯:"
+
+#: multi_blog_front.php:9
+msgid "Site News"
+msgstr "¥µ¥¤¥È¥Ë¥å¡¼¥¹"
+
+#: multi_blog_front.php:18
+msgid "Blogs List"
+msgstr "¥Ö¥í¥°¥ê¥¹¥È"
+
+#: multi_blog_front.php:27
+msgid "post count"
+msgstr "Åê¹Æ¿ô"
+
+#: multi_blog_front.php:34
+msgid "New Entries"
+msgstr "ºÇ¶á¤ÎÅê¹Æ"
+
+#: multi_blog_front.php:39
+#, fuzzy, php-format
+msgid "%1$s wrote %2$s in %3$s."
+msgstr "%1$s %2$s"
+
+#: multi_blog_front.php:46
+msgid "Updated Blogs"
+msgstr "ºÇ¶á¹¹¿·¤µ¤ì¤¿¥Ö¥í¥°"
+
+#: multi_blog_front.php:67
+#, php-format
+msgid "Howdy %s"
+msgstr "¤è¤¦¤³¤½ %s ¤µ¤ó"
+
+#: multi_blog_front.php:73
+msgid "Your Blogs list"
+msgstr "¤¢¤Ê¤¿¤Î¥Ö¥í¥°¥ê¥¹¥È"
+
+#: multi_blog_front.php:84
+msgid "Create a new blog"
+msgstr "¿·¤·¤¤¥Ö¥í¥°¤ÎºîÀ®"
+
+#: page.php:20
+msgid "Read the rest of this page &raquo;"
+msgstr "¤³¤Î¥Ú¡¼¥¸¤ÎÂ³¤­¤òÆÉ¤à &raquo;"
+
+#: searchform.php:2
+msgid "Search for:"
+msgstr "¸¡º÷:"
+
+#: searchform.php:8
+msgid "Search"
+msgstr "¸¡º÷"
+
+#: sidebar.php:10
+msgid "Author"
+msgstr "ºîÀ®¼Ô"
+
+#: sidebar.php:21
+#, php-format
+msgid "You are currently browsing the archives for the %s category."
+msgstr "%s ¥«¥Æ¥´¥ê¡¼¤Î¥¢¡¼¥«¥¤¥Ö¤òÉ½¼¨¤·¤Æ¤¤¤Þ¤¹¡£"
+
+#: sidebar.php:24
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives for the day %3$s."
+msgstr "<a href=\"%1$s\">%2$s</a> ¥Ö¥í¥°¤Î %3$s ¤Î¥¢¡¼¥«¥¤¥Ö¤òÉ½¼¨¤·¤Æ¤¤¤Þ¤¹¡£"
+
+#: sidebar.php:27
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives for %3$s."
+msgstr "<a href=\"%1$s/\">%2$s</a> ¤Î %3$s ¤Î¥¢¡¼¥«¥¤¥Ö¤ò±ÜÍ÷Ãæ¤Ç¤¹¡£"
+
+#: sidebar.php:27
+msgid "F, Y"
+msgstr "Y Ç¯ n ·î"
+
+#: sidebar.php:30
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives for the year %3$s."
+msgstr "<a href=\"%1$s\">%2$s</a> ¥Ö¥í¥°¤Î %3$s Ç¯¤Î¥¢¡¼¥«¥¤¥Ö¤òÉ½¼¨¤·¤Æ¤¤¤Þ¤¹¡£"
+
+#: sidebar.php:33
+#, php-format
+msgid "You have searched the <a href=\"%1$s/\">%2$s</a> blog archives for <strong>&#8216;%3$s&#8217;</strong>. If you are unable to find anything in these search results, you can try one of these links."
+msgstr "<a href=\"%1$s/\">%2$s</a> ¤Î¥¢¡¼¥«¥¤¥ÖÆâ¤Ç<strong>&#8216;%3$s&#8217;</strong>¤òÃµ¤·¤Þ¤·¤¿¡£¤ªÃµ¤·¤Î¤â¤Î¤¬¸«¤Ä¤«¤é¤Ê¤¤¾ì¹ç¤ÏÂ¾¤Î¥ê¥ó¥¯¤ò»î¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£"
+
+#: sidebar.php:36
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives."
+msgstr "<a href=\"%1$s/\">%2$s</a> ¥Ö¥í¥°¤Î¥¢¡¼¥«¥¤¥Ö¤ò±ÜÍ÷Ãæ¤Ç¤¹¡£"
+
+#: sidebar.php:42
+msgid "Pages"
+msgstr "¥Ú¡¼¥¸"
+
+#: sidebar.php:44
+msgid "Archives"
+msgstr "¥¢¡¼¥«¥¤¥Ö"
+
+#: sidebar.php:51
+#: sidebar.php:53
+msgid "Categories"
+msgstr "¥«¥Æ¥´¥ê¡¼"
+
+#: sidebar.php:62
+msgid "Meta"
+msgstr "¥á¥¿¾ðÊó"
+
+#: sidebar.php:66
+msgid "This page validates as XHTML 1.0 Transitional"
+msgstr "¤³¤Î¥Ú¡¼¥¸¤¬ XHTML 1.0 Transitional ¤Ë½àµò¤·¤Æ¤¤¤ë¤«³ÎÇ§¤¹¤ë"
+
+#: sidebar.php:66
+msgid "Valid <abbr title=\"eXtensible HyperText Markup Language\">XHTML</abbr>"
+msgstr "Valid <abbr title=\"eXtensible HyperText Markup Language\">XHTML</abbr>"
+
+#: sidebar.php:67
+msgid "XHTML Friends Network"
+msgstr "XHTML Friends Network"
+
+#: sidebar.php:67
+msgid "XFN"
+msgstr "XFN"
+
+#: sidebar.php:68
+msgid "Powered by WordPress, state-of-the-art semantic personal publishing platform."
+msgstr "Powered by WordPress, state-of-the-art semantic personal publishing platform."
+
+#: single.php:53
+msgid "No Trackback/Pingback"
+msgstr "¥È¥é¥Ã¥¯¥Ð¥Ã¥¯¡¦¥Ô¥ó¥Ð¥Ã¥¯¤Ï¤¢¤ê¤Þ¤»¤ó"
+
+#: single.php:53
+msgid "One Trackback/Pingback"
+msgstr "¥È¥é¥Ã¥¯¥Ð¥Ã¥¯¡¦¥Ô¥ó¥Ð¥Ã¥¯ 1 ·ï"
+
+#: single.php:53
+msgid "% TrackBack/Pingback"
+msgstr "¥È¥é¥Ã¥¯¥Ð¥Ã¥¯¡¦¥Ô¥ó¥Ð¥Ã¥¯ % ·ï"
+
+#: single.php:57
+#, php-format
+msgid "You can <a href=\"%s\" rel=\"trackback\">trackback</a> from your own site."
+msgstr "¤´¼«Ê¬¤Î¥µ¥¤¥È¤«¤é<a href=\"%s\" rel=\"trackback\">¥È¥é¥Ã¥¯¥Ð¥Ã¥¯</a>¤òÁ÷¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£"
+
+#: single.php:59
+msgid "Pinging is currently not allowed."
+msgstr "¥È¥é¥Ã¥¯¥Ð¥Ã¥¯ / ¥Ô¥ó¥Ð¥Ã¥¯¤Ï¸½ºß¼õ¤±ÉÕ¤±¤Æ¤¤¤Þ¤»¤ó¡£"
+
+#: blocks/archives_block_theme.php:14
+msgid "Select Yearly"
+msgstr "Ç¯¤òÁªÂò"
+
+#: blocks/archives_block_theme.php:17
+#: blocks/archives_block_theme.php:29
+msgid "Select Monthly"
+msgstr "·î¤òÁªÂò"
+
+#: blocks/archives_block_theme.php:20
+msgid "Select Weekly"
+msgstr "½µ¤òÁªÂò"
+
+#: blocks/archives_block_theme.php:23
+msgid "Select Daily"
+msgstr "Æü¤òÁªÂò"
+
+#: blocks/archives_block_theme.php:26
+msgid "Select Post"
+msgstr "µ­»ö¤òÁªÂò"
+
+#: blocks/authors_block_theme.php:32
+msgid "All Authors"
+msgstr "Á´¤Æ¤ÎÅê¹Æ¼Ô"
+
+#: blocks/blog_list_block_theme.php:66
+#: blocks/global_popular_posts_block_theme.php:192
+#: blocks/global_recent_comments_block_theme.php:130
+#: blocks/global_recent_posts_list_block_theme.php:44
+msgid "This blog is not set to the multi blog."
+msgstr "¤³¤Î¥Ö¥í¥°¤Ï¥Þ¥ë¥Á¥Ö¥í¥°¤ËÀßÄê¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£"
+
+#: blocks/enhanced_block_theme.php:14
+msgid "The include file name to display it is not set."
+msgstr "É½¼¨¤ò¹Ô¤¦¤¿¤á¤Î¥¤¥ó¥¯¥ë¡¼¥É¥Õ¥¡¥¤¥ëÌ¾¤¬ÀßÄê¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£"
+
+#: blocks/enhanced_block_theme.php:21
+#, php-format
+msgid "File %s not exist."
+msgstr "¥Õ¥¡¥¤¥ë %s ¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó¡£"
+
+#: blocks/enhanced_block_theme.php:29
+msgid "PHP code error"
+msgstr "PHP¥³¡¼¥É¤Ë¥¨¥é¡¼¤¬¤¢¤ê¤Þ¤¹¡£"
+
+#: blocks/global_popular_posts_block_theme.php:114
+#: blocks/popular_posts_block_theme.php:122
+#: blocks/recent_posts_content_block_theme.php:84
+#: blocks/recent_posts_list_block_theme.php:70
+msgid "Tags:"
+msgstr "¥¿¥°:"
+
+#: blocks/global_popular_posts_block_theme.php:143
+#: blocks/popular_posts_block_theme.php:151
+#: blocks/recent_posts_content_block_theme.php:123
+#: blocks/recent_posts_list_block_theme.php:99
+msgid "Comments (0)"
+msgstr "¥³¥á¥ó¥È¤Ï¤¢¤ê¤Þ¤»¤ó"
+
+#: blocks/global_popular_posts_block_theme.php:143
+#: blocks/popular_posts_block_theme.php:151
+#: blocks/recent_posts_content_block_theme.php:123
+#: blocks/recent_posts_list_block_theme.php:99
+msgid "Comments (1)"
+msgstr "1·ï¤Î¥³¥á¥ó¥È"
+
+#: blocks/global_popular_posts_block_theme.php:143
+#: blocks/popular_posts_block_theme.php:151
+#: blocks/recent_posts_content_block_theme.php:123
+#: blocks/recent_posts_list_block_theme.php:99
+msgid "Comments (%)"
+msgstr "Comments (%)"
+
+#: blocks/global_recent_comments_block_theme.php:85
+#: blocks/recent_comments_block_theme.php:82
+#, php-format
+msgid "%1$s on %2$s"
+msgstr "%2$s ¤Ë %1$s ¤è¤ê"
+
+#: blocks/meta_block_theme.php:25
+msgid "Posts RSS"
+msgstr "Åê¹Æ¤Î RSS"
+
+#: blocks/meta_block_theme.php:28
+msgid "Comments RSS"
+msgstr "¥³¥á¥ó¥È ¤ÎRSS"
+
+#: blocks/meta_block_theme.php:41
+#: blocks/meta_block_theme.php:46
+msgid "Add New"
+msgstr "¿·µ¬Åê¹Æ"
+
+#: blocks/meta_block_theme.php:55
+msgid "Site Admin"
+msgstr "WordPress´ÉÍý"
+
+#: blocks/meta_block_theme.php:61
+msgid "User Profile"
+msgstr "¥æ¡¼¥¶¡¼¥×¥í¥Õ¥¡¥¤¥ë"
+
+#: blocks/meta_block_theme.php:69
+#: blocks/meta_block_theme.php:74
+msgid "Subscription management"
+msgstr "¥á¡¼¥ë¹ØÆÉ¤ÎÀßÄê"
+
+#: blocks/meta_block_theme.php:82
+msgid "ReadMe"
+msgstr "ReadMeÉ½¼¨"
+
+#: blocks/meta_block_theme.php:87
+msgid "Themes"
+msgstr "¥Æ¡¼¥ÞÁªÂò"
+
+#~ msgid "Customize Header"
+#~ msgstr "¥Ø¥Ã¥À¡¼¤Î¥«¥¹¥¿¥Þ¥¤¥º"
+
+#~ msgid "%d queries. %s seconds."
+#~ msgstr "%d ¸Ä¤Î¥¯¥¨¥ê¤È %s ÉÃ¤òÍ×¤·¤Þ¤·¤¿¡£"
+
+#~ msgid "views: %d"
+#~ msgstr "±ÜÍ÷ :%d²ó"
+
+#~ msgid "more"
+#~ msgstr "Â³¤­¤òÆÉ¤à"
+
+#, fuzzy
+#~ msgid "F jS, Y"
+#~ msgstr "Y Ç¯ n ·î j Æü l"
+
+#~ msgid "Calendar"
+#~ msgstr "¥«¥ì¥ó¥À¡¼"
+
+#~ msgid "%1$s %2$s|Used as a calendar caption"
+#~ msgstr "%2$s Ç¯ %1$s|¥«¥ì¥ó¥À¡¼¤Î¥­¥ã¥×¥·¥ç¥ó¤Ë»È¤ï¤ì¤Þ¤¹"
+
+#~ msgid "View posts for %1$s %2$s"
+#~ msgstr "%2$s Ç¯ %1$s ¤ÎÅê¹Æ¤òÉ½¼¨"
Index: /tags/Ver2.5.4/extras/my_themes/languages/ja_UTF.po
===================================================================
--- /tags/Ver2.5.4/extras/my_themes/languages/ja_UTF.po	(revision 866)
+++ /tags/Ver2.5.4/extras/my_themes/languages/ja_UTF.po	(revision 866)
@@ -0,0 +1,823 @@
+# Japanese (UTF-8) translation for XPressME Default Themes
+# Copyright (c) 2005-2008 XPressME
+# This file is distributed under the same license as the XPressME package.
+# toemon <info@toemon.com>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: XPress_Default_themes\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2011-02-21 09:50+0900\n"
+"PO-Revision-Date: 2011-02-21 09:51+0900\n"
+"Last-Translator: toemon <info@toemon.com>\n"
+"Language-Team: toemon <info@toemon.com>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Japanese\n"
+"X-Poedit-Country: JAPAN\n"
+"X-Poedit-SourceCharset: utf-8\n"
+"X-Poedit-KeywordsList: __;_e;_c\n"
+"X-Poedit-Basepath: D:\\XPressME_Project\\XPressME_SVN_Trunk\\xpressme_integration_kit\\wp-content\\themes\\xpress_default\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Poedit-SearchPath-0: .\n"
+
+#: 404.php:22
+msgid "Error 404 - Not Found"
+msgstr "エラー 404 - 見つかりませんでした"
+
+#: archives.php:20
+msgid "Archives by Month:"
+msgstr "月別のアーカイブ:"
+
+#: archives.php:25
+msgid "Archives by Subject:"
+msgstr "カテゴリー別アーカイブ:"
+
+#: comments-popup.php:9
+#, php-format
+msgid "%1$s - Comments on %2$s"
+msgstr "%1$s - %2$s へのコメント"
+
+#: comments-popup.php:22
+msgid "Comments"
+msgstr "コメント"
+
+#: comments-popup.php:24
+msgid "<abbr title=\"Really Simple Syndication\">RSS</abbr> feed for comments on this post."
+msgstr "このコメント欄の <abbr title=\"Really Simple Syndication\">RSS</abbr> フィード"
+
+#: comments-popup.php:27
+#, php-format
+msgid "The <abbr title=\"Universal Resource Locator\">URL</abbr> to TrackBack this entry is: <em>%s</em>"
+msgstr "この投稿へのトラックバック <acronym title=\"Universal Resource Locator\">URL</acronym>: <em>%s</em>"
+
+#: comments-popup.php:45
+msgid "Comment"
+msgstr "コメント"
+
+#: comments-popup.php:45
+msgid "Trackback"
+msgstr "トラックバック"
+
+#: comments-popup.php:45
+msgid "Pingback"
+msgstr "ピンバック"
+
+#: comments-popup.php:45
+#, php-format
+msgid "by %1$s &#8212; %2$s @ <a href=\"#comment-%3$s\">%4$s</a>"
+msgstr "&#8212; %2$s @ <a href=\"#comment-%3$s\">%4$s</a>: %1$s より"
+
+#: comments-popup.php:51
+msgid "No comments yet."
+msgstr "コメントはまだありません。"
+
+#: comments-popup.php:55
+msgid "Leave a comment"
+msgstr "コメントをどうぞ"
+
+#: comments-popup.php:56
+#, php-format
+msgid "Line and paragraph breaks automatic, e-mail address never displayed, <acronym title=\"Hypertext Markup Language\">HTML</acronym> allowed: <code>%s</code>"
+msgstr "改行と段落タグは自動で挿入されます。メールアドレスは表示されません。利用可能な <acronym title=\"Hypertext Markup Language\">HTML</acronym> タグ: <code>%s</code>"
+
+#: comments-popup.php:60
+#, php-format
+msgid "Logged in as <a href=\"%1$s\">%2$s</a>. <a href=\"%3$s\" title=\"Log out of this account\">Log out &raquo;</a>"
+msgstr "<a href=\"%1$s\">%2$s</a> としてログイン中。<a href=\"%3$s\" title=\"このアカウントからログアウトする\">ログアウト &raquo;</a>"
+
+#: comments-popup.php:64
+#: comments.php:91
+msgid "Name"
+msgstr "お名前"
+
+#: comments-popup.php:71
+msgid "E-mail"
+msgstr "メールアドレス"
+
+#: comments-popup.php:76
+msgid "<abbr title=\"Universal Resource Locator\">URL</abbr>"
+msgstr "<abbr title=\"Universal Resource Locator\">URL</abbr>"
+
+#: comments-popup.php:81
+msgid "Your Comment"
+msgstr "コメント"
+
+#: comments-popup.php:87
+msgid "Say It!"
+msgstr "送信する !"
+
+#: comments-popup.php:92
+msgid "Sorry, the comment form is closed at this time."
+msgstr "コメントフォームは現在閉鎖中です。"
+
+#: comments-popup.php:97
+msgid "Close this window."
+msgstr "このウインドウを閉じる。"
+
+#: comments-popup.php:105
+#, php-format
+msgid "Powered by <a href=\"%s\" title=\"Powered by WordPress, state-of-the-art semantic personal publishing platform\"><strong>WordPress</strong></a>"
+msgstr "Powered by <a href=\"%s\" title=\"Powered by WordPress, state-of-the-art semantic personal publishing platform\"><strong>WordPress</strong></a>"
+
+#: comments.php:6
+msgid "This post is password protected. Enter the password to view comments."
+msgstr "この投稿はパスワードで保護されています。コメントを閲覧するにはパスワードを入力してください。"
+
+#: comments.php:17
+#: comments.php:38
+msgid "No Responses"
+msgstr "コメント はありません"
+
+#: comments.php:17
+#: comments.php:38
+msgid "One Response"
+msgstr "コメント 1 件"
+
+#: comments.php:17
+#: comments.php:38
+msgid "% Responses"
+msgstr "コメント % 件"
+
+#: comments.php:17
+#: comments.php:38
+#, php-format
+msgid "to &#8220;%s&#8221;"
+msgstr "<!-- to &#8220;%s&#8221; -->"
+
+#: comments.php:33
+#: comments.php:63
+msgid "Comments are closed."
+msgstr "現在コメントは受け付けていません。"
+
+#: comments.php:43
+#, php-format
+msgid "<cite>%s</cite> Says:"
+msgstr "<cite>%s</cite> より:"
+
+#: comments.php:45
+msgid "Your comment is awaiting moderation."
+msgstr "コメントは承認待ちです。"
+
+#: comments.php:48
+#, php-format
+msgid "%1$s at %2$s"
+msgstr "%1$s %2$s"
+
+#: comments.php:48
+msgid "Comment Edit"
+msgstr "編集"
+
+#: comments.php:70
+msgid "Leave a Reply"
+msgstr "コメントをどうぞ"
+
+#: comments.php:70
+#, php-format
+msgid "Leave a Reply for %s"
+msgstr "%s にコメントする"
+
+#: comments.php:79
+#, php-format
+msgid "You must be <a href=\"%s\">logged in</a> to post a comment."
+msgstr "コメントを投稿するには<a href=\"%s\">ログイン</a>してください。"
+
+#: comments.php:85
+#: comments.php:87
+#, php-format
+msgid "Logged in as <a href=\"%1$s\">%2$s</a>."
+msgstr "<a href=\"%1$s\">%2$s</a> としてログイン中。"
+
+#: comments.php:85
+#: comments.php:87
+msgid "Log out of this account"
+msgstr "このアカウントからログアウト"
+
+#: comments.php:85
+#: comments.php:87
+msgid "Log out &raquo;"
+msgstr "ログアウト &raquo;"
+
+#: comments.php:91
+#: comments.php:94
+msgid "(required)"
+msgstr " (必須)"
+
+#: comments.php:94
+msgid "Mail (will not be published)"
+msgstr "メールアドレス (公開されません)"
+
+#: comments.php:97
+msgid "Website"
+msgstr "ウェブサイト"
+
+#: comments.php:102
+#, php-format
+msgid "<strong>XHTML:</strong> You can use these tags: <code>%s</code>"
+msgstr "<strong>XHTML:</strong> 次のタグを使用できます: <code>%s</code>"
+
+#: comments.php:106
+msgid "Submit Comment"
+msgstr "コメント送信"
+
+#: footer.php:10
+#, php-format
+msgid "%1$s and %2$s."
+msgstr "%1$s と %2$s"
+
+#: footer.php:10
+msgid "Entries (RSS)"
+msgstr "投稿 (RSS)"
+
+#: footer.php:10
+msgid "Comments (RSS)"
+msgstr "コメント (RSS)"
+
+#: footer.php:12
+#, php-format
+msgid "%.3f sec."
+msgstr "%.3f 秒"
+
+#: functions.php:25
+msgid "Primary Navigation"
+msgstr "メインナビゲージョン"
+
+#: functions.php:196
+msgid "Header & Footer"
+msgstr "ヘッダー&フッター"
+
+#: functions.php:210
+msgid "Close Color Picker"
+msgstr "カラーピッカーを閉じる"
+
+#: functions.php:415
+msgid "Header Options saved."
+msgstr "ヘッダー設定を保存しました。"
+
+#: functions.php:416
+msgid "Footer Options saved."
+msgstr "フッター設定を保存しました。"
+
+#: functions.php:420
+msgid "Header Image and Color"
+msgstr "ヘッダーの背景と文字の色"
+
+#: functions.php:433
+#: functions.php:440
+msgid "Save"
+msgstr "保存"
+
+#: functions.php:434
+msgid "Font Color:"
+msgstr "フォントの色:"
+
+#: functions.php:434
+#, php-format
+msgid "Any CSS color (%s or %s or %s)"
+msgstr "CSS 色指定 (%s 、%s もしくは %s)"
+
+#: functions.php:435
+msgid "Upper Color:"
+msgstr "グラデーション上側の色:"
+
+#: functions.php:435
+#: functions.php:436
+#, php-format
+msgid "HEX only (%s or %s)"
+msgstr "16 進数のみ (%s もしくは %s)"
+
+#: functions.php:436
+msgid "Lower Color:"
+msgstr "グラデーション下側の色:"
+
+#: functions.php:438
+msgid "Toggle Text"
+msgstr "テキスト表示の切替え"
+
+#: functions.php:439
+msgid "Use Defaults"
+msgstr "デフォルト設定に戻す"
+
+#: functions.php:448
+msgid "Font Color"
+msgstr "フォントの色"
+
+#: functions.php:449
+msgid "Upper Color"
+msgstr "グラデーション上側の色"
+
+#: functions.php:450
+msgid "Lower Color"
+msgstr "グラデーション下側の色"
+
+#: functions.php:451
+msgid "Revert"
+msgstr "取り消し"
+
+#: functions.php:452
+msgid "Advanced"
+msgstr "詳細"
+
+#: functions.php:459
+msgid "Update Header &raquo;"
+msgstr "ヘッダーを更新 &raquo;"
+
+#: functions.php:465
+msgid "Font Color (CSS):"
+msgstr "フォントの色 (CSS):"
+
+#: functions.php:466
+msgid "Upper Color (HEX):"
+msgstr "グラデーション上側の色 (16 進数):"
+
+#: functions.php:467
+msgid "Lower Color (HEX):"
+msgstr "グラデーション下側の色 (16 進数):"
+
+#: functions.php:468
+msgid "Select Default Colors"
+msgstr "デフォルト設定に戻す"
+
+#: functions.php:469
+msgid "Toggle Text Display"
+msgstr "テキスト表示の切替え"
+
+#: functions.php:475
+msgid "Footer"
+msgstr "フッター"
+
+#: functions.php:481
+msgid "Set number of the sidebar to display in the footer."
+msgstr "フッターに表示するサイドバーの数を設定"
+
+#: functions.php:486
+msgid "none"
+msgstr "なし"
+
+#: functions.php:496
+msgid "Update Footer &raquo;"
+msgstr "フッターを更新 &raquo;"
+
+#: functions.php:512
+msgid "First Footer Widget Area"
+msgstr "フッターウィジェットエリア１"
+
+#: functions.php:513
+msgid "The first footer widget area"
+msgstr "フッターウィジェットエリア１"
+
+#: functions.php:516
+msgid "Second Footer Widget Area"
+msgstr "フッターウィジェットエリア２"
+
+#: functions.php:517
+msgid "The second footer widget area"
+msgstr "フッターウィジェットエリア２"
+
+#: functions.php:520
+msgid "Third Footer Widget Area"
+msgstr "フッターウィジェットエリア３"
+
+#: functions.php:521
+msgid "The third footer widget area"
+msgstr "フッターウィジェットエリア３"
+
+#: functions.php:524
+msgid "Fourth Footer Widget Area"
+msgstr "フッターウィジェットエリア４"
+
+#: functions.php:525
+msgid "The fourth footer widget area"
+msgstr "フッターウィジェットエリア４"
+
+#: functions.php:528
+msgid "Fifth Footer Widget Area"
+msgstr "フッターウィジェットエリア５"
+
+#: functions.php:529
+msgid "The fifth footer widget area"
+msgstr "フッターウィジェットエリア５"
+
+#: header.php:9
+msgid "&raquo; Blog Archive"
+msgstr "&raquo; ブログアーカイブ"
+
+#: header.php:14
+#, php-format
+msgid "%s RSS Feed"
+msgstr "%s RSS フィード"
+
+#: header.php:15
+#, php-format
+msgid "%s Atom Feed"
+msgstr "%s Atom フィード"
+
+#: header.php:58
+msgid "Main Page"
+msgstr "メインページ"
+
+#: header.php:61
+msgid "Blogs Home"
+msgstr "ブログのホーム"
+
+#: header.php:62
+msgid "Post New"
+msgstr "新規投稿"
+
+#: image.php:13
+msgid "Read the rest of this entry &raquo;"
+msgstr "この投稿の続きを読む &raquo;"
+
+#: image.php:15
+#: page.php:22
+msgid "Pages:"
+msgstr "ページ:"
+
+#: image.php:25
+#, php-format
+msgid "This entry was posted on %1$s at %2$s and is filed under %3$s."
+msgstr "この投稿は %1$s %2$s に %3$s カテゴリーに公開されました。"
+
+#: image.php:25
+#: sidebar.php:24
+msgid "l, F jS, Y"
+msgstr "Y 年 n 月 j 日 l"
+
+#: image.php:27
+#, php-format
+msgid "You can follow any responses to this entry through the <a href='%s'>RSS 2.0</a> feed."
+msgstr "この投稿へのコメントは <a href='%s'>RSS 2.0</a> フィードで購読することができます。"
+
+#: image.php:31
+#, php-format
+msgid "You can <a href=\"#respond\">leave a response</a>, or <a href=\"%s\" rel=\"trackback\">trackback</a> from your own site."
+msgstr "<a href=\"#respond\">コメントを残すか</a>、ご自分のサイトから<a href=\"%s\" rel=\"trackback\">トラックバック</a>することができます。"
+
+#: image.php:35
+#, php-format
+msgid "Responses are currently closed, but you can <a href=\"%s\" rel=\"trackback\">trackback</a> from your own site."
+msgstr "現在コメントは受け付けておりませんが、ご自分のサイトから<a href=\"%s\" rel=\"trackback\">トラックバック</a>を送ることはできます。"
+
+#: image.php:39
+msgid "You can skip to the end and leave a response. Pinging is currently not allowed."
+msgstr "このページの一番下でコメントを残すことができます。トラックバック / ピンバックは現在受け付けていません。"
+
+#: image.php:43
+msgid "Both comments and pings are currently closed."
+msgstr "現在コメント、トラックバックともに受け付けておりません。"
+
+#: image.php:45
+#: page.php:27
+msgid "Edit this entry."
+msgstr "この投稿を編集する。"
+
+#: image.php:58
+msgid "Sorry, no posts matched your criteria."
+msgstr "該当する投稿は見つかりませんでした。"
+
+#: index.php:29
+#: index.php:31
+#: multi_blog_index.php:33
+#: multi_blog_index.php:35
+#, php-format
+msgid "Permanent Link to %s"
+msgstr "%s のパーマリンク"
+
+#: index.php:44
+#: multi_blog_index.php:48
+#, php-format
+msgid "Views :%d"
+msgstr "閲覧 :%d"
+
+#: index.php:47
+#: multi_blog_index.php:51
+#, php-format
+msgid "Posted in %s"
+msgstr "カテゴリー: %s"
+
+#: index.php:49
+#: multi_blog_index.php:53
+msgid "Edit"
+msgstr "編集"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "No Comments &#187;"
+msgstr "コメントはまだありません &#187;"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "1 Comment &#187;"
+msgstr "1 件のコメント &#187;"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "% Comments &#187;"
+msgstr "% 件のコメント &#187;"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "Comments Closed"
+msgstr "コメントは受け付けていません。"
+
+#: index.php:68
+#: multi_blog_index.php:72
+msgid "Not Found"
+msgstr "見つかりませんでした。"
+
+#: index.php:69
+#: multi_blog_index.php:73
+msgid "Sorry, but you are looking for something that isn&#8217;t here."
+msgstr "お探しの物はここにはありません。"
+
+#: links.php:18
+msgid "Links:"
+msgstr "リンク:"
+
+#: multi_blog_front.php:9
+msgid "Site News"
+msgstr "サイトニュース"
+
+#: multi_blog_front.php:18
+msgid "Blogs List"
+msgstr "ブログリスト"
+
+#: multi_blog_front.php:27
+msgid "post count"
+msgstr "投稿数"
+
+#: multi_blog_front.php:34
+msgid "New Entries"
+msgstr "最近の投稿"
+
+#: multi_blog_front.php:39
+#, fuzzy, php-format
+msgid "%1$s wrote %2$s in %3$s."
+msgstr "%1$s %2$s"
+
+#: multi_blog_front.php:46
+msgid "Updated Blogs"
+msgstr "最近更新されたブログ"
+
+#: multi_blog_front.php:67
+#, php-format
+msgid "Howdy %s"
+msgstr "ようこそ %s さん"
+
+#: multi_blog_front.php:73
+msgid "Your Blogs list"
+msgstr "あなたのブログリスト"
+
+#: multi_blog_front.php:84
+msgid "Create a new blog"
+msgstr "新しいブログの作成"
+
+#: page.php:20
+msgid "Read the rest of this page &raquo;"
+msgstr "このページの続きを読む &raquo;"
+
+#: searchform.php:2
+msgid "Search for:"
+msgstr "検索:"
+
+#: searchform.php:8
+msgid "Search"
+msgstr "検索"
+
+#: sidebar.php:10
+msgid "Author"
+msgstr "作成者"
+
+#: sidebar.php:21
+#, php-format
+msgid "You are currently browsing the archives for the %s category."
+msgstr "%s カテゴリーのアーカイブを表示しています。"
+
+#: sidebar.php:24
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives for the day %3$s."
+msgstr "<a href=\"%1$s\">%2$s</a> ブログの %3$s のアーカイブを表示しています。"
+
+#: sidebar.php:27
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives for %3$s."
+msgstr "<a href=\"%1$s/\">%2$s</a> の %3$s のアーカイブを閲覧中です。"
+
+#: sidebar.php:27
+msgid "F, Y"
+msgstr "Y 年 n 月"
+
+#: sidebar.php:30
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives for the year %3$s."
+msgstr "<a href=\"%1$s\">%2$s</a> ブログの %3$s 年のアーカイブを表示しています。"
+
+#: sidebar.php:33
+#, php-format
+msgid "You have searched the <a href=\"%1$s/\">%2$s</a> blog archives for <strong>&#8216;%3$s&#8217;</strong>. If you are unable to find anything in these search results, you can try one of these links."
+msgstr "<a href=\"%1$s/\">%2$s</a> のアーカイブ内で<strong>&#8216;%3$s&#8217;</strong>を探しました。お探しのものが見つからない場合は他のリンクを試してみてください。"
+
+#: sidebar.php:36
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives."
+msgstr "<a href=\"%1$s/\">%2$s</a> ブログのアーカイブを閲覧中です。"
+
+#: sidebar.php:42
+msgid "Pages"
+msgstr "ページ"
+
+#: sidebar.php:44
+msgid "Archives"
+msgstr "アーカイブ"
+
+#: sidebar.php:51
+#: sidebar.php:53
+msgid "Categories"
+msgstr "カテゴリー"
+
+#: sidebar.php:62
+msgid "Meta"
+msgstr "メタ情報"
+
+#: sidebar.php:66
+msgid "This page validates as XHTML 1.0 Transitional"
+msgstr "このページが XHTML 1.0 Transitional に準拠しているか確認する"
+
+#: sidebar.php:66
+msgid "Valid <abbr title=\"eXtensible HyperText Markup Language\">XHTML</abbr>"
+msgstr "Valid <abbr title=\"eXtensible HyperText Markup Language\">XHTML</abbr>"
+
+#: sidebar.php:67
+msgid "XHTML Friends Network"
+msgstr "XHTML Friends Network"
+
+#: sidebar.php:67
+msgid "XFN"
+msgstr "XFN"
+
+#: sidebar.php:68
+msgid "Powered by WordPress, state-of-the-art semantic personal publishing platform."
+msgstr "Powered by WordPress, state-of-the-art semantic personal publishing platform."
+
+#: single.php:53
+msgid "No Trackback/Pingback"
+msgstr "トラックバック・ピンバックはありません"
+
+#: single.php:53
+msgid "One Trackback/Pingback"
+msgstr "トラックバック・ピンバック 1 件"
+
+#: single.php:53
+msgid "% TrackBack/Pingback"
+msgstr "トラックバック・ピンバック % 件"
+
+#: single.php:57
+#, php-format
+msgid "You can <a href=\"%s\" rel=\"trackback\">trackback</a> from your own site."
+msgstr "ご自分のサイトから<a href=\"%s\" rel=\"trackback\">トラックバック</a>を送ることができます。"
+
+#: single.php:59
+msgid "Pinging is currently not allowed."
+msgstr "トラックバック / ピンバックは現在受け付けていません。"
+
+#: blocks/archives_block_theme.php:14
+msgid "Select Yearly"
+msgstr "年を選択"
+
+#: blocks/archives_block_theme.php:17
+#: blocks/archives_block_theme.php:29
+msgid "Select Monthly"
+msgstr "月を選択"
+
+#: blocks/archives_block_theme.php:20
+msgid "Select Weekly"
+msgstr "週を選択"
+
+#: blocks/archives_block_theme.php:23
+msgid "Select Daily"
+msgstr "日を選択"
+
+#: blocks/archives_block_theme.php:26
+msgid "Select Post"
+msgstr "記事を選択"
+
+#: blocks/authors_block_theme.php:32
+msgid "All Authors"
+msgstr "全ての投稿者"
+
+#: blocks/blog_list_block_theme.php:66
+#: blocks/global_popular_posts_block_theme.php:192
+#: blocks/global_recent_comments_block_theme.php:130
+#: blocks/global_recent_posts_list_block_theme.php:44
+msgid "This blog is not set to the multi blog."
+msgstr "このブログはマルチブログに設定されていません。"
+
+#: blocks/enhanced_block_theme.php:14
+msgid "The include file name to display it is not set."
+msgstr "表示を行うためのインクルードファイル名が設定されていません。"
+
+#: blocks/enhanced_block_theme.php:21
+#, php-format
+msgid "File %s not exist."
+msgstr "ファイル %s が見つかりません。"
+
+#: blocks/enhanced_block_theme.php:29
+msgid "Data is Empty"
+msgstr "データは空です"
+
+#: blocks/global_popular_posts_block_theme.php:114
+#: blocks/popular_posts_block_theme.php:122
+#: blocks/recent_posts_content_block_theme.php:84
+#: blocks/recent_posts_list_block_theme.php:70
+msgid "Tags:"
+msgstr "タグ:"
+
+#: blocks/global_popular_posts_block_theme.php:143
+#: blocks/popular_posts_block_theme.php:151
+#: blocks/recent_posts_content_block_theme.php:123
+#: blocks/recent_posts_list_block_theme.php:99
+msgid "Comments (0)"
+msgstr "コメントはありません"
+
+#: blocks/global_popular_posts_block_theme.php:143
+#: blocks/popular_posts_block_theme.php:151
+#: blocks/recent_posts_content_block_theme.php:123
+#: blocks/recent_posts_list_block_theme.php:99
+msgid "Comments (1)"
+msgstr "1件のコメント"
+
+#: blocks/global_popular_posts_block_theme.php:143
+#: blocks/popular_posts_block_theme.php:151
+#: blocks/recent_posts_content_block_theme.php:123
+#: blocks/recent_posts_list_block_theme.php:99
+msgid "Comments (%)"
+msgstr "Comments (%)"
+
+#: blocks/global_recent_comments_block_theme.php:85
+#: blocks/recent_comments_block_theme.php:82
+#, php-format
+msgid "%1$s on %2$s"
+msgstr "%2$s に %1$s より"
+
+#: blocks/meta_block_theme.php:25
+msgid "Posts RSS"
+msgstr "投稿の RSS"
+
+#: blocks/meta_block_theme.php:28
+msgid "Comments RSS"
+msgstr "コメント のRSS"
+
+#: blocks/meta_block_theme.php:41
+#: blocks/meta_block_theme.php:46
+msgid "Add New"
+msgstr "新規投稿"
+
+#: blocks/meta_block_theme.php:55
+msgid "Site Admin"
+msgstr "WordPress管理"
+
+#: blocks/meta_block_theme.php:61
+msgid "User Profile"
+msgstr "ユーザープロファイル"
+
+#: blocks/meta_block_theme.php:69
+#: blocks/meta_block_theme.php:74
+msgid "Subscription management"
+msgstr "メール購読の設定"
+
+#: blocks/meta_block_theme.php:82
+msgid "ReadMe"
+msgstr "ReadMe表示"
+
+#: blocks/meta_block_theme.php:87
+msgid "Themes"
+msgstr "テーマ選択"
+
+#~ msgid "PHP code error"
+#~ msgstr "PHPコードにエラーがあります。"
+
+#~ msgid "Customize Header"
+#~ msgstr "ヘッダーのカスタマイズ"
+
+#~ msgid "%d queries. %s seconds."
+#~ msgstr "%d 個のクエリと %s 秒を要しました。"
+
+#~ msgid "views: %d"
+#~ msgstr "閲覧 :%d回"
+
+#~ msgid "more"
+#~ msgstr "続きを読む"
+
+#, fuzzy
+#~ msgid "F jS, Y"
+#~ msgstr "Y 年 n 月 j 日 l"
+
+#~ msgid "Calendar"
+#~ msgstr "カレンダー"
+
+#~ msgid "%1$s %2$s|Used as a calendar caption"
+#~ msgstr "%2$s 年 %1$s|カレンダーのキャプションに使われます"
+
+#~ msgid "View posts for %1$s %2$s"
+#~ msgstr "%2$s 年 %1$s の投稿を表示"
Index: /tags/Ver2.5.4/extras/my_themes/languages/lang.pot
===================================================================
--- /tags/Ver2.5.4/extras/my_themes/languages/lang.pot	(revision 866)
+++ /tags/Ver2.5.4/extras/my_themes/languages/lang.pot	(revision 866)
@@ -0,0 +1,817 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR XPressME
+# This file is distributed under the same license as the XPressME package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: XPress_Default_themes\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2011-02-21 09:49+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+#: 404.php:22
+msgid "Error 404 - Not Found"
+msgstr ""
+
+#: archives.php:20
+msgid "Archives by Month:"
+msgstr ""
+
+#: archives.php:25
+msgid "Archives by Subject:"
+msgstr ""
+
+#: comments-popup.php:9
+#, php-format
+msgid "%1$s - Comments on %2$s"
+msgstr ""
+
+#: comments-popup.php:22
+msgid "Comments"
+msgstr ""
+
+#: comments-popup.php:24
+msgid "<abbr title=\"Really Simple Syndication\">RSS</abbr> feed for comments on this post."
+msgstr ""
+
+#: comments-popup.php:27
+#, php-format
+msgid "The <abbr title=\"Universal Resource Locator\">URL</abbr> to TrackBack this entry is: <em>%s</em>"
+msgstr ""
+
+#: comments-popup.php:45
+msgid "Comment"
+msgstr ""
+
+#: comments-popup.php:45
+msgid "Trackback"
+msgstr ""
+
+#: comments-popup.php:45
+msgid "Pingback"
+msgstr ""
+
+#: comments-popup.php:45
+#, php-format
+msgid "by %1$s &#8212; %2$s @ <a href=\"#comment-%3$s\">%4$s</a>"
+msgstr ""
+
+#: comments-popup.php:51
+msgid "No comments yet."
+msgstr ""
+
+#: comments-popup.php:55
+msgid "Leave a comment"
+msgstr ""
+
+#: comments-popup.php:56
+#, php-format
+msgid "Line and paragraph breaks automatic, e-mail address never displayed, <acronym title=\"Hypertext Markup Language\">HTML</acronym> allowed: <code>%s</code>"
+msgstr ""
+
+#: comments-popup.php:60
+#, php-format
+msgid "Logged in as <a href=\"%1$s\">%2$s</a>. <a href=\"%3$s\" title=\"Log out of this account\">Log out &raquo;</a>"
+msgstr ""
+
+#: comments-popup.php:64
+#: comments.php:91
+msgid "Name"
+msgstr ""
+
+#: comments-popup.php:71
+msgid "E-mail"
+msgstr ""
+
+#: comments-popup.php:76
+msgid "<abbr title=\"Universal Resource Locator\">URL</abbr>"
+msgstr ""
+
+#: comments-popup.php:81
+msgid "Your Comment"
+msgstr ""
+
+#: comments-popup.php:87
+msgid "Say It!"
+msgstr ""
+
+#: comments-popup.php:92
+msgid "Sorry, the comment form is closed at this time."
+msgstr ""
+
+#: comments-popup.php:97
+msgid "Close this window."
+msgstr ""
+
+#: comments-popup.php:105
+#, php-format
+msgid "Powered by <a href=\"%s\" title=\"Powered by WordPress, state-of-the-art semantic personal publishing platform\"><strong>WordPress</strong></a>"
+msgstr ""
+
+#: comments.php:6
+msgid "This post is password protected. Enter the password to view comments."
+msgstr ""
+
+#: comments.php:17
+#: comments.php:38
+msgid "No Responses"
+msgstr ""
+
+#: comments.php:17
+#: comments.php:38
+msgid "One Response"
+msgstr ""
+
+#: comments.php:17
+#: comments.php:38
+msgid "% Responses"
+msgstr ""
+
+#: comments.php:17
+#: comments.php:38
+#, php-format
+msgid "to &#8220;%s&#8221;"
+msgstr ""
+
+#: comments.php:33
+#: comments.php:63
+msgid "Comments are closed."
+msgstr ""
+
+#: comments.php:43
+#, php-format
+msgid "<cite>%s</cite> Says:"
+msgstr ""
+
+#: comments.php:45
+msgid "Your comment is awaiting moderation."
+msgstr ""
+
+#: comments.php:48
+#, php-format
+msgid "%1$s at %2$s"
+msgstr ""
+
+#: comments.php:48
+msgid "Comment Edit"
+msgstr ""
+
+#: comments.php:70
+msgid "Leave a Reply"
+msgstr ""
+
+#: comments.php:70
+#, php-format
+msgid "Leave a Reply for %s"
+msgstr ""
+
+#: comments.php:79
+#, php-format
+msgid "You must be <a href=\"%s\">logged in</a> to post a comment."
+msgstr ""
+
+#: comments.php:85
+#: comments.php:87
+#, php-format
+msgid "Logged in as <a href=\"%1$s\">%2$s</a>."
+msgstr ""
+
+#: comments.php:85
+#: comments.php:87
+msgid "Log out of this account"
+msgstr ""
+
+#: comments.php:85
+#: comments.php:87
+msgid "Log out &raquo;"
+msgstr ""
+
+#: comments.php:91
+#: comments.php:94
+msgid "(required)"
+msgstr ""
+
+#: comments.php:94
+msgid "Mail (will not be published)"
+msgstr ""
+
+#: comments.php:97
+msgid "Website"
+msgstr ""
+
+#: comments.php:102
+#, php-format
+msgid "<strong>XHTML:</strong> You can use these tags: <code>%s</code>"
+msgstr ""
+
+#: comments.php:106
+msgid "Submit Comment"
+msgstr ""
+
+#: footer.php:10
+#, php-format
+msgid "%1$s and %2$s."
+msgstr ""
+
+#: footer.php:10
+msgid "Entries (RSS)"
+msgstr ""
+
+#: footer.php:10
+msgid "Comments (RSS)"
+msgstr ""
+
+#: footer.php:12
+#, php-format
+msgid "%.3f sec."
+msgstr ""
+
+#: functions.php:25
+msgid "Primary Navigation"
+msgstr ""
+
+#: functions.php:196
+msgid "Header & Footer"
+msgstr ""
+
+#: functions.php:210
+msgid "Close Color Picker"
+msgstr ""
+
+#: functions.php:415
+msgid "Header Options saved."
+msgstr ""
+
+#: functions.php:416
+msgid "Footer Options saved."
+msgstr ""
+
+#: functions.php:420
+msgid "Header Image and Color"
+msgstr ""
+
+#: functions.php:433
+#: functions.php:440
+msgid "Save"
+msgstr ""
+
+#: functions.php:434
+msgid "Font Color:"
+msgstr ""
+
+#: functions.php:434
+#, php-format
+msgid "Any CSS color (%s or %s or %s)"
+msgstr ""
+
+#: functions.php:435
+msgid "Upper Color:"
+msgstr ""
+
+#: functions.php:435
+#: functions.php:436
+#, php-format
+msgid "HEX only (%s or %s)"
+msgstr ""
+
+#: functions.php:436
+msgid "Lower Color:"
+msgstr ""
+
+#: functions.php:438
+msgid "Toggle Text"
+msgstr ""
+
+#: functions.php:439
+msgid "Use Defaults"
+msgstr ""
+
+#: functions.php:448
+msgid "Font Color"
+msgstr ""
+
+#: functions.php:449
+msgid "Upper Color"
+msgstr ""
+
+#: functions.php:450
+msgid "Lower Color"
+msgstr ""
+
+#: functions.php:451
+msgid "Revert"
+msgstr ""
+
+#: functions.php:452
+msgid "Advanced"
+msgstr ""
+
+#: functions.php:459
+msgid "Update Header &raquo;"
+msgstr ""
+
+#: functions.php:465
+msgid "Font Color (CSS):"
+msgstr ""
+
+#: functions.php:466
+msgid "Upper Color (HEX):"
+msgstr ""
+
+#: functions.php:467
+msgid "Lower Color (HEX):"
+msgstr ""
+
+#: functions.php:468
+msgid "Select Default Colors"
+msgstr ""
+
+#: functions.php:469
+msgid "Toggle Text Display"
+msgstr ""
+
+#: functions.php:475
+msgid "Footer"
+msgstr ""
+
+#: functions.php:481
+msgid "Set number of the sidebar to display in the footer."
+msgstr ""
+
+#: functions.php:486
+msgid "none"
+msgstr ""
+
+#: functions.php:496
+msgid "Update Footer &raquo;"
+msgstr ""
+
+#: functions.php:512
+msgid "First Footer Widget Area"
+msgstr ""
+
+#: functions.php:513
+msgid "The first footer widget area"
+msgstr ""
+
+#: functions.php:516
+msgid "Second Footer Widget Area"
+msgstr ""
+
+#: functions.php:517
+msgid "The second footer widget area"
+msgstr ""
+
+#: functions.php:520
+msgid "Third Footer Widget Area"
+msgstr ""
+
+#: functions.php:521
+msgid "The third footer widget area"
+msgstr ""
+
+#: functions.php:524
+msgid "Fourth Footer Widget Area"
+msgstr ""
+
+#: functions.php:525
+msgid "The fourth footer widget area"
+msgstr ""
+
+#: functions.php:528
+msgid "Fifth Footer Widget Area"
+msgstr ""
+
+#: functions.php:529
+msgid "The fifth footer widget area"
+msgstr ""
+
+#: header.php:9
+msgid "&raquo; Blog Archive"
+msgstr ""
+
+#: header.php:14
+#, php-format
+msgid "%s RSS Feed"
+msgstr ""
+
+#: header.php:15
+#, php-format
+msgid "%s Atom Feed"
+msgstr ""
+
+#: header.php:58
+msgid "Main Page"
+msgstr ""
+
+#: header.php:61
+msgid "Blogs Home"
+msgstr ""
+
+#: header.php:62
+msgid "Post New"
+msgstr ""
+
+#: image.php:13
+msgid "Read the rest of this entry &raquo;"
+msgstr ""
+
+#: image.php:15
+#: page.php:22
+msgid "Pages:"
+msgstr ""
+
+#: image.php:25
+#, php-format
+msgid "This entry was posted on %1$s at %2$s and is filed under %3$s."
+msgstr ""
+
+#: image.php:25
+#: sidebar.php:24
+msgid "l, F jS, Y"
+msgstr ""
+
+#: image.php:27
+#, php-format
+msgid "You can follow any responses to this entry through the <a href='%s'>RSS 2.0</a> feed."
+msgstr ""
+
+#: image.php:31
+#, php-format
+msgid "You can <a href=\"#respond\">leave a response</a>, or <a href=\"%s\" rel=\"trackback\">trackback</a> from your own site."
+msgstr ""
+
+#: image.php:35
+#, php-format
+msgid "Responses are currently closed, but you can <a href=\"%s\" rel=\"trackback\">trackback</a> from your own site."
+msgstr ""
+
+#: image.php:39
+msgid "You can skip to the end and leave a response. Pinging is currently not allowed."
+msgstr ""
+
+#: image.php:43
+msgid "Both comments and pings are currently closed."
+msgstr ""
+
+#: image.php:45
+#: page.php:27
+msgid "Edit this entry."
+msgstr ""
+
+#: image.php:58
+msgid "Sorry, no posts matched your criteria."
+msgstr ""
+
+#: index.php:29
+#: index.php:31
+#: multi_blog_index.php:33
+#: multi_blog_index.php:35
+#, php-format
+msgid "Permanent Link to %s"
+msgstr ""
+
+#: index.php:44
+#: multi_blog_index.php:48
+#, php-format
+msgid "Views :%d"
+msgstr ""
+
+#: index.php:47
+#: multi_blog_index.php:51
+#, php-format
+msgid "Posted in %s"
+msgstr ""
+
+#: index.php:49
+#: multi_blog_index.php:53
+msgid "Edit"
+msgstr ""
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "No Comments &#187;"
+msgstr ""
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "1 Comment &#187;"
+msgstr ""
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "% Comments &#187;"
+msgstr ""
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "Comments Closed"
+msgstr ""
+
+#: index.php:68
+#: multi_blog_index.php:72
+msgid "Not Found"
+msgstr ""
+
+#: index.php:69
+#: multi_blog_index.php:73
+msgid "Sorry, but you are looking for something that isn&#8217;t here."
+msgstr ""
+
+#: links.php:18
+msgid "Links:"
+msgstr ""
+
+#: multi_blog_front.php:9
+msgid "Site News"
+msgstr ""
+
+#: multi_blog_front.php:18
+msgid "Blogs List"
+msgstr ""
+
+#: multi_blog_front.php:27
+msgid "post count"
+msgstr ""
+
+#: multi_blog_front.php:34
+msgid "New Entries"
+msgstr ""
+
+#: multi_blog_front.php:39
+#, fuzzy, php-format
+msgid "%1$s wrote %2$s in %3$s."
+msgstr ""
+
+#: multi_blog_front.php:46
+msgid "Updated Blogs"
+msgstr ""
+
+#: multi_blog_front.php:67
+#, php-format
+msgid "Howdy %s"
+msgstr ""
+
+#: multi_blog_front.php:73
+msgid "Your Blogs list"
+msgstr ""
+
+#: multi_blog_front.php:84
+msgid "Create a new blog"
+msgstr ""
+
+#: page.php:20
+msgid "Read the rest of this page &raquo;"
+msgstr ""
+
+#: searchform.php:2
+msgid "Search for:"
+msgstr ""
+
+#: searchform.php:8
+msgid "Search"
+msgstr ""
+
+#: sidebar.php:10
+msgid "Author"
+msgstr ""
+
+#: sidebar.php:21
+#, php-format
+msgid "You are currently browsing the archives for the %s category."
+msgstr ""
+
+#: sidebar.php:24
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives for the day %3$s."
+msgstr ""
+
+#: sidebar.php:27
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives for %3$s."
+msgstr ""
+
+#: sidebar.php:27
+msgid "F, Y"
+msgstr ""
+
+#: sidebar.php:30
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives for the year %3$s."
+msgstr ""
+
+#: sidebar.php:33
+#, php-format
+msgid "You have searched the <a href=\"%1$s/\">%2$s</a> blog archives for <strong>&#8216;%3$s&#8217;</strong>. If you are unable to find anything in these search results, you can try one of these links."
+msgstr ""
+
+#: sidebar.php:36
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives."
+msgstr ""
+
+#: sidebar.php:42
+msgid "Pages"
+msgstr ""
+
+#: sidebar.php:44
+msgid "Archives"
+msgstr ""
+
+#: sidebar.php:51
+#: sidebar.php:53
+msgid "Categories"
+msgstr ""
+
+#: sidebar.php:62
+msgid "Meta"
+msgstr ""
+
+#: sidebar.php:66
+msgid "This page validates as XHTML 1.0 Transitional"
+msgstr ""
+
+#: sidebar.php:66
+msgid "Valid <abbr title=\"eXtensible HyperText Markup Language\">XHTML</abbr>"
+msgstr ""
+
+#: sidebar.php:67
+msgid "XHTML Friends Network"
+msgstr ""
+
+#: sidebar.php:67
+msgid "XFN"
+msgstr ""
+
+#: sidebar.php:68
+msgid "Powered by WordPress, state-of-the-art semantic personal publishing platform."
+msgstr ""
+
+#: single.php:53
+msgid "No Trackback/Pingback"
+msgstr ""
+
+#: single.php:53
+msgid "One Trackback/Pingback"
+msgstr ""
+
+#: single.php:53
+msgid "% TrackBack/Pingback"
+msgstr ""
+
+#: single.php:57
+#, php-format
+msgid "You can <a href=\"%s\" rel=\"trackback\">trackback</a> from your own site."
+msgstr ""
+
+#: single.php:59
+msgid "Pinging is currently not allowed."
+msgstr ""
+
+#: blocks/archives_block_theme.php:14
+msgid "Select Yearly"
+msgstr ""
+
+#: blocks/archives_block_theme.php:17
+#: blocks/archives_block_theme.php:29
+msgid "Select Monthly"
+msgstr ""
+
+#: blocks/archives_block_theme.php:20
+msgid "Select Weekly"
+msgstr ""
+
+#: blocks/archives_block_theme.php:23
+msgid "Select Daily"
+msgstr ""
+
+#: blocks/archives_block_theme.php:26
+msgid "Select Post"
+msgstr ""
+
+#: blocks/authors_block_theme.php:32
+msgid "All Authors"
+msgstr ""
+
+#: blocks/blog_list_block_theme.php:66
+#: blocks/global_popular_posts_block_theme.php:192
+#: blocks/global_recent_comments_block_theme.php:130
+#: blocks/global_recent_posts_list_block_theme.php:44
+msgid "This blog is not set to the multi blog."
+msgstr ""
+
+#: blocks/enhanced_block_theme.php:14
+msgid "The include file name to display it is not set."
+msgstr ""
+
+#: blocks/enhanced_block_theme.php:21
+#, php-format
+msgid "File %s not exist."
+msgstr ""
+
+#: blocks/enhanced_block_theme.php:29
+msgid "Data is Empty"
+msgstr ""
+
+#: blocks/global_popular_posts_block_theme.php:114
+#: blocks/popular_posts_block_theme.php:122
+#: blocks/recent_posts_content_block_theme.php:84
+#: blocks/recent_posts_list_block_theme.php:70
+msgid "Tags:"
+msgstr ""
+
+#: blocks/global_popular_posts_block_theme.php:143
+#: blocks/popular_posts_block_theme.php:151
+#: blocks/recent_posts_content_block_theme.php:123
+#: blocks/recent_posts_list_block_theme.php:99
+msgid "Comments (0)"
+msgstr ""
+
+#: blocks/global_popular_posts_block_theme.php:143
+#: blocks/popular_posts_block_theme.php:151
+#: blocks/recent_posts_content_block_theme.php:123
+#: blocks/recent_posts_list_block_theme.php:99
+msgid "Comments (1)"
+msgstr ""
+
+#: blocks/global_popular_posts_block_theme.php:143
+#: blocks/popular_posts_block_theme.php:151
+#: blocks/recent_posts_content_block_theme.php:123
+#: blocks/recent_posts_list_block_theme.php:99
+msgid "Comments (%)"
+msgstr ""
+
+#: blocks/global_recent_comments_block_theme.php:85
+#: blocks/recent_comments_block_theme.php:82
+#, php-format
+msgid "%1$s on %2$s"
+msgstr ""
+
+#: blocks/meta_block_theme.php:25
+msgid "Posts RSS"
+msgstr ""
+
+#: blocks/meta_block_theme.php:28
+msgid "Comments RSS"
+msgstr ""
+
+#: blocks/meta_block_theme.php:41
+#: blocks/meta_block_theme.php:46
+msgid "Add New"
+msgstr ""
+
+#: blocks/meta_block_theme.php:55
+msgid "Site Admin"
+msgstr ""
+
+#: blocks/meta_block_theme.php:61
+msgid "User Profile"
+msgstr ""
+
+#: blocks/meta_block_theme.php:69
+#: blocks/meta_block_theme.php:74
+msgid "Subscription management"
+msgstr ""
+
+#: blocks/meta_block_theme.php:82
+msgid "ReadMe"
+msgstr ""
+
+#: blocks/meta_block_theme.php:87
+msgid "Themes"
+msgstr ""
+
+#~ msgid "PHP code error"
+#~ msgstr ""
+
+#~ msgid "Customize Header"
+#~ msgstr ""
+
+#~ msgid "%d queries. %s seconds."
+#~ msgstr ""
+
+#~ msgid "views: %d"
+#~ msgstr ""
+
+#~ msgid "more"
+#~ msgstr ""
+
+#, fuzzy
+#~ msgid "F jS, Y"
+#~ msgstr ""
+
+#~ msgid "Calendar"
+#~ msgstr ""
+
+#~ msgid "%1$s %2$s|Used as a calendar caption"
+#~ msgstr ""
+
+#~ msgid "View posts for %1$s %2$s"
+#~ msgstr ""
Index: /tags/Ver2.5.4/extras/my_themes/languages/pt_BR.po
===================================================================
--- /tags/Ver2.5.4/extras/my_themes/languages/pt_BR.po	(revision 866)
+++ /tags/Ver2.5.4/extras/my_themes/languages/pt_BR.po	(revision 866)
@@ -0,0 +1,827 @@
+# Brazilian Portuguese (UTF-8) translation for XPressME Plugin [http://yuji.ws]
+# Copyright (c) 2005-2008 XPressME
+# This file is distributed under the same license as the XPressME package.
+# toemon <info@toemon.com>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: XPress_Default_themes\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2011-02-21 09:49+0900\n"
+"PO-Revision-Date: 2011-02-21 10:05+0900\n"
+"Last-Translator: toemon <info@toemon.com>\n"
+"Language-Team: Marcelo Yuji Himoro <yuji@yuji.ws>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Portguese\n"
+"X-Poedit-Country: BRAZIL\n"
+"X-Poedit-SourceCharset: utf-8\n"
+"X-Poedit-KeywordsList: __;_e;_c\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Poedit-SearchPath-0: .\n"
+
+#: 404.php:22
+msgid "Error 404 - Not Found"
+msgstr "Erro 404 - Página não encontrada"
+
+#: archives.php:20
+msgid "Archives by Month:"
+msgstr "Arquivo por mês:"
+
+#: archives.php:25
+msgid "Archives by Subject:"
+msgstr "Arquivo por assunto:"
+
+#: comments-popup.php:9
+#, php-format
+msgid "%1$s - Comments on %2$s"
+msgstr "%1$s - Comentários em %2$s"
+
+#: comments-popup.php:22
+msgid "Comments"
+msgstr "Comentários"
+
+#: comments-popup.php:24
+msgid "<abbr title=\"Really Simple Syndication\">RSS</abbr> feed for comments on this post."
+msgstr "Feed <abbr title=\"Really Simple Syndication\">RSS</abbr> dos comentários deste post."
+
+#: comments-popup.php:27
+#, php-format
+msgid "The <abbr title=\"Universal Resource Locator\">URL</abbr> to TrackBack this entry is: <em>%s</em>"
+msgstr "A <abbr title=\"Universal Resource Locator\">URL</abbr> de trackback para este post é: <em>%s</em>"
+
+#: comments-popup.php:45
+msgid "Comment"
+msgstr "Comentário"
+
+#: comments-popup.php:45
+msgid "Trackback"
+msgstr "Trackback"
+
+#: comments-popup.php:45
+msgid "Pingback"
+msgstr "Pingback"
+
+#: comments-popup.php:45
+#, php-format
+msgid "by %1$s &#8212; %2$s @ <a href=\"#comment-%3$s\">%4$s</a>"
+msgstr "por %1$s &#8212; %2$s às <a href=\"#comment-%3$s\">%4$s</a>"
+
+#: comments-popup.php:51
+msgid "No comments yet."
+msgstr "Nenhum comentário ainda."
+
+#: comments-popup.php:55
+msgid "Leave a comment"
+msgstr "Comente"
+
+#: comments-popup.php:56
+#, php-format
+msgid "Line and paragraph breaks automatic, e-mail address never displayed, <acronym title=\"Hypertext Markup Language\">HTML</acronym> allowed: <code>%s</code>"
+msgstr "Quebras de linha e de parágrafos são automáticas, endereços de email nunca são exibidos, <acronym title=\"Hypertext Markup Language\">HTML</acronym> permitido: <code>%s</code>"
+
+#: comments-popup.php:60
+#, php-format
+msgid "Logged in as <a href=\"%1$s\">%2$s</a>. <a href=\"%3$s\" title=\"Log out of this account\">Log out &raquo;</a>"
+msgstr "Login feito como <a href=\"%1$s\">%2$s</a>. <a href=\"%3$s\" title=\"Fazer logout desta conta\">Logout &raquo;</a>"
+
+#: comments-popup.php:64
+#: comments.php:91
+msgid "Name"
+msgstr "Nome"
+
+#: comments-popup.php:71
+msgid "E-mail"
+msgstr "E-mail"
+
+#: comments-popup.php:76
+msgid "<abbr title=\"Universal Resource Locator\">URL</abbr>"
+msgstr "<abbr title=\"Universal Resource Locator\">URL</abbr>"
+
+#: comments-popup.php:81
+msgid "Your Comment"
+msgstr "Comentário"
+
+#: comments-popup.php:87
+msgid "Say It!"
+msgstr "Enviar"
+
+#: comments-popup.php:92
+msgid "Sorry, the comment form is closed at this time."
+msgstr "O formulário de comentários está fechado no momento."
+
+#: comments-popup.php:97
+msgid "Close this window."
+msgstr "Fechar janela."
+
+#: comments-popup.php:105
+#, php-format
+msgid "Powered by <a href=\"%s\" title=\"Powered by WordPress, state-of-the-art semantic personal publishing platform\"><strong>WordPress</strong></a>"
+msgstr "Powered by <a href=\"%s\" title=\"Mantido com o WordPress, plataforma semântica de vanguarda para publicação pessoal\"><strong>WordPress</strong></a>"
+
+#: comments.php:6
+msgid "This post is password protected. Enter the password to view comments."
+msgstr "Este post é protegido por senha. Digite a senha para ver os comentários."
+
+#: comments.php:17
+#: comments.php:38
+msgid "No Responses"
+msgstr "Nenhum comentário"
+
+#: comments.php:17
+#: comments.php:38
+msgid "One Response"
+msgstr "Um comentário"
+
+#: comments.php:17
+#: comments.php:38
+msgid "% Responses"
+msgstr "% comentários"
+
+#: comments.php:17
+#: comments.php:38
+#, php-format
+msgid "to &#8220;%s&#8221;"
+msgstr "para &#8220;%s&#8221;"
+
+#: comments.php:33
+#: comments.php:63
+msgid "Comments are closed."
+msgstr "Os comentários estão fechados."
+
+#: comments.php:43
+#, php-format
+msgid "<cite>%s</cite> Says:"
+msgstr "<cite>%s</cite> disse:"
+
+#: comments.php:45
+msgid "Your comment is awaiting moderation."
+msgstr "Seu comentário está aguardando moderação."
+
+#: comments.php:48
+#, php-format
+msgid "%1$s at %2$s"
+msgstr "%1$s em %2$s"
+
+#: comments.php:48
+msgid "Comment Edit"
+msgstr "Editar comentário"
+
+#: comments.php:70
+msgid "Leave a Reply"
+msgstr "Comente"
+
+#: comments.php:70
+#, php-format
+msgid "Leave a Reply for %s"
+msgstr "Comentar %s"
+
+#: comments.php:79
+#, php-format
+msgid "You must be <a href=\"%s\">logged in</a> to post a comment."
+msgstr "Você precisa fazer <a href=\"%s\">login</a> para comentar."
+
+#: comments.php:85
+#: comments.php:87
+#, php-format
+msgid "Logged in as <a href=\"%1$s\">%2$s</a>."
+msgstr "Login como <a href=\"%1$s\">%2$s</a>."
+
+#: comments.php:85
+#: comments.php:87
+msgid "Log out of this account"
+msgstr "Logout desta conta"
+
+#: comments.php:85
+#: comments.php:87
+msgid "Log out &raquo;"
+msgstr "Logout &raquo;"
+
+#: comments.php:91
+#: comments.php:94
+msgid "(required)"
+msgstr "(obrigatório)"
+
+#: comments.php:94
+msgid "Mail (will not be published)"
+msgstr "E-mail (não será publicado)"
+
+#: comments.php:97
+msgid "Website"
+msgstr "Site"
+
+#: comments.php:102
+#, php-format
+msgid "<strong>XHTML:</strong> You can use these tags: <code>%s</code>"
+msgstr "<strong>XHTML:</strong> Você pode usar estas tags: <code>%s</code>"
+
+#: comments.php:106
+msgid "Submit Comment"
+msgstr "Enviar comentário"
+
+#: footer.php:10
+#, php-format
+msgid "%1$s and %2$s."
+msgstr "%1$s e %2$s"
+
+#: footer.php:10
+msgid "Entries (RSS)"
+msgstr "Posts (RSS)"
+
+#: footer.php:10
+msgid "Comments (RSS)"
+msgstr "Comentários (RSS)"
+
+#: footer.php:12
+#, php-format
+msgid "%.3f sec."
+msgstr "%.3f seg."
+
+#: functions.php:25
+msgid "Primary Navigation"
+msgstr ""
+
+#: functions.php:196
+msgid "Header & Footer"
+msgstr ""
+
+#: functions.php:210
+msgid "Close Color Picker"
+msgstr "Fechar seletor de cores"
+
+#: functions.php:415
+#, fuzzy
+msgid "Header Options saved."
+msgstr "Opções salvas."
+
+#: functions.php:416
+#, fuzzy
+msgid "Footer Options saved."
+msgstr "Opções salvas."
+
+#: functions.php:420
+msgid "Header Image and Color"
+msgstr "Imagem do cabeçalho e cor"
+
+#: functions.php:433
+#: functions.php:440
+msgid "Save"
+msgstr "Salvar"
+
+#: functions.php:434
+msgid "Font Color:"
+msgstr "Cor da fonte:"
+
+#: functions.php:434
+#, php-format
+msgid "Any CSS color (%s or %s or %s)"
+msgstr "Qualquer cor do CSS (%s, %s ou %s)"
+
+#: functions.php:435
+msgid "Upper Color:"
+msgstr "Cor superior:"
+
+#: functions.php:435
+#: functions.php:436
+#, php-format
+msgid "HEX only (%s or %s)"
+msgstr "Em hexadecimal (%s ou %s)"
+
+#: functions.php:436
+msgid "Lower Color:"
+msgstr "Cor inferior:"
+
+#: functions.php:438
+msgid "Toggle Text"
+msgstr "Alternar texto"
+
+#: functions.php:439
+msgid "Use Defaults"
+msgstr "Utilizar padrão"
+
+#: functions.php:448
+msgid "Font Color"
+msgstr "Cor da fonte"
+
+#: functions.php:449
+msgid "Upper Color"
+msgstr "Cor superior"
+
+#: functions.php:450
+msgid "Lower Color"
+msgstr "Cor inferior"
+
+#: functions.php:451
+msgid "Revert"
+msgstr "Reverter"
+
+#: functions.php:452
+msgid "Advanced"
+msgstr "Avançada"
+
+#: functions.php:459
+msgid "Update Header &raquo;"
+msgstr "Atualizar cabeçalho &raquo;"
+
+#: functions.php:465
+msgid "Font Color (CSS):"
+msgstr "Cor da fonte (CSS):"
+
+#: functions.php:466
+msgid "Upper Color (HEX):"
+msgstr "Cor superior (HEXADECIMAL):"
+
+#: functions.php:467
+msgid "Lower Color (HEX):"
+msgstr "Cor inferior (HEXADECIMAL):"
+
+#: functions.php:468
+msgid "Select Default Colors"
+msgstr "Selecionar cores padrões"
+
+#: functions.php:469
+msgid "Toggle Text Display"
+msgstr "Alternar exibição de texto"
+
+#: functions.php:475
+msgid "Footer"
+msgstr ""
+
+#: functions.php:481
+msgid "Set number of the sidebar to display in the footer."
+msgstr ""
+
+#: functions.php:486
+msgid "none"
+msgstr ""
+
+#: functions.php:496
+#, fuzzy
+msgid "Update Footer &raquo;"
+msgstr "Atualizar cabeçalho &raquo;"
+
+#: functions.php:512
+msgid "First Footer Widget Area"
+msgstr ""
+
+#: functions.php:513
+msgid "The first footer widget area"
+msgstr ""
+
+#: functions.php:516
+msgid "Second Footer Widget Area"
+msgstr ""
+
+#: functions.php:517
+msgid "The second footer widget area"
+msgstr ""
+
+#: functions.php:520
+msgid "Third Footer Widget Area"
+msgstr ""
+
+#: functions.php:521
+msgid "The third footer widget area"
+msgstr ""
+
+#: functions.php:524
+msgid "Fourth Footer Widget Area"
+msgstr ""
+
+#: functions.php:525
+msgid "The fourth footer widget area"
+msgstr ""
+
+#: functions.php:528
+msgid "Fifth Footer Widget Area"
+msgstr ""
+
+#: functions.php:529
+msgid "The fifth footer widget area"
+msgstr ""
+
+#: header.php:9
+msgid "&raquo; Blog Archive"
+msgstr "&raquo; Arquivo do blog"
+
+#: header.php:14
+#, php-format
+msgid "%s RSS Feed"
+msgstr "%s Feed RSS"
+
+#: header.php:15
+#, php-format
+msgid "%s Atom Feed"
+msgstr "%s Feed Atom"
+
+#: header.php:58
+msgid "Main Page"
+msgstr "Página principal"
+
+#: header.php:61
+msgid "Blogs Home"
+msgstr "Página principal do blog"
+
+#: header.php:62
+msgid "Post New"
+msgstr "Novo post"
+
+#: image.php:13
+msgid "Read the rest of this entry &raquo;"
+msgstr "Continue lendo este post &raquo;"
+
+#: image.php:15
+#: page.php:22
+msgid "Pages:"
+msgstr "Páginas:"
+
+#: image.php:25
+#, php-format
+msgid "This entry was posted on %1$s at %2$s and is filed under %3$s."
+msgstr "Este post foi publicado %1$s em %2$s, e arquivado em %3$s."
+
+#: image.php:25
+#: sidebar.php:24
+msgid "l, F jS, Y"
+msgstr "l, j \\d\\e F \\d\\e Y"
+
+#: image.php:27
+#, php-format
+msgid "You can follow any responses to this entry through the <a href='%s'>RSS 2.0</a> feed."
+msgstr "Você pode acompanhar os comentários deste post através do feed <a href='%s'>RSS 2.0</a>."
+
+#: image.php:31
+#, php-format
+msgid "You can <a href=\"#respond\">leave a response</a>, or <a href=\"%s\" rel=\"trackback\">trackback</a> from your own site."
+msgstr "Você pode <a href=\"#respond\">comentar</a> ou mandar um <a href=\"%s\" rel=\"Trackback\">trackback</a> do seu site para cá."
+
+#: image.php:35
+#, php-format
+msgid "Responses are currently closed, but you can <a href=\"%s\" rel=\"trackback\">trackback</a> from your own site."
+msgstr "No momento os comentários estão fechados, mas você pode mandar um <a href=\"%s\" rel=\"trackback\">trackback</a> do seu site."
+
+#: image.php:39
+msgid "You can skip to the end and leave a response. Pinging is currently not allowed."
+msgstr "Você pode pular direto para o fim e deixar um comentário. Pings estão desativados no momento."
+
+#: image.php:43
+msgid "Both comments and pings are currently closed."
+msgstr "Comentários e pings estão fechados no momento."
+
+#: image.php:45
+#: page.php:27
+msgid "Edit this entry."
+msgstr "Editar este post"
+
+#: image.php:58
+msgid "Sorry, no posts matched your criteria."
+msgstr "Nenhum post corresponde aos seus critérios de busca."
+
+#: index.php:29
+#: index.php:31
+#: multi_blog_index.php:33
+#: multi_blog_index.php:35
+#, php-format
+msgid "Permanent Link to %s"
+msgstr "Link permanente para %s"
+
+#: index.php:44
+#: multi_blog_index.php:48
+#, php-format
+msgid "Views :%d"
+msgstr "Leituras: %d"
+
+#: index.php:47
+#: multi_blog_index.php:51
+#, php-format
+msgid "Posted in %s"
+msgstr "Postado em %s"
+
+#: index.php:49
+#: multi_blog_index.php:53
+msgid "Edit"
+msgstr "Editar"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "No Comments &#187;"
+msgstr "Nenhum comentário &#187;"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "1 Comment &#187;"
+msgstr "1 comentário &#187;"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "% Comments &#187;"
+msgstr "% comentários &#187;"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "Comments Closed"
+msgstr "Comentários fechados."
+
+#: index.php:68
+#: multi_blog_index.php:72
+msgid "Not Found"
+msgstr "Não encontrado"
+
+#: index.php:69
+#: multi_blog_index.php:73
+msgid "Sorry, but you are looking for something that isn&#8217;t here."
+msgstr "O que você está procurando não está aqui."
+
+#: links.php:18
+msgid "Links:"
+msgstr "Links:"
+
+#: multi_blog_front.php:9
+msgid "Site News"
+msgstr ""
+
+#: multi_blog_front.php:18
+#, fuzzy
+msgid "Blogs List"
+msgstr "Página principal do blog"
+
+#: multi_blog_front.php:27
+#, fuzzy
+msgid "post count"
+msgstr "Não encontrado"
+
+#: multi_blog_front.php:34
+msgid "New Entries"
+msgstr ""
+
+#: multi_blog_front.php:39
+#, fuzzy, php-format
+msgid "%1$s wrote %2$s in %3$s."
+msgstr "%1$s em %2$s"
+
+#: multi_blog_front.php:46
+msgid "Updated Blogs"
+msgstr ""
+
+#: multi_blog_front.php:67
+#, php-format
+msgid "Howdy %s"
+msgstr ""
+
+#: multi_blog_front.php:73
+msgid "Your Blogs list"
+msgstr ""
+
+#: multi_blog_front.php:84
+msgid "Create a new blog"
+msgstr ""
+
+#: page.php:20
+msgid "Read the rest of this page &raquo;"
+msgstr "Continuar lendo &raquo;"
+
+#: searchform.php:2
+msgid "Search for:"
+msgstr "Pesquisa"
+
+#: searchform.php:8
+msgid "Search"
+msgstr "Pesquisa"
+
+#: sidebar.php:10
+msgid "Author"
+msgstr "Autor"
+
+#: sidebar.php:21
+#, php-format
+msgid "You are currently browsing the archives for the %s category."
+msgstr "No momento você está visualizando o arquivo da categoria %s."
+
+#: sidebar.php:24
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives for the day %3$s."
+msgstr "No momento você está visualizando o arquivo de <a href=\"%1$s/\">%2$s</a> do dia %3$s."
+
+#: sidebar.php:27
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives for %3$s."
+msgstr "No momento você está visualizando os arquivos de <a href=\"%1$s/\">%2$s</a> para %3$s."
+
+#: sidebar.php:27
+msgid "F, Y"
+msgstr "F \\d\\e Y"
+
+#: sidebar.php:30
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives for the year %3$s."
+msgstr "No momento você está vendo o arquivo de <a href=\"%1$s/\">%2$s</a> do ano %3$s."
+
+#: sidebar.php:33
+#, php-format
+msgid "You have searched the <a href=\"%1$s/\">%2$s</a> blog archives for <strong>&#8216;%3$s&#8217;</strong>. If you are unable to find anything in these search results, you can try one of these links."
+msgstr "Você pesquisou por <strong>&lsquo;%3$s&rsquo;</strong> nos arquivos de <a href=\"%1$s/\">%2$s</a>. Se não conseguir encontrar nada nos resultados dessa pesquisa, você pode tentar um destes links."
+
+#: sidebar.php:36
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives."
+msgstr "No momento você está visualizando os arquivos de <a href=\"%1$s/\">%2$s</a>."
+
+#: sidebar.php:42
+msgid "Pages"
+msgstr "Páginas"
+
+#: sidebar.php:44
+msgid "Archives"
+msgstr "Arquivo"
+
+#: sidebar.php:51
+#: sidebar.php:53
+msgid "Categories"
+msgstr "Categorias"
+
+#: sidebar.php:62
+msgid "Meta"
+msgstr "Meta"
+
+#: sidebar.php:66
+msgid "This page validates as XHTML 1.0 Transitional"
+msgstr "Esta página foi validada para XHTML 1.0 Transitional"
+
+#: sidebar.php:66
+msgid "Valid <abbr title=\"eXtensible HyperText Markup Language\">XHTML</abbr>"
+msgstr "<abbr title=\"eXtensible HyperText Markup Language\">XHTML</abbr> válido"
+
+#: sidebar.php:67
+msgid "XHTML Friends Network"
+msgstr "Rede de amigos XHTML"
+
+#: sidebar.php:67
+msgid "XFN"
+msgstr "XFN"
+
+#: sidebar.php:68
+msgid "Powered by WordPress, state-of-the-art semantic personal publishing platform."
+msgstr "Powered by WordPress, uma plataforma semântica de vanguarda para publicação pessoal."
+
+#: single.php:53
+msgid "No Trackback/Pingback"
+msgstr "Nenhum trackback/pingback."
+
+#: single.php:53
+msgid "One Trackback/Pingback"
+msgstr "Um trackback/pingback"
+
+#: single.php:53
+msgid "% TrackBack/Pingback"
+msgstr "% trackbacks/pingbacks"
+
+#: single.php:57
+#, php-format
+msgid "You can <a href=\"%s\" rel=\"trackback\">trackback</a> from your own site."
+msgstr "Você pode mandar um <a href=\"%s\" rel=\"trackback\">trackback</a> do seu site para cá."
+
+#: single.php:59
+msgid "Pinging is currently not allowed."
+msgstr "No momento os pings estão desativados."
+
+#: blocks/archives_block_theme.php:14
+msgid "Select Yearly"
+msgstr "Selecionar ano"
+
+#: blocks/archives_block_theme.php:17
+#: blocks/archives_block_theme.php:29
+msgid "Select Monthly"
+msgstr "Selecionar mês"
+
+#: blocks/archives_block_theme.php:20
+msgid "Select Weekly"
+msgstr "Selecionar semana"
+
+#: blocks/archives_block_theme.php:23
+msgid "Select Daily"
+msgstr "Selecionar dia"
+
+#: blocks/archives_block_theme.php:26
+msgid "Select Post"
+msgstr "Selecionar post"
+
+#: blocks/authors_block_theme.php:32
+msgid "All Authors"
+msgstr "Todos os autores"
+
+#: blocks/blog_list_block_theme.php:66
+#: blocks/global_popular_posts_block_theme.php:192
+#: blocks/global_recent_comments_block_theme.php:130
+#: blocks/global_recent_posts_list_block_theme.php:44
+msgid "This blog is not set to the multi blog."
+msgstr ""
+
+#: blocks/enhanced_block_theme.php:14
+msgid "The include file name to display it is not set."
+msgstr "Nenhum arquivo a ser exibido selecionado."
+
+#: blocks/enhanced_block_theme.php:21
+#, php-format
+msgid "File %s not exist."
+msgstr "O arquivo %s não existe."
+
+#: blocks/enhanced_block_theme.php:29
+msgid "Data is Empty"
+msgstr "Dados está Vazio"
+
+#: blocks/global_popular_posts_block_theme.php:114
+#: blocks/popular_posts_block_theme.php:122
+#: blocks/recent_posts_content_block_theme.php:84
+#: blocks/recent_posts_list_block_theme.php:70
+msgid "Tags:"
+msgstr "Tags:"
+
+#: blocks/global_popular_posts_block_theme.php:143
+#: blocks/popular_posts_block_theme.php:151
+#: blocks/recent_posts_content_block_theme.php:123
+#: blocks/recent_posts_list_block_theme.php:99
+msgid "Comments (0)"
+msgstr "Comentários (0)"
+
+#: blocks/global_popular_posts_block_theme.php:143
+#: blocks/popular_posts_block_theme.php:151
+#: blocks/recent_posts_content_block_theme.php:123
+#: blocks/recent_posts_list_block_theme.php:99
+msgid "Comments (1)"
+msgstr "Comentários (1)"
+
+#: blocks/global_popular_posts_block_theme.php:143
+#: blocks/popular_posts_block_theme.php:151
+#: blocks/recent_posts_content_block_theme.php:123
+#: blocks/recent_posts_list_block_theme.php:99
+msgid "Comments (%)"
+msgstr "Comentários (%)"
+
+#: blocks/global_recent_comments_block_theme.php:85
+#: blocks/recent_comments_block_theme.php:82
+#, php-format
+msgid "%1$s on %2$s"
+msgstr "%2$s para %1$s"
+
+#: blocks/meta_block_theme.php:25
+msgid "Posts RSS"
+msgstr "RSS do post"
+
+#: blocks/meta_block_theme.php:28
+msgid "Comments RSS"
+msgstr "RSS dos comentários"
+
+#: blocks/meta_block_theme.php:41
+#: blocks/meta_block_theme.php:46
+msgid "Add New"
+msgstr "Criar novo"
+
+#: blocks/meta_block_theme.php:55
+msgid "Site Admin"
+msgstr "Administração do WordPress"
+
+#: blocks/meta_block_theme.php:61
+msgid "User Profile"
+msgstr "Perfil do usuário"
+
+#: blocks/meta_block_theme.php:69
+#: blocks/meta_block_theme.php:74
+msgid "Subscription management"
+msgstr "Gerenciar inscrições"
+
+#: blocks/meta_block_theme.php:82
+msgid "ReadMe"
+msgstr "Leia-me"
+
+#: blocks/meta_block_theme.php:87
+msgid "Themes"
+msgstr "Temas"
+
+#~ msgid "PHP code error"
+#~ msgstr "Erro no código PHP"
+
+#~ msgid "Customize Header"
+#~ msgstr "Personalizar cabeçalho"
+
+#~ msgid "%d queries. %s seconds."
+#~ msgstr "%d solicitações. %s segundos."
+
+#~ msgid "views: %d"
+#~ msgstr "閲覧 :%d回"
+
+#~ msgid "more"
+#~ msgstr "続きを読む"
+
+#, fuzzy
+#~ msgid "F jS, Y"
+#~ msgstr "Y 年 n 月 j 日 l"
+
+#~ msgid "Calendar"
+#~ msgstr "カレンダー"
+
+#~ msgid "%1$s %2$s|Used as a calendar caption"
+#~ msgstr "%2$s 年 %1$s|カレンダーのキャプションに使われます"
+
+#~ msgid "View posts for %1$s %2$s"
+#~ msgstr "%2$s 年 %1$s の投稿を表示"
Index: /tags/Ver2.5.4/extras/my_themes/links.php
===================================================================
--- /tags/Ver2.5.4/extras/my_themes/links.php	(revision 866)
+++ /tags/Ver2.5.4/extras/my_themes/links.php	(revision 866)
@@ -0,0 +1,25 @@
+<?php
+/*
+Template Name: Links
+*/
+?>
+
+<?php get_header(); ?>
+
+<div id="xpress_content" class="widecolumn">
+
+    <div id="xpress_header">
+    	<div id="xpress_headerimg">
+    		<h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
+    		<div class="description"><?php bloginfo('description'); ?></div>
+    	</div>
+    </div>
+
+<h2><?php _e('Links:', 'xpress'); ?></h2>
+<ul>
+<?php wp_list_bookmarks(); ?>
+</ul>
+
+</div>
+
+<?php get_footer(); ?>
Index: /tags/Ver2.5.4/extras/my_themes/multi_blog_front.php
===================================================================
--- /tags/Ver2.5.4/extras/my_themes/multi_blog_front.php	(revision 866)
+++ /tags/Ver2.5.4/extras/my_themes/multi_blog_front.php	(revision 866)
@@ -0,0 +1,91 @@
+<?php
+/*
+Template Name: MultiBlog Front_Page
+*/
+?>
+<?php get_header(); ?>
+
+<div id="content" class="widecolumn">			
+	<h3><?php _e('Site News', 'xpress'); ?></h3>
+	<ul>
+		<?php 
+		query_posts('showposts=7');
+		if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>
+		<li><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title();?> </a></li>
+		<?php endwhile; ?><?php endif; ?>
+	</ul>
+	<br />	
+	<h3><?php _e('Blogs List', 'xpress'); ?></h3>
+	<?php
+	$blog_list = get_blog_list( 0, 'all' );
+	echo "<ul>\n";
+	foreach ($blog_list AS $blog) {
+		$url =  'http://' .$blog['domain'] .$blog['path'];
+		$blog_name = get_blog_option( $blog['blog_id'], 'blogname' );
+		$post_count = $blog['postcount'];
+		
+		echo  "<li><a href=\" $url \"> $blog_name </a>  (" . __('post count','xpress') . ":$post_count) </li>";
+	}
+	echo "</ul>\n";
+	?> 
+	<br />
+		
+<?php
+	echo '<h3>' . __('New Entries', 'xpress') . "</h3>\n";
+	$data_array = xpress_grobal_recent_posts();
+	echo "<ul>\n";
+	foreach($data_array as $data){
+		echo '<li>';
+		printf(__('%1$s wrote %2$s in %3$s.','xpress'), $data->post_author,$data->title_link,$data->blog_link);
+		echo "</li>\n";
+	}
+	echo "</ul>\n";
+?>
+	<br />
+
+	<h3><?php _e('Updated Blogs', 'xpress'); ?></h3>
+	<?php
+	$blogs = get_last_updated();
+	if( is_array( $blogs ) ) {
+		?>
+		<ul>
+		<?php foreach( $blogs as $details ) {
+			?><li><a href="http://<?php echo $details[ 'domain' ] . $details[ 'path' ] ?>"><?php echo get_blog_option( $details[ 'blog_id' ], 'blogname' ) ?></a></li><?php
+		}
+		?>
+		</ul>
+		<?php
+	}
+	?>
+	<br />	
+	<?php	
+		$current_uid = get_current_user_id();
+		if (!empty($current_uid)) {
+			$user_info = get_userdata($current_uid);
+			$display_name = $user_info->display_name;
+			echo '<h3>';
+			printf(__('Howdy %s', 'xpress'),$display_name);
+			echo "</h3>\n";
+			echo "<ul>\n";
+		
+			$user_blogs = get_blogs_of_user($current_uid);
+			if( is_array($user_blogs) ) {
+				echo '<li>' . __('Your Blogs list','xpress') ;
+					echo "<ul>\n";
+					foreach( $user_blogs as $blog ) {
+						$url =  'http://' .$blog->domain .$blog->path;
+						$blog_name = $blog->blogname;
+						echo  "<li><a href=\" $url \"> $blog_name </a></li>";
+					}
+					echo "</ul>\n";			
+				echo "</li>\n";
+				wp_register();
+			}
+			echo '<li> <a href="wp-signup.php">' . __('Create a new blog','xpress') .  "</a></li>\n";
+			echo "</ul>\n";			
+		}
+	?>
+
+</div>
+
+<?php get_footer(); ?>
Index: /tags/Ver2.5.4/extras/my_themes/multi_blog_index.php
===================================================================
--- /tags/Ver2.5.4/extras/my_themes/multi_blog_index.php	(revision 866)
+++ /tags/Ver2.5.4/extras/my_themes/multi_blog_index.php	(revision 866)
@@ -0,0 +1,81 @@
+<?php
+/*
+Template Name: MultiBlog Index_Page
+*/
+?><?php get_header(); ?>
+
+		
+<div id="xpress_wrap">				
+	<?php
+		if(xpress_is_theme_sidebar_disp()) {
+			echo '<div id="xpress_content" class="narrowcolumn">';	
+		} else {
+			echo '<div id="xpress_content" class="narrowcolumn_nonside">';
+		}	
+	?>				
+		<?php if (have_posts()) : ?>
+			<div class="xpress-navi-bar">
+				<?php if(function_exists('wp_pagenavi')) : ?>			
+					<div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div>
+				<?php else : ?>
+					<div class="alignleft"><?php xpress_left_arrow_posts_link('echo=1'); ?></div>
+					<div class="alignright"><?php xpress_right_arrow_posts_link('echo=1'); ?></div>
+				<?php endif; ?>
+			</div>
+				
+			<?php while (have_posts()) : the_post(); ?>
+
+				<div class="xpress-post" id="post-<?php the_ID(); ?>">
+					<div class ="xpress-post-header">
+						<?php if (function_exists('hotDates')) { hotDates(); }?>
+						<div class ="xpress-post-title">
+							<?php if(function_exists('the_title_attribute')) : ?>			
+								<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'xpress'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2>
+							<?php else : ?>
+								<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'xpress'), the_title('','',false)); ?>"><?php the_title(); ?></a></h2>
+							<?php endif; ?>
+						</div>
+					</div>
+					<div class="xpress-post-entry">
+						<?php xpress_the_content(); ?>
+					</div>
+					<div class="xpress-link-pages"><?php wp_link_pages() ?></div>
+					<div class ="xpress-post-footer">
+					<?php
+						the_time('Y/m/d l');
+						echo ' - ';
+						the_author_posts_link();
+						echo ' (' . xpress_post_views_count('post_id=' . $post->ID . '&format=' . __('Views :%d', 'xpress'). '&echo=0') . ')'; 
+						echo ' | ';
+						// echo the_tags(__('Tags:', 'xpress') . ' ', ', ', ' | ');
+						printf(__('Posted in %s', 'xpress'), get_the_category_list(', '));
+						echo ' | ';
+						edit_post_link(__('Edit', 'xpress'), '', ' | ');
+						comments_popup_link(__('No Comments &#187;', 'xpress'), __('1 Comment &#187;', 'xpress'), __('% Comments &#187;', 'xpress'), '', __('Comments Closed', 'xpress') );
+					?>
+					</div>
+				</div>
+
+			<?php endwhile; ?>
+				
+			<div class="xpress-navi-bar">
+				<?php if(function_exists('wp_pagenavi')) : ?>			
+					<div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div>
+				<?php else : ?>
+					<div class="alignleft"><?php xpress_left_arrow_posts_link('echo=1'); ?></div>
+					<div class="alignright"><?php xpress_right_arrow_posts_link('echo=1'); ?></div>
+				<?php endif; ?>
+			</div>
+				
+		<?php else : ?>
+
+			<h2 class="center"><?php _e('Not Found', 'xpress'); ?></h2>
+			<p class="center"><?php _e('Sorry, but you are looking for something that isn&#8217;t here.', 'xpress'); ?></p>
+			<?php include (get_template_directory() . "/searchform.php"); ?>
+
+		<?php endif; ?>
+	</div>
+</div>
+<?php if(xpress_is_theme_sidebar_disp()) get_sidebar(); ?>
+
+<?php get_footer(); ?>
Index: /tags/Ver2.5.4/extras/my_themes/page.php
===================================================================
--- /tags/Ver2.5.4/extras/my_themes/page.php	(revision 866)
+++ /tags/Ver2.5.4/extras/my_themes/page.php	(revision 866)
@@ -0,0 +1,34 @@
+<?php get_header(); ?>
+
+   <div id="xpress_wrap">
+	   
+	<?php if(xpress_is_theme_sidebar_disp()) : ?>
+	   
+		<div id="xpress_content" class="narrowcolumn">
+		
+	<?php else : ?>
+	
+		<div id="xpress_content" class="narrowcolumn_nonside">
+		
+	<?php endif; ?>
+
+		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
+		<div class="post" id="post-<?php the_ID(); ?>">
+		<?php if (function_exists('hotDates')) { hotDates(); }?>
+		<h2><?php the_title(); ?></h2>
+			<div class="entry">
+				<?php the_content('<p class="serif">' . __('Read the rest of this page &raquo;', 'xpress') . '</p>'); ?>
+
+				<?php wp_link_pages(array('before' => '<p><strong>' . __('Pages:', 'xpress') . '</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
+
+			</div>
+		</div>
+		<?php endwhile; endif; ?>
+	<?php edit_post_link(__('Edit this entry.', 'xpress'), '<p>', '</p>'); ?>
+
+	</div>
+       </div>
+
+<?php get_sidebar(); ?>
+
+<?php get_footer(); ?>
Index: /tags/Ver2.5.4/extras/my_themes/rtl.css
===================================================================
--- /tags/Ver2.5.4/extras/my_themes/rtl.css	(revision 866)
+++ /tags/Ver2.5.4/extras/my_themes/rtl.css	(revision 866)
@@ -0,0 +1,106 @@
+/*
+Theme name: WordPress Default - kubrick -
+Editors: Navid Kashani
+Persian Wordpress Project : wp-persian.com
+*/
+body, .commentlist li, #commentform input, #commentform textarea, #commentform p, #sidebar, #wp-calendar caption  {
+	font-family:tahoma, arial;
+}
+#page {
+	text-align:right;
+	direction:rtl;
+}
+h1, h2, h3, #sidebar h2 {
+	font-family:arial, tahoma;
+}
+.commentlist li .avatar {
+	float:left;
+}
+#header {
+	margin:0 1px 0 0;
+}
+.narrowcolumn {
+	float:right;
+	padding: 0 45px 20px 0;
+}
+.widecolumn {
+	margin: 5px 150px 0 0;
+}
+.widecolumn .smallattachment {
+	margin: 5px 0 5px 5px;
+}
+.postmetadata {
+	clear:right;
+}
+#sidebar {
+	margin-left: 0;
+	margin-right: 545px;
+}
+img.alignright {
+	margin: 0 7px 2px 0;
+}
+
+img.alignleft {
+	margin: 0 0 2px 7px;
+}
+
+.alignright {
+	float: left;
+}
+
+.alignleft {
+	float: right;
+}
+code {
+	display:block;
+	direction:ltr;
+	text-align:left;
+}
+acronym, abbr, span.caps {
+	letter-spacing:0; /* fix opera bug */
+}
+html>body .entry ul {
+	padding:0 10px 0 0;
+	text-indent:10px;
+}
+html>body .entry li {
+	margin: 7px 10px 8px 0;
+}
+.entry ol {
+	padding: 0 35px 0 0;
+}
+#sidebar ul ul, #sidebar ul ol {
+	margin: 5px 10px 0 0;
+}
+#sidebar ul ul ul, #sidebar ul ol {
+	margin: 0 10px 0 0;
+}
+#commentform input {
+	margin: 5px 0 1px 5px;
+}
+#commentform #submit {
+	float:left;
+}
+.commentlist p {
+	margin: 10px 0 10px 5px;
+}
+#wp-calendar #next a {
+	padding-right:0;
+	padding-left:10px;
+	text-align:left;
+}
+#wp-calendar #prev a {
+	padding-left:0;
+	padding-right:10px;
+	text-align:right;
+}
+blockquote {
+	margin: 15px 10px 0 30px;
+	padding-left: 0;
+	padding-right: 20px;
+	border-left: 0 none;
+	border-right: 5px solid #ddd;
+}
+#email, #url {
+	direction:ltr;
+}
Index: /tags/Ver2.5.4/extras/my_themes/searchform.php
===================================================================
--- /tags/Ver2.5.4/extras/my_themes/searchform.php	(revision 866)
+++ /tags/Ver2.5.4/extras/my_themes/searchform.php	(revision 866)
@@ -0,0 +1,10 @@
+<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
+<label class="hidden" for="s"><?php _e('Search for:', 'xpress'); ?></label>
+<?php if(function_exists('the_search_query')) : ?>			
+	<div><input type="text" value="<?php the_search_query(); ?>" name="s" id="s" />
+<?php else : ?>
+	<div><input type="text" value="<?php echo attribute_escape($s); ?>" name="s" id="s" />
+<?php endif; ?>
+<input type="submit" id="searchsubmit" value="<?php _e('Search', 'xpress'); ?>" />
+</div>
+</form>
Index: /tags/Ver2.5.4/extras/my_themes/sidebar-footer.php
===================================================================
--- /tags/Ver2.5.4/extras/my_themes/sidebar-footer.php	(revision 866)
+++ /tags/Ver2.5.4/extras/my_themes/sidebar-footer.php	(revision 866)
@@ -0,0 +1,21 @@
+<?php
+/**
+ * The Footer widget areas.
+ *
+ */
+	$side_bar_num = get_option('xpress_footer_sidebars_count');
+	if (empty($side_bar_num)) return;
+//	echo "<div id=\"footer-widget-area\" role=\"complementary\">\n";
+	echo "<div id=\"footer-widget-area\">\n";
+	for($i=1;$i <= $side_bar_num;$i++){
+		$sidebar_id = 'footer-widget-area-'.$i;
+		echo "\t<div class=\"widget-area-type{$side_bar_num}\">\n";
+		echo "\t\t<div id=\"{$sidebar_id}\" class=\"widget-area\">\n";
+		echo "\t\t\t<ul class=\"xoxo\">\n";
+		dynamic_sidebar( $sidebar_id );
+		echo "\t\t\t\n</ul>\n";
+		echo "\t\t</div><!-- #{$sidebar_id} -->\n";
+		echo "\t</div><!-- .widget-area-type{$side_bar_num} -->\n";
+	}
+	echo "</div><!-- #footer-widget-area -->\n";
+?>
Index: /tags/Ver2.5.4/extras/my_themes/sidebar.php
===================================================================
--- /tags/Ver2.5.4/extras/my_themes/sidebar.php	(revision 866)
+++ /tags/Ver2.5.4/extras/my_themes/sidebar.php	(revision 866)
@@ -0,0 +1,75 @@
+	<div id="xpress_sidebar">
+		<ul>
+			<?php 	/* Widgetized sidebar, if you have the plugin installed. */
+					if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
+			<li>
+				<?php include (get_template_directory() . '/searchform.php'); ?>
+			</li>
+
+			<!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.
+			<li><h2><?php _e('Author', 'xpress'); ?></h2>
+			<p>A little something about you, the author. Nothing lengthy, just an overview.</p>
+			</li>
+			-->
+
+			<?php if ( is_404() || is_category() || is_day() || is_month() ||
+						is_year() || is_search() || is_paged() ) {
+			?> <li>
+
+			<?php /* If this is a 404 page */ if (is_404()) { ?>
+			<?php /* If this is a category archive */ } elseif (is_category()) { ?>
+			<p><?php printf(__('You are currently browsing the archives for the %s category.', 'xpress'), single_cat_title('', false)); ?></p>
+
+			<?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
+			<p><?php printf(__('You are currently browsing the <a href="%1$s/">%2$s</a> blog archives for the day %3$s.', 'xpress'), get_bloginfo('url'), get_bloginfo('name'), get_the_time(__('l, F jS, Y', 'xpress'))); ?></p>
+
+			<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
+			<p><?php printf(__('You are currently browsing the <a href="%1$s/">%2$s</a> blog archives for %3$s.', 'xpress'), get_bloginfo('url'), get_bloginfo('name'), get_the_time(__('F, Y', 'xpress'))); ?></p>
+
+			<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
+			<p><?php printf(__('You are currently browsing the <a href="%1$s/">%2$s</a> blog archives for the year %3$s.', 'xpress'), get_bloginfo('url'), get_bloginfo('name'), get_the_time('Y')); ?></p>
+
+			<?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
+			<p><?php printf(__('You have searched the <a href="%1$s/">%2$s</a> blog archives for <strong>&#8216;%3$s&#8217;</strong>. If you are unable to find anything in these search results, you can try one of these links.', 'xpress'), get_bloginfo('url'), get_bloginfo('name'), get_search_query()); ?></p>
+
+			<?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
+			<p><?php printf(__('You are currently browsing the <a href="%1$s/">%2$s</a> blog archives.', 'xpress'), get_bloginfo('url'), get_bloginfo('name')); ?></p>
+
+			<?php } ?>
+
+			</li> <?php }?>
+
+			<?php wp_list_pages('title_li=<h2>' . __('Pages', 'xpress') . '</h2>' ); ?>
+
+			<li><h2><?php _e('Archives', 'xpress'); ?></h2>
+				<ul>
+				<?php wp_get_archives('type=monthly'); ?>
+				</ul>
+			</li>
+            
+            <?php if(function_exists('wp_list_categories')) : ?>
+			<?php wp_list_categories('show_count=1&title_li=<h2>' . __('Categories', 'xpress') . '</h2>'); ?>
+			<?php else : ?>
+			<li><h2><?php _e('Categories', 'xpress'); ?></h2>
+			<ul><?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?></ul></li>
+			<?php endif; ?>
+
+
+			<?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
+            <?php if(function_exists('wp_list_bookmarks')) : ?>
+				<?php wp_list_bookmarks(); ?>
+			<?php endif; ?>
+				<li><h2><?php _e('Meta', 'xpress'); ?></h2>
+				<ul>
+					<?php wp_register(); ?>
+					<li><?php wp_loginout(); ?></li>
+					<li><a href="http://validator.w3.org/check/referer" title="<?php _e('This page validates as XHTML 1.0 Transitional', 'xpress'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>', 'xpress'); ?></a></li>
+					<li><a href="http://gmpg.org/xfn/"><abbr title="<?php _e('XHTML Friends Network', 'xpress'); ?>"><?php _e('XFN', 'xpress'); ?></abbr></a></li>
+					<li><a href="http://wordpress.org/" title="<?php _e('Powered by WordPress, state-of-the-art semantic personal publishing platform.', 'xpress'); ?>">WordPress</a></li>
+					<?php wp_meta(); ?>
+				</ul>
+				</li>
+			<?php } ?>
+			<?php endif; ?>
+		</ul>
+	</div>
Index: /tags/Ver2.5.4/extras/my_themes/single.php
===================================================================
--- /tags/Ver2.5.4/extras/my_themes/single.php	(revision 866)
+++ /tags/Ver2.5.4/extras/my_themes/single.php	(revision 866)
@@ -0,0 +1,101 @@
+<?php get_header(); ?>
+
+<div id="xpress_wrap">				
+	<?php
+		if(xpress_is_theme_sidebar_disp()) {
+			echo '<div id="xpress_content" class="narrowcolumn">';	
+		} else {
+			echo '<div id="xpress_content" class="narrowcolumn_nonside">';
+		}	
+	?>				
+		<?php if (have_posts()) : ?>
+				
+			<?php while (have_posts()) : the_post(); ?>
+				<div class="xpress-navi-bar">
+					<div class="alignleft"><?php xpress_left_arrow_post_link('echo=1'); ?></div>
+					<div class="alignright"><?php xpress_right_arrow_post_link('echo=1'); ?></div>
+				</div>
+
+				<div class="xpress-post" id="post-<?php the_ID(); ?>">
+					<div class ="xpress-post-header">
+						<?php if (function_exists('hotDates')) { hotDates(); }?>
+						<div class ="xpress-post-title">
+							<?php if(function_exists('the_title_attribute')) : ?>			
+								<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'xpress'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2>
+							<?php else : ?>
+								<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'xpress'), the_title('','',false)); ?>"><?php the_title(); ?></a></h2>
+							<?php endif; ?>
+						</div>
+					</div>
+							
+					<div class="xpress-post-entry">
+						<?php the_content('<p class="serif">' . __('Read the rest of this entry &raquo;', 'xpress') . '</p>'); ?>
+					</div>
+							
+					<div class="xpress-link-pages"><?php wp_link_pages() ?></div>
+						
+					<div class ="xpress-post-footer">
+						<?php
+							the_time('Y/m/d l');
+							echo ' - ';
+							the_author_posts_link();
+							echo ' (' . xpress_post_views_count('post_id=' . $post->ID . '&format=' . __('Views :%d', 'xpress'). '&echo=0') . ')'; 
+							echo ' | ';
+							// echo the_tags(__('Tags:', 'xpress') . ' ', ', ', ' | ');
+							printf(__('Posted in %s', 'xpress'), get_the_category_list(', '));
+							echo ' | ';
+							edit_post_link(__('Edit', 'xpress'), '', ' | ');
+							comments_popup_link(__('No Comments &#187;', 'xpress'), __('1 Comment &#187;', 'xpress'), __('% Comments &#187;', 'xpress'), '', __('Comments Closed', 'xpress') );
+						?>
+					</div>
+							
+					<div id ="xpress-pings-block">
+						<h3><?php xpress_pings_number('zero=' . __('No Trackback/Pingback', 'xpress'). '&one='. __('One Trackback/Pingback', 'xpress'). '&more=' . __('% TrackBack/Pingback', 'xpress')) ?></h3>
+						<p class="xpress_pings_status"><small>
+						<?php
+							if ('open' == $post->ping_status) {
+								printf(__('You can <a href="%s" rel="trackback">trackback</a> from your own site.', 'xpress'), trackback_url(false));
+							} else {
+								_e('Pinging is currently not allowed.', 'xpress'); 
+							}
+						?>
+						</small></p>
+						<?php xpress_pings_list('echo=1') ?>					
+					</div>
+							
+					<div id ="xpress-comments-block">
+						<?php
+							if ( xpress_is_wp_version('<','2.7') )
+								comments_template();
+							else
+								comments_template('',true);
+						?>
+					</div>
+				</div>
+				
+				<div class="xpress-navi-bar">
+					<div class="alignleft"><?php xpress_left_arrow_post_link('echo=1') ?></div>
+					<div class="alignright"><?php xpress_right_arrow_post_link('echo=1') ?></div>
+				</div>
+
+
+			<?php endwhile; ?>
+				
+			<div class="xpress-navi-bar">
+				<?php if(function_exists('wp_pagenavi')) : ?>			
+					<div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div>
+				<?php else : ?>
+					<div class="alignleft"><?php xpress_left_arrow_posts_link('echo=1'); ?></div>
+					<div class="alignright"><?php xpress_right_arrow_posts_link('echo=1'); ?></div>
+				<?php endif; ?>
+			</div>
+				
+		<?php else : ?>
+			<p><?php _e('Sorry, no posts matched your criteria.', 'xpress'); ?></p>
+		<?php endif; ?>
+	</div>
+</div>
+<?php if(xpress_is_theme_sidebar_disp()) get_sidebar(); ?>
+
+<?php get_footer(); ?>
+
Index: /tags/Ver2.5.4/extras/my_themes/style.css
===================================================================
--- /tags/Ver2.5.4/extras/my_themes/style.css	(revision 866)
+++ /tags/Ver2.5.4/extras/my_themes/style.css	(revision 866)
@@ -0,0 +1,951 @@
+/*
+Theme Name: My Themes for XPressME
+Theme URI: http://trac.xpressme.info/XPressME
+Description: The theme for XPressME series
+Version: 1.0
+Author: Oneself
+Author URI: http://www.exsample.com/
+Tags: none color, xpressme default, variable width, two columns, widgets
+
+*/
+
+#xpress_page {
+	padding: 0;
+	width: 100%;
+	margin: 0;
+	text-align:left;
+	}
+	
+#xpress_page .clear {
+	clear: both;
+}
+
+#xpress_page h1 {
+	padding-top: 20px;
+	margin: 0 0 5px;
+	font-size: 18px;
+	}
+	
+#xpress_page h2 {
+	font-size: 16px;
+	}
+
+#xpress_page h3 {
+	padding: 0;
+	margin: 0;
+	}
+	
+#xpress_page h3 {
+	font-size: 14px;
+	}
+	
+#xpress_page small {
+	font-family: Arial, Helvetica, Sans-Serif;
+	color: #777;
+	font-size: 0.8em;
+	line-height: 1.5em;
+	}
+	
+#xpress_page code {
+	font-size: 1.1em;
+	}
+
+#xpress_page select {
+	width: 130px;
+	}
+
+#xpress_page .hidden {
+	display: none;
+	}
+
+
+#xpress_page a img {
+	border: none;
+	}
+	
+#xpress_page .center {
+	text-align: center;
+	}
+
+
+#xpress_wrap {
+	clear: both;
+	float: left;
+	width: 100%;
+	margin-right: -205px;
+	}
+	
+#xpress_content {
+	font-size: 1.0em;
+	padding: 0px;
+	}
+	
+#xpress_content.narrowcolumn {
+	margin-right: 200px;
+	}
+
+
+/* Begin Header Menu */
+
+#xpress-header-bar {
+	clear: both;
+}
+#xpress-header-bar-top {
+	margin-bottom: 0px;
+	}
+#xpress-header-bar-top img{
+	vertical-align: top;
+}
+#xpress-header-bar #xpress-header-bar-top .xpress-header-title {
+	font-size: 24px;
+	float: left;
+}
+#xpress-header-bar #xpress-header-bar-top .xpress-description {
+	clear: both;
+	font-weight: bold;
+	font-size: 12px;
+	padding-top: 8px;
+	padding-left: 40px;
+
+}
+
+#xpress-header-bar .xpress-conditional-title {
+	font-weight: bold;
+	font-size: 12px;
+	padding-top: 14px;
+	padding-left: 40px;
+}
+
+#xpress-header-bar .xpress-operation-link {
+	font-size: 12px;
+	text-align: right;
+}
+/* End Header Menu */
+
+
+/* Begin Border line */
+.xpress-border {
+	clear: both;
+	display: block;
+	}
+/* End Border lin */
+
+
+/* Begin Navi */
+.xpress-navi-bar {
+	clear: both;
+	display: block;
+	}
+	
+.xpress_pagenavi {
+	display: block;
+	margin: 0 auto;
+	padding: 5px 0;
+	text-align: right;
+}
+/* End Navi */
+
+
+/* Begin Post */
+.xpress-post {
+	width: 100%;
+	margin: 0px;
+	padding-top:20px;
+	clear: both;
+	}
+.xpress-post h2 {
+	margin: 0;
+	}
+.xpress-post hr {
+	display: block;
+	}
+	
+.xpress-post .xpress-post-header{
+	text-align: left;
+	font-size: 0.8em;
+
+	}
+.xpress-post-title h2{
+	margin: 0;
+	color: #4478B0;
+	text-shadow: 2px 2px 3px #AAAAAA;
+	font-size: 16px;
+	font-weight: bold;
+}
+
+.xpress-post .xpress-post-entry {
+	clear: both;
+	padding-left: 20px;
+
+}
+
+.xpress-post .xpress-link-pages {
+	padding-top:10px;
+	clear: both;
+	text-align: center;
+}
+
+.xpress-post .xpress-post-footer{
+	text-align: right;
+	font-size: 0.8em;
+	margin-bottom: 10px;
+}
+a.more-link {
+	font-size: 12px;
+	margin: 0;
+	padding: 0;
+	color: #E98838;
+	text-shadow: 2px 2px 3px #AAAAAA;
+	font-style: normal;
+	font-weight: bold;
+	text-align: center;
+}
+.xpress-more-link {
+	font-size: 12px;
+	margin: 0;
+	padding: 0;
+	color: #E98838;
+	text-shadow: 2px 2px 3px #AAAAAA;
+	font-style: normal;
+	font-weight: bold;
+	text-align: center;
+}
+.xpress-more-link a{
+	color: #E98838;
+	text-shadow: 2px 2px 3px #AAAAAA;
+	font-style: normal;
+	font-weight: bold;
+	text-align: center;
+}
+
+/* End post */
+
+
+/* Begin Pings */
+#xpress-pings-block {
+	margin-top: 0px;
+	margin-bottom: 0px;
+	margin-left: 5px;
+	margin-right: 5px;
+	padding-top:0px;
+	padding-left:20px;
+	padding-right:5px;
+	padding-bottom:0px;
+	clear: both;
+	}
+#xpress-pings-block h3{
+	font-size: 12px;
+	margin: 0;
+	padding: 0;
+	color: #E98838;
+	text-shadow: 2px 2px 3px #AAAAAA;
+	font-style: normal;
+	font-weight: bold;
+}
+#xpress_pingslist ol{
+	font-size: 1em;
+	list-style-image:none;
+	list-style-position:inside;
+	list-style-type:none;
+	}
+#xpress_pingslist li{
+	margin: 0px;
+	padding-top: 0px;
+	padding-bottom: 0px;
+	padding-left: 5px;
+	padding-right: 1px;
+	font-size: 1em;
+	list-style-image:none;
+	list-style-position:inside;
+	list-style-type:none;
+	}
+.xpress_pings_status {
+	text-align: center;xpress_pings_status
+	margin: 0;
+	padding: 0;
+	}
+/* End pings */
+
+
+/* Begin Comment */
+#xpress-comments-block {
+	margin-top: 0px;
+	margin-bottom: 5px;
+	margin-left: 5px;
+	margin-right: 5px;
+	padding-top:0px;
+	padding-left:20px;
+	padding-right:5px;
+	padding-bottom:10px;
+	clear: both;
+	}
+
+#xpress_commentlist {
+	margin: 0px;
+	padding-left: 20px;
+	}
+
+#xpress_commentlist ol{
+	font-size: 1em;
+	list-style-image:none;
+	list-style-position:inside;
+	list-style-type:none;
+	}
+	
+#xpress_commentlist li{
+	margin: 0px;
+	padding-top: 5px;
+	padding-bottom: 0px;
+	padding-left: 5px;
+	padding-right: 1px;
+	font-size: 1em;
+	list-style-image:none;
+	list-style-position:inside;
+	list-style-type:none;
+	}
+	
+#xpress_commentlist .even {
+	background:#F4F4F4 none repeat scroll 0 0;
+	margin-top: 4px;
+	padding-top: 0px;
+	padding-bottom: 4px;
+	padding-left: 10px;
+	padding-right:0px
+	}
+
+#xpress_commentlist .odd {
+	background:#EFEFEF none repeat scroll 0 0;
+	margin-top: 4px;
+	padding-top: 0px;
+	padding-bottom: 4px;
+	padding-left: 10px;
+	padding-right:0px
+	}
+	
+#xpress_commentlist .avatar { 
+	float: right;
+	border: 1px solid #eee;
+	padding: 2px;
+	background: #efefef;
+	}
+
+#xpress_commentlist cite, .commentlist cite a {
+	font-weight: bold;
+	font-style: normal;
+	font-size: 1.1em;
+	}
+
+#xpress-comment-form {
+	margin: 0px;
+	padding-top: 0px;
+	padding-bottom: 0px;
+	padding-left: 20px;
+	padding-right: 5px;
+	font-size: 18px;
+
+}
+
+#xpress-respond {
+	margin: 0px;
+	padding-top: 10px;
+	padding-bottom: 5px;
+	padding-left: 0px;
+	padding-right: 0px;
+}
+
+#xpress-comment-user {
+	margin: 0px;
+	padding-top: 0px;
+	padding-bottom: 0px;
+	padding-left: 20px;
+	padding-right: 0px;
+}
+
+#xpress-comment-form .xpress-comment-submit{
+	margin: 0px;
+	padding-top: 5px;
+	padding-bottom: 0px;
+	padding-left: 0px;
+	padding-right: 0px;
+	font-size: 12px;
+
+}
+
+.nocomments {
+	text-align: center;
+	margin: 0;
+	padding: 0;
+	}
+/* End Comments */
+
+
+/* Begin Footer Title */
+#xpress_footer {
+	padding-top: 0px;
+	margin: 0 auto;
+	width: 100%;
+	clear: both;
+	text-align: center;
+	}
+#xpress_footer p {
+	font-size: 0.9em;
+}	
+
+#xpress_footer .xpress_rss {
+	margin: 0;
+	padding: 0;
+	text-align: right;
+	}
+
+#xpress_footer .xpress_credit {
+	margin: 0;
+	padding: 0;
+	text-align: center;
+	font-size: 10px;
+	color: #BDBDBD;
+	}
+	
+#xpress_footer .xpress_credit a {
+	font-size: 10px;
+	color: #BDBDBD;
+	}
+/* End Footer Title */
+
+
+/* Begin Sidebar */
+#xpress_sidebar {
+	float: right;
+	display:inline;
+	margin-top: 0px;
+	margin-bottom: 0px;
+	margin-left: 10px;
+	margin-right: 0px;
+	padding-top: 0px;
+	padding-bottom: 0px;
+	padding-left: 100px
+	padding-right: 0px
+	font-size: 0.8em;
+	width: 180px;
+	}
+	
+#xpress_sidebar h2 {
+	margin: 5px 0 0;
+	padding: 0;
+	font-size: 14px;
+	}
+
+#xpress_sidebar form {
+	margin: 0;
+	}
+
+#xpress_sidebar ul ul li:before {
+	content: "\00BB \0020";
+	}
+
+#xpress_sidebar ul, #xpress_sidebar ul ol {
+	margin: 0;
+	padding: 0;
+	list-style-type: none;
+	list-style-image: none;
+	list-style: none;
+	list-style-position:inside;
+	}
+
+#xpress_sidebar ul li {
+	list-style-type: none;
+	list-style-image: none;
+	margin-bottom: 15px;
+	}
+
+#xpress_sidebar ul p, #xpress_sidebar ul select {
+	margin: 5px 0 8px;
+	}
+
+#xpress_sidebar ul ul, #xpress_sidebar ul ol {
+	margin: 5px 0 0 10px;
+	}
+
+#xpress_sidebar ul ul ul, #xpress_sidebar ul ol {
+	margin: 0 0 0 10px;
+	}
+
+
+#xpress_sidebar ul ul li, #xpress_sidebar ul ol li {
+	margin: 3px 0 0;
+	padding: 0;
+	}
+
+#xpress_sidebar #searchform {
+	margin: 0px ;
+	padding: 0px;
+	text-align: left;
+	}
+
+#xpress_sidebar #searchform #s {
+	width: 108px;
+	padding: 2px;
+	}
+
+#xpress_sidebar #searchsubmit {
+	padding: 1px;
+	}
+/* End Sidebar */
+
+
+/* Begin Calendar */
+#wp-calendar {
+	empty-cells: show;
+	margin: 10px auto 0;
+	width: 155px;
+	}
+
+#wp-calendar #next a {
+	padding-right: 10px;
+	text-align: right;
+	font-size: 9pt;
+	background-color: #fff;
+	}
+
+#wp-calendar #prev a {
+	padding-left: 10px;
+	text-align: left;
+	font-size: 9pt;
+	background-color: #fff;
+	}
+
+#wp-calendar a {
+	display: block;
+	text-decoration: none;
+	font-weight: bold;
+	font-size: 14px;
+	background-color: #ddd;
+	}
+
+#wp-calendar caption {
+	text-align: center;
+	width: 100%;
+	font: bold 1.3em;
+	}
+
+#wp-calendar td {
+	padding: 3px 0;
+	text-align: center;
+	}
+
+#wp-calendar td.pad:hover { /* Doesn't work in IE */
+	background-color: #fff; }
+
+#wp-calendar th {
+	font-style: normal;
+	text-transform: capitalize;
+	}
+/* End Calendar */
+	
+
+
+/* Nocheck Under css */
+
+
+.widecolumn .entry {
+	font-size: 1.05em;
+	}
+
+.narrowcolumn .entry,.narrowcolumn_nonside .entry, .widecolumn .entry {
+	line-height: 1.4em;
+	}
+	
+p.postmeta{
+	line-height: 1.2em;
+	font-size: 0.9em;
+	}
+
+
+#xpress_headerimg .description {
+	font-size: 1.2em;
+	}
+
+
+.xpress_pagetitle {
+	font-size: 1.5em;
+	font-weight: bold;
+	}
+	
+.xpress_commentmetadata {
+	font-size: 11px;
+	font-weight: normal;
+	}
+
+.postmetadata {
+	font-size: 0.9em;
+	}
+
+
+
+acronym, abbr, span.caps
+{
+	font-size: 0.9em;
+	letter-spacing: .07em;
+	}
+
+.widecolumn { 
+	width: 500px; /*width of single page*/
+	margin: 0 auto;
+	}	
+
+.entry {
+	clear:both;
+	padding:10px 0 0;
+	}
+	
+.entry p{
+	padding: 5px 0;
+	}
+
+p.postmeta{
+	padding-top: 20px;
+	}
+	
+.narrowcolumn_nonside .postmetadata,
+.narrowcolumn .postmetadata {
+	padding-top: 10px;
+	/*text-align:center;*//*postmeta of index page*/
+	}
+
+.widecolumn .postmetadata {
+	margin: 30px 0;
+	padding:5px 10px;
+	}
+
+.widecolumn .smallattachment {
+	text-align: center;
+	float: left;
+	width: 128px;
+	margin: 5px 5px 5px 0px;
+}
+
+.widecolumn .attachment {
+	text-align: center;
+	margin: 5px 0px;
+}
+
+
+/* End Headers */
+
+/* Begin Images */
+
+/*	Using 'class="alignright"' on an image will (who would've
+	thought?!) align the image to the right. And using 'class="centered',
+	will of course center the image. This is much better than using
+	align="center", being much more futureproof (and valid) */
+
+img.centered {
+	display: block;
+	margin-left: auto;
+	margin-right: auto;
+	}
+
+img.alignright {
+	padding: 4px;
+	margin: 0 0 2px 7px;
+	display: inline;
+	}
+
+img.alignleft {
+	padding: 4px;
+	margin: 0 7px 2px 0;
+	display: inline;
+	}
+
+.alignright {
+	float: right;
+	}
+
+.alignleft {
+	float: left
+	}
+/* End Images */
+
+
+
+/* Begin Lists
+
+	Special stylized non-IE bullets
+	Do not work in Internet Explorer, which merely default to normal bullets. */
+
+html>body .entry ul {
+	margin-left: 0px;
+	padding: 0 0 0 30px;
+	list-style: none;
+	padding-left: 10px;
+	text-indent: -10px;
+	}
+
+html>body .entry li {
+	margin: 7px 0 8px 10px;
+	}
+
+.entry ul li:before{
+	content: "\00BB \0020";
+	}
+	
+.entry ol {
+	padding: 0 0 0 35px;
+	margin: 0;
+	}
+
+.entry ol li {
+	margin: 0;
+	padding: 0;
+	}
+
+.postmetadata ul, .postmetadata li {
+	display: inline;
+	list-style-type: none;
+	list-style-image: none;
+	}
+
+
+.entry form { /* This is mainly for password protected posts, makes them look better. */
+	text-align:center;
+	}
+
+	
+
+
+
+
+
+
+
+
+
+
+/* Begin Various Tags & Classes */
+acronym, abbr, span.caps {
+	cursor: help;
+	}
+
+acronym, abbr {
+	border-bottom: 1px dashed #999;
+	}
+
+blockquote {
+	margin: 15px 30px 0 10px;
+	padding-left: 20px;
+	border-left: 5px solid #ddd;
+	}
+
+blockquote cite {
+	margin: 5px 0 0;
+	display: block;
+	}
+
+.xpress_single_navigation {
+	display:block;
+	width: 500px;
+	margin: 0 auto;	
+	}
+	
+.xpress_index_navigation {
+	display:block;
+	width: 100%;
+	margin: 0 auto;	
+	}
+	
+
+/* End Various Tags & Classes*/
+
+
+
+/* Captions */
+.aligncenter,
+div.aligncenter {
+	display: block;
+	margin-left: auto;
+	margin-right: auto;
+}
+
+.wp-caption {
+	border: 1px solid #ddd;
+	text-align: center;
+	background-color: #f3f3f3;
+	padding-top: 4px;
+	margin: 10px;
+	-moz-border-radius: 3px;
+	-khtml-border-radius: 3px;
+	-webkit-border-radius: 3px;
+	border-radius: 3px;
+}
+
+.wp-caption img {
+	margin: 0;
+	padding: 0;
+	border: 0 none;
+}
+
+.wp-caption p.wp-caption-text {
+	font-size: 11px;
+	line-height: 17px;
+	padding: 0 4px 5px;
+	margin: 0;
+}
+.dateblock{
+	margin:-12px 0 0 -5px!important;
+	}
+
+.nocomments, .postmetadata, blockquote, strike {
+	color: #777;
+	}
+	
+
+/* =Menu
+-------------------------------------------------------------- */
+#menu_div {
+	border-bottom: 1px solid #000;
+//	background: #fff;
+	margin: 0 auto;
+	display:block;
+	clear:both;
+	height:20px;
+//	float:left;
+}
+.xpress-header-title{
+	padding-left: 5px;
+	padding-top: 5px;
+}
+#access{
+//	background: #fff;
+	margin: 0 auto;
+	display:block;
+	padding-left: 0px;
+	float:left;
+}
+#xpress-menu {
+//	background: #fff;
+	margin: 0 auto;
+	display:block;
+	float:right;
+}
+#access .menu-header,
+#access .menu,
+#xpress-menu .menu-header {
+	font-size: 11px;
+	margin-left: 12px;
+}
+#access .menu-header ul,
+#access .menu ul,
+#xpress-menu .menu-header ul {
+	list-style: none;
+	margin: 0;
+}
+#access .menu-header li,
+#access .menu li,
+#xpress-menu .menu-header li {
+	float:left;
+	list-style: none;
+	position: relative;
+}
+#access a,
+#xpress-menu a {
+	display:block;
+	text-decoration:none;
+//	color:#aaa;
+	padding:0 2px;
+	line-height:16px;
+}
+#access ul ul,
+#xpress-menu ul ul {
+	display:none;
+	position:absolute;
+	top:16px;
+	left:0;
+	float:left;
+	-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
+	-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
+	box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
+	z-index: 99999;
+}
+#access ul ul ul,
+#xpress-menu ul ul ul {
+	left:100%;
+	top:0;
+}
+#access ul ul a,
+#xpress-menu ul ul a {
+	background:#AAAAAA;
+	height:auto;
+	line-height:1em;
+	padding:3px;
+	width: 130px;
+}
+#access li:hover > a,
+#access ul ul :hover > a,
+#xpress-menu li:hover > a,
+#xpress-menu ul ul :hover > a {
+	color:#fff;
+	background:#333;
+}
+
+#access ul li:hover > ul,
+#xpress-menu ul li:hover > ul {
+	display:block;
+}
+
+#ed_toolbar input
+{
+	background: #14181B;
+	color: white;
+	border:2px dashed #323136; 
+	padding: 0px;
+	width: 65px;
+}
+#ed_toolbar input:hover 
+{
+	background: #323136;
+	color: white;
+	border:2px dashed #14181B; 
+	padding: 0px;
+	width: 65px;
+}
+
+#footer-widget-area {
+	overflow: hidden;
+	margin-top: 5px;
+	text-align: left;
+}
+#footer-widget-area .widget-area-type1 {
+	float: left;
+	padding-top: 0;
+	width:100%;
+}
+#footer-widget-area .widget-area-type2 {
+	float: left;
+	padding-top: 0;
+	width:49%;
+}
+#footer-widget-area .widget-area-type3 {
+	float: left;
+	padding-top: 0;
+	width:33%;
+}
+#footer-widget-area .widget-area-type4 {
+	float: left;
+	padding-top: 0;
+	width:24%;
+}
+#footer-widget-area .widget-area-type5 {
+	float: left;
+	padding-top: 0;
+	width:19%;
+}
+
+#footer-widget-area ul {
+	margin-top: 0;
+	list-style-type:none;
+	padding-left: 20px;
+
+}
+#footer-widget-area .widget-title {
+	margin-top: 0;
+	margin-bottom: 2px;
+}
Index: /tags/Ver2.5.4/extras/wp_plugin/xpressme-backup/xpressme-backup-ja.po
===================================================================
--- /tags/Ver2.5.4/extras/wp_plugin/xpressme-backup/xpressme-backup-ja.po	(revision 866)
+++ /tags/Ver2.5.4/extras/wp_plugin/xpressme-backup/xpressme-backup-ja.po	(revision 866)
@@ -0,0 +1,475 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: XPressME-DB-BACKUP\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2010-12-01 09:32+0900\n"
+"PO-Revision-Date: \n"
+"Last-Translator: toemon <info@toemon.com>\n"
+"Language-Team: toemon <info@toemon.com>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Japanese\n"
+"X-Poedit-Country: JAPAN\n"
+"X-Poedit-SourceCharset: utf-8\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Poedit-KeywordsList: __;_e\n"
+"X-Poedit-Basepath: C:\\xampp\\htdocs\\cube_euc\\modules\\xpress2011\\wp-content\\plugins\\xpressme-backup\n"
+"X-Poedit-SearchPath-0: .\n"
+
+#: xpressme-backup.php:215
+msgid "Backup Complete!"
+msgstr "バックアップ完了 !"
+
+#: xpressme-backup.php:250
+msgid "http://codex.wordpress.org/WordPress_Backups"
+msgstr ""
+
+#: xpressme-backup.php:251
+#, php-format
+msgid "Click <a href=\"%s\" target=\"_blank\">here</a> to back up your database using the WordPress Database Backup plugin. <strong>Note:</strong> WordPress Database Backup does <em>not</em> back up your files, just your database."
+msgstr ""
+
+#: xpressme-backup.php:260
+msgid "Progress"
+msgstr "進行"
+
+#: xpressme-backup.php:262
+msgid "DO NOT DO THE FOLLOWING AS IT WILL CAUSE YOUR BACKUP TO FAIL:"
+msgstr "バックアップに失敗するので、次の事はしないでください:"
+
+#: xpressme-backup.php:265
+msgid "Close this browser"
+msgstr "このブラウザを閉じる"
+
+#: xpressme-backup.php:266
+msgid "Reload this page"
+msgstr "このページを再読み込みする"
+
+#: xpressme-backup.php:267
+msgid "Click the Stop or Back buttons in your browser"
+msgstr "ブラウザの停止もしくは戻るボタンのクリック"
+
+#: xpressme-backup.php:269
+msgid "Progress:"
+msgstr "進行状況:"
+
+#: xpressme-backup.php:278
+msgid "Navigating away from this page will cause your backup to fail."
+msgstr "このページを閉じるとバックアップに失敗します。"
+
+#: xpressme-backup.php:315
+#, php-format
+msgid "Backup complete, preparing <a href=\\\"%s\\\">backup</a> for download..."
+msgstr "バックアップを完了しました。ダウンロードのために<a href=\\\"%s\\\">バックアップ</a>を準備中..."
+
+#: xpressme-backup.php:322
+#, php-format
+msgid "Backup complete, sending <a href=\\\"%s\\\">backup</a> via email..."
+msgstr "バックアップを完了しました。メールで<a href=\\\"%s\\\">バックアップ</a>を送信中..."
+
+#: xpressme-backup.php:329
+#, php-format
+msgid "Backup complete, download <a href=\\\"%s\\\">here</a>."
+msgstr "バックアップを完了しました。<a href=\\\"%s\\\">こちらから</a>ダウンロードしてください。"
+
+#: xpressme-backup.php:389
+msgid "Creating backup file..."
+msgstr "バックアップファイルを作成中..."
+
+#: xpressme-backup.php:392
+#, php-format
+msgid "Finished backing up table \\\"%s\\\"."
+msgstr "テーブル \\\"%s\\\" のバックアップを完了。"
+
+#: xpressme-backup.php:394
+#, php-format
+msgid "Backing up table \\\"%s\\\"..."
+msgstr "テーブル \\\"%s\\\" をバックアップ中..."
+
+#: xpressme-backup.php:401
+#: xpressme-backup.php:905
+msgid "Could not open the backup file for writing!"
+msgstr "書き込み用のバックアップファイルを開けませんでした。"
+
+#: xpressme-backup.php:402
+msgid "The backup file could not be saved.  Please check the permissions for writing to your backup directory and try again."
+msgstr "バックアップファイルを保存できませんでした。バックアップ用ディレクトリのアクセス権が書き込み可能になっているか確認してもう一度試してください。"
+
+#: xpressme-backup.php:407
+#: xpressme-backup.php:914
+msgid "WordPress MySQL database backup"
+msgstr "WordPress MySQL データベースバックアップ"
+
+#: xpressme-backup.php:409
+#: xpressme-backup.php:916
+#, php-format
+msgid "Generated: %s"
+msgstr "生成日時: %s"
+
+#: xpressme-backup.php:410
+#: xpressme-backup.php:917
+#, php-format
+msgid "Hostname: %s"
+msgstr "ホスト名: %s"
+
+#: xpressme-backup.php:411
+#: xpressme-backup.php:918
+#, php-format
+msgid "Database: %s"
+msgstr "データベース: %s"
+
+#: xpressme-backup.php:419
+#: xpressme-backup.php:931
+#, php-format
+msgid "Table: %s"
+msgstr "テーブル: %s"
+
+#: xpressme-backup.php:426
+msgid "The backup directory is not writeable!  Please check the permissions for writing to your backup directory and try again."
+msgstr "バックアップ用ディレクトリが書き込み可能になっていません ! バックアップ用ディレクトリのアクセス権が書き込み可能になっているか確認してもう一度試してください。"
+
+#: xpressme-backup.php:483
+msgid "Click and hold down <code>[SHIFT]</code> to toggle multiple checkboxes"
+msgstr "複数のチェックボックスの選択状態を切り替えるには <code>[SHIFT]</code> を押しながらクリックしてください"
+
+#: xpressme-backup.php:523
+msgid "Change"
+msgstr "変更"
+
+#: xpressme-backup.php:532
+msgid "Save"
+msgstr "保存"
+
+#: xpressme-backup.php:619
+#: xpressme-backup.php:628
+msgid "XPressME Backup"
+msgstr "XPressMEバックアップ"
+
+#: xpressme-backup.php:715
+#: xpressme-backup.php:718
+msgid "There was an error writing a line to the backup script:"
+msgstr "バックアップスクリプトへの書き込みエラーがありました:"
+
+#: xpressme-backup.php:750
+msgid "Subsequent errors have been omitted from this log."
+msgstr "このログから後続のエラーが削除されました。"
+
+#: xpressme-backup.php:784
+msgid "Error getting table details"
+msgstr "テーブル詳細の取得エラー"
+
+#: xpressme-backup.php:792
+#, php-format
+msgid "Delete any existing table %s"
+msgstr "既存テーブル %s の削除"
+
+#: xpressme-backup.php:801
+#, php-format
+msgid "Table structure of table %s"
+msgstr "テーブル %s のテーブル構造"
+
+#: xpressme-backup.php:807
+#, php-format
+msgid "Error with SHOW CREATE TABLE for %s."
+msgstr "%s のための SHOW CREATE TABLE に関するエラー。"
+
+#: xpressme-backup.php:814
+#, php-format
+msgid "Error getting table structure of %s"
+msgstr "%s のテーブル構造取得エラー"
+
+#: xpressme-backup.php:822
+#, php-format
+msgid "Data contents of table %s"
+msgstr "テーブル %s のデータコンテンツ"
+
+#: xpressme-backup.php:893
+#, php-format
+msgid "End of data contents of table %s"
+msgstr "テーブル %s のデータコンテンツの終わり"
+
+#: xpressme-backup.php:909
+msgid "The backup directory is not writeable!"
+msgstr "バックアップ用ディレクトリが書き込み可能になっていません !"
+
+#: xpressme-backup.php:1045
+#, php-format
+msgid "File not found:%s"
+msgstr "ファイルが見つかりませんでした: %s"
+
+#: xpressme-backup.php:1045
+msgid "Return to Backup"
+msgstr "バックアップに戻る"
+
+#: xpressme-backup.php:1054
+#, php-format
+msgid "File %s does not exist!"
+msgstr "ファイル %s はありません !"
+
+#: xpressme-backup.php:1061
+#, php-format
+msgid ""
+"Attached to this email is\n"
+"   %1s\n"
+"   Size:%2s kilobytes\n"
+msgstr ""
+"このメールに添付されたのは\n"
+"   %1s\n"
+"   サイズ: %2s キロバイト\n"
+
+#: xpressme-backup.php:1062
+msgid "Database Backup"
+msgstr "データベースのバックアップ"
+
+#: xpressme-backup.php:1065
+#: xpressme-backup.php:1112
+msgid "The following errors were reported:"
+msgstr "次のエラーが報告されました:"
+
+#: xpressme-backup.php:1070
+msgid "ERROR: The mail application has failed to deliver the backup."
+msgstr "エラー: メールアプリケーションがバックアップファイルの送信に失敗しました。"
+
+#: xpressme-backup.php:1087
+msgid "Backup Successful"
+msgstr "バックアップ成功"
+
+#: xpressme-backup.php:1091
+#, php-format
+msgid "Your backup file: <a href=\"%1s\">%2s</a> should begin downloading shortly."
+msgstr "バックアップファイル: <a href=\"%1s\">%2s</a>のダウンロードはまもなく開始されます。"
+
+#: xpressme-backup.php:1099
+#, php-format
+msgid "Your backup has been emailed to %s"
+msgstr "バックアップは %s にメールで送信されました"
+
+#: xpressme-backup.php:1102
+msgid "Your backup file has been saved on the server. If you would like to download it now, right click and select \"Save As\""
+msgstr "バックアップファイルがサーバーに保存されました。ダウンロードするには右クリックして「リンク先を名前をつけて保存」を選択してください"
+
+#: xpressme-backup.php:1103
+#, php-format
+msgid "%s bytes"
+msgstr "%s バイト"
+
+#: xpressme-backup.php:1139
+msgid "Scheduled Backup Options Saved!"
+msgstr "定期バックアップ設定が保存されました !"
+
+#: xpressme-backup.php:1166
+msgid "WARNING: Your backup directory does <strong>NOT</strong> exist, and we cannot create it."
+msgstr "注意: バックアップディレクトリが<strong>見つからず</strong>、作成もできませんでした。"
+
+#: xpressme-backup.php:1167
+#, php-format
+msgid "Using your FTP client, try to create the backup directory yourself: %s"
+msgstr "FTP クライアントを使用し、バックアップディレクトリ: %s を作成してみてください。"
+
+#: xpressme-backup.php:1171
+#: xpressme-backup.php:1182
+msgid "WARNING: Your backup directory is <strong>NOT</strong> writable! We cannot create the backup files."
+msgstr "注意: バックアップディレクトリが<strong>書き込み不可</strong>になっています ! バックアップファイルを作成できませんでした。"
+
+#: xpressme-backup.php:1172
+#, php-format
+msgid "Using your FTP client, try to set the backup directory&rsquo;s write permission to %1$s or %2$s: %3$s"
+msgstr "FTP クライアントを使用し、バックアップディレクトリの書込みパーミッションを %1$s または %2$s: %3$s にセットしてみてください。"
+
+#: xpressme-backup.php:1184
+msgid "This problem seems to be caused by your server&rsquo;s <code>safe_mode</code> file ownership restrictions, which limit what files web applications like WordPress can create."
+msgstr "この問題は使用しているサーバーの <code>safe_mode</code> ファイルオーナー制限によって引き起こされているのかもしれません。これは WordPress のようなウェブアプリケーションが作成できるファイルを制限しています。"
+
+#: xpressme-backup.php:1186
+#, php-format
+msgid "You can try to correct this problem by using your FTP client to delete and then re-create the backup directory: %s"
+msgstr "FTP クライアントを使用してバックアップディレクトリの %s を削除して作り直せば、この問題を解決できるかもしれません。"
+
+#: xpressme-backup.php:1197
+msgid "Backup"
+msgstr "バックアップ"
+
+#: xpressme-backup.php:1200
+msgid "Tables"
+msgstr "テーブル"
+
+#: xpressme-backup.php:1204
+msgid "These core WordPress tables will always be backed up:"
+msgstr "次の主要な WordPress テーブルは常にバックアップされます:"
+
+#: xpressme-backup.php:1210
+msgid "Exclude spam comments"
+msgstr "スパムコメントを除外"
+
+#: xpressme-backup.php:1213
+msgid "Exclude post revisions"
+msgstr "投稿リビジョンを除外"
+
+#: xpressme-backup.php:1224
+msgid "Select all"
+msgstr "すべて選択"
+
+#: xpressme-backup.php:1225
+msgid "Select none"
+msgstr "何も選択しない"
+
+#: xpressme-backup.php:1227
+msgid "You may choose to include any of the following tables:"
+msgstr "次のテーブルも選択して保存することができます:"
+
+#: xpressme-backup.php:1260
+msgid "Backup Options"
+msgstr "バックアップ設定"
+
+#: xpressme-backup.php:1261
+msgid "What to do with the backup file:"
+msgstr "バックアップファイルの扱い:"
+
+#: xpressme-backup.php:1265
+msgid "Save to server"
+msgstr "サーバーに保存"
+
+#: xpressme-backup.php:1270
+msgid "Download to your computer"
+msgstr "あなたのコンピュータにダウンロード"
+
+#: xpressme-backup.php:1274
+#: xpressme-backup.php:1382
+msgid "Email backup to:"
+msgstr "バックアップをメールで送信:"
+
+#: xpressme-backup.php:1278
+msgid "Data conversion option."
+msgstr "データ変換オプション"
+
+#: xpressme-backup.php:1285
+#: xpressme-backup.php:1288
+msgid "Converte EUC-JP to UTF-8"
+msgstr "EUC-JPからUTF-8への変換"
+
+#: xpressme-backup.php:1289
+msgid "The server used does not support the mb_convert_encoding() function."
+msgstr "お使いのサーバーはmb_convert_encoding()関数をサポートしていません。"
+
+#: xpressme-backup.php:1298
+msgid "Changes from the user roles name of WordPressME to the user roles name of Wordpress."
+msgstr "WordPressMEのユーザー権限名からWordPressのユーザ権限名に変更"
+
+#: xpressme-backup.php:1307
+msgid "Rename DB Prefix"
+msgstr "データベース・プレフィックスの変更"
+
+#: xpressme-backup.php:1309
+#: xpressme-backup.php:1318
+msgid "to"
+msgstr "から"
+
+#: xpressme-backup.php:1315
+msgid "Change URL"
+msgstr "URLの変更"
+
+#: xpressme-backup.php:1324
+msgid "In the backup data,all plug-ins are Deactivate state."
+msgstr "バックアップしたデータを、すべてのプラグインを無効化した状態にする。"
+
+#: xpressme-backup.php:1331
+msgid "Backup now!"
+msgstr "バックアップ !"
+
+#: xpressme-backup.php:1334
+msgid "WARNING: Your backup directory is <strong>NOT</strong> writable!"
+msgstr "注意: バックアップディレクトリが<strong>書き込み不可</strong>になっています。"
+
+#: xpressme-backup.php:1345
+msgid "Scheduled Backup"
+msgstr "定期バックアップ"
+
+#: xpressme-backup.php:1352
+#, php-format
+msgid "Next Backup: %s"
+msgstr "次回のバックアップ: %s"
+
+#: xpressme-backup.php:1357
+#, php-format
+msgid "Last WP-Cron Daily Execution: %s"
+msgstr "最後に WP-Cron を実行した日時: %s"
+
+#: xpressme-backup.php:1358
+#, php-format
+msgid "Next WP-Cron Daily Execution: %s"
+msgstr "次に WP-Cron を実行する日時: %s"
+
+#: xpressme-backup.php:1363
+msgid "Schedule: "
+msgstr "スケジュール:"
+
+#: xpressme-backup.php:1367
+msgid "None"
+msgstr "なし"
+
+#: xpressme-backup.php:1367
+msgid "Daily"
+msgstr "毎日"
+
+#: xpressme-backup.php:1384
+msgid "Schedule backup"
+msgstr "定期バックアップ"
+
+#: xpressme-backup.php:1392
+msgid "Tables to include in the scheduled backup:"
+msgstr "定期バックアップに含めるテーブル:"
+
+#: xpressme-backup.php:1427
+msgid "Never"
+msgstr "なし"
+
+#: xpressme-backup.php:1432
+#, php-format
+msgid "%s seconds"
+msgstr "%s 秒"
+
+#: xpressme-backup.php:1465
+msgid "Once Weekly"
+msgstr "週 1 回"
+
+#: xpressme-backup.php:1479
+#, php-format
+msgid "Your WordPress version, %1s, lacks important security features without which it is unsafe to use the WP-DB-Backup plugin.  Hence, this plugin is automatically disabled.  Please consider <a href=\"%2s\">upgrading WordPress</a> to a more recent version."
+msgstr "お使いになっている WordPress のバージョンは %1s です。このバージョンには WP-DB-Backup プラグインを安全に使用できる重要なセキュリティ機能が備わっていません。そのためこのプラグインは自動的に機能を停止しました。より最新の <a href=\"%2s\">WordPress へのアップグレード</a>をご検討ください。"
+
+#: xpressme-backup.php:1498
+msgid "You are not allowed to perform backups."
+msgstr "バックアップを行う権限がありません。"
+
+#: xpressme-backup.php:1513
+#, php-format
+msgid "There appears to be an unauthorized attempt from this site to access your database located at %1s.  The attempt has been halted."
+msgstr "このサイトから %1s にあるデータベースへの未承認のアクセスがあったようです。この試みは阻止されました。"
+
+#: xpressme-backup.php:1524
+msgid "Cheatin' uh ?"
+msgstr "間違えましたか ?"
+
+#~ msgid "user_role is corrected to upgrade."
+#~ msgstr "WordPressアップグレード用にユーザ権限データを修正"
+#~ msgid "Backup Ditaile Options"
+#~ msgstr "バックアップ詳細設定"
+#~ msgid ""
+#~ "Your WordPress Langage %s, the WP-DB-Backup-to-UTF8 plugin is only for "
+#~ "EUC-JP. Hence, this plugin is automatically disabled."
+#~ msgstr ""
+#~ "お使いになっている WordPress の言語は %s です。WP-DB-Backup-to-UTF8プラグ"
+#~ "インは、EUC-JP専用です。そのためこのプラグインは自動的に機能を停止しまし"
+#~ "た。"
+#~ msgid "Backup(to UTF8)"
+#~ msgstr "バックアップ(to UTF8)"
+#~ msgid ""
+#~ "WARNING: Your wp-content directory is <strong>NOT</strong> writable! We "
+#~ "can not create the backup directory."
+#~ msgstr ""
+#~ "注意: wp-content ディレクトリが<strong>書き込み不可</strong>になっていま"
+#~ "す ! バックアップディレクトリを作成できませんでした。"
+#~ msgid "Submit"
+#~ msgstr "保存する"
+
Index: /tags/Ver2.5.4/extras/wp_plugin/xpressme-backup/xpressme-backup-ja_EUC.po
===================================================================
--- /tags/Ver2.5.4/extras/wp_plugin/xpressme-backup/xpressme-backup-ja_EUC.po	(revision 866)
+++ /tags/Ver2.5.4/extras/wp_plugin/xpressme-backup/xpressme-backup-ja_EUC.po	(revision 866)
@@ -0,0 +1,475 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: XPressME-DB-BACKUP\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2010-12-01 09:34+0900\n"
+"PO-Revision-Date: \n"
+"Last-Translator: toemon <info@toemon.com>\n"
+"Language-Team: toemon <info@toemon.com>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=euc-jp\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Japanese\n"
+"X-Poedit-Country: JAPAN\n"
+"X-Poedit-SourceCharset: euc-jp\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Poedit-KeywordsList: __;_e\n"
+"X-Poedit-Basepath: C:\\xampp\\htdocs\\cube_euc\\modules\\xpress2011\\wp-content\\plugins\\xpressme-backup\n"
+"X-Poedit-SearchPath-0: .\n"
+
+#: xpressme-backup.php:215
+msgid "Backup Complete!"
+msgstr "¥Ð¥Ã¥¯¥¢¥Ã¥×´°Î» !"
+
+#: xpressme-backup.php:250
+msgid "http://codex.wordpress.org/WordPress_Backups"
+msgstr ""
+
+#: xpressme-backup.php:251
+#, php-format
+msgid "Click <a href=\"%s\" target=\"_blank\">here</a> to back up your database using the WordPress Database Backup plugin. <strong>Note:</strong> WordPress Database Backup does <em>not</em> back up your files, just your database."
+msgstr ""
+
+#: xpressme-backup.php:260
+msgid "Progress"
+msgstr "¿Ê¹Ô"
+
+#: xpressme-backup.php:262
+msgid "DO NOT DO THE FOLLOWING AS IT WILL CAUSE YOUR BACKUP TO FAIL:"
+msgstr "¥Ð¥Ã¥¯¥¢¥Ã¥×¤Ë¼ºÇÔ¤¹¤ë¤Î¤Ç¡¢¼¡¤Î»ö¤Ï¤·¤Ê¤¤¤Ç¤¯¤À¤µ¤¤:"
+
+#: xpressme-backup.php:265
+msgid "Close this browser"
+msgstr "¤³¤Î¥Ö¥é¥¦¥¶¤òÊÄ¤¸¤ë"
+
+#: xpressme-backup.php:266
+msgid "Reload this page"
+msgstr "¤³¤Î¥Ú¡¼¥¸¤òºÆÆÉ¤ß¹þ¤ß¤¹¤ë"
+
+#: xpressme-backup.php:267
+msgid "Click the Stop or Back buttons in your browser"
+msgstr "¥Ö¥é¥¦¥¶¤ÎÄä»ß¤â¤·¤¯¤ÏÌá¤ë¥Ü¥¿¥ó¤Î¥¯¥ê¥Ã¥¯"
+
+#: xpressme-backup.php:269
+msgid "Progress:"
+msgstr "¿Ê¹Ô¾õ¶·:"
+
+#: xpressme-backup.php:278
+msgid "Navigating away from this page will cause your backup to fail."
+msgstr "¤³¤Î¥Ú¡¼¥¸¤òÊÄ¤¸¤ë¤È¥Ð¥Ã¥¯¥¢¥Ã¥×¤Ë¼ºÇÔ¤·¤Þ¤¹¡£"
+
+#: xpressme-backup.php:315
+#, php-format
+msgid "Backup complete, preparing <a href=\\\"%s\\\">backup</a> for download..."
+msgstr "¥Ð¥Ã¥¯¥¢¥Ã¥×¤ò´°Î»¤·¤Þ¤·¤¿¡£¥À¥¦¥ó¥í¡¼¥É¤Î¤¿¤á¤Ë<a href=\\\"%s\\\">¥Ð¥Ã¥¯¥¢¥Ã¥×</a>¤ò½àÈ÷Ãæ..."
+
+#: xpressme-backup.php:322
+#, php-format
+msgid "Backup complete, sending <a href=\\\"%s\\\">backup</a> via email..."
+msgstr "¥Ð¥Ã¥¯¥¢¥Ã¥×¤ò´°Î»¤·¤Þ¤·¤¿¡£¥á¡¼¥ë¤Ç<a href=\\\"%s\\\">¥Ð¥Ã¥¯¥¢¥Ã¥×</a>¤òÁ÷¿®Ãæ..."
+
+#: xpressme-backup.php:329
+#, php-format
+msgid "Backup complete, download <a href=\\\"%s\\\">here</a>."
+msgstr "¥Ð¥Ã¥¯¥¢¥Ã¥×¤ò´°Î»¤·¤Þ¤·¤¿¡£<a href=\\\"%s\\\">¤³¤Á¤é¤«¤é</a>¥À¥¦¥ó¥í¡¼¥É¤·¤Æ¤¯¤À¤µ¤¤¡£"
+
+#: xpressme-backup.php:389
+msgid "Creating backup file..."
+msgstr "¥Ð¥Ã¥¯¥¢¥Ã¥×¥Õ¥¡¥¤¥ë¤òºîÀ®Ãæ..."
+
+#: xpressme-backup.php:392
+#, php-format
+msgid "Finished backing up table \\\"%s\\\"."
+msgstr "¥Æ¡¼¥Ö¥ë \\\"%s\\\" ¤Î¥Ð¥Ã¥¯¥¢¥Ã¥×¤ò´°Î»¡£"
+
+#: xpressme-backup.php:394
+#, php-format
+msgid "Backing up table \\\"%s\\\"..."
+msgstr "¥Æ¡¼¥Ö¥ë \\\"%s\\\" ¤ò¥Ð¥Ã¥¯¥¢¥Ã¥×Ãæ..."
+
+#: xpressme-backup.php:401
+#: xpressme-backup.php:905
+msgid "Could not open the backup file for writing!"
+msgstr "½ñ¤­¹þ¤ßÍÑ¤Î¥Ð¥Ã¥¯¥¢¥Ã¥×¥Õ¥¡¥¤¥ë¤ò³«¤±¤Þ¤»¤ó¤Ç¤·¤¿¡£"
+
+#: xpressme-backup.php:402
+msgid "The backup file could not be saved.  Please check the permissions for writing to your backup directory and try again."
+msgstr "¥Ð¥Ã¥¯¥¢¥Ã¥×¥Õ¥¡¥¤¥ë¤òÊÝÂ¸¤Ç¤­¤Þ¤»¤ó¤Ç¤·¤¿¡£¥Ð¥Ã¥¯¥¢¥Ã¥×ÍÑ¥Ç¥£¥ì¥¯¥È¥ê¤Î¥¢¥¯¥»¥¹¸¢¤¬½ñ¤­¹þ¤ß²ÄÇ½¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤«³ÎÇ§¤·¤Æ¤â¤¦°ìÅÙ»î¤·¤Æ¤¯¤À¤µ¤¤¡£"
+
+#: xpressme-backup.php:407
+#: xpressme-backup.php:914
+msgid "WordPress MySQL database backup"
+msgstr "WordPress MySQL ¥Ç¡¼¥¿¥Ù¡¼¥¹¥Ð¥Ã¥¯¥¢¥Ã¥×"
+
+#: xpressme-backup.php:409
+#: xpressme-backup.php:916
+#, php-format
+msgid "Generated: %s"
+msgstr "À¸À®Æü»þ: %s"
+
+#: xpressme-backup.php:410
+#: xpressme-backup.php:917
+#, php-format
+msgid "Hostname: %s"
+msgstr "¥Û¥¹¥ÈÌ¾: %s"
+
+#: xpressme-backup.php:411
+#: xpressme-backup.php:918
+#, php-format
+msgid "Database: %s"
+msgstr "¥Ç¡¼¥¿¥Ù¡¼¥¹: %s"
+
+#: xpressme-backup.php:419
+#: xpressme-backup.php:931
+#, php-format
+msgid "Table: %s"
+msgstr "¥Æ¡¼¥Ö¥ë: %s"
+
+#: xpressme-backup.php:426
+msgid "The backup directory is not writeable!  Please check the permissions for writing to your backup directory and try again."
+msgstr "¥Ð¥Ã¥¯¥¢¥Ã¥×ÍÑ¥Ç¥£¥ì¥¯¥È¥ê¤¬½ñ¤­¹þ¤ß²ÄÇ½¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤»¤ó ! ¥Ð¥Ã¥¯¥¢¥Ã¥×ÍÑ¥Ç¥£¥ì¥¯¥È¥ê¤Î¥¢¥¯¥»¥¹¸¢¤¬½ñ¤­¹þ¤ß²ÄÇ½¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤«³ÎÇ§¤·¤Æ¤â¤¦°ìÅÙ»î¤·¤Æ¤¯¤À¤µ¤¤¡£"
+
+#: xpressme-backup.php:483
+msgid "Click and hold down <code>[SHIFT]</code> to toggle multiple checkboxes"
+msgstr "Ê£¿ô¤Î¥Á¥§¥Ã¥¯¥Ü¥Ã¥¯¥¹¤ÎÁªÂò¾õÂÖ¤òÀÚ¤êÂØ¤¨¤ë¤Ë¤Ï <code>[SHIFT]</code> ¤ò²¡¤·¤Ê¤¬¤é¥¯¥ê¥Ã¥¯¤·¤Æ¤¯¤À¤µ¤¤"
+
+#: xpressme-backup.php:523
+msgid "Change"
+msgstr "ÊÑ¹¹"
+
+#: xpressme-backup.php:532
+msgid "Save"
+msgstr "ÊÝÂ¸"
+
+#: xpressme-backup.php:619
+#: xpressme-backup.php:628
+msgid "XPressME Backup"
+msgstr "XPressME¥Ð¥Ã¥¯¥¢¥Ã¥×"
+
+#: xpressme-backup.php:715
+#: xpressme-backup.php:718
+msgid "There was an error writing a line to the backup script:"
+msgstr "¥Ð¥Ã¥¯¥¢¥Ã¥×¥¹¥¯¥ê¥×¥È¤Ø¤Î½ñ¤­¹þ¤ß¥¨¥é¡¼¤¬¤¢¤ê¤Þ¤·¤¿:"
+
+#: xpressme-backup.php:750
+msgid "Subsequent errors have been omitted from this log."
+msgstr "¤³¤Î¥í¥°¤«¤é¸åÂ³¤Î¥¨¥é¡¼¤¬ºï½ü¤µ¤ì¤Þ¤·¤¿¡£"
+
+#: xpressme-backup.php:784
+msgid "Error getting table details"
+msgstr "¥Æ¡¼¥Ö¥ë¾ÜºÙ¤Î¼èÆÀ¥¨¥é¡¼"
+
+#: xpressme-backup.php:792
+#, php-format
+msgid "Delete any existing table %s"
+msgstr "´ûÂ¸¥Æ¡¼¥Ö¥ë %s ¤Îºï½ü"
+
+#: xpressme-backup.php:801
+#, php-format
+msgid "Table structure of table %s"
+msgstr "¥Æ¡¼¥Ö¥ë %s ¤Î¥Æ¡¼¥Ö¥ë¹½Â¤"
+
+#: xpressme-backup.php:807
+#, php-format
+msgid "Error with SHOW CREATE TABLE for %s."
+msgstr "%s ¤Î¤¿¤á¤Î SHOW CREATE TABLE ¤Ë´Ø¤¹¤ë¥¨¥é¡¼¡£"
+
+#: xpressme-backup.php:814
+#, php-format
+msgid "Error getting table structure of %s"
+msgstr "%s ¤Î¥Æ¡¼¥Ö¥ë¹½Â¤¼èÆÀ¥¨¥é¡¼"
+
+#: xpressme-backup.php:822
+#, php-format
+msgid "Data contents of table %s"
+msgstr "¥Æ¡¼¥Ö¥ë %s ¤Î¥Ç¡¼¥¿¥³¥ó¥Æ¥ó¥Ä"
+
+#: xpressme-backup.php:893
+#, php-format
+msgid "End of data contents of table %s"
+msgstr "¥Æ¡¼¥Ö¥ë %s ¤Î¥Ç¡¼¥¿¥³¥ó¥Æ¥ó¥Ä¤Î½ª¤ï¤ê"
+
+#: xpressme-backup.php:909
+msgid "The backup directory is not writeable!"
+msgstr "¥Ð¥Ã¥¯¥¢¥Ã¥×ÍÑ¥Ç¥£¥ì¥¯¥È¥ê¤¬½ñ¤­¹þ¤ß²ÄÇ½¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤»¤ó !"
+
+#: xpressme-backup.php:1045
+#, php-format
+msgid "File not found:%s"
+msgstr "¥Õ¥¡¥¤¥ë¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó¤Ç¤·¤¿: %s"
+
+#: xpressme-backup.php:1045
+msgid "Return to Backup"
+msgstr "¥Ð¥Ã¥¯¥¢¥Ã¥×¤ËÌá¤ë"
+
+#: xpressme-backup.php:1054
+#, php-format
+msgid "File %s does not exist!"
+msgstr "¥Õ¥¡¥¤¥ë %s ¤Ï¤¢¤ê¤Þ¤»¤ó !"
+
+#: xpressme-backup.php:1061
+#, php-format
+msgid ""
+"Attached to this email is\n"
+"   %1s\n"
+"   Size:%2s kilobytes\n"
+msgstr ""
+"¤³¤Î¥á¡¼¥ë¤ËÅºÉÕ¤µ¤ì¤¿¤Î¤Ï\n"
+"   %1s\n"
+"   ¥µ¥¤¥º: %2s ¥­¥í¥Ð¥¤¥È\n"
+
+#: xpressme-backup.php:1062
+msgid "Database Backup"
+msgstr "¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥Ð¥Ã¥¯¥¢¥Ã¥×"
+
+#: xpressme-backup.php:1065
+#: xpressme-backup.php:1112
+msgid "The following errors were reported:"
+msgstr "¼¡¤Î¥¨¥é¡¼¤¬Êó¹ð¤µ¤ì¤Þ¤·¤¿:"
+
+#: xpressme-backup.php:1070
+msgid "ERROR: The mail application has failed to deliver the backup."
+msgstr "¥¨¥é¡¼: ¥á¡¼¥ë¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤¬¥Ð¥Ã¥¯¥¢¥Ã¥×¥Õ¥¡¥¤¥ë¤ÎÁ÷¿®¤Ë¼ºÇÔ¤·¤Þ¤·¤¿¡£"
+
+#: xpressme-backup.php:1087
+msgid "Backup Successful"
+msgstr "¥Ð¥Ã¥¯¥¢¥Ã¥×À®¸ù"
+
+#: xpressme-backup.php:1091
+#, php-format
+msgid "Your backup file: <a href=\"%1s\">%2s</a> should begin downloading shortly."
+msgstr "¥Ð¥Ã¥¯¥¢¥Ã¥×¥Õ¥¡¥¤¥ë: <a href=\"%1s\">%2s</a>¤Î¥À¥¦¥ó¥í¡¼¥É¤Ï¤Þ¤â¤Ê¤¯³«»Ï¤µ¤ì¤Þ¤¹¡£"
+
+#: xpressme-backup.php:1099
+#, php-format
+msgid "Your backup has been emailed to %s"
+msgstr "¥Ð¥Ã¥¯¥¢¥Ã¥×¤Ï %s ¤Ë¥á¡¼¥ë¤ÇÁ÷¿®¤µ¤ì¤Þ¤·¤¿"
+
+#: xpressme-backup.php:1102
+msgid "Your backup file has been saved on the server. If you would like to download it now, right click and select \"Save As\""
+msgstr "¥Ð¥Ã¥¯¥¢¥Ã¥×¥Õ¥¡¥¤¥ë¤¬¥µ¡¼¥Ð¡¼¤ËÊÝÂ¸¤µ¤ì¤Þ¤·¤¿¡£¥À¥¦¥ó¥í¡¼¥É¤¹¤ë¤Ë¤Ï±¦¥¯¥ê¥Ã¥¯¤·¤Æ¡Ö¥ê¥ó¥¯Àè¤òÌ¾Á°¤ò¤Ä¤±¤ÆÊÝÂ¸¡×¤òÁªÂò¤·¤Æ¤¯¤À¤µ¤¤"
+
+#: xpressme-backup.php:1103
+#, php-format
+msgid "%s bytes"
+msgstr "%s ¥Ð¥¤¥È"
+
+#: xpressme-backup.php:1139
+msgid "Scheduled Backup Options Saved!"
+msgstr "Äê´ü¥Ð¥Ã¥¯¥¢¥Ã¥×ÀßÄê¤¬ÊÝÂ¸¤µ¤ì¤Þ¤·¤¿ !"
+
+#: xpressme-backup.php:1166
+msgid "WARNING: Your backup directory does <strong>NOT</strong> exist, and we cannot create it."
+msgstr "Ãí°Õ: ¥Ð¥Ã¥¯¥¢¥Ã¥×¥Ç¥£¥ì¥¯¥È¥ê¤¬<strong>¸«¤Ä¤«¤é¤º</strong>¡¢ºîÀ®¤â¤Ç¤­¤Þ¤»¤ó¤Ç¤·¤¿¡£"
+
+#: xpressme-backup.php:1167
+#, php-format
+msgid "Using your FTP client, try to create the backup directory yourself: %s"
+msgstr "FTP ¥¯¥é¥¤¥¢¥ó¥È¤ò»ÈÍÑ¤·¡¢¥Ð¥Ã¥¯¥¢¥Ã¥×¥Ç¥£¥ì¥¯¥È¥ê: %s ¤òºîÀ®¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£"
+
+#: xpressme-backup.php:1171
+#: xpressme-backup.php:1182
+msgid "WARNING: Your backup directory is <strong>NOT</strong> writable! We cannot create the backup files."
+msgstr "Ãí°Õ: ¥Ð¥Ã¥¯¥¢¥Ã¥×¥Ç¥£¥ì¥¯¥È¥ê¤¬<strong>½ñ¤­¹þ¤ßÉÔ²Ä</strong>¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹ ! ¥Ð¥Ã¥¯¥¢¥Ã¥×¥Õ¥¡¥¤¥ë¤òºîÀ®¤Ç¤­¤Þ¤»¤ó¤Ç¤·¤¿¡£"
+
+#: xpressme-backup.php:1172
+#, php-format
+msgid "Using your FTP client, try to set the backup directory&rsquo;s write permission to %1$s or %2$s: %3$s"
+msgstr "FTP ¥¯¥é¥¤¥¢¥ó¥È¤ò»ÈÍÑ¤·¡¢¥Ð¥Ã¥¯¥¢¥Ã¥×¥Ç¥£¥ì¥¯¥È¥ê¤Î½ñ¹þ¤ß¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤ò %1$s ¤Þ¤¿¤Ï %2$s: %3$s ¤Ë¥»¥Ã¥È¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£"
+
+#: xpressme-backup.php:1184
+msgid "This problem seems to be caused by your server&rsquo;s <code>safe_mode</code> file ownership restrictions, which limit what files web applications like WordPress can create."
+msgstr "¤³¤ÎÌäÂê¤Ï»ÈÍÑ¤·¤Æ¤¤¤ë¥µ¡¼¥Ð¡¼¤Î <code>safe_mode</code> ¥Õ¥¡¥¤¥ë¥ª¡¼¥Ê¡¼À©¸Â¤Ë¤è¤Ã¤Æ°ú¤­µ¯¤³¤µ¤ì¤Æ¤¤¤ë¤Î¤«¤â¤·¤ì¤Þ¤»¤ó¡£¤³¤ì¤Ï WordPress ¤Î¤è¤¦¤Ê¥¦¥§¥Ö¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤¬ºîÀ®¤Ç¤­¤ë¥Õ¥¡¥¤¥ë¤òÀ©¸Â¤·¤Æ¤¤¤Þ¤¹¡£"
+
+#: xpressme-backup.php:1186
+#, php-format
+msgid "You can try to correct this problem by using your FTP client to delete and then re-create the backup directory: %s"
+msgstr "FTP ¥¯¥é¥¤¥¢¥ó¥È¤ò»ÈÍÑ¤·¤Æ¥Ð¥Ã¥¯¥¢¥Ã¥×¥Ç¥£¥ì¥¯¥È¥ê¤Î %s ¤òºï½ü¤·¤Æºî¤êÄ¾¤»¤Ð¡¢¤³¤ÎÌäÂê¤ò²ò·è¤Ç¤­¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£"
+
+#: xpressme-backup.php:1197
+msgid "Backup"
+msgstr "¥Ð¥Ã¥¯¥¢¥Ã¥×"
+
+#: xpressme-backup.php:1200
+msgid "Tables"
+msgstr "¥Æ¡¼¥Ö¥ë"
+
+#: xpressme-backup.php:1204
+msgid "These core WordPress tables will always be backed up:"
+msgstr "¼¡¤Î¼çÍ×¤Ê WordPress ¥Æ¡¼¥Ö¥ë¤Ï¾ï¤Ë¥Ð¥Ã¥¯¥¢¥Ã¥×¤µ¤ì¤Þ¤¹:"
+
+#: xpressme-backup.php:1210
+msgid "Exclude spam comments"
+msgstr "¥¹¥Ñ¥à¥³¥á¥ó¥È¤ò½ü³°"
+
+#: xpressme-backup.php:1213
+msgid "Exclude post revisions"
+msgstr "Åê¹Æ¥ê¥Ó¥¸¥ç¥ó¤ò½ü³°"
+
+#: xpressme-backup.php:1224
+msgid "Select all"
+msgstr "¤¹¤Ù¤ÆÁªÂò"
+
+#: xpressme-backup.php:1225
+msgid "Select none"
+msgstr "²¿¤âÁªÂò¤·¤Ê¤¤"
+
+#: xpressme-backup.php:1227
+msgid "You may choose to include any of the following tables:"
+msgstr "¼¡¤Î¥Æ¡¼¥Ö¥ë¤âÁªÂò¤·¤ÆÊÝÂ¸¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹:"
+
+#: xpressme-backup.php:1260
+msgid "Backup Options"
+msgstr "¥Ð¥Ã¥¯¥¢¥Ã¥×ÀßÄê"
+
+#: xpressme-backup.php:1261
+msgid "What to do with the backup file:"
+msgstr "¥Ð¥Ã¥¯¥¢¥Ã¥×¥Õ¥¡¥¤¥ë¤Î°·¤¤:"
+
+#: xpressme-backup.php:1265
+msgid "Save to server"
+msgstr "¥µ¡¼¥Ð¡¼¤ËÊÝÂ¸"
+
+#: xpressme-backup.php:1270
+msgid "Download to your computer"
+msgstr "¤¢¤Ê¤¿¤Î¥³¥ó¥Ô¥å¡¼¥¿¤Ë¥À¥¦¥ó¥í¡¼¥É"
+
+#: xpressme-backup.php:1274
+#: xpressme-backup.php:1382
+msgid "Email backup to:"
+msgstr "¥Ð¥Ã¥¯¥¢¥Ã¥×¤ò¥á¡¼¥ë¤ÇÁ÷¿®:"
+
+#: xpressme-backup.php:1278
+msgid "Data conversion option."
+msgstr "¥Ç¡¼¥¿ÊÑ´¹¥ª¥×¥·¥ç¥ó"
+
+#: xpressme-backup.php:1285
+#: xpressme-backup.php:1288
+msgid "Converte EUC-JP to UTF-8"
+msgstr "EUC-JP¤«¤éUTF-8¤Ø¤ÎÊÑ´¹"
+
+#: xpressme-backup.php:1289
+msgid "The server used does not support the mb_convert_encoding() function."
+msgstr "¤ª»È¤¤¤Î¥µ¡¼¥Ð¡¼¤Ïmb_convert_encoding()´Ø¿ô¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤»¤ó¡£"
+
+#: xpressme-backup.php:1298
+msgid "Changes from the user roles name of WordPressME to the user roles name of Wordpress."
+msgstr "WordPressME¤Î¥æ¡¼¥¶¡¼¸¢¸ÂÌ¾¤«¤éWordPress¤Î¥æ¡¼¥¶¸¢¸ÂÌ¾¤ËÊÑ¹¹"
+
+#: xpressme-backup.php:1307
+msgid "Rename DB Prefix"
+msgstr "¥Ç¡¼¥¿¥Ù¡¼¥¹¡¦¥×¥ì¥Õ¥£¥Ã¥¯¥¹¤ÎÊÑ¹¹"
+
+#: xpressme-backup.php:1309
+#: xpressme-backup.php:1318
+msgid "to"
+msgstr "¤«¤é"
+
+#: xpressme-backup.php:1315
+msgid "Change URL"
+msgstr "URL¤ÎÊÑ¹¹"
+
+#: xpressme-backup.php:1324
+msgid "In the backup data,all plug-ins are Deactivate state."
+msgstr "¥Ð¥Ã¥¯¥¢¥Ã¥×¤·¤¿¥Ç¡¼¥¿¤ò¡¢¤¹¤Ù¤Æ¤Î¥×¥é¥°¥¤¥ó¤òÌµ¸ú²½¤·¤¿¾õÂÖ¤Ë¤¹¤ë¡£"
+
+#: xpressme-backup.php:1331
+msgid "Backup now!"
+msgstr "¥Ð¥Ã¥¯¥¢¥Ã¥× !"
+
+#: xpressme-backup.php:1334
+msgid "WARNING: Your backup directory is <strong>NOT</strong> writable!"
+msgstr "Ãí°Õ: ¥Ð¥Ã¥¯¥¢¥Ã¥×¥Ç¥£¥ì¥¯¥È¥ê¤¬<strong>½ñ¤­¹þ¤ßÉÔ²Ä</strong>¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£"
+
+#: xpressme-backup.php:1345
+msgid "Scheduled Backup"
+msgstr "Äê´ü¥Ð¥Ã¥¯¥¢¥Ã¥×"
+
+#: xpressme-backup.php:1352
+#, php-format
+msgid "Next Backup: %s"
+msgstr "¼¡²ó¤Î¥Ð¥Ã¥¯¥¢¥Ã¥×: %s"
+
+#: xpressme-backup.php:1357
+#, php-format
+msgid "Last WP-Cron Daily Execution: %s"
+msgstr "ºÇ¸å¤Ë WP-Cron ¤ò¼Â¹Ô¤·¤¿Æü»þ: %s"
+
+#: xpressme-backup.php:1358
+#, php-format
+msgid "Next WP-Cron Daily Execution: %s"
+msgstr "¼¡¤Ë WP-Cron ¤ò¼Â¹Ô¤¹¤ëÆü»þ: %s"
+
+#: xpressme-backup.php:1363
+msgid "Schedule: "
+msgstr "¥¹¥±¥¸¥å¡¼¥ë:"
+
+#: xpressme-backup.php:1367
+msgid "None"
+msgstr "¤Ê¤·"
+
+#: xpressme-backup.php:1367
+msgid "Daily"
+msgstr "ËèÆü"
+
+#: xpressme-backup.php:1384
+msgid "Schedule backup"
+msgstr "Äê´ü¥Ð¥Ã¥¯¥¢¥Ã¥×"
+
+#: xpressme-backup.php:1392
+msgid "Tables to include in the scheduled backup:"
+msgstr "Äê´ü¥Ð¥Ã¥¯¥¢¥Ã¥×¤Ë´Þ¤á¤ë¥Æ¡¼¥Ö¥ë:"
+
+#: xpressme-backup.php:1427
+msgid "Never"
+msgstr "¤Ê¤·"
+
+#: xpressme-backup.php:1432
+#, php-format
+msgid "%s seconds"
+msgstr "%s ÉÃ"
+
+#: xpressme-backup.php:1465
+msgid "Once Weekly"
+msgstr "½µ 1 ²ó"
+
+#: xpressme-backup.php:1479
+#, php-format
+msgid "Your WordPress version, %1s, lacks important security features without which it is unsafe to use the WP-DB-Backup plugin.  Hence, this plugin is automatically disabled.  Please consider <a href=\"%2s\">upgrading WordPress</a> to a more recent version."
+msgstr "¤ª»È¤¤¤Ë¤Ê¤Ã¤Æ¤¤¤ë WordPress ¤Î¥Ð¡¼¥¸¥ç¥ó¤Ï %1s ¤Ç¤¹¡£¤³¤Î¥Ð¡¼¥¸¥ç¥ó¤Ë¤Ï WP-DB-Backup ¥×¥é¥°¥¤¥ó¤ò°ÂÁ´¤Ë»ÈÍÑ¤Ç¤­¤ë½ÅÍ×¤Ê¥»¥­¥å¥ê¥Æ¥£µ¡Ç½¤¬È÷¤ï¤Ã¤Æ¤¤¤Þ¤»¤ó¡£¤½¤Î¤¿¤á¤³¤Î¥×¥é¥°¥¤¥ó¤Ï¼«Æ°Åª¤Ëµ¡Ç½¤òÄä»ß¤·¤Þ¤·¤¿¡£¤è¤êºÇ¿·¤Î <a href=\"%2s\">WordPress ¤Ø¤Î¥¢¥Ã¥×¥°¥ì¡¼¥É</a>¤ò¤´¸¡Æ¤¤¯¤À¤µ¤¤¡£"
+
+#: xpressme-backup.php:1498
+msgid "You are not allowed to perform backups."
+msgstr "¥Ð¥Ã¥¯¥¢¥Ã¥×¤ò¹Ô¤¦¸¢¸Â¤¬¤¢¤ê¤Þ¤»¤ó¡£"
+
+#: xpressme-backup.php:1513
+#, php-format
+msgid "There appears to be an unauthorized attempt from this site to access your database located at %1s.  The attempt has been halted."
+msgstr "¤³¤Î¥µ¥¤¥È¤«¤é %1s ¤Ë¤¢¤ë¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ø¤ÎÌ¤¾µÇ§¤Î¥¢¥¯¥»¥¹¤¬¤¢¤Ã¤¿¤è¤¦¤Ç¤¹¡£¤³¤Î»î¤ß¤ÏÁË»ß¤µ¤ì¤Þ¤·¤¿¡£"
+
+#: xpressme-backup.php:1524
+msgid "Cheatin' uh ?"
+msgstr "´Ö°ã¤¨¤Þ¤·¤¿¤« ?"
+
+#~ msgid "user_role is corrected to upgrade."
+#~ msgstr "WordPress¥¢¥Ã¥×¥°¥ì¡¼¥ÉÍÑ¤Ë¥æ¡¼¥¶¸¢¸Â¥Ç¡¼¥¿¤ò½¤Àµ"
+#~ msgid "Backup Ditaile Options"
+#~ msgstr "¥Ð¥Ã¥¯¥¢¥Ã¥×¾ÜºÙÀßÄê"
+#~ msgid ""
+#~ "Your WordPress Langage %s, the WP-DB-Backup-to-UTF8 plugin is only for "
+#~ "EUC-JP. Hence, this plugin is automatically disabled."
+#~ msgstr ""
+#~ "¤ª»È¤¤¤Ë¤Ê¤Ã¤Æ¤¤¤ë WordPress ¤Î¸À¸ì¤Ï %s ¤Ç¤¹¡£WP-DB-Backup-to-UTF8¥×¥é¥°"
+#~ "¥¤¥ó¤Ï¡¢EUC-JPÀìÍÑ¤Ç¤¹¡£¤½¤Î¤¿¤á¤³¤Î¥×¥é¥°¥¤¥ó¤Ï¼«Æ°Åª¤Ëµ¡Ç½¤òÄä»ß¤·¤Þ¤·"
+#~ "¤¿¡£"
+#~ msgid "Backup(to UTF8)"
+#~ msgstr "¥Ð¥Ã¥¯¥¢¥Ã¥×(to UTF8)"
+#~ msgid ""
+#~ "WARNING: Your wp-content directory is <strong>NOT</strong> writable! We "
+#~ "can not create the backup directory."
+#~ msgstr ""
+#~ "Ãí°Õ: wp-content ¥Ç¥£¥ì¥¯¥È¥ê¤¬<strong>½ñ¤­¹þ¤ßÉÔ²Ä</strong>¤Ë¤Ê¤Ã¤Æ¤¤¤Þ"
+#~ "¤¹ ! ¥Ð¥Ã¥¯¥¢¥Ã¥×¥Ç¥£¥ì¥¯¥È¥ê¤òºîÀ®¤Ç¤­¤Þ¤»¤ó¤Ç¤·¤¿¡£"
+#~ msgid "Submit"
+#~ msgstr "ÊÝÂ¸¤¹¤ë"
+
Index: /tags/Ver2.5.4/extras/wp_plugin/xpressme-backup/xpressme-backup-ja_UTF.po
===================================================================
--- /tags/Ver2.5.4/extras/wp_plugin/xpressme-backup/xpressme-backup-ja_UTF.po	(revision 866)
+++ /tags/Ver2.5.4/extras/wp_plugin/xpressme-backup/xpressme-backup-ja_UTF.po	(revision 866)
@@ -0,0 +1,475 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: XPressME-DB-BACKUP\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2010-12-01 09:38+0900\n"
+"PO-Revision-Date: \n"
+"Last-Translator: toemon <info@toemon.com>\n"
+"Language-Team: toemon <info@toemon.com>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Japanese\n"
+"X-Poedit-Country: JAPAN\n"
+"X-Poedit-SourceCharset: utf-8\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Poedit-KeywordsList: __;_e\n"
+"X-Poedit-Basepath: C:\\xampp\\htdocs\\cube_euc\\modules\\xpress2011\\wp-content\\plugins\\xpressme-backup\n"
+"X-Poedit-SearchPath-0: .\n"
+
+#: xpressme-backup.php:215
+msgid "Backup Complete!"
+msgstr "バックアップ完了 !"
+
+#: xpressme-backup.php:250
+msgid "http://codex.wordpress.org/WordPress_Backups"
+msgstr ""
+
+#: xpressme-backup.php:251
+#, php-format
+msgid "Click <a href=\"%s\" target=\"_blank\">here</a> to back up your database using the WordPress Database Backup plugin. <strong>Note:</strong> WordPress Database Backup does <em>not</em> back up your files, just your database."
+msgstr ""
+
+#: xpressme-backup.php:260
+msgid "Progress"
+msgstr "進行"
+
+#: xpressme-backup.php:262
+msgid "DO NOT DO THE FOLLOWING AS IT WILL CAUSE YOUR BACKUP TO FAIL:"
+msgstr "バックアップに失敗するので、次の事はしないでください:"
+
+#: xpressme-backup.php:265
+msgid "Close this browser"
+msgstr "このブラウザを閉じる"
+
+#: xpressme-backup.php:266
+msgid "Reload this page"
+msgstr "このページを再読み込みする"
+
+#: xpressme-backup.php:267
+msgid "Click the Stop or Back buttons in your browser"
+msgstr "ブラウザの停止もしくは戻るボタンのクリック"
+
+#: xpressme-backup.php:269
+msgid "Progress:"
+msgstr "進行状況:"
+
+#: xpressme-backup.php:278
+msgid "Navigating away from this page will cause your backup to fail."
+msgstr "このページを閉じるとバックアップに失敗します。"
+
+#: xpressme-backup.php:315
+#, php-format
+msgid "Backup complete, preparing <a href=\\\"%s\\\">backup</a> for download..."
+msgstr "バックアップを完了しました。ダウンロードのために<a href=\\\"%s\\\">バックアップ</a>を準備中..."
+
+#: xpressme-backup.php:322
+#, php-format
+msgid "Backup complete, sending <a href=\\\"%s\\\">backup</a> via email..."
+msgstr "バックアップを完了しました。メールで<a href=\\\"%s\\\">バックアップ</a>を送信中..."
+
+#: xpressme-backup.php:329
+#, php-format
+msgid "Backup complete, download <a href=\\\"%s\\\">here</a>."
+msgstr "バックアップを完了しました。<a href=\\\"%s\\\">こちらから</a>ダウンロードしてください。"
+
+#: xpressme-backup.php:389
+msgid "Creating backup file..."
+msgstr "バックアップファイルを作成中..."
+
+#: xpressme-backup.php:392
+#, php-format
+msgid "Finished backing up table \\\"%s\\\"."
+msgstr "テーブル \\\"%s\\\" のバックアップを完了。"
+
+#: xpressme-backup.php:394
+#, php-format
+msgid "Backing up table \\\"%s\\\"..."
+msgstr "テーブル \\\"%s\\\" をバックアップ中..."
+
+#: xpressme-backup.php:401
+#: xpressme-backup.php:905
+msgid "Could not open the backup file for writing!"
+msgstr "書き込み用のバックアップファイルを開けませんでした。"
+
+#: xpressme-backup.php:402
+msgid "The backup file could not be saved.  Please check the permissions for writing to your backup directory and try again."
+msgstr "バックアップファイルを保存できませんでした。バックアップ用ディレクトリのアクセス権が書き込み可能になっているか確認してもう一度試してください。"
+
+#: xpressme-backup.php:407
+#: xpressme-backup.php:914
+msgid "WordPress MySQL database backup"
+msgstr "WordPress MySQL データベースバックアップ"
+
+#: xpressme-backup.php:409
+#: xpressme-backup.php:916
+#, php-format
+msgid "Generated: %s"
+msgstr "生成日時: %s"
+
+#: xpressme-backup.php:410
+#: xpressme-backup.php:917
+#, php-format
+msgid "Hostname: %s"
+msgstr "ホスト名: %s"
+
+#: xpressme-backup.php:411
+#: xpressme-backup.php:918
+#, php-format
+msgid "Database: %s"
+msgstr "データベース: %s"
+
+#: xpressme-backup.php:419
+#: xpressme-backup.php:931
+#, php-format
+msgid "Table: %s"
+msgstr "テーブル: %s"
+
+#: xpressme-backup.php:426
+msgid "The backup directory is not writeable!  Please check the permissions for writing to your backup directory and try again."
+msgstr "バックアップ用ディレクトリが書き込み可能になっていません ! バックアップ用ディレクトリのアクセス権が書き込み可能になっているか確認してもう一度試してください。"
+
+#: xpressme-backup.php:483
+msgid "Click and hold down <code>[SHIFT]</code> to toggle multiple checkboxes"
+msgstr "複数のチェックボックスの選択状態を切り替えるには <code>[SHIFT]</code> を押しながらクリックしてください"
+
+#: xpressme-backup.php:523
+msgid "Change"
+msgstr "変更"
+
+#: xpressme-backup.php:532
+msgid "Save"
+msgstr "保存"
+
+#: xpressme-backup.php:619
+#: xpressme-backup.php:628
+msgid "XPressME Backup"
+msgstr "XPressMEバックアップ"
+
+#: xpressme-backup.php:715
+#: xpressme-backup.php:718
+msgid "There was an error writing a line to the backup script:"
+msgstr "バックアップスクリプトへの書き込みエラーがありました:"
+
+#: xpressme-backup.php:750
+msgid "Subsequent errors have been omitted from this log."
+msgstr "このログから後続のエラーが削除されました。"
+
+#: xpressme-backup.php:784
+msgid "Error getting table details"
+msgstr "テーブル詳細の取得エラー"
+
+#: xpressme-backup.php:792
+#, php-format
+msgid "Delete any existing table %s"
+msgstr "既存テーブル %s の削除"
+
+#: xpressme-backup.php:801
+#, php-format
+msgid "Table structure of table %s"
+msgstr "テーブル %s のテーブル構造"
+
+#: xpressme-backup.php:807
+#, php-format
+msgid "Error with SHOW CREATE TABLE for %s."
+msgstr "%s のための SHOW CREATE TABLE に関するエラー。"
+
+#: xpressme-backup.php:814
+#, php-format
+msgid "Error getting table structure of %s"
+msgstr "%s のテーブル構造取得エラー"
+
+#: xpressme-backup.php:822
+#, php-format
+msgid "Data contents of table %s"
+msgstr "テーブル %s のデータコンテンツ"
+
+#: xpressme-backup.php:893
+#, php-format
+msgid "End of data contents of table %s"
+msgstr "テーブル %s のデータコンテンツの終わり"
+
+#: xpressme-backup.php:909
+msgid "The backup directory is not writeable!"
+msgstr "バックアップ用ディレクトリが書き込み可能になっていません !"
+
+#: xpressme-backup.php:1045
+#, php-format
+msgid "File not found:%s"
+msgstr "ファイルが見つかりませんでした: %s"
+
+#: xpressme-backup.php:1045
+msgid "Return to Backup"
+msgstr "バックアップに戻る"
+
+#: xpressme-backup.php:1054
+#, php-format
+msgid "File %s does not exist!"
+msgstr "ファイル %s はありません !"
+
+#: xpressme-backup.php:1061
+#, php-format
+msgid ""
+"Attached to this email is\n"
+"   %1s\n"
+"   Size:%2s kilobytes\n"
+msgstr ""
+"このメールに添付されたのは\n"
+"   %1s\n"
+"   サイズ: %2s キロバイト\n"
+
+#: xpressme-backup.php:1062
+msgid "Database Backup"
+msgstr "データベースのバックアップ"
+
+#: xpressme-backup.php:1065
+#: xpressme-backup.php:1112
+msgid "The following errors were reported:"
+msgstr "次のエラーが報告されました:"
+
+#: xpressme-backup.php:1070
+msgid "ERROR: The mail application has failed to deliver the backup."
+msgstr "エラー: メールアプリケーションがバックアップファイルの送信に失敗しました。"
+
+#: xpressme-backup.php:1087
+msgid "Backup Successful"
+msgstr "バックアップ成功"
+
+#: xpressme-backup.php:1091
+#, php-format
+msgid "Your backup file: <a href=\"%1s\">%2s</a> should begin downloading shortly."
+msgstr "バックアップファイル: <a href=\"%1s\">%2s</a>のダウンロードはまもなく開始されます。"
+
+#: xpressme-backup.php:1099
+#, php-format
+msgid "Your backup has been emailed to %s"
+msgstr "バックアップは %s にメールで送信されました"
+
+#: xpressme-backup.php:1102
+msgid "Your backup file has been saved on the server. If you would like to download it now, right click and select \"Save As\""
+msgstr "バックアップファイルがサーバーに保存されました。ダウンロードするには右クリックして「リンク先を名前をつけて保存」を選択してください"
+
+#: xpressme-backup.php:1103
+#, php-format
+msgid "%s bytes"
+msgstr "%s バイト"
+
+#: xpressme-backup.php:1139
+msgid "Scheduled Backup Options Saved!"
+msgstr "定期バックアップ設定が保存されました !"
+
+#: xpressme-backup.php:1166
+msgid "WARNING: Your backup directory does <strong>NOT</strong> exist, and we cannot create it."
+msgstr "注意: バックアップディレクトリが<strong>見つからず</strong>、作成もできませんでした。"
+
+#: xpressme-backup.php:1167
+#, php-format
+msgid "Using your FTP client, try to create the backup directory yourself: %s"
+msgstr "FTP クライアントを使用し、バックアップディレクトリ: %s を作成してみてください。"
+
+#: xpressme-backup.php:1171
+#: xpressme-backup.php:1182
+msgid "WARNING: Your backup directory is <strong>NOT</strong> writable! We cannot create the backup files."
+msgstr "注意: バックアップディレクトリが<strong>書き込み不可</strong>になっています ! バックアップファイルを作成できませんでした。"
+
+#: xpressme-backup.php:1172
+#, php-format
+msgid "Using your FTP client, try to set the backup directory&rsquo;s write permission to %1$s or %2$s: %3$s"
+msgstr "FTP クライアントを使用し、バックアップディレクトリの書込みパーミッションを %1$s または %2$s: %3$s にセットしてみてください。"
+
+#: xpressme-backup.php:1184
+msgid "This problem seems to be caused by your server&rsquo;s <code>safe_mode</code> file ownership restrictions, which limit what files web applications like WordPress can create."
+msgstr "この問題は使用しているサーバーの <code>safe_mode</code> ファイルオーナー制限によって引き起こされているのかもしれません。これは WordPress のようなウェブアプリケーションが作成できるファイルを制限しています。"
+
+#: xpressme-backup.php:1186
+#, php-format
+msgid "You can try to correct this problem by using your FTP client to delete and then re-create the backup directory: %s"
+msgstr "FTP クライアントを使用してバックアップディレクトリの %s を削除して作り直せば、この問題を解決できるかもしれません。"
+
+#: xpressme-backup.php:1197
+msgid "Backup"
+msgstr "バックアップ"
+
+#: xpressme-backup.php:1200
+msgid "Tables"
+msgstr "テーブル"
+
+#: xpressme-backup.php:1204
+msgid "These core WordPress tables will always be backed up:"
+msgstr "次の主要な WordPress テーブルは常にバックアップされます:"
+
+#: xpressme-backup.php:1210
+msgid "Exclude spam comments"
+msgstr "スパムコメントを除外"
+
+#: xpressme-backup.php:1213
+msgid "Exclude post revisions"
+msgstr "投稿リビジョンを除外"
+
+#: xpressme-backup.php:1224
+msgid "Select all"
+msgstr "すべて選択"
+
+#: xpressme-backup.php:1225
+msgid "Select none"
+msgstr "何も選択しない"
+
+#: xpressme-backup.php:1227
+msgid "You may choose to include any of the following tables:"
+msgstr "次のテーブルも選択して保存することができます:"
+
+#: xpressme-backup.php:1260
+msgid "Backup Options"
+msgstr "バックアップ設定"
+
+#: xpressme-backup.php:1261
+msgid "What to do with the backup file:"
+msgstr "バックアップファイルの扱い:"
+
+#: xpressme-backup.php:1265
+msgid "Save to server"
+msgstr "サーバーに保存"
+
+#: xpressme-backup.php:1270
+msgid "Download to your computer"
+msgstr "あなたのコンピュータにダウンロード"
+
+#: xpressme-backup.php:1274
+#: xpressme-backup.php:1382
+msgid "Email backup to:"
+msgstr "バックアップをメールで送信:"
+
+#: xpressme-backup.php:1278
+msgid "Data conversion option."
+msgstr "データ変換オプション"
+
+#: xpressme-backup.php:1285
+#: xpressme-backup.php:1288
+msgid "Converte EUC-JP to UTF-8"
+msgstr "EUC-JPからUTF-8への変換"
+
+#: xpressme-backup.php:1289
+msgid "The server used does not support the mb_convert_encoding() function."
+msgstr "お使いのサーバーはmb_convert_encoding()関数をサポートしていません。"
+
+#: xpressme-backup.php:1298
+msgid "Changes from the user roles name of WordPressME to the user roles name of Wordpress."
+msgstr "WordPressMEのユーザー権限名からWordPressのユーザ権限名に変更"
+
+#: xpressme-backup.php:1307
+msgid "Rename DB Prefix"
+msgstr "データベース・プレフィックスの変更"
+
+#: xpressme-backup.php:1309
+#: xpressme-backup.php:1318
+msgid "to"
+msgstr "から"
+
+#: xpressme-backup.php:1315
+msgid "Change URL"
+msgstr "URLの変更"
+
+#: xpressme-backup.php:1324
+msgid "In the backup data,all plug-ins are Deactivate state."
+msgstr "バックアップしたデータを、すべてのプラグインを無効化した状態にする。"
+
+#: xpressme-backup.php:1331
+msgid "Backup now!"
+msgstr "バックアップ !"
+
+#: xpressme-backup.php:1334
+msgid "WARNING: Your backup directory is <strong>NOT</strong> writable!"
+msgstr "注意: バックアップディレクトリが<strong>書き込み不可</strong>になっています。"
+
+#: xpressme-backup.php:1345
+msgid "Scheduled Backup"
+msgstr "定期バックアップ"
+
+#: xpressme-backup.php:1352
+#, php-format
+msgid "Next Backup: %s"
+msgstr "次回のバックアップ: %s"
+
+#: xpressme-backup.php:1357
+#, php-format
+msgid "Last WP-Cron Daily Execution: %s"
+msgstr "最後に WP-Cron を実行した日時: %s"
+
+#: xpressme-backup.php:1358
+#, php-format
+msgid "Next WP-Cron Daily Execution: %s"
+msgstr "次に WP-Cron を実行する日時: %s"
+
+#: xpressme-backup.php:1363
+msgid "Schedule: "
+msgstr "スケジュール:"
+
+#: xpressme-backup.php:1367
+msgid "None"
+msgstr "なし"
+
+#: xpressme-backup.php:1367
+msgid "Daily"
+msgstr "毎日"
+
+#: xpressme-backup.php:1384
+msgid "Schedule backup"
+msgstr "定期バックアップ"
+
+#: xpressme-backup.php:1392
+msgid "Tables to include in the scheduled backup:"
+msgstr "定期バックアップに含めるテーブル:"
+
+#: xpressme-backup.php:1427
+msgid "Never"
+msgstr "なし"
+
+#: xpressme-backup.php:1432
+#, php-format
+msgid "%s seconds"
+msgstr "%s 秒"
+
+#: xpressme-backup.php:1465
+msgid "Once Weekly"
+msgstr "週 1 回"
+
+#: xpressme-backup.php:1479
+#, php-format
+msgid "Your WordPress version, %1s, lacks important security features without which it is unsafe to use the WP-DB-Backup plugin.  Hence, this plugin is automatically disabled.  Please consider <a href=\"%2s\">upgrading WordPress</a> to a more recent version."
+msgstr "お使いになっている WordPress のバージョンは %1s です。このバージョンには WP-DB-Backup プラグインを安全に使用できる重要なセキュリティ機能が備わっていません。そのためこのプラグインは自動的に機能を停止しました。より最新の <a href=\"%2s\">WordPress へのアップグレード</a>をご検討ください。"
+
+#: xpressme-backup.php:1498
+msgid "You are not allowed to perform backups."
+msgstr "バックアップを行う権限がありません。"
+
+#: xpressme-backup.php:1513
+#, php-format
+msgid "There appears to be an unauthorized attempt from this site to access your database located at %1s.  The attempt has been halted."
+msgstr "このサイトから %1s にあるデータベースへの未承認のアクセスがあったようです。この試みは阻止されました。"
+
+#: xpressme-backup.php:1524
+msgid "Cheatin' uh ?"
+msgstr "間違えましたか ?"
+
+#~ msgid "user_role is corrected to upgrade."
+#~ msgstr "WordPressアップグレード用にユーザ権限データを修正"
+#~ msgid "Backup Ditaile Options"
+#~ msgstr "バックアップ詳細設定"
+#~ msgid ""
+#~ "Your WordPress Langage %s, the WP-DB-Backup-to-UTF8 plugin is only for "
+#~ "EUC-JP. Hence, this plugin is automatically disabled."
+#~ msgstr ""
+#~ "お使いになっている WordPress の言語は %s です。WP-DB-Backup-to-UTF8プラグ"
+#~ "インは、EUC-JP専用です。そのためこのプラグインは自動的に機能を停止しまし"
+#~ "た。"
+#~ msgid "Backup(to UTF8)"
+#~ msgstr "バックアップ(to UTF8)"
+#~ msgid ""
+#~ "WARNING: Your wp-content directory is <strong>NOT</strong> writable! We "
+#~ "can not create the backup directory."
+#~ msgstr ""
+#~ "注意: wp-content ディレクトリが<strong>書き込み不可</strong>になっていま"
+#~ "す ! バックアップディレクトリを作成できませんでした。"
+#~ msgid "Submit"
+#~ msgstr "保存する"
+
Index: /tags/Ver2.5.4/extras/wp_plugin/xpressme-backup/xpressme-backup.php
===================================================================
--- /tags/Ver2.5.4/extras/wp_plugin/xpressme-backup/xpressme-backup.php	(revision 866)
+++ /tags/Ver2.5.4/extras/wp_plugin/xpressme-backup/xpressme-backup.php	(revision 866)
@@ -0,0 +1,1672 @@
+<?php
+/*
+Plugin Name: XPressME Database Backup
+Plugin URI: http://ja.xpressme.info/
+Description: On-demand backup of your WordPress database.  Navigate to <a href="edit.php?page=xpressme-backup">Tools &rarr; Backup</a> to get started.
+Author: toemon 
+Author URI: http://ja.xpressme.info
+Version: 1.2
+
+Originally modified from Austin Matzko's WordPress Database Backup(http://www.ilfilosofo.com/blog/wp-db-backup) plugin.
+
+Copyright 2008  toemon 
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
+*/
+
+/**
+ * Change WP_BACKUP_DIR if you want to
+ * use a different backup location
+ */
+
+$rand = substr( md5( md5( DB_PASSWORD ) ), -5 );
+global $wpdbb_content_dir, $wpdbb_content_url, $wpdbb_plugin_dir;
+$wpdbb_content_dir = ( defined('WP_CONTENT_DIR') ) ? WP_CONTENT_DIR : ABSPATH . 'wp-content';
+$wpdbb_content_url = ( defined('WP_CONTENT_URL') ) ? WP_CONTENT_URL : get_option('siteurl') . '/wp-content';
+$wpdbb_plugin_dir = ( defined('WP_PLUGIN_DIR') ) ? WP_PLUGIN_DIR : $wpdbb_content_dir . '/plugins';
+
+if ( ! defined('WP_BACKUP_DIR') ) {
+	define('WP_BACKUP_DIR', $wpdbb_content_dir . '/backup-' . $rand . '/');
+}
+
+if ( ! defined('WP_BACKUP_URL') ) {
+	define('WP_BACKUP_URL', $wpdbb_content_url . '/backup-' . $rand . '/');
+}
+
+if ( ! defined('ROWS_PER_SEGMENT') ) {
+	define('ROWS_PER_SEGMENT', 100);
+}
+
+/** 
+ * Set MOD_EVASIVE_OVERRIDE to true 
+ * and increase MOD_EVASIVE_DELAY 
+ * if the backup stops prematurely.
+ */
+// define('MOD_EVASIVE_OVERRIDE', false);
+if ( ! defined('MOD_EVASIVE_DELAY') ) {
+	define('MOD_EVASIVE_DELAY', '500');
+}
+load_plugin_textdomain('xpressme-backup', 'wp-content/plugins/xpressme-backup');
+
+class wpdbBackup {
+
+	var $backup_complete = false;
+	var $backup_file = '';
+	var $backup_filename;
+	var $core_table_names = array();
+	var $errors = array();
+	var $basename;
+	var $page_url;
+	var $referer_check_key;
+	var $version = '2.1.5-alpha';
+
+	function gzip() {
+		return function_exists('gzopen');
+	}
+
+	function module_check() {
+		$mod_evasive = false;
+		if ( true === MOD_EVASIVE_OVERRIDE ) return true;
+		if ( false === MOD_EVASIVE_OVERRIDE ) return false;
+		if ( function_exists('apache_get_modules') ) 
+			foreach( (array) apache_get_modules() as $mod ) 
+				if ( false !== strpos($mod,'mod_evasive') || false !== strpos($mod,'mod_dosevasive') )
+					return true;
+		return false;
+	}
+
+	function wpdbBackup() {
+		global $table_prefix, $wpdb;
+		add_action('wp_ajax_save_backup_time', array(&$this, 'save_backup_time'));
+		add_action('init', array(&$this, 'init_textdomain'));
+		add_action('load-update-core.php', array(&$this, 'update_notice_action'));
+		add_action('wp_db_backup_cron', array(&$this, 'cron_backup'));
+		add_action('xpressme_cron_daily', array(&$this, 'xpressme_cron_daily'));
+		add_filter('cron_schedules', array(&$this, 'add_sched_options'));
+		add_filter('wp_db_b_schedule_choices', array(&$this, 'schedule_choices'));
+		
+		$table_prefix = ( isset( $table_prefix ) ) ? $table_prefix : $wpdb->prefix;
+		$datum = date("Ymd_B");
+		$this->backup_filename = DB_NAME . "_$table_prefix$datum.sql";
+		if ($this->gzip()) $this->backup_filename .= '.gz';
+
+		$possible_names = array(
+			'categories',
+			'comments',
+			'link2cat',
+			'linkcategories',
+			'links',
+			'options',
+			'post2cat',
+			'postmeta',
+			'posts',
+			'terms',
+			'term_taxonomy',
+			'term_relationships',
+			'users',
+		);
+		$xpress_possible_names = array(
+			'usermeta',
+			'd3forum_link',
+			'group_role',
+			'views',
+			'notify_reserve',
+		);
+
+		foreach( $possible_names as $name ) {
+			if ( isset( $wpdb->{$name} ) ) {
+				$this->core_table_names[] = $wpdb->{$name};
+			}
+		}
+		foreach( $xpress_possible_names as $name ) {
+				$this->core_table_names[] = $table_prefix . $name;
+		}
+	
+		$this->backup_dir = trailingslashit(apply_filters('wp_db_b_backup_dir', WP_BACKUP_DIR));
+		$this->basename = 'xpressme-backup';
+	
+		$this->referer_check_key = $this->basename . '-download_' . DB_NAME;
+		$query_args = array( 'page' => $this->basename );
+		if ( function_exists('wp_create_nonce') )
+			$query_args = array_merge( $query_args, array('_wpnonce' => wp_create_nonce($this->referer_check_key)) );
+		$base = ( function_exists('site_url') ) ? site_url('', 'admin') : get_option('siteurl');
+		$this->page_url = add_query_arg( $query_args, $base . '/wp-admin/edit.php');
+		if (isset($_POST['do_backup'])) {
+			$this->wp_secure('fatal');
+			check_admin_referer($this->referer_check_key);
+			$this->can_user_backup('main');
+			// save exclude prefs
+
+			$exc_revisions = (array) $_POST['exclude-revisions'];
+			$exc_spam = (array) $_POST['exclude-spam'];
+			update_option('xpressme_backup_excs', array('revisions' => $exc_revisions, 'spam' => $exc_spam));
+			
+			$do_euc_to_utf8 = $_POST['do_euc_to_utf8'];
+			$do_rename_prefix = $_POST['do_rename_prefix'];
+			$before_prefix = $_POST['before_prefix'];
+			$after_prefix = $_POST['after_prefix'];
+			$do_change_uri = $_POST['do_change_uri'];
+			$before_uri = $_POST['before_uri'];
+			$after_uri = $_POST['after_uri'];
+			$del_active_plugin = $_POST['del_active_plugin'];
+			$set_default_role = $_POST['set_default_role'];
+			
+			update_option('xpressme_backup_extras_option', 
+				array('do_euc_to_utf8' => $do_euc_to_utf8, 
+					'do_rename_prefix' => $do_rename_prefix, 
+					'before_prefix' => $before_prefix, 
+					'after_prefix' => $after_prefix, 
+					'do_change_uri' => $do_change_uri, 
+					'before_uri' => $before_uri, 
+					'after_uri' => $after_uri,
+					'del_active_plugin' => $del_active_plugin,
+					'set_default_role' => $set_default_role
+				)
+			);
+				
+			switch($_POST['do_backup']) {
+			case 'backup':
+				add_action('init', array(&$this, 'perform_backup'));
+				break;
+			case 'fragments':
+				add_action('admin_menu', array(&$this, 'fragment_menu'));
+				break;				
+			}
+		} elseif (isset($_GET['fragment'] )) {
+			$this->can_user_backup('frame');
+			add_action('init', array(&$this, 'init'));
+		} elseif (isset($_GET['backup'] )) {
+			$this->can_user_backup();
+			add_action('init', array(&$this, 'init'));
+		} else {
+			add_action('admin_menu', array(&$this, 'admin_menu'));
+		}
+	}
+	
+	function init() {
+		$this->can_user_backup();
+		if (isset($_GET['backup'])) {
+			$via = isset($_GET['via']) ? $_GET['via'] : 'http';
+			
+			$this->backup_file = $_GET['backup'];
+			$this->validate_file($this->backup_file);
+
+			switch($via) {
+			case 'smtp':
+			case 'email':
+				$success = $this->deliver_backup($this->backup_file, 'smtp', $_GET['recipient'], 'frame');
+				$this->error_display( 'frame' );
+				if ( $success ) {
+					echo '
+						<!-- ' . $via . ' -->
+						<script type="text/javascript"><!--\\
+					';
+					echo '
+						alert("' . __('Backup Complete!','xpressme-backup') . '");
+						window.onbeforeunload = null; 
+						</script>
+					';
+				}
+				break;
+			default:
+				$this->deliver_backup($this->backup_file, $via);
+				$this->error_display( 'frame' );
+			}
+			die();
+		}
+		if (isset($_GET['fragment'] )) {
+			list($table, $segment, $filename) = explode(':', $_GET['fragment']);
+			$this->validate_file($filename);
+			$this->backup_fragment($table, $segment, $filename);
+		}
+
+		die();
+	}
+
+	function init_textdomain() {
+		load_plugin_textdomain('xpressme-backup', str_replace(ABSPATH, '', dirname(__FILE__)), dirname(plugin_basename(__FILE__)));
+	}
+
+	/*
+	 * Add a link to back up your database when doing a core upgrade 
+	 */
+	function update_notice_action() {
+		if ( 'upgrade-core' == $_REQUEST['action'] ) :
+			ob_start(array(&$this, 'update_notice'));
+			add_action('admin_footer', create_function('', 'ob_end_flush();'));
+		endif;
+	}
+		function update_notice($text = '') {
+			$pattern = '#(<a href\="' . __('http://codex.wordpress.org/WordPress_Backups') . '">.*?</p>)#';
+			$replace = '$1' . "\n<p>" . sprintf(__('Click <a href="%s" target="_blank">here</a> to back up your database using the WordPress Database Backup plugin. <strong>Note:</strong> WordPress Database Backup does <em>not</em> back up your files, just your database.', 'xpressme-backup'), 'tools.php?page=xpressme-backup') . "</p>\n"; 
+			$text = preg_replace($pattern, $replace, $text);
+			return $text;
+		}
+
+	function build_backup_script() {
+		global $table_prefix, $wpdb;
+	
+		echo "<div class='wrap'>";
+		echo 	'<fieldset class="options"><legend>' . __('Progress','xpressme-backup') . '</legend>
+			<p><strong>' .
+				__('DO NOT DO THE FOLLOWING AS IT WILL CAUSE YOUR BACKUP TO FAIL:','xpressme-backup').
+			'</strong></p>
+			<ol>
+				<li>'.__('Close this browser','xpressme-backup').'</li>
+				<li>'.__('Reload this page','xpressme-backup').'</li>
+				<li>'.__('Click the Stop or Back buttons in your browser','xpressme-backup').'</li>
+			</ol>
+			<p><strong>' . __('Progress:','xpressme-backup') . '</strong></p>
+			<div id="meterbox" style="height:11px;width:80%;padding:3px;border:1px solid #659fff;"><div id="meter" style="height:11px;background-color:#659fff;width:0%;text-align:center;font-size:6pt;">&nbsp;</div></div>
+			<div id="progress_message"></div>
+			<div id="errors"></div>
+			</fieldset>
+			<iframe id="backuploader" src="about:blank" style="visibility:hidden;border:none;height:1em;width:1px;"></iframe>
+			<script type="text/javascript">
+			//<![CDATA[
+			window.onbeforeunload = function() {
+				return "' . __('Navigating away from this page will cause your backup to fail.', 'xpressme-backup') . '";
+			}
+			function setMeter(pct) {
+				var meter = document.getElementById("meter");
+				meter.style.width = pct + "%";
+				meter.innerHTML = Math.floor(pct) + "%";
+			}
+			function setProgress(str) {
+				var progress = document.getElementById("progress_message");
+				progress.innerHTML = str;
+			}
+			function addError(str) {
+				var errors = document.getElementById("errors");
+				errors.innerHTML = errors.innerHTML + str + "<br />";
+			}
+
+			function backup(table, segment) {
+				var fram = document.getElementById("backuploader");
+				fram.src = "' . $this->page_url . '&fragment=" + table + ":" + segment + ":' . $this->backup_filename . ':";
+			}
+			
+			var curStep = 0;
+			
+			function nextStep() {
+				backupStep(curStep);
+				curStep++;
+			}
+			
+			function finishBackup() {
+				var fram = document.getElementById("backuploader");				
+				setMeter(100);
+		';
+
+		$download_uri = add_query_arg('backup', $this->backup_filename, $this->page_url);
+		switch($_POST['deliver']) {
+		case 'http':
+			echo '
+				setProgress("' . sprintf(__("Backup complete, preparing <a href=\\\"%s\\\">backup</a> for download...",'xpressme-backup'), $download_uri) . '");
+				window.onbeforeunload = null; 
+				fram.src = "' . $download_uri . '";
+			';
+			break;
+		case 'smtp':
+			echo '
+				setProgress("' . sprintf(__("Backup complete, sending <a href=\\\"%s\\\">backup</a> via email...",'xpressme-backup'), $download_uri) . '");
+				window.onbeforeunload = null; 
+				fram.src = "' . $download_uri . '&via=email&recipient=' . $_POST['backup_recipient'] . '";
+			';
+			break;
+		default:
+			echo '
+				setProgress("' . sprintf(__("Backup complete, download <a href=\\\"%s\\\">here</a>.",'xpressme-backup'), $download_uri) . '");
+				window.onbeforeunload = null; 
+			';
+		}
+		
+		echo '
+			}
+			
+			function backupStep(step) {
+				switch(step) {
+				case 0: backup("", 0); break;
+		';
+		
+		$also_backup = array();
+		if (isset($_POST['other_tables'])) {
+			$also_backup = $_POST['other_tables'];
+		} else {
+			$also_backup = array();
+		}
+		$core_tables = $_POST['core_tables'];
+		$tables = array_merge($core_tables, $also_backup);
+		$step_count = 1;
+		foreach ($tables as $table) {
+			$rec_count = $wpdb->get_var("SELECT count(*) FROM {$table}");
+			$rec_segments = ceil($rec_count / ROWS_PER_SEGMENT);
+			$table_count = 0;
+			if ( $this->module_check() ) {
+				$delay = "setTimeout('";
+				$delay_time = "', " . (int) MOD_EVASIVE_DELAY . ")";
+			}
+			else { $delay = $delay_time = ''; }
+			do {
+				echo "case {$step_count}: {$delay}backup(\"{$table}\", {$table_count}){$delay_time}; break;\n";
+				$step_count++;
+				$table_count++;
+			} while($table_count < $rec_segments);
+			echo "case {$step_count}: {$delay}backup(\"{$table}\", -1){$delay_time}; break;\n";
+			$step_count++;
+		}
+		echo "case {$step_count}: finishBackup(); break;";
+		
+		echo '
+				}
+				if(step != 0) setMeter(100 * step / ' . $step_count . ');
+			}
+
+			nextStep();
+			// ]]>
+			</script>
+	</div>
+		';
+		$this->backup_menu();
+	}
+
+	function backup_fragment($table, $segment, $filename) {
+		global $table_prefix, $wpdb;
+			
+		echo "$table:$segment:$filename";
+		
+		if($table == '') {
+			$msg = __('Creating backup file...','xpressme-backup');
+		} else {
+			if($segment == -1) {
+				$msg = sprintf(__('Finished backing up table \\"%s\\".','xpressme-backup'), $table);
+			} else {
+				$msg = sprintf(__('Backing up table \\"%s\\"...','xpressme-backup'), $table);
+			}
+		}
+		
+		if (is_writable($this->backup_dir)) {
+			$this->fp = $this->open($this->backup_dir . $filename, 'a');
+			if(!$this->fp) {
+				$this->error(__('Could not open the backup file for writing!','xpressme-backup'));
+				$this->error(array('loc' => 'frame', 'kind' => 'fatal', 'msg' =>  __('The backup file could not be saved.  Please check the permissions for writing to your backup directory and try again.','xpressme-backup')));
+			}
+			else {
+				if($table == '') {		
+					//Begin new backup of MySql
+					$this->stow("# " . __('WordPress MySQL database backup','xpressme-backup') . "\n");
+					$this->stow("#\n");
+					$this->stow("# " . sprintf(__('Generated: %s','xpressme-backup'),date("l j. F Y H:i T")) . "\n");
+					$this->stow("# " . sprintf(__('Hostname: %s','xpressme-backup'),DB_HOST) . "\n");
+					$this->stow("# " . sprintf(__('Database: %s','xpressme-backup'),$this->backquote(DB_NAME)) . "\n");
+					$this->stow("# --------------------------------------------------------\n");
+				} else {
+					if($segment == 0) {
+						// Increase script execution time-limit to 15 min for every table.
+						if ( !ini_get('safe_mode')) @set_time_limit(15*60);
+						// Create the SQL statements
+						$this->stow("# --------------------------------------------------------\n");
+						$this->stow("# " . sprintf(__('Table: %s','xpressme-backup'),$this->backquote($table)) . "\n");
+						$this->stow("# --------------------------------------------------------\n");
+					}			
+					$this->backup_table($table, $segment);
+				}
+			}
+		} else {
+			$this->error(array('kind' => 'fatal', 'loc' => 'frame', 'msg' => __('The backup directory is not writeable!  Please check the permissions for writing to your backup directory and try again.','xpressme-backup')));
+		}
+
+		if($this->fp) $this->close($this->fp);
+		
+		$this->error_display('frame');
+
+		echo '<script type="text/javascript"><!--//
+		var msg = "' . $msg . '";
+		window.parent.setProgress(msg);
+		window.parent.nextStep();
+		//--></script>
+		';
+		die();
+	}
+
+	function perform_backup() {
+		// are we backing up any other tables?
+		$also_backup = array();
+		if (isset($_POST['other_tables']))
+			$also_backup = $_POST['other_tables'];
+		$core_tables = $_POST['core_tables'];
+		$this->backup_file = $this->db_backup($core_tables, $also_backup);
+		if (false !== $this->backup_file) {
+			if ('smtp' == $_POST['deliver']) {
+				$this->deliver_backup($this->backup_file, $_POST['deliver'], $_POST['backup_recipient'], 'main');
+				wp_redirect($this->page_url);
+			} elseif ('http' == $_POST['deliver']) {
+				$download_uri = add_query_arg('backup',$this->backup_file,$this->page_url);
+				wp_redirect($download_uri); 
+				exit;
+			}
+			// we do this to say we're done.
+			$this->backup_complete = true;
+		}
+	}
+
+	function admin_header() {
+		?>
+		<script type="text/javascript">
+		//<![CDATA[
+		if ( 'undefined' != typeof addLoadEvent ) {
+			addLoadEvent(function() {
+				var t = {'extra-tables-list':{name: 'other_tables[]'}, 'include-tables-list':{name: 'xpressme_cron_backup_tables[]'}};
+
+				for ( var k in t ) {
+					t[k].s = null;
+					var d = document.getElementById(k);
+					if ( ! d )
+						continue;
+					var ul = d.getElementsByTagName('ul').item(0);
+					if ( ul ) {
+						var lis = ul.getElementsByTagName('li');
+						if ( 3 > lis.length )
+							return;
+						var text = document.createElement('p');
+						text.className = 'instructions';
+						text.innerHTML = '<?php _e('Click and hold down <code>[SHIFT]</code> to toggle multiple checkboxes', 'xpressme-backup'); ?>';
+						ul.parentNode.insertBefore(text, ul);
+					}
+					t[k].p = d.getElementsByTagName("input");
+					for(var i=0; i < t[k].p.length; i++)
+						if(t[k].name == t[k].p[i].getAttribute('name')) {
+							t[k].p[i].id = k + '-table-' + i;
+							t[k].p[i].onkeyup = t[k].p[i].onclick = function(e) {
+								e = e ? e : event;
+								if ( 16  == e.keyCode ) 
+									return;
+								var match = /([\w-]*)-table-(\d*)/.exec(this.id);
+								var listname = match[1];
+								var that = match[2];
+								if ( null === t[listname].s )
+									t[listname].s = that;
+								else if ( e.shiftKey ) {
+									var start = Math.min(that, t[listname].s) + 1;
+									var end = Math.max(that, t[listname].s);
+									for( var j=start; j < end; j++)
+										t[listname].p[j].checked = t[listname].p[j].checked ? false : true;
+									t[listname].s = null;
+								}
+							}
+						}
+				}
+
+				<?php if ( function_exists('wp_schedule_event') ) : // needs to be at least WP 2.1 for ajax ?>
+				if ( 'undefined' == typeof XMLHttpRequest ) 
+					var xml = new ActiveXObject( navigator.userAgent.indexOf('MSIE 5') >= 0 ? 'Microsoft.XMLHTTP' : 'Msxml2.XMLHTTP' );
+				else
+					var xml = new XMLHttpRequest();
+
+				var initTimeChange = function() {
+					var timeWrap = document.getElementById('backup-time-wrap');
+					var backupTime = document.getElementById('next-backup-time');
+					if ( !! timeWrap && !! backupTime ) {
+						var span = document.createElement('span');
+						span.className = 'submit';
+						span.id = 'change-wrap';
+						span.innerHTML = '<input type="submit" id="change-backup-time" name="change-backup-time" value="<?php _e('Change','xpressme-backup'); ?>" />';
+						timeWrap.appendChild(span);
+						backupTime.ondblclick = function(e) { span.parentNode.removeChild(span); clickTime(e, backupTime); };
+						span.onclick = function(e) { span.parentNode.removeChild(span); clickTime(e, backupTime); };
+					}
+				}
+
+				var clickTime = function(e, backupTime) {
+					var tText = backupTime.innerHTML;
+					backupTime.innerHTML = '<input type="text" value="' + tText + '" name="backup-time-text" id="backup-time-text" /> <span class="submit"><input type="submit" name="save-backup-time" id="save-backup-time" value="<?php _e('Save', 'xpressme-backup'); ?>" /></span>';
+					backupTime.ondblclick = null;
+					var mainText = document.getElementById('backup-time-text');
+					mainText.focus();
+					var saveTButton = document.getElementById('save-backup-time');
+					if ( !! saveTButton )
+						saveTButton.onclick = function(e) { saveTime(backupTime, mainText); return false; };
+					if ( !! mainText )
+						mainText.onkeydown = function(e) { 
+							e = e || window.event;
+							if ( 13 == e.keyCode ) {
+								saveTime(backupTime, mainText);
+								return false;
+							}
+						}
+				}
+
+				var saveTime = function(backupTime, mainText) {
+					var tVal = mainText.value;
+
+					xml.open('POST', 'admin-ajax.php', true);
+					xml.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
+					if ( xml.overrideMimeType )
+						xml.setRequestHeader('Connection', 'close');
+					xml.send('action=save_backup_time&_wpnonce=<?php echo wp_create_nonce($this->referer_check_key); ?>&backup-time='+tVal);
+					xml.onreadystatechange = function() {
+						if ( 4 == xml.readyState && '0' != xml.responseText ) {
+							backupTime.innerHTML = xml.responseText;
+							initTimeChange();
+						}
+					}
+				}
+
+				initTimeChange();
+				<?php endif; // wp_schedule_event exists ?>
+			});
+		}
+		//]]>
+		</script>
+		<style type="text/css">
+			.xpressme-backup-updated {
+				margin-top: 1em;
+			}
+
+			fieldset.options {
+				border: 1px solid;
+				margin-top: 1em;
+				padding: 1em;
+			}
+				fieldset.options div.tables-list {
+					float: left;
+					padding: 1em;
+				}
+
+				fieldset.options input {
+				}
+
+				fieldset.options legend {
+					font-size: larger;
+					font-weight: bold;
+					margin-bottom: .5em;
+					padding: 1em;
+				}
+		
+				fieldset.options .instructions {
+					font-size: smaller;
+				}
+
+				fieldset.options ul {
+					list-style-type: none;
+				}
+					fieldset.options li {
+						text-align: left;
+					}
+
+				fieldset.options .submit {
+					border-top: none;
+				}
+		</style>
+		<?php 
+	}
+
+	function admin_load() {
+		add_action('admin_head', array(&$this, 'admin_header'));
+	}
+
+	function admin_menu() {
+		$_page_hook = add_management_page(__('XPressME Backup','xpressme-backup'), __('XPressME Backup','xpressme-backup'), 'import', $this->basename, array(&$this, 'backup_menu'));
+		add_action('load-' . $_page_hook, array(&$this, 'admin_load'));
+		if ( function_exists('add_contextual_help') ) {
+			$text = $this->help_menu();
+			add_contextual_help($_page_hook, $text);
+		}
+	}
+
+	function fragment_menu() {
+		$page_hook = add_management_page(__('XPressME Backup','xpressme-backup'), __('XPressME Backup','xpressme-backup'), 'import', $this->basename, array(&$this, 'build_backup_script'));
+		add_action('load-' . $page_hook, array(&$this, 'admin_load'));
+	}
+
+	/** 
+	 * Add WP-DB-Backup-specific help options to the 2.7 =< WP contextual help menu
+	 * return string The text of the help menu.
+	 */
+	function help_menu() {
+		$text = '';
+//		$text = "\n<a href=\"http://wordpress.org/extend/plugins/xpressme-backup/faq/\" target=\"_blank\">" . __('FAQ', 'xpressme-backup') . '</a>';
+//		$text .= "\n<br />\n<a href=\"http://www.ilfilosofo.com/forum/forum/2\" target=\"_blank\">" . __('WP-DB-Backup Support Forum', 'xpressme-backup') . '</a>';
+		return $text;
+	}
+
+	function save_backup_time() {
+		if ( $this->can_user_backup() ) {
+			// try to get a time from the input string
+			$time = strtotime(strval($_POST['backup-time']));
+			if ( ! empty( $time ) && time() < $time ) {
+				wp_clear_scheduled_hook( 'wp_db_backup_cron' ); // unschedule previous
+				$scheds = (array) wp_get_schedules();
+				$name = get_option('xpressme_cron_backup_schedule');
+				if ( 0 != $time ) {
+					wp_schedule_event($time, $name, 'wp_db_backup_cron');
+					echo gmdate(get_option('date_format') . ' ' . get_option('time_format'), $time + (get_option('gmt_offset') * 3600));
+					exit;
+				}
+			}
+		} else {
+			die(0);
+		}
+	}
+
+	/**
+	 * Better addslashes for SQL queries.
+	 * Taken from phpMyAdmin.
+	 */
+	function sql_addslashes($a_string = '', $is_like = false) {
+		if ($is_like) $a_string = str_replace('\\', '\\\\\\\\', $a_string);
+		else $a_string = str_replace('\\', '\\\\', $a_string);
+		return str_replace('\'', '\\\'', $a_string);
+	} 
+
+	/**
+	 * Add backquotes to tables and db-names in
+	 * SQL queries. Taken from phpMyAdmin.
+	 */
+	function backquote($a_name) {
+		if (!empty($a_name) && $a_name != '*') {
+			if (is_array($a_name)) {
+				$result = array();
+				reset($a_name);
+				while(list($key, $val) = each($a_name)) 
+					$result[$key] = '`' . $val . '`';
+				return $result;
+			} else {
+				return '`' . $a_name . '`';
+			}
+		} else {
+			return $a_name;
+		}
+	} 
+
+	function open($filename = '', $mode = 'w') {
+		if ('' == $filename) return false;
+		if ($this->gzip()) 
+			$fp = @gzopen($filename, $mode);
+		else
+			$fp = @fopen($filename, $mode);
+		return $fp;
+	}
+
+	function close($fp) {
+		if ($this->gzip()) gzclose($fp);
+		else fclose($fp);
+	}
+
+	/**
+	 * Write to the backup file
+	 * @param string $query_line the line to write
+	 * @return null
+	 */
+	function stow($query_line) {
+		$query_line = $this->extras_filter($query_line);
+		if ($this->gzip()) {
+			if(! @gzwrite($this->fp, $query_line))
+				$this->error(__('There was an error writing a line to the backup script:','xpressme-backup') . '  ' . $query_line . '  ' . $php_errormsg);
+		} else {
+			if(false === @fwrite($this->fp, $query_line))
+				$this->error(__('There was an error writing a line to the backup script:','xpressme-backup') . '  ' . $query_line . '  ' . $php_errormsg);
+		}
+	}
+	
+	/**
+	 * Logs any error messages
+	 * @param array $args
+	 * @return bool
+	 */
+	function error($args = array()) {
+		if ( is_string( $args ) ) 
+			$args = array('msg' => $args);
+		$args = array_merge( array('loc' => 'main', 'kind' => 'warn', 'msg' => ''), $args);
+		$this->errors[$args['kind']][] = $args['msg'];
+		if ( 'fatal' == $args['kind'] || 'frame' == $args['loc'])
+			$this->error_display($args['loc']);
+		return true;
+	}
+
+	/**
+	 * Displays error messages 
+	 * @param array $errs
+	 * @param string $loc
+	 * @return string
+	 */
+	function error_display($loc = 'main', $echo = true) {
+		$errs = $this->errors;
+		unset( $this->errors );
+		if ( ! count($errs) ) return;
+		$msg = '';
+		$err_list = array_slice(array_merge( (array) $errs['fatal'], (array) $errs['warn']), 0, 10);
+		if ( 10 == count( $err_list ) )
+			$err_list[9] = __('Subsequent errors have been omitted from this log.','xpressme-backup');
+		$wrap = ( 'frame' == $loc ) ? "<script type=\"text/javascript\">\n var msgList = ''; \n %1\$s \n if ( msgList ) alert(msgList); \n </script>" : '%1$s';
+		$line = ( 'frame' == $loc ) ? 
+			"try{ window.parent.addError('%1\$s'); } catch(e) { msgList += ' %1\$s';}\n" :
+			"%1\$s<br />\n";
+		foreach( (array) $err_list as $err )
+			$msg .= sprintf($line,str_replace(array("\n","\r"), '', addslashes($err)));
+		$msg = sprintf($wrap,$msg);
+		if ( count($errs['fatal'] ) ) {
+			if ( function_exists('wp_die') && 'frame' != $loc ) wp_die(stripslashes($msg));
+			else die($msg);
+		}
+		else {
+			if ( $echo ) echo $msg;
+			else return $msg;
+		}
+	}
+
+	/**
+	 * Taken partially from phpMyAdmin and partially from
+	 * Alain Wolf, Zurich - Switzerland
+	 * Website: http://restkultur.ch/personal/wolf/scripts/db_backup/
+	
+	 * Modified by Scott Merrill (http://www.skippy.net/) 
+	 * to use the WordPress $wpdb object
+	 * @param string $table
+	 * @param string $segment
+	 * @return void
+	 */
+	function backup_table($table, $segment = 'none') {
+		global $wpdb;
+
+		$table_structure = $wpdb->get_results("DESCRIBE $table");
+		if (! $table_structure) {
+			$this->error(__('Error getting table details','xpressme-backup') . ": $table");
+			return false;
+		}
+	
+		if(($segment == 'none') || ($segment == 0)) {
+			// Add SQL statement to drop existing table
+			$this->stow("\n\n");
+			$this->stow("#\n");
+			$this->stow("# " . sprintf(__('Delete any existing table %s','xpressme-backup'),$this->backquote($table)) . "\n");
+			$this->stow("#\n");
+			$this->stow("\n");
+			$this->stow("DROP TABLE IF EXISTS " . $this->backquote($table) . ";\n");
+			
+			// Table structure
+			// Comment in SQL-file
+			$this->stow("\n\n");
+			$this->stow("#\n");
+			$this->stow("# " . sprintf(__('Table structure of table %s','xpressme-backup'),$this->backquote($table)) . "\n");
+			$this->stow("#\n");
+			$this->stow("\n");
+			
+			$create_table = $wpdb->get_results("SHOW CREATE TABLE $table", ARRAY_N);
+			if (false === $create_table) {
+				$err_msg = sprintf(__('Error with SHOW CREATE TABLE for %s.','xpressme-backup'), $table);
+				$this->error($err_msg);
+				$this->stow("#\n# $err_msg\n#\n");
+			}
+			$this->stow($create_table[0][1] . ' ;');
+			
+			if (false === $table_structure) {
+				$err_msg = sprintf(__('Error getting table structure of %s','xpressme-backup'), $table);
+				$this->error($err_msg);
+				$this->stow("#\n# $err_msg\n#\n");
+			}
+		
+			// Comment in SQL-file
+			$this->stow("\n\n");
+			$this->stow("#\n");
+			$this->stow('# ' . sprintf(__('Data contents of table %s','xpressme-backup'),$this->backquote($table)) . "\n");
+			$this->stow("#\n");
+		}
+		
+		if(($segment == 'none') || ($segment >= 0)) {
+			$defs = array();
+			$ints = array();
+			foreach ($table_structure as $struct) {
+				if ( (0 === strpos($struct->Type, 'tinyint')) ||
+					(0 === strpos(strtolower($struct->Type), 'smallint')) ||
+					(0 === strpos(strtolower($struct->Type), 'mediumint')) ||
+					(0 === strpos(strtolower($struct->Type), 'int')) ||
+					(0 === strpos(strtolower($struct->Type), 'bigint')) ) {
+						$defs[strtolower($struct->Field)] = ( null === $struct->Default ) ? 'NULL' : $struct->Default;
+						$ints[strtolower($struct->Field)] = "1";
+				}
+			}
+			
+			
+			// Batch by $row_inc
+			
+			if($segment == 'none') {
+				$row_start = 0;
+				$row_inc = ROWS_PER_SEGMENT;
+			} else {
+				$row_start = $segment * ROWS_PER_SEGMENT;
+				$row_inc = ROWS_PER_SEGMENT;
+			}
+			
+			do {	
+				// don't include extra stuff, if so requested
+				$excs = (array) get_option('xpressme_backup_excs');
+
+				$where = '';
+				if ( is_array($excs['spam'] ) && in_array($table, $excs['spam']) ) {
+					$where = ' WHERE comment_approved != "spam"';
+				} elseif ( is_array($excs['revisions'] ) && in_array($table, $excs['revisions']) ) {
+					$where = ' WHERE post_type != "revision"';
+				}
+				
+				if ( !ini_get('safe_mode')) @set_time_limit(15*60);
+				$table_data = $wpdb->get_results("SELECT * FROM $table $where LIMIT {$row_start}, {$row_inc}", ARRAY_A);
+
+				$entries = 'INSERT INTO ' . $this->backquote($table) . ' VALUES (';	
+				//    \x08\\x09, not required
+				$search = array("\x00", "\x0a", "\x0d", "\x1a");
+				$replace = array('\0', '\n', '\r', '\Z');
+				if($table_data) {
+					foreach ($table_data as $row) {
+						$values = array();
+						foreach ($row as $key => $value) {
+							if ($ints[strtolower($key)]) {
+								// make sure there are no blank spots in the insert syntax,
+								// yet try to avoid quotation marks around integers
+								$value = ( null === $value || '' === $value) ? $defs[strtolower($key)] : $value;
+								$values[] = ( '' === $value ) ? "''" : $value;
+							} else {
+								$values[] = "'" . str_replace($search, $replace, $this->sql_addslashes($value)) . "'";
+							}
+						}
+						$this->stow(" \n" . $entries . implode(', ', $values) . ');');
+					}
+					$row_start += $row_inc;
+				}
+			} while((count($table_data) > 0) and ($segment=='none'));
+		}
+		
+		if(($segment == 'none') || ($segment < 0)) {
+			// Create footer/closing comment in SQL-file
+			$this->stow("\n");
+			$this->stow("#\n");
+			$this->stow("# " . sprintf(__('End of data contents of table %s','xpressme-backup'),$this->backquote($table)) . "\n");
+			$this->stow("# --------------------------------------------------------\n");
+			$this->stow("\n");
+		}
+	} // end backup_table()
+	
+	function db_backup($core_tables, $other_tables) {
+		global $table_prefix, $wpdb;
+		
+		if (is_writable($this->backup_dir)) {
+			$this->fp = $this->open($this->backup_dir . $this->backup_filename);
+			if(!$this->fp) {
+				$this->error(__('Could not open the backup file for writing!','xpressme-backup'));
+				return false;
+			}
+		} else {
+			$this->error(__('The backup directory is not writeable!','xpressme-backup'));
+			return false;
+		}
+		
+		//Begin new backup of MySql
+		$this->stow("# " . __('WordPress MySQL database backup','xpressme-backup') . "\n");
+		$this->stow("#\n");
+		$this->stow("# " . sprintf(__('Generated: %s','xpressme-backup'),date("l j. F Y H:i T")) . "\n");
+		$this->stow("# " . sprintf(__('Hostname: %s','xpressme-backup'),DB_HOST) . "\n");
+		$this->stow("# " . sprintf(__('Database: %s','xpressme-backup'),$this->backquote(DB_NAME)) . "\n");
+		$this->stow("# --------------------------------------------------------\n");
+		
+			if ( (is_array($other_tables)) && (count($other_tables) > 0) )
+			$tables = array_merge($core_tables, $other_tables);
+		else
+			$tables = $core_tables;
+		
+		foreach ($tables as $table) {
+			// Increase script execution time-limit to 15 min for every table.
+			if ( !ini_get('safe_mode')) @set_time_limit(15*60);
+			// Create the SQL statements
+			$this->stow("# --------------------------------------------------------\n");
+			$this->stow("# " . sprintf(__('Table: %s','xpressme-backup'),$this->backquote($table)) . "\n");
+			$this->stow("# --------------------------------------------------------\n");
+			$this->backup_table($table);
+		}
+				
+		$this->close($this->fp);
+		
+		if (count($this->errors)) {
+			return false;
+		} else {
+			return $this->backup_filename;
+		}
+		
+	} //wp_db_backup
+
+	/**
+	 * Sends the backed-up file via email
+	 * @param string $to
+	 * @param string $subject
+	 * @param string $message
+	 * @return bool
+	 */
+	function send_mail( $to, $subject, $message, $diskfile) {
+		global $phpmailer;
+
+		$filename = basename($diskfile);
+
+		extract( apply_filters( 'wp_mail', compact( 'to', 'subject', 'message' ) ) );
+
+		if ( !is_object( $phpmailer ) || ( strtolower(get_class( $phpmailer )) != 'phpmailer' ) ) {
+			if ( file_exists( ABSPATH . WPINC . '/class-phpmailer.php' ) )
+				require_once ABSPATH . WPINC . '/class-phpmailer.php';
+			if ( file_exists( ABSPATH . WPINC . '/class-smtp.php' ) )
+				require_once ABSPATH . WPINC . '/class-smtp.php';
+			if ( class_exists( 'PHPMailer') )
+				$phpmailer = new PHPMailer();
+		}
+
+		// try to use phpmailer directly (WP 2.2+)
+		if ( is_object( $phpmailer ) && ( strtolower(get_class( $phpmailer )) == 'phpmailer' ) ) {
+			
+			// Get the site domain and get rid of www.
+			$sitename = strtolower( $_SERVER['SERVER_NAME'] );
+			if ( substr( $sitename, 0, 4 ) == 'www.' ) {
+				$sitename = substr( $sitename, 4 );
+			}
+			$from_email = 'wordpress@' . $sitename;
+			$from_name = 'WordPress';
+
+			// Empty out the values that may be set
+			$phpmailer->ClearAddresses();
+			$phpmailer->ClearAllRecipients();
+			$phpmailer->ClearAttachments();
+			$phpmailer->ClearBCCs();
+			$phpmailer->ClearCCs();
+			$phpmailer->ClearCustomHeaders();
+			$phpmailer->ClearReplyTos();
+
+			$phpmailer->AddAddress( $to );
+			$phpmailer->AddAttachment($diskfile, $filename);
+			$phpmailer->Body = $message;
+			$phpmailer->CharSet = apply_filters( 'wp_mail_charset', get_bloginfo('charset') );
+			$phpmailer->From = apply_filters( 'wp_mail_from', $from_email );
+			$phpmailer->FromName = apply_filters( 'wp_mail_from_name', $from_name );
+			$phpmailer->IsMail();
+			$phpmailer->Subject = $subject;
+
+			do_action_ref_array( 'phpmailer_init', array( &$phpmailer ) );
+			
+			$result = @$phpmailer->Send();
+
+		// old-style: build the headers directly
+		} else {
+			$randomish = md5(time());
+			$boundary = "==WPBACKUP-$randomish";
+			$fp = fopen($diskfile,"rb");
+			$file = fread($fp,filesize($diskfile)); 
+			$this->close($fp);
+			
+			$data = chunk_split(base64_encode($file));
+			
+			$headers .= "MIME-Version: 1.0\n";
+			$headers = 'From: wordpress@' . preg_replace('#^www\.#', '', strtolower($_SERVER['SERVER_NAME'])) . "\n";
+			$headers .= "Content-Type: multipart/mixed; boundary=\"$boundary\"\n";
+		
+			// Add a multipart boundary above the plain message
+			$message = "This is a multi-part message in MIME format.\n\n" .
+		        	"--{$boundary}\n" .
+				"Content-Type: text/plain; charset=\"" . get_bloginfo('charset') . "\"\n" .
+				"Content-Transfer-Encoding: 7bit\n\n" .
+				$message . "\n\n";
+
+			// Add file attachment to the message
+			$message .= "--{$boundary}\n" .
+				"Content-Type: application/octet-stream;\n" .
+				" name=\"{$filename}\"\n" .
+				"Content-Disposition: attachment;\n" .
+				" filename=\"{$filename}\"\n" .
+				"Content-Transfer-Encoding: base64\n\n" .
+				$data . "\n\n" .
+				"--{$boundary}--\n";
+			
+			$result = @wp_mail($to, $subject, $message, $headers);
+		}
+		return $result;
+
+	}
+
+	function deliver_backup($filename = '', $delivery = 'http', $recipient = '', $location = 'main') {
+		if ('' == $filename) { return false; }
+		
+		$diskfile = $this->backup_dir . $filename;
+		if ('http' == $delivery) {
+			if (! file_exists($diskfile)) 
+				$this->error(array('kind' => 'fatal', 'msg' => sprintf(__('File not found:%s','xpressme-backup'), "&nbsp;<strong>$filename</strong><br />") . '<br /><a href="' . $this->page_url . '">' . __('Return to Backup','xpressme-backup') . '</a>'));
+			header('Content-Description: File Transfer');
+			header('Content-Type: application/octet-stream');
+			header('Content-Length: ' . filesize($diskfile));
+			header("Content-Disposition: attachment; filename=$filename");
+			$success = readfile($diskfile);
+			unlink($diskfile);
+		} elseif ('smtp' == $delivery) {
+			if (! file_exists($diskfile)) {
+				$msg = sprintf(__('File %s does not exist!','xpressme-backup'), $diskfile);
+				$this->error($msg);
+				return false;
+			}
+			if (! is_email($recipient)) {
+				$recipient = get_option('admin_email');
+			}
+			$message = sprintf(__("Attached to this email is\n   %1s\n   Size:%2s kilobytes\n",'xpressme-backup'), $filename, round(filesize($diskfile)/1024));
+			$success = $this->send_mail($recipient, get_bloginfo('name') . ' ' . __('Database Backup','xpressme-backup'), $message, $diskfile);
+
+			if ( false === $success ) {
+				$msg = __('The following errors were reported:','xpressme-backup') . "\n ";
+				if ( function_exists('error_get_last') ) {
+					$err = error_get_last();
+					$msg .= $err['message'];
+				} else {
+					$msg .= __('ERROR: The mail application has failed to deliver the backup.','xpressme-backup'); 
+				}
+				$this->error(array('kind' => 'fatal', 'loc' => $location, 'msg' => $msg));
+			} else {
+				unlink($diskfile);
+			}
+		}
+		return $success;
+	}
+	
+	function backup_menu() {
+		global $table_prefix, $wpdb,$wp_version;
+		$feedback = '';
+		$whoops = false;
+		
+		// did we just do a backup?  If so, let's report the status
+		if ( $this->backup_complete ) {
+			$feedback = '<div class="updated xpressme-backup-updated"><p>' . __('Backup Successful','xpressme-backup') . '!';
+			$file = $this->backup_file;
+			switch($_POST['deliver']) {
+			case 'http':
+				$feedback .= '<br />' . sprintf(__('Your backup file: <a href="%1s">%2s</a> should begin downloading shortly.','xpressme-backup'), WP_BACKUP_URL . "{$this->backup_file}", $this->backup_file);
+				break;
+			case 'smtp':
+				if (! is_email($_POST['backup_recipient'])) {
+					$feedback .= get_option('admin_email');
+				} else {
+					$feedback .= $_POST['backup_recipient'];
+				}
+				$feedback = '<br />' . sprintf(__('Your backup has been emailed to %s','xpressme-backup'), $feedback);
+				break;
+			case 'none':
+				$feedback .= '<br />' . __('Your backup file has been saved on the server. If you would like to download it now, right click and select "Save As"','xpressme-backup');
+				$feedback .= ':<br /> <a href="' . WP_BACKUP_URL . "$file\">$file</a> : " . sprintf(__('%s bytes','xpressme-backup'), filesize($this->backup_dir . $file));
+			}
+			$feedback .= '</p></div>';
+		}
+	
+		// security check
+		$this->wp_secure();  
+
+		if (count($this->errors)) {
+			$feedback .= '<div class="updated xpressme-backup-updated error"><p><strong>' . __('The following errors were reported:','xpressme-backup') . '</strong></p>';
+			$feedback .= '<p>' . $this->error_display( 'main', false ) . '</p>';
+			$feedback .= "</p></div>";
+		}
+
+		// did we just save options for wp-cron?
+		if ( (function_exists('wp_schedule_event') || function_exists('xpressme_cron_init')) 
+			&& isset($_POST['xpressme_cron_backup_options']) ) :
+			do_action('wp_db_b_update_cron_options');
+			if ( function_exists('wp_schedule_event') ) {
+				wp_clear_scheduled_hook( 'wp_db_backup_cron' ); // unschedule previous
+				$scheds = (array) wp_get_schedules();
+				$name = strval($_POST['xpressme_cron_schedule']);
+				$interval = ( isset($scheds[$name]['interval']) ) ? 
+					(int) $scheds[$name]['interval'] : 0;
+				update_option('xpressme_cron_backup_schedule', $name, false);
+				if ( 0 !== $interval ) {
+					wp_schedule_event(time() + $interval, $name, 'wp_db_backup_cron');
+				}
+			}
+			else {
+				update_option('xpressme_cron_backup_schedule', intval($_POST['cron_schedule']), false);
+			}
+			update_option('xpressme_cron_backup_tables', $_POST['xpressme_cron_backup_tables']);
+			if (is_email($_POST['cron_backup_recipient'])) {
+				update_option('xpressme_cron_backup_recipient', $_POST['cron_backup_recipient'], false);
+			}
+			$feedback .= '<div class="updated xpressme-backup-updated"><p>' . __('Scheduled Backup Options Saved!','xpressme-backup') . '</p></div>';
+		endif;
+		
+		$other_tables = array();
+		$also_backup = array();
+	
+		// Get complete db table list	
+		$all_tables = $wpdb->get_results("SHOW TABLES", ARRAY_N);
+		$all_tables = array_map(create_function('$a', 'return $a[0];'), $all_tables);
+		// Get list of WP tables that actually exist in this DB (for 1.6 compat!)
+		$wp_backup_default_tables = array_intersect($all_tables, $this->core_table_names);
+		// Get list of non-WP tables
+		$other_tables = array_diff($all_tables, $wp_backup_default_tables);
+		
+		if ('' != $feedback)
+			echo $feedback;
+
+		if ( ! $this->wp_secure() ) 	
+			return;
+
+		// Give the new dirs the same perms as wp-content.
+//		$stat = stat( ABSPATH . 'wp-content' );
+//		$dir_perms = $stat['mode'] & 0000777; // Get the permission bits.
+		$dir_perms = '0777';
+
+		// the file doesn't exist and can't create it
+		if ( ! file_exists($this->backup_dir) && ! @mkdir($this->backup_dir) ) {
+			?><div class="updated xpressme-backup-updated error"><p><?php _e('WARNING: Your backup directory does <strong>NOT</strong> exist, and we cannot create it.','xpressme-backup'); ?></p>
+			<p><?php printf(__('Using your FTP client, try to create the backup directory yourself: %s', 'xpressme-backup'), '<code>' . $this->backup_dir . '</code>'); ?></p></div><?php
+			$whoops = true;
+		// not writable due to write permissions
+		} elseif ( !is_writable($this->backup_dir) && ! @chmod($this->backup_dir, $dir_perms) ) {
+			?><div class="updated xpressme-backup-updated error"><p><?php _e('WARNING: Your backup directory is <strong>NOT</strong> writable! We cannot create the backup files.','xpressme-backup'); ?></p>
+			<p><?php printf(__('Using your FTP client, try to set the backup directory&rsquo;s write permission to %1$s or %2$s: %3$s', 'xpressme-backup'), '<code>777</code>', '<code>a+w</code>', '<code>' . $this->backup_dir . '</code>'); ?>
+			</p></div><?php 
+			$whoops = true;
+		} else {
+			$this->fp = $this->open($this->backup_dir . 'test' );
+			if( $this->fp ) { 
+				$this->close($this->fp);
+				@unlink($this->backup_dir . 'test' );
+			// the directory is not writable probably due to safe mode
+			} else {
+				?><div class="updated xpressme-backup-updated error"><p><?php _e('WARNING: Your backup directory is <strong>NOT</strong> writable! We cannot create the backup files.','xpressme-backup'); ?></p><?php 
+				if( ini_get('safe_mode') ){
+					?><p><?php _e('This problem seems to be caused by your server&rsquo;s <code>safe_mode</code> file ownership restrictions, which limit what files web applications like WordPress can create.', 'xpressme-backup'); ?></p><?php 
+				}
+				?><?php printf(__('You can try to correct this problem by using your FTP client to delete and then re-create the backup directory: %s', 'xpressme-backup'), '<code>' . $this->backup_dir . '</code>');
+				?></div><?php 
+				$whoops = true;
+			}
+		}
+
+		
+
+		if ( !file_exists($this->backup_dir . 'index.php') )
+			@ touch($this->backup_dir . 'index.php');
+		?><div class='wrap'>
+		<h2><?php _e('Backup','xpressme-backup') ?></h2>
+		<form method="post" action="">
+		<?php if ( function_exists('wp_nonce_field') ) wp_nonce_field($this->referer_check_key); ?>
+		<fieldset class="options"><legend><?php _e('Tables','xpressme-backup') ?></legend>
+		<table align="center" cellspacing="5" cellpadding="5">
+		<tr><td width="50%" align="left" class="alternate" valign="top">
+		<div class="tables-list core-tables alternate">
+		<h4><?php _e('These core WordPress tables will always be backed up:','xpressme-backup') ?></h4><ul><?php
+		$excs = (array) get_option('xpressme_backup_excs');
+
+		foreach ($wp_backup_default_tables as $table) {
+			if ( $table == $wpdb->comments ) {
+				$checked = ( isset($excs['spam']) && is_array($excs['spam'] ) && in_array($table, $excs['spam']) ) ? ' checked=\'checked\'' : '';
+				echo "<li><input type='hidden' name='core_tables[]' value='$table' /><code>$table</code> <span class='instructions'> <input type='checkbox' name='exclude-spam[]' value='$table' $checked /> " . __('Exclude spam comments', 'xpressme-backup') . '</span></li>';
+			} elseif ( function_exists('wp_get_post_revisions') && $table == $wpdb->posts ) {
+					$checked = ( isset($excs['revisions']) && is_array($excs['revisions'] ) && in_array($table, $excs['revisions']) ) ? ' checked=\'checked\'' : '';
+				echo "<li><input type='hidden' name='core_tables[]' value='$table' /><code>$table</code> <span class='instructions'> <input type='checkbox' name='exclude-revisions[]' value='$table' $checked /> " . __('Exclude post revisions', 'xpressme-backup') . '</span></li>';
+			} else {
+				echo "<li><input type='hidden' name='core_tables[]' value='$table' /><code>$table</code></li>";
+			}
+		}
+		?></ul>
+		</div>
+		</td><td width="50%" align="left" valign="top">
+		<div class="tables-list extra-tables" id="extra-tables-list">
+		<?php 
+		if (count($other_tables) > 0) { 
+			$select_all = __('Select all','xpressme-backup');
+			$select_none = __('Select none','xpressme-backup');
+			?>
+			<h4><?php _e('You may choose to include any of the following tables:','xpressme-backup'); ?></h4>
+			<ul>
+			<script type="text/javascript">
+			//<![CDATA[
+				var wpdbBackup = function() {};
+				(function(b){
+					var n = function(c) {
+						var p = document.getElementsByTagName("input");
+						for(var i=0;i<p.length;i++)
+							if('other_tables[]' == p[i].getAttribute('name'))
+								p[i].checked = c;
+					}
+					b.a = function() { n(true) }
+					b.n = function() { n(false) }
+
+					document.write('<p><a href="javascript:void(0)" onclick="wpdbBackup.a()"><?php echo $select_all ?></a> / <a href="javascript:void(0)" onclick="wpdbBackup.n()"><?php echo $select_none ?></a></p>');
+				})(wpdbBackup)
+			//]]>
+			</script>
+	
+			<?php
+			foreach ($other_tables as $table) {
+				?>
+				<li><label><input type="checkbox" name="other_tables[]" value="<?php echo $table; ?>" /> <code><?php echo $table; ?></code></label>
+				<?php 
+			}
+			?></ul><?php 
+		}
+		?></div>
+		</td></tr></table>
+		</fieldset>
+		
+		<fieldset class="options">
+			<legend><?php _e('Backup Options','xpressme-backup'); ?></legend>
+			<p><?php  _e('What to do with the backup file:','xpressme-backup'); ?></p>
+			<ul>
+			<li><label for="do_save">
+				<input type="radio" id="do_save" name="deliver" value="none" style="border:none;" />
+				<?php _e('Save to server','xpressme-backup'); 
+				echo " (<code>" . $this->backup_dir . "</code>)"; ?>
+			</label></li>
+			<li><label for="do_download">
+				<input type="radio" checked="checked" id="do_download" name="deliver" value="http" style="border:none;" />
+				<?php _e('Download to your computer','xpressme-backup'); ?>
+			</label></li>
+			<li><label for="do_email">
+				<input type="radio" name="deliver" id="do_email" value="smtp" style="border:none;" />
+				<?php _e('Email backup to:','xpressme-backup'); ?>
+				<input type="text" name="backup_recipient" size="20" value="<?php echo get_option('admin_email'); ?>" />
+			</label></li>
+			</ul>
+			<p><?php  _e('Data conversion option.','xpressme-backup'); ?></p>
+			<ul>
+			<?php
+			$extras_option = (array) get_option('xpressme_backup_extras_option');
+			if(WPLANG == 'ja_EUC'){
+				echo '<li><label for="do_euc_to_utf8">';
+				if($this->is_mbstring()){
+					if ($extras_option['do_euc_to_utf8']) $checked = 'checked'; else $checked = '';
+					echo	'<input type="checkbox" name="do_euc_to_utf8" id="do_euc_to_utf8" value="1" ' .$checked .' />';
+					echo __('Converte EUC-JP to UTF-8','xpressme-backup');
+				} else {
+					echo	'<input type="checkbox" name="do_euc_to_utf8" id="do_euc_to_utf8" value="0" disabled="1"/>';
+					echo __('Converte EUC-JP to UTF-8','xpressme-backup');
+					echo ' (<span style="color:#ff0000">' . __('The server used does not support the mb_convert_encoding() function.','xpressme-backup') . '</span>)';
+				}
+				echo '</label></li>';
+			} else {
+				echo '<input type="hidden" name="do_euc_to_utf8" id="do_euc_to_utf8" value="0" />';
+			}
+			if($wp_version =='2.0.11-ME'){
+				echo '<li><label for="set_default_role">';
+				if ($extras_option['set_default_role']) $checked = 'checked'; else $checked = '';
+				echo '<input type="checkbox" name="set_default_role" id="set_default_role" value="1" '.$checked . ' />';
+				echo __('Changes from the user roles name of WordPressME to the user roles name of Wordpress.','xpressme-backup');
+				echo '</label></li>';
+			} else {
+				echo '<input type="hidden" name="set_default_role" id="set_default_role" value="0" />';
+			}
+			
+			echo '<li><label for="rename_prefix">';
+				if ($extras_option['do_rename_prefix']) $checked = 'checked'; else $checked = '';
+				echo '<input type="checkbox" name="do_rename_prefix" id="do_rename_prefix" value="1" '. $checked . ' />';
+				echo __('Rename DB Prefix','xpressme-backup');
+				echo '<input type="text" name="before_prefix" size="20" value="'.$table_prefix . '" readonly />';
+				echo __('to','xpressme-backup');
+				if (empty($extras_option['after_prefix'])){
+					echo '<input type="text" name="after_prefix" size="20" value="'. $table_prefix . '" />';
+				} else {
+					echo '<input type="text" name="after_prefix" size="20" value="'. $extras_option['after_prefix'] . '" />';
+				}
+			echo '</label></li>';
+			echo '<li><label for="change_uri">';
+				if ($extras_option['do_change_uri']) $checked = 'checked'; else $checked = '';
+				echo '<input type="checkbox" name="do_change_uri" id="do_change_uri" value="1" '. $checked . ' />';
+				$site_uri = get_option('siteurl');
+				echo __('Change URL','xpressme-backup');
+				echo '<div style="padding-left: 20px;">';
+				echo '<input type="text" name="before_uri" size="50" value="' . $site_uri . '" readonly /><br />';
+				echo __('to','xpressme-backup') . '<br />';
+				echo '<input type="text" name="after_uri" size="50" value="'. $extras_option['after_uri'] . '" />';
+				echo '</div>';
+			echo '</label></li>';
+			echo '<li><label for="del_active_plugin">';
+				if ($extras_option['del_active_plugin']) $checked = 'checked'; else $checked = '';
+
+				echo '<input type="checkbox" name="del_active_plugin" id="del_active_plugin" value="1" '. $checked . ' />';
+				echo __('In the backup data,all plug-ins are Deactivate state.','xpressme-backup');
+			echo '</label></li>';
+			?>
+			</ul>
+
+			<?php if ( ! $whoops ) : ?>
+			<input type="hidden" name="do_backup" id="do_backup" value="backup" /> 
+			<p class="submit">
+				<input type="submit" name="submit" onclick="document.getElementById('do_backup').value='fragments';" value="<?php _e('Backup now!','xpressme-backup'); ?>" />
+			</p>
+			<?php else : ?>
+				<div class="updated xpressme-backup-updated error"><p><?php _e('WARNING: Your backup directory is <strong>NOT</strong> writable!','xpressme-backup'); ?></p></div>
+			<?php endif; // ! whoops ?>
+		</fieldset>
+		<?php do_action('wp_db_b_backup_opts'); ?>
+		</form>
+		
+		<?php
+		// this stuff only displays if some sort of wp-cron is available 
+		$cron = ( function_exists('wp_schedule_event') ) ? true : false; // wp-cron in WP 2.1+
+		$cron_old = ( function_exists('xpressme_cron_init') && ! $cron ) ? true : false; // wp-cron plugin by Skippy
+		if ( $cron_old || $cron ) :
+			echo '<fieldset class="options"><legend>' . __('Scheduled Backup','xpressme-backup') . '</legend>';
+			$datetime = get_option('date_format') . ' ' . get_option('time_format');
+			if ( $cron ) :
+				$next_cron = wp_next_scheduled('wp_db_backup_cron');
+				if ( ! empty( $next_cron ) ) :
+					?>
+					<p id="backup-time-wrap">
+					<?php printf(__('Next Backup: %s','xpressme-backup'), '<span id="next-backup-time">' . gmdate($datetime, $next_cron + (get_option('gmt_offset') * 3600)) . '</span>'); ?>
+					</p>
+					<?php 
+				endif;
+			elseif ( $cron_old ) :
+				?><p><?php printf(__('Last WP-Cron Daily Execution: %s','xpressme-backup'), gmdate($datetime, get_option('xpressme_cron_daily_lastrun') + (get_option('gmt_offset') * 3600))); ?><br /><?php 
+				printf(__('Next WP-Cron Daily Execution: %s','xpressme-backup'), gmdate($datetime, (get_option('xpressme_cron_daily_lastrun') + (get_option('gmt_offset') * 3600) + 86400))); ?></p><?php 
+			endif;
+			?><form method="post" action="">
+			<?php if ( function_exists('wp_nonce_field') ) wp_nonce_field($this->referer_check_key); ?>
+			<div class="tables-list">
+			<h4><?php _e('Schedule: ','xpressme-backup'); ?></h4>
+			<?php 
+			if ( $cron_old ) :
+				$xpressme_cron_backup_schedule = get_option('xpressme_cron_backup_schedule');
+				$schedule = array(0 => __('None','xpressme-backup'), 1 => __('Daily','xpressme-backup'));
+				foreach ($schedule as $value => $name) {
+					echo ' <input type="radio" style="border:none;" name="cron_schedule"';
+					if ($xpressme_cron_backup_schedule == $value) {
+						echo ' checked="checked" ';
+					}
+					echo 'value="' . $value . '" /> ' . $name;
+				}
+			elseif ( $cron ) :
+				echo apply_filters('wp_db_b_schedule_choices', wp_get_schedules() );
+			endif;
+			$cron_recipient = get_option('xpressme_cron_backup_recipient');
+			if (! is_email($cron_recipient)) {
+				$cron_recipient = get_option('admin_email');
+			}
+			$cron_recipient_input = '<p><label for="cron_backup_recipient">' . __('Email backup to:','xpressme-backup') . ' <input type="text" name="cron_backup_recipient" id="cron_backup_recipient" size="20" value="' . $cron_recipient . '" /></label></p>';
+			echo apply_filters('wp_db_b_cron_recipient_input', $cron_recipient_input);
+			echo '<p class="submit"><input type="submit" name="submit" value="' . __('Schedule backup','xpressme-backup') . '" /></p>';
+			echo '</div>';
+			$cron_tables = get_option('xpressme_cron_backup_tables');
+			if (! is_array($cron_tables)) {
+				$cron_tables = array();
+			}
+			if (count($other_tables) > 0) {
+				echo '<div class="tables-list alternate" id="include-tables-list">';
+				echo '<h4>' . __('Tables to include in the scheduled backup:','xpressme-backup') . '</h4><ul>';
+				foreach ($other_tables as $table) {
+					echo '<li><input type="checkbox" ';
+					if (in_array($table, $cron_tables)) {
+						echo 'checked="checked" ';
+					}
+					echo "name='xpressme_cron_backup_tables[]' value='{$table}' /> <code>{$table}</code></li>";
+				}
+				echo '</ul></div>';
+			}
+			echo '<input type="hidden" name="xpressme_cron_backup_options" value="SET" /></form>';
+			echo '</fieldset>';
+		endif; // end of wp_cron (legacy) section
+		
+		echo '</div><!-- .wrap -->';
+		
+	} // end wp_backup_menu()
+
+	function get_sched() {
+		$options = array_keys( (array) wp_get_schedules() );
+		$freq = get_option('xpressme_cron_backup_schedule'); 
+		$freq = ( in_array( $freq , $options ) ) ? $freq : 'never';
+		return $freq;
+	}
+
+	function schedule_choices($schedule) { // create the cron menu based on the schedule
+		$xpressme_cron_backup_schedule = $this->get_sched();
+		$next_cron = wp_next_scheduled('wp_db_backup_cron');
+		$xpressme_cron_backup_schedule = ( empty( $next_cron ) ) ? 'never' : $xpressme_cron_backup_schedule;
+		$sort = array();
+		foreach ( (array) $schedule as $key => $value ) $sort[$key] = $value['interval'];
+		asort( $sort );
+		$schedule_sorted = array();
+		foreach ( (array) $sort as $key => $value ) $schedule_sorted[$key] = $schedule[$key];
+		$menu = '<ul>';
+		$schedule = array_merge( array( 'never' => array( 'interval' => 0, 'display' => __('Never','xpressme-backup') ) ),
+			(array) $schedule_sorted );
+		foreach ( $schedule as $name => $settings) {
+			$interval = (int) $settings['interval'];
+			if ( 0 == $interval && ! 'never' == $name ) continue;
+			$display = ( ! '' == $settings['display'] ) ? $settings['display'] : sprintf(__('%s seconds','xpressme-backup'),$interval);
+			$menu .= "<li><input type='radio' name='xpressme_cron_schedule' style='border:none;' ";
+			if ($xpressme_cron_backup_schedule == $name) {
+				$menu .= " checked='checked' ";
+			}
+			$menu .= "value='$name' /> $display</li>";
+		}
+		$menu .= '</ul>';
+		return $menu;
+	} // end schedule_choices()
+	
+	function wp_cron_daily() { // for legacy cron plugin
+		$schedule = intval(get_option('xpressme_cron_backup_schedule'));
+		// If scheduled backup is disabled
+		if (0 == $schedule)
+		        return;
+		else return $this->cron_backup();
+	} 
+
+	function cron_backup() {
+		global $table_prefix, $wpdb;
+		$all_tables = $wpdb->get_results("SHOW TABLES", ARRAY_N);
+		$all_tables = array_map(create_function('$a', 'return $a[0];'), $all_tables);
+		$core_tables = array_intersect($all_tables, $this->core_table_names);
+		$other_tables = get_option('xpressme_cron_backup_tables');
+		$recipient = get_option('xpressme_cron_backup_recipient');
+		$backup_file = $this->db_backup($core_tables, $other_tables);
+		if (false !== $backup_file) 
+			return $this->deliver_backup($backup_file, 'smtp', $recipient, 'main');
+		else return false;
+	}
+
+	function add_sched_options($sched) {
+		$sched['weekly'] = array('interval' => 604800, 'display' => __('Once Weekly','xpressme-backup'));
+		return $sched;
+	}
+
+	/**
+	 * Checks that WordPress has sufficient security measures 
+	 * @param string $kind
+	 * @return bool
+	 */
+	function wp_secure($kind = 'warn', $loc = 'main') {
+		global $wp_version;
+		
+		if ( function_exists('wp_verify_nonce') ) return true;
+		else {
+			$this->error(array('kind' => $kind, 'loc' => $loc, 'msg' => sprintf(__('Your WordPress version, %1s, lacks important security features without which it is unsafe to use the WP-DB-Backup plugin.  Hence, this plugin is automatically disabled.  Please consider <a href="%2s">upgrading WordPress</a> to a more recent version.','xpressme-backup'),$wp_version,'http://wordpress.org/download/')));
+			return false;
+		}
+		
+	}
+
+	/**
+	 * Checks that the user has sufficient permission to backup
+	 * @param string $loc
+	 * @return bool
+	 */
+	function can_user_backup($loc = 'main') {
+		$can = false;
+		// make sure WPMU users are site admins, not ordinary admins
+		if ( function_exists('is_site_admin') && ! is_site_admin() )
+			return false;
+		if ( ( $this->wp_secure('fatal', $loc) ) && current_user_can('import') )
+			$can = $this->verify_nonce($_REQUEST['_wpnonce'], $this->referer_check_key, $loc);
+		if ( false == $can ) 
+			$this->error(array('loc' => $loc, 'kind' => 'fatal', 'msg' => __('You are not allowed to perform backups.','xpressme-backup')));
+		return $can;
+	}
+
+	/**
+	 * Verify that the nonce is legitimate
+	 * @param string $rec 	the nonce received
+	 * @param string $nonce	what the nonce should be
+	 * @param string $loc 	the location of the check
+	 * @return bool
+	 */
+	function verify_nonce($rec = '', $nonce = 'X', $loc = 'main') {
+		if ( wp_verify_nonce($rec, $nonce) )
+			return true;
+		else 
+			$this->error(array('loc' => $loc, 'kind' => 'fatal', 'msg' => sprintf(__('There appears to be an unauthorized attempt from this site to access your database located at %1s.  The attempt has been halted.','xpressme-backup'),get_option('home'))));
+	}
+
+	/**
+	 * Check whether a file to be downloaded is  
+	 * surreptitiously trying to download a non-backup file
+	 * @param string $file
+	 * @return null
+	 */ 
+	function validate_file($file) {
+		if ( (false !== strpos($file, '..')) || (false !== strpos($file, './')) || (':' == substr($file, 1, 1)) )
+			$this->error(array('kind' => 'fatal', 'loc' => 'frame', 'msg' => __("Cheatin' uh ?",'xpressme-backup')));
+	}
+	
+	function extras_filter($query_line){
+		$extras_option = get_option('xpressme_backup_extras_option');
+		
+		// Change EUC to UTF-8
+		if ($extras_option['do_euc_to_utf8'] && $this->is_mbstring()){
+			$query_line = mb_convert_encoding(mb_convert_encoding($query_line,"sjis-win","EUC-JP"),"UTF-8","sjis-win");
+			$tmp = preg_replace('/DEFAULT\s*CHARSET\s*=\s*ujis/','DEFAULT CHARSET=utf8',$query_line);
+			if (empty($buf)) $query_line = $tmp;
+			if (preg_match_all('/s:([0-9]+):"(.*?)";/',$query_line,$matchs)){
+				$i_count = count($matchs[0]);
+				for($i=0; $i < $i_count ;$i++){
+					$org = $matchs[0][$i];
+					$num = $matchs[1][$i];
+					$str = $matchs[2][$i];
+					$str =  str_replace('\r\n','\n',$str);
+
+					$volm = strlen(bin2hex($str)) / 2;
+					
+					if ($num != $volm){
+						$org =  str_replace('\\','\\\\',$org);
+						$org =  str_replace('/','\\/',$org);
+						$org =  str_replace('(','\\(',$org);
+						$org =  str_replace(')','\\)',$org);
+						$org =  str_replace('?','\\?',$org);
+						$org =  str_replace('+','\\+',$org);
+						$org =  str_replace('*','\\*',$org);
+						$org =  str_replace('[','\\[',$org);
+						$org =  str_replace(']','\\]',$org);					
+						$org =  str_replace('$','\\$',$org);
+						$org =  str_replace('{','\\{',$org);					
+						$org =  str_replace('}','\\}',$org);
+						$org =  str_replace('^','\\^',$org);
+						$org =  str_replace('.','\\.',$org);
+				
+						$src = '/' . $org . '/';
+						$dist = 's:'. $volm . ':"' . $str . '";';
+						if(preg_match($src,$query_line)){
+							$query_line = preg_replace($src,$dist,$query_line);
+						}
+					}
+				}
+			}
+			$seach = "/'blog_charset'.*'EUC-JP'/";
+			$src = "/'EUC-JP'/";
+			$dist = "'UTF-8'";
+			if(preg_match($seach,$query_line)){
+				$query_line = preg_replace($src,$dist,$query_line);
+			}
+		}
+		
+		// Change Data Prefix
+		if ($extras_option['do_rename_prefix']){
+			if (!empty($extras_option['before_prefix']) && !empty($extras_option['after_prefix'])){
+				$src = '/' . $extras_option['before_prefix'] . '/';
+				$dist = $extras_option['after_prefix'];
+				if(preg_match($src,$query_line)){
+					$query_line = preg_replace($src,$dist,$query_line);
+				}
+			}
+		}
+		
+		// Change User_Role_Name(WordPressME to Wordpress)
+		if ($extras_option['set_default_role']){
+			$src = '/' . "(INSERT INTO `.+_options` VALUES \([0-9]+, [0-9]+, '.+_user_roles', 'Y', [0-9]+, ')(a:.+}}})('.+\);)" . '/';
+			if(preg_match($src,$query_line)){
+				$patterns = array();
+				$patterns[0] = '/s:[0-9]+:"[^"]+ - \(Administrator\)"/';
+				$patterns[1] = '/s:[0-9]+:"[^"]+ - \(Editor\)"/';
+				$patterns[2] = '/s:[0-9]+:"[^"]+ - \(Author\)"/';
+				$patterns[3] = '/s:[0-9]+:"[^"]+ - \(Contributor\)"/';
+				$patterns[4] = '/s:[0-9]+:"[^"]+ - \(Subscriber\)"/';
+				$replacements = array();
+				$replacements[0] = 's:13:"Administrator"';
+				$replacements[1] = 's:6:"Editor"';
+				$replacements[2] = 's:6:"Author"';
+				$replacements[3] = 's:11:"Contributor"';
+				$replacements[4] = 's:10:"Subscriber"';
+				$ans = preg_replace($patterns,$replacements,$query_line);
+				if (!empty($ans)) $query_line = $ans;
+			}
+		}
+		
+		// Change URI Clear
+		if ($extras_option['do_change_uri']){
+			if (!empty($extras_option['before_uri']) && !empty($extras_option['after_uri'])){
+				$org =  $extras_option['before_uri'];
+				$org =  str_replace('/','\\/',$org);
+				$src = '/' . $org . '/';
+				$dist = $extras_option['after_uri'];
+				if(preg_match($src,$query_line)){
+					$query_line = preg_replace($src,$dist,$query_line);
+					
+				}
+			}
+		}
+		
+		// Active Plugin Clear
+		if ($extras_option['del_active_plugin']){
+				$src = '/' . "(INSERT INTO `.+_options` VALUES \([0-9]+, [0-9]+, 'active_plugins', 'Y', [0-9]+, ')(a:.+})('.+\);)" . '/';
+				if(preg_match($src,$query_line,$matches)){
+					if(preg_match('/xpressme\/xpressme.php/',$matches[2])){
+						$query_line = "\n" . $matches[1] . 'a:1:{i:0;s:21:"xpressme/xpressme.php";}' . $matches[3];
+					} else {
+						$query_line = "\n" . $matches[1] . 'a:0:{}' . $matches[3];
+					}
+				}			
+		}
+		
+		// XPressME Buckup Option Data Clear
+		$src = '/' . "INSERT INTO `.+_options` VALUES \([0-9]+, [0-9]+, 'xpressme_backup_excs'" . '/';
+		if(preg_match($src,$query_line)){
+			$query_line = "\n# Skip XPressME Buckup 'xpressme_backup_excs' Option Data\n";
+		}
+		$src = '/' . "INSERT INTO `.+_options` VALUES \([0-9]+, [0-9]+, 'xpressme_backup_extras_option'" . '/';
+		if(preg_match($src,$query_line)){
+			$query_line = "\n# Skip XPressME Buckup 'xpressme_backup_extras_option' Option Data\n";
+		}
+
+		return $query_line;
+		
+	}
+	function is_mbstring(){
+		return function_exists('mb_convert_encoding');
+	}
+}
+
+function wpdbBackup_init() {
+	global $mywpdbbackup;
+	$mywpdbbackup = new wpdbBackup(); 	
+}
+
+add_action('plugins_loaded', 'wpdbBackup_init');
+?>
Index: /tags/Ver2.5.4/extras/wp_plugin/xpressme-backup/xpressme-backup.pot
===================================================================
--- /tags/Ver2.5.4/extras/wp_plugin/xpressme-backup/xpressme-backup.pot	(revision 866)
+++ /tags/Ver2.5.4/extras/wp_plugin/xpressme-backup/xpressme-backup.pot	(revision 866)
@@ -0,0 +1,452 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: XPressME-DB-BACKUP\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2010-05-18 09:03+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+#: xpressme-backup.php:205
+msgid "Backup Complete!"
+msgstr ""
+
+#: xpressme-backup.php:240
+msgid "http://codex.wordpress.org/WordPress_Backups"
+msgstr ""
+
+#: xpressme-backup.php:241
+#, php-format
+msgid "Click <a href=\"%s\" target=\"_blank\">here</a> to back up your database using the WordPress Database Backup plugin. <strong>Note:</strong> WordPress Database Backup does <em>not</em> back up your files, just your database."
+msgstr ""
+
+#: xpressme-backup.php:250
+msgid "Progress"
+msgstr ""
+
+#: xpressme-backup.php:252
+msgid "DO NOT DO THE FOLLOWING AS IT WILL CAUSE YOUR BACKUP TO FAIL:"
+msgstr ""
+
+#: xpressme-backup.php:255
+msgid "Close this browser"
+msgstr ""
+
+#: xpressme-backup.php:256
+msgid "Reload this page"
+msgstr ""
+
+#: xpressme-backup.php:257
+msgid "Click the Stop or Back buttons in your browser"
+msgstr ""
+
+#: xpressme-backup.php:259
+msgid "Progress:"
+msgstr ""
+
+#: xpressme-backup.php:268
+msgid "Navigating away from this page will cause your backup to fail."
+msgstr ""
+
+#: xpressme-backup.php:305
+#, php-format
+msgid "Backup complete, preparing <a href=\\\"%s\\\">backup</a> for download..."
+msgstr ""
+
+#: xpressme-backup.php:312
+#, php-format
+msgid "Backup complete, sending <a href=\\\"%s\\\">backup</a> via email..."
+msgstr ""
+
+#: xpressme-backup.php:319
+#, php-format
+msgid "Backup complete, download <a href=\\\"%s\\\">here</a>."
+msgstr ""
+
+#: xpressme-backup.php:379
+msgid "Creating backup file..."
+msgstr ""
+
+#: xpressme-backup.php:382
+#, php-format
+msgid "Finished backing up table \\\"%s\\\"."
+msgstr ""
+
+#: xpressme-backup.php:384
+#, php-format
+msgid "Backing up table \\\"%s\\\"..."
+msgstr ""
+
+#: xpressme-backup.php:391
+#: xpressme-backup.php:895
+msgid "Could not open the backup file for writing!"
+msgstr ""
+
+#: xpressme-backup.php:392
+msgid "The backup file could not be saved.  Please check the permissions for writing to your backup directory and try again."
+msgstr ""
+
+#: xpressme-backup.php:397
+#: xpressme-backup.php:904
+msgid "WordPress MySQL database backup"
+msgstr ""
+
+#: xpressme-backup.php:399
+#: xpressme-backup.php:906
+#, php-format
+msgid "Generated: %s"
+msgstr ""
+
+#: xpressme-backup.php:400
+#: xpressme-backup.php:907
+#, php-format
+msgid "Hostname: %s"
+msgstr ""
+
+#: xpressme-backup.php:401
+#: xpressme-backup.php:908
+#, php-format
+msgid "Database: %s"
+msgstr ""
+
+#: xpressme-backup.php:409
+#: xpressme-backup.php:921
+#, php-format
+msgid "Table: %s"
+msgstr ""
+
+#: xpressme-backup.php:416
+msgid "The backup directory is not writeable!  Please check the permissions for writing to your backup directory and try again."
+msgstr ""
+
+#: xpressme-backup.php:473
+msgid "Click and hold down <code>[SHIFT]</code> to toggle multiple checkboxes"
+msgstr ""
+
+#: xpressme-backup.php:513
+msgid "Change"
+msgstr ""
+
+#: xpressme-backup.php:522
+msgid "Save"
+msgstr ""
+
+#: xpressme-backup.php:609
+#: xpressme-backup.php:618
+msgid "XPressME Backup"
+msgstr ""
+
+#: xpressme-backup.php:705
+#: xpressme-backup.php:708
+msgid "There was an error writing a line to the backup script:"
+msgstr ""
+
+#: xpressme-backup.php:740
+msgid "Subsequent errors have been omitted from this log."
+msgstr ""
+
+#: xpressme-backup.php:774
+msgid "Error getting table details"
+msgstr ""
+
+#: xpressme-backup.php:782
+#, php-format
+msgid "Delete any existing table %s"
+msgstr ""
+
+#: xpressme-backup.php:791
+#, php-format
+msgid "Table structure of table %s"
+msgstr ""
+
+#: xpressme-backup.php:797
+#, php-format
+msgid "Error with SHOW CREATE TABLE for %s."
+msgstr ""
+
+#: xpressme-backup.php:804
+#, php-format
+msgid "Error getting table structure of %s"
+msgstr ""
+
+#: xpressme-backup.php:812
+#, php-format
+msgid "Data contents of table %s"
+msgstr ""
+
+#: xpressme-backup.php:883
+#, php-format
+msgid "End of data contents of table %s"
+msgstr ""
+
+#: xpressme-backup.php:899
+msgid "The backup directory is not writeable!"
+msgstr ""
+
+#: xpressme-backup.php:1035
+#, php-format
+msgid "File not found:%s"
+msgstr ""
+
+#: xpressme-backup.php:1035
+msgid "Return to Backup"
+msgstr ""
+
+#: xpressme-backup.php:1044
+#, php-format
+msgid "File %s does not exist!"
+msgstr ""
+
+#: xpressme-backup.php:1051
+#, php-format
+msgid ""
+"Attached to this email is\n"
+"   %1s\n"
+"   Size:%2s kilobytes\n"
+msgstr ""
+"このメールに添付されたのは\n"
+"   %1s\n"
+"   サイズ: %2s キロバイト\n"
+
+#: xpressme-backup.php:1052
+msgid "Database Backup"
+msgstr ""
+
+#: xpressme-backup.php:1055
+#: xpressme-backup.php:1102
+msgid "The following errors were reported:"
+msgstr ""
+
+#: xpressme-backup.php:1060
+msgid "ERROR: The mail application has failed to deliver the backup."
+msgstr ""
+
+#: xpressme-backup.php:1077
+msgid "Backup Successful"
+msgstr ""
+
+#: xpressme-backup.php:1081
+#, php-format
+msgid "Your backup file: <a href=\"%1s\">%2s</a> should begin downloading shortly."
+msgstr ""
+
+#: xpressme-backup.php:1089
+#, php-format
+msgid "Your backup has been emailed to %s"
+msgstr ""
+
+#: xpressme-backup.php:1092
+msgid "Your backup file has been saved on the server. If you would like to download it now, right click and select \"Save As\""
+msgstr ""
+
+#: xpressme-backup.php:1093
+#, php-format
+msgid "%s bytes"
+msgstr ""
+
+#: xpressme-backup.php:1129
+msgid "Scheduled Backup Options Saved!"
+msgstr ""
+
+#: xpressme-backup.php:1156
+msgid "WARNING: Your backup directory does <strong>NOT</strong> exist, and we cannot create it."
+msgstr ""
+
+#: xpressme-backup.php:1157
+#, php-format
+msgid "Using your FTP client, try to create the backup directory yourself: %s"
+msgstr ""
+
+#: xpressme-backup.php:1161
+#: xpressme-backup.php:1172
+msgid "WARNING: Your backup directory is <strong>NOT</strong> writable! We cannot create the backup files."
+msgstr ""
+
+#: xpressme-backup.php:1162
+#, php-format
+msgid "Using your FTP client, try to set the backup directory&rsquo;s write permission to %1$s or %2$s: %3$s"
+msgstr ""
+
+#: xpressme-backup.php:1174
+msgid "This problem seems to be caused by your server&rsquo;s <code>safe_mode</code> file ownership restrictions, which limit what files web applications like WordPress can create."
+msgstr ""
+
+#: xpressme-backup.php:1176
+#, php-format
+msgid "You can try to correct this problem by using your FTP client to delete and then re-create the backup directory: %s"
+msgstr ""
+
+#: xpressme-backup.php:1187
+msgid "Backup"
+msgstr ""
+
+#: xpressme-backup.php:1190
+msgid "Tables"
+msgstr ""
+
+#: xpressme-backup.php:1194
+msgid "These core WordPress tables will always be backed up:"
+msgstr ""
+
+#: xpressme-backup.php:1200
+msgid "Exclude spam comments"
+msgstr ""
+
+#: xpressme-backup.php:1203
+msgid "Exclude post revisions"
+msgstr ""
+
+#: xpressme-backup.php:1214
+msgid "Select all"
+msgstr ""
+
+#: xpressme-backup.php:1215
+msgid "Select none"
+msgstr ""
+
+#: xpressme-backup.php:1217
+msgid "You may choose to include any of the following tables:"
+msgstr ""
+
+#: xpressme-backup.php:1250
+msgid "Backup Options"
+msgstr ""
+
+#: xpressme-backup.php:1251
+msgid "What to do with the backup file:"
+msgstr ""
+
+#: xpressme-backup.php:1255
+msgid "Save to server"
+msgstr ""
+
+#: xpressme-backup.php:1260
+msgid "Download to your computer"
+msgstr ""
+
+#: xpressme-backup.php:1264
+#: xpressme-backup.php:1348
+msgid "Email backup to:"
+msgstr ""
+
+#: xpressme-backup.php:1268
+msgid "Backup Ditaile Options"
+msgstr ""
+
+#: xpressme-backup.php:1275
+#: xpressme-backup.php:1278
+msgid "Converte EUC-JP to UTF-8"
+msgstr ""
+
+#: xpressme-backup.php:1279
+msgid "The server used does not support the mb_convert_encoding() function."
+msgstr ""
+
+#: xpressme-backup.php:1288
+msgid "Rename DB Prefix"
+msgstr ""
+
+#: xpressme-backup.php:1290
+msgid "to"
+msgstr ""
+
+#: xpressme-backup.php:1297
+msgid "Backup now!"
+msgstr ""
+
+#: xpressme-backup.php:1300
+msgid "WARNING: Your backup directory is <strong>NOT</strong> writable!"
+msgstr ""
+
+#: xpressme-backup.php:1311
+msgid "Scheduled Backup"
+msgstr ""
+
+#: xpressme-backup.php:1318
+#, php-format
+msgid "Next Backup: %s"
+msgstr ""
+
+#: xpressme-backup.php:1323
+#, php-format
+msgid "Last WP-Cron Daily Execution: %s"
+msgstr ""
+
+#: xpressme-backup.php:1324
+#, php-format
+msgid "Next WP-Cron Daily Execution: %s"
+msgstr ""
+
+#: xpressme-backup.php:1329
+msgid "Schedule: "
+msgstr ""
+
+#: xpressme-backup.php:1333
+msgid "None"
+msgstr ""
+
+#: xpressme-backup.php:1333
+msgid "Daily"
+msgstr ""
+
+#: xpressme-backup.php:1350
+msgid "Schedule backup"
+msgstr ""
+
+#: xpressme-backup.php:1358
+msgid "Tables to include in the scheduled backup:"
+msgstr ""
+
+#: xpressme-backup.php:1393
+msgid "Never"
+msgstr ""
+
+#: xpressme-backup.php:1398
+#, php-format
+msgid "%s seconds"
+msgstr ""
+
+#: xpressme-backup.php:1431
+msgid "Once Weekly"
+msgstr ""
+
+#: xpressme-backup.php:1445
+#, php-format
+msgid "Your WordPress version, %1s, lacks important security features without which it is unsafe to use the WP-DB-Backup plugin.  Hence, this plugin is automatically disabled.  Please consider <a href=\"%2s\">upgrading WordPress</a> to a more recent version."
+msgstr ""
+
+#: xpressme-backup.php:1464
+msgid "You are not allowed to perform backups."
+msgstr ""
+
+#: xpressme-backup.php:1479
+#, php-format
+msgid "There appears to be an unauthorized attempt from this site to access your database located at %1s.  The attempt has been halted."
+msgstr ""
+
+#: xpressme-backup.php:1490
+msgid "Cheatin' uh ?"
+msgstr ""
+
+#~ msgid ""
+#~ "Your WordPress Langage %s, the WP-DB-Backup-to-UTF8 plugin is only for "
+#~ "EUC-JP. Hence, this plugin is automatically disabled."
+#~ msgstr ""
+#~ "お使いになっている WordPress の言語は %s です。WP-DB-Backup-to-UTF8プラグ"
+#~ "インは、EUC-JP専用です。そのためこのプラグインは自動的に機能を停止しまし"
+#~ "た。"
+#~ msgid "Backup(to UTF8)"
+#~ msgstr ""
+#~ msgid ""
+#~ "WARNING: Your wp-content directory is <strong>NOT</strong> writable! We "
+#~ "can not create the backup directory."
+#~ msgstr ""
+#~ "注意: wp-content ディレクトリが<strong>書き込み不可</strong>になっていま"
+#~ "す ! バックアップディレクトリを作成できませんでした。"
+#~ msgid "Submit"
+#~ msgstr ""
+
Index: /tags/Ver2.5.4/extras/xpress_i18n/en/howto_make_xpressme.html
===================================================================
--- /tags/Ver2.5.4/extras/xpress_i18n/en/howto_make_xpressme.html	(revision 866)
+++ /tags/Ver2.5.4/extras/xpress_i18n/en/howto_make_xpressme.html	(revision 866)
@@ -0,0 +1,76 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">
+
+<head profile="http://gmpg.org/xfn/11">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+
+<title>XPressME module Making & Install| XPressME Integration Kit</title>
+
+</head>
+	
+<body id='xpress_page'>
+	<div id="xpress_header">
+		<h1><a href="http://ja.xpressme.info/">XPressME Integration Kit</a></h1>
+	</div>
+	
+	<div>
+		<h3>Notes</strong></h3>
+			<ol>
+				<li>XpressME Integration Kit doesn&#8217;t function only by it as XOOPS module.</li>
+				<li>Being able to integrate by this is WordPress version 2.7 or more.</li>
+			</ol>
+		
+		<h3>Download of necessary file</h3>
+			<ol>
+				<li>Download of XPressME Integration Kit<br />
+					<p>XPressME Integration Kit is downloaded on the <a href="http://ja.xpressme.info/download/">download page</a>. </p>
+					<p>The composition of the downloaded file is as follows.</p>
+					<p style="padding-left: 60px;"><img title="xp_intrgration_kit" src="../document_image/xp_intrgration_kit.png" alt="xp_intrgration_kit"/></p>
+				</li>
+				<li> Download of WordPress<br />
+					WordPress is downloaded from <a href="http://wordpress.org/download/" target="_blank">WordPress.org</a></p>
+					<p>The composition of the downloaded file is as follows for WordPress2.7. </p>
+					<p style="padding-left: 60px;"><img title="wordpress_file" src="../document_image/wordpress_file.png" alt="wordpress_file"/></p>
+				</li>
+			</ol>
+		
+		<h3>Making XPressME module for XOOPS</h3>
+			<ol> 
+				<li>
+					The work directory is made. The directory name is made the module name such as &#8216;xpress&#8217;. 
+				</li>
+				<li>
+					The file of  XPressME Integration Kit is copied onto the work directory of step 1. 
+				</li>
+				<li>
+					The file of  WordPress is copied onto the work directory of step 1. 
+				</li>
+			</ol>
+			<p style="padding-left: 60px;"><img title="make_xp_module" src="../document_image/make_xp_module.png" alt="make_xp_module"/></p>
+
+		<h3><strong>Localaize</strong></h3>
+			<p style="padding-left: 30px;">
+				If the language & wp-config.php file that you need exists in the extras/xpress_i18n folder<br />
+				The file and the folder in extras/xpress_i18n/test/xpressme_modules_root are overwrited to the route of the module.<br />
+				<p style="padding-left: 60px;">
+				wp-config.php file<br />
+				language folder<br />
+				wp-content folder<br />
+				</p>
+			</p>
+			<p style="padding-left: 60px;"><img title="xp_i18n" src="../document_image/xp_i18n.png" alt="xp_i18n"/></p>
+		
+		<h3>Installation of XpressME module</h3>
+			<p style="padding-left: 30px;">The made module is used.</p>
+			<ol style="padding-left: 30px;">
+				<li>Up-loads it in the directory 'XOOPS_ROOT_PATH/modules/' as well as other modules.</li>
+				<li>The permission of /templates directory and the /wp-contents directory of the XPressME module is changed to 777. </li>
+		
+				<li>The module is installed on the XOOPS admin page. </li>
+			</ol>
+		<p style="padding-left: 30px;"><strong>Others</strong></p>
+		<p style="padding-left: 60px;">The module name (directory name) can give an arbitrary name as long as it doesn't overlap with other modules of XOOPS. <br />
+		Two or more XPressME modules can be installed by changing the module name. (However, it is not D3 module. )</p>
+	</div>
+</body>
+</html>
Index: /tags/Ver2.5.4/extras/xpress_i18n/en/xpressme_modules_root/wp-config.php
===================================================================
--- /tags/Ver2.5.4/extras/xpress_i18n/en/xpressme_modules_root/wp-config.php	(revision 866)
+++ /tags/Ver2.5.4/extras/xpress_i18n/en/xpressme_modules_root/wp-config.php	(revision 866)
@@ -0,0 +1,88 @@
+<?php
+/** It is an additional loading for XPressME. */
+require_once dirname( __FILE__ ).'/include/add_xpress_config.php' ;
+
+/**
+ * mb_language() sets language. If language  is omitted, it returns current language as string.
+ * language setting is used for encoding e-mail messages. 
+ * Valid languages are "Japanese", "ja","English","en" and "uni" (UTF-8). 
+ * mb_send_mail() uses this setting to encode e-mail.
+ * Language and its setting is ISO-2022-JP/Base64 for Japanese, UTF-8/Base64 for uni, ISO-8859-1/quoted printable for English. 
+ */
+// if (function_exists("mb_language")) mb_language('uni');
+
+
+// ** MySQL settings - You can get this info from your web host ** //
+// Do not change  'DB_NAME','DB_USER','DB_PASSWORD' & 'DB_HOST'
+// because copies a set value of XOOPS. 
+
+/** Do not change. The name of the database for WordPress */
+define('DB_NAME', $xoops_config->xoops_db_name);
+
+/** Do not change. MySQL database username */
+define('DB_USER', $xoops_config->xoops_db_user);
+
+/** Do not change. MySQL database password */
+define('DB_PASSWORD', $xoops_config->xoops_db_pass);
+
+/** Do not change. MySQL hostname */
+define('DB_HOST', $xoops_config->xoops_db_host);
+	
+/** Database Charset to use in creating database tables. */
+define('DB_CHARSET', 'utf8');
+
+/** The Database Collate type. Don't change this if in doubt. */
+define('DB_COLLATE', '');
+
+//define('WP_DEBUG' ,true);
+
+/**#@+
+ * Authentication Unique Keys.
+ *
+ * Change these to different unique phrases!
+ * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/ WordPress.org secret-key service}
+ *
+ * @since 2.6.0
+ */
+define('AUTH_KEY', 'put your unique phrase here');
+define('SECURE_AUTH_KEY', 'put your unique phrase here');
+define('LOGGED_IN_KEY', 'put your unique phrase here');
+define('NONCE_KEY', 'put your unique phrase here');
+define('AUTH_SALT',        'put your unique phrase here');
+define('SECURE_AUTH_SALT', 'put your unique phrase here');
+define('LOGGED_IN_SALT',   'put your unique phrase here');
+define('NONCE_SALT',       'put your unique phrase here');
+
+/**
+ * WordPress Database Table prefix.
+ *
+ * You can have multiple installations in one database if you give each a unique
+ * prefix. Only numbers, letters, and underscores please!
+ */
+// Do not change. $table_prefix is generated from XOOPS DB Priefix and the module directory name. 
+$table_prefix  = $xoops_config->module_db_prefix;
+
+/**
+ * WordPress Localized Language, defaults to English.
+ *
+ * Change this to localize WordPress.  A corresponding MO file for the chosen
+ * language must be installed to wp-content/languages. For example, install
+ * de.mo to wp-content/languages and set WPLANG to 'de' to enable German
+ * language support.
+ *
+ * Example:
+ * define ('WPLANG', '');		// language support to English
+ */
+define ('WPLANG', '');
+
+/* That's all, stop editing! Happy blogging. */
+
+/** WordPress absolute path to the Wordpress directory. */
+if ( !defined('ABSPATH') )
+	define('ABSPATH', dirname(__FILE__).'/');
+
+/** Processing for XPressME is done.*/
+require_once( ABSPATH .'/include/add_xpress_process.php');
+
+require_once(ABSPATH.'wp-settings.php');
+?>
Index: /tags/Ver2.5.4/extras/xpress_i18n/portuguese-br/howto_make_xpressme.html
===================================================================
--- /tags/Ver2.5.4/extras/xpress_i18n/portuguese-br/howto_make_xpressme.html	(revision 866)
+++ /tags/Ver2.5.4/extras/xpress_i18n/portuguese-br/howto_make_xpressme.html	(revision 866)
@@ -0,0 +1,73 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="ja">
+
+<head profile="http://gmpg.org/xfn/11">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+
+<title>モジュール作成とインストール | XPressME Integration Kit</title>
+
+</head>
+	
+<body id='xpress_page'>
+	<!-- Brazilian Portuguese Translation by Marcelo Yuji Himoro <http://yuji.ws> -->
+	<div id="xpress_header">
+		<h1><a href="http://ja.xpressme.info/">XPressME Integration Kit</a></h1>
+	</div>
+	
+	<div>
+		<h3>ATENÇÃO</strong></h3>
+			<ol>
+				<li>O XpressME Integration Kit não funciona por si só como módulo do XOOPS.</li>
+				<li>Recomenda-se utilizar o WordPress 2.7 ou superior. (versões inferiores não foram testadas)</li>
+			</ol>
+		
+		<h3>ARQUIVOS NECESSÁRIOS</h3>
+			<ol>
+				<li>XPressME Integration Kit<br />
+					Pode ser obtido na <a href="http://ja.xpressme.info/download/" target="_blank">página de downloads</a>.</p>
+					<p>O conteúdo do arquivo é o seguinte:</p>
+					<p style="padding-left: 60px;"><img title="xp_intrgration_kit" src="../document_image/xp_intrgration_kit.png" alt="xp_intrgration_kit"/></p>
+				</li>
+				<li>WordPress<br />
+					Pode ser obtido em <a href="http://wordpress.org/download/" target="_blank">WordPress.org</a> (ou no <a href="http://br.wordpress.org/" target="_blank">WordPress Brasil</a>).</p>
+					<p>O conteúdo do arquivo é o seguinte (para WordPress 2.7):</p>
+					<p style="padding-left: 60px;"><img title="wordpress_file" src="../document_image/wordpress_file.png" alt="wordpress_file"/></p>
+				</li>
+			</ol>
+		
+		<h3>CONSTRUINDO O MÓDULO</h3>
+			<ol> 
+				<li>
+					Crie uma pasta para o módulo (no exemplo utilizaremos xpress como nome).</li>
+				<li>
+					Copie os arquivos do XPressME Integration Kit para a pasta criada no 1º passo.
+				</li>
+				<li>
+					Copie os arquivos do WordPress para a pasta criada no 1º passo.
+				</li>
+			</ol>
+			<p style="padding-left: 60px;"><img title="make_xp_module" src="../document_image/make_xp_module.png" alt="make_xp_module"/></p>
+
+		<h3><strong>LOCALIZAÇÃO</strong></h3>
+			<p style="padding-left: 30px;">
+				Se os arquivos de idioma necessários e o wp-config.php existirem na pasta extras/xpress_i18n, sobreescreva:<br />
+				o arquivo wp-config.php;<br />
+				a pasta language;<br />
+				a pasta wp-content;<br />
+				contido em extras/xpress_i18n/**/xpressme_modules_root na raiz do seu módulo.
+			</p>
+			<p style="padding-left: 60px;"><img title="xp_i18n" src="../document_image/xp_i18n.png" alt="xp_i18n"/></p>
+		
+		<h3>INSTALAÇÃO DO MÓDULO XpressME</h3>
+			<p style="padding-left: 30px;">A partir do módulo criado em "CONSTRUINDO O MÓDULO", siga os seguintes passos para realizar a instalação:</p>
+			<ol style="padding-left: 30px;">
+				<li>Faça upload, como qualquer outro módulo, para o diretório XOOPS_ROOT_PATH/modules/.</li>
+				<li>Defina as permissões dos diretórios /templates e /wp-contents para 777.</li>
+				<li>Instale o módulo.</li>
+			</ol>
+		<p style="padding-left: 30px;"><strong>DICAS</strong></p>
+		<p style="padding-left: 60px;">Desde que não coincida com o de nenhum outro do seu XOOPS, você pode escolher livremente o nome do diretório.<br />
+		É possível duplicar o módulo apenas alterando seu nome (não D3 ready)</p>
+	</div>
+</body>
+</html>
Index: /tags/Ver2.5.4/extras/xpress_i18n/portuguese-br/xpressme_modules_root/wp-config.php
===================================================================
--- /tags/Ver2.5.4/extras/xpress_i18n/portuguese-br/xpressme_modules_root/wp-config.php	(revision 866)
+++ /tags/Ver2.5.4/extras/xpress_i18n/portuguese-br/xpressme_modules_root/wp-config.php	(revision 866)
@@ -0,0 +1,84 @@
+<?php
+/** Carregamento adicional do XPressME */
+require_once dirname( __FILE__ ).'/include/add_xpress_config.php' ;
+
+/**
+ * mb_language() define o idioma. Se ele for omitido, ele retorna o idioma atual.
+ * Configurações de idioma são utilizadas para codificar mensagens de e-mail. 
+ * Exemplos de idiomas válidos são "Japanese", "ja","English", "en" e "uni" (UTF-8). 
+ * mb_send_mail() utiliza estas configurações para codificar os e-mails.
+ * Idioma e configurações para Japanese, uni e English são respectivamente ISO-2022-JP/Base64, UTF-8/Base64, ISO-8859-1/quoted printable. 
+ */
+// if (function_exists("mb_language")) mb_language('uni');
+
+
+// ** Configurações do MySQL - Você pode pegar essas informações com o serviço de hospedagem ** //
+// Não altere 'DB_NAME','DB_USER','DB_PASSWORD' & 'DB_HOST'
+// pois são obtidos os valores definidos no XOOPS.
+
+/** Não altere. O nome do banco de dados do WordPress */
+define('DB_NAME', $xoops_config->xoops_db_name);
+
+/** Não altere. Usuário do banco de dados MySQL */
+define('DB_USER', $xoops_config->xoops_db_user);
+
+/** Não altere. Senha do banco de dados MySQL */
+define('DB_PASSWORD', $xoops_config->xoops_db_pass);
+
+/** Não altere. Nome do host do MySQL */
+define('DB_HOST', $xoops_config->xoops_db_host);
+	
+/** Conjunto de caracteres do banco de dados a ser usado na criação das tabelas. */
+define('DB_CHARSET', 'utf8');
+
+/** O tipo de collate do banco de dados. Não altere isso se tiver dúvidas. */
+define('DB_COLLATE', '');
+
+/**#@+
+ * Chaves únicas de autenticação.
+ *
+ * Altere cada chave para um frase única!
+ * Você pode gerá-las usando {@link http://api.wordpress.org/secret-key/1.1/ WordPress.org secret-key service}
+ *
+ * @since 2.6.0
+ */
+define('AUTH_KEY', 'coloque sua frase única aqui');
+define('SECURE_AUTH_KEY', 'coloque sua frase única aqui');
+define('LOGGED_IN_KEY', 'coloque sua frase única aqui');
+define('NONCE_KEY', 'coloque sua frase única aqui');
+define('AUTH_SALT',        'put your unique phrase here');
+define('SECURE_AUTH_SALT', 'put your unique phrase here');
+define('LOGGED_IN_SALT',   'put your unique phrase here');
+define('NONCE_SALT',       'put your unique phrase here');
+/**#@-*/
+
+/**
+ * Prefixo da tabela do banco de dados do WordPress.
+ *
+ * Você pode ter várias instalações em um único banco de dados se você der para cada um um único
+ * prefixo. Somente números, letras e sublinhados!
+ */
+// Do not change. $table_prefix is generated from XOOPS DB Priefix and the module directory name. 
+$table_prefix  = $xoops_config->module_db_prefix;
+
+/**
+ * O idioma localizado do WordPress é o inglês por padrão.
+ *
+ * Altere esta definição para localizar o WordPress. Um arquivo MO correspondente a
+ * língua escolhida deve ser instalado em wp-content/languages. Por exemplo, instale
+ * pt_BR.mo em wp-content/languages e altere WPLANG para 'pt_BR' para habilitar o suporte
+ * ao português do Brasil.
+ */
+define ('WPLANG', 'pt_BR');
+
+/* Isto é tudo, pode parar de editar! :) */
+
+/** Caminho absoluto do WordPress para o diretório Wordpress. */
+if ( !defined('ABSPATH') )
+	define('ABSPATH', dirname(__FILE__) . '/');
+
+/** Processamento do XPressME finalizado */
+require_once( ABSPATH .'/include/add_xpress_process.php');
+
+require_once(ABSPATH.'wp-settings.php');
+?>
Index: /tags/Ver2.5.4/extras/xpress_i18n/template/howto_make_xpressme.html
===================================================================
--- /tags/Ver2.5.4/extras/xpress_i18n/template/howto_make_xpressme.html	(revision 866)
+++ /tags/Ver2.5.4/extras/xpress_i18n/template/howto_make_xpressme.html	(revision 866)
@@ -0,0 +1,76 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">
+
+<head profile="http://gmpg.org/xfn/11">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+
+<title>XPressME module Making & Install| XPressME Integration Kit</title>
+
+</head>
+	
+<body id='xpress_page'>
+	<div id="xpress_header">
+		<h1><a href="http://ja.xpressme.info/">XPressME Integration Kit</a></h1>
+	</div>
+	
+	<div>
+		<h3>Notes</strong></h3>
+			<ol>
+				<li>XpressME Integration Kit doesn&#8217;t function only by it as XOOPS module.</li>
+				<li>Being able to integrate by this is WordPress version 2.7 or more.</li>
+			</ol>
+		
+		<h3>Download of necessary file</h3>
+			<ol>
+				<li>Download of XPressME Integration Kit<br />
+					<p>XPressME Integration Kit is downloaded on the <a href="http://ja.xpressme.info/download/">download page</a>. </p>
+					<p>The composition of the downloaded file is as follows.</p>
+					<p style="padding-left: 60px;"><img title="xp_intrgration_kit" src="../document_image/xp_intrgration_kit.png" alt="xp_intrgration_kit"/></p>
+				</li>
+				<li> Download of WordPress<br />
+					WordPress is downloaded from <a href="http://wordpress.org/download/" target="_blank">WordPress.org</a></p>
+					<p>The composition of the downloaded file is as follows for WordPress2.7. </p>
+					<p style="padding-left: 60px;"><img title="wordpress_file" src="../document_image/wordpress_file.png" alt="wordpress_file"/></p>
+				</li>
+			</ol>
+		
+		<h3>Making XPressME module for XOOPS</h3>
+			<ol> 
+				<li>
+					The work directory is made. The directory name is made the module name such as &#8216;xpress&#8217;. 
+				</li>
+				<li>
+					The file of  XPressME Integration Kit is copied onto the work directory of step 1. 
+				</li>
+				<li>
+					The file of  WordPress is copied onto the work directory of step 1. 
+				</li>
+			</ol>
+			<p style="padding-left: 60px;"><img title="make_xp_module" src="../document_image/make_xp_module.png" alt="make_xp_module"/></p>
+
+		<h3><strong>Localaize</strong></h3>
+			<p style="padding-left: 30px;">
+				If the language & wp-config.php file that you need exists in the extras/xpress_i18n folder<br />
+				The file and the folder in extras/xpress_i18n/test/xpressme_modules_root are overwrited to the route of the module.<br />
+				<p style="padding-left: 60px;">
+				wp-config.php file<br />
+				language folder<br />
+				wp-content folder<br />
+				</p>
+			</p>
+			<p style="padding-left: 60px;"><img title="xp_i18n" src="../document_image/xp_i18n.png" alt="xp_i18n"/></p>
+		
+		<h3>Installation of XpressME module</h3>
+			<p style="padding-left: 30px;">The made module is used.</p>
+			<ol style="padding-left: 30px;">
+				<li>Up-loads it in the directory 'XOOPS_ROOT_PATH/modules/' as well as other modules.</li>
+				<li>The permission of /templates directory and the /wp-contents directory of the XPressME module is changed to 777. </li>
+		
+				<li>The module is installed on the XOOPS admin page. </li>
+			</ol>
+		<p style="padding-left: 30px;"><strong>Others</strong></p>
+		<p style="padding-left: 60px;">The module name (directory name) can give an arbitrary name as long as it doesn't overlap with other modules of XOOPS. <br />
+		Two or more XPressME modules can be installed by changing the module name. (However, it is not D3 module. )</p>
+	</div>
+</body>
+</html>
Index: /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/admin.php
===================================================================
--- /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/admin.php	(revision 866)
+++ /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/admin.php	(revision 866)
@@ -0,0 +1,44 @@
+<?php
+if( ! defined( 'XP2_ADMIN_LANG_INCLUDED' ) ) {
+	define( 'XP2_ADMIN_LANG_INCLUDED' , 1 ) ;
+	
+// altsys
+	define('_MD_A_MYMENU_MYTPLSADMIN','templates');
+	define('_MD_A_MYMENU_MYBLOCKSADMIN','blocks/permissions');
+	define('_MD_A_MYMENU_MYLANGADMIN','languages');
+	define('_MD_A_MYMENU_MYPREFERENCES','general');
+
+	define("_AM_XP2_SYSTEM_INFO","System infomation");
+	define("_AM_XP2_XOOPS_CONFIG_INFO","Set value that XPressME acquired from XOOPS");
+	define("_AM_XP2_PLUGIN","Active plug-in list at wordpress");
+	define("_AM_XP2_BLOCK_STATS","Block Status");
+	define("_AM_XP2_STATS","WordPress Status");
+	define("_AM_XP2_CATEGORIES","Category count");
+	define("_AM_XP2_ARTICLES","Blog article count");
+	define("_AM_XP2_AUTHORS","Author count");
+	define("_AM_XP2_SYS_REPORT","Show Report Mode");
+	define("_AM_XP2_SYS_NORMAL","Show Normal Mode");
+	define("_AM_XP2_BLOCK_OPTIONS","Block Options");
+	define("_AM_XP2_GROUP_ROLE","Group Role");
+
+// Block Check	
+	define("_AM_XP2_BLOCK_OK","The block is normal. ");
+	define("_AM_XP2_BLOCK_NG","There is an abnormal block. ");
+	define("_AM_XP2_BLOCK_REPAIR_HOWTO","Please correct the block according to the following procedures. ");
+	define("_AM_XP2_BLOCK_REPAIR_STEP1","Step 1");
+	define("_AM_XP2_BLOCK_REMOVE","Remove xoops block table");
+	define("_AM_XP2_BLOCK_REMOVE_NOTE","Please use carefully, because <b>Remove Block</b> deletes records in block table");
+	define("_AM_XP2_BLOCK_REPAIR_STEP2","Step 2");
+	define("_AM_XP2_BLOCK_UPDATE","The block is restructured with the update of the module.");
+	define("_AM_XP2_TO_MODELE_UPDATE","To the module update");
+	define("_AM_XP2_BLOCK_REPAIR_STEP3","Step3");
+	define("_AM_XP2_BLOCK_ADMIN_SETTING","The arrangement setting of the block and the access authority of the block are set again. ");
+	define("_AM_XP2_BLOCK_TO_SETTING","to blocks/permissions");
+	define("_AM_XP2_USER_META_KEY","User meta information");
+	define("_AM_XP2_USER_META_NONE","There is no meta key necessary for the user level.");
+	define("_AM_XP2_USER_META_ERR","There is a meta key named %s that the prefix is different in %d piece.");
+	define("_AM_XP2_USER_META_OK","The user meta key is normal.");		
+	define("_AM_XP2_NG_BLOCK_REMOVE","Remove xoops abnormal block table");
+	define("_AM_XP2_BLOCK_OR","OR");
+}
+?>
Index: /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/blocks.php
===================================================================
--- /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/blocks.php	(revision 866)
+++ /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/blocks.php	(revision 866)
@@ -0,0 +1,151 @@
+<?php
+if( ! defined( 'XP2_BLOCK_LANG_INCLUDED' ) ) {
+	define( 'XP2_BLOCK_LANG_INCLUDED' , 1 ) ;
+// general	
+	define("_MB_XP2_COUNT",'Number of displays');
+	define("_MB_XP2_COUNT_ZERO_ALL",'Number of displays (Everything is displayed in case of 0)');
+	define("_MB_XP2_LENGTH","length");
+	define("_MB_XP2_ALL","all");
+	define("_MB_XP2_BLOCK_CACHE_ERR","Cash doesn't exist. <br />Please access the %s module first.");
+	define("_MB_XP2_SHOW_NUM_OF_POST","The number of entries is displayed.");
+	define("_MB_XP2_SHOW_DROP_DOWN","It displays it by the drop down list.");
+	define("_MB_XP2_HIDE_EMPTY","hide empty");
+	define("_MB_XP2_TITLE","title");
+	define("_MB_XP2_PUBLISH_DATE","publish date");
+	define("_MB_XP2_SORT_ORDER","sort order");
+	define("_MB_XP2_SORT_ASC","ASC");
+	define("_MB_XP2_SORT_DESC","DESC");
+	define("_MB_XP2_SHOW_DATE_SELECT","Date Display");
+	define("_MB_XP2_SHOW_DATE_NONE","Not display");
+	define("_MB_XP2_SHOW_POST_DATE","Post Date");
+	define("_MB_XP2_SHOW_MODIFY_DATE","Modify Date");
+	define("_MB_XP2_SHOW_DATE","The date is displayed.");
+	define("_MB_XP2_DATE_FORMAT","Format at date (The setting with WordPress is applied for the blank).");
+	define("_MB_XP2_TIME_FORMAT","Format at time (The setting with WordPress is applied for the blank).");
+	define("_MB_XP2_FLAT","Flat");
+	define("_MB_XP2_LIST","List");
+	define("_MB_XP2_FILE_NAME","Files Name");
+	define("_MB_XP2_THISTEMPLATE","Template");
+	define("_MB_XP2_NO_JSCRIPT","Javascript should be enable by a browser.");	
+	
+// recent comment block	
+	define("_MB_XP2_COMM_DISP_AUTH","The comment author name is displayed.");
+	define("_MB_XP2_COMM_DISP_TYPE","The comment type is displayed.");
+	define("_MB_XP2_COM_TYPE","select the type of the displayed comment.");
+	define("_MB_XP2_COMMENT","Comment");
+	define("_MB_XP2_TRUCKBACK","Trackback");
+	define("_MB_XP2_PINGBACK","Pingback");
+	
+// recent posts content
+	define("_MB_XP2_P_EXCERPT","The post is displayed by the except.");
+	define("_MB_XP2_P_EXCERPT_SIZE","Number of except characters");
+	define("_MB_XP2_CATS_SELECT","Select categorie");
+	define("_MB_XP2_TAGS_SELECT","Tags Select(Comma separated list of tags)");
+	define("_MB_XP2_DAY_SELECT","Select Post Date");
+	define("_MB_XP2_NONE","None");
+	define("_MB_XP2_TODAY","Today");
+	define("_MB_XP2_LATEST","Latest");
+	define("_MB_XP2_DAY_BETWEEN","Between");
+	define("_MB_XP2_DAYS_AND","and");
+	define("_MB_XP2_DAYS_AGO","days ago");
+	define("_MB_XP2_CATS_DIRECT_SELECT","Direct input of ID(Comma separated list of categorie ID)");
+	
+// recent posts list	
+	define("_MB_XP2_REDNEW_DAYS","Passed days displayed by marking red 'New'");
+	define("_MB_XP2_GREENNEW_DAYS","Passed days displayed by marking green 'New'");	
+
+// calender		
+	define("_MB_XP2_SUN_COLOR","Color on Sunday");
+	define("_MB_XP2_SAT_COLOR","Color on Saturday");
+	
+// popular		
+	define("_MB_XP2_MONTH_RANGE","The one in the number a specified month is displayed (0; all).");
+	
+// archives
+	define("_MB_XP2_ARC_TYPE","The type of archive");
+	define("_MB_XP2_ARC_YEAR","yearly");
+	define("_MB_XP2_ARC_MONTH","monthly");
+	define("_MB_XP2_ARC_WEEK","weekly");
+	define("_MB_XP2_ARC_DAY","daily");
+	define("_MB_XP2_ARC_POST","post by post");
+
+// authors	
+	define("_MB_XP2_EXCLUEDEADMIN","The manager is excluded from the list.");
+	define("_MB_XP2_SHOW_FULLNAME","The author name is displayed by the full name.");
+
+// page 	
+	define("_MB_XP2_PAGE_ORDERBY","List Pages by Page Order ");
+	define("_MB_XP2_PAGE_TITLE","post_title");
+	define("_MB_XP2_PAGE_MENU_ORDER","menu_order");
+	define("_MB_XP2_PAGE_POST_DATE","post_date");
+	define("_MB_XP2_PAGE_POST_MODIFY","post_modified");
+	define("_MB_XP2_PAGE_ID","ID");
+	define("_MB_XP2_PAGE_AUTHOR","post_author ID");
+	define("_MB_XP2_PAGE_SLUG","post_name");
+	define("_MB_XP2_PAGE_EXCLUDE","Define a comma-separated list of Page IDs to be excluded from the list ");
+	define("_MB_XP2_PAGE_EXCLUDE_TREE","Define a comma-separated list of parent Page IDs to be excluded. Use this parameter to exclude a parent and all of that parent's child Pages.");
+	define("_MB_XP2_PAGE_INCLUDE","Only include certain Pages in the list , this parameter takes a comma-separated list of Page IDs. ");
+	define("_MB_XP2_PAGE_DEPTH","how many levels in the hierarchy of pages are to be included in the list (0=all Pages and sub-pages displayedj");
+	define("_MB_XP2_PAGE_CHILD_OF","Displays the sub-pages of a single Page onlyB(uses the ID for a Page as the valuej");
+	define("_MB_XP2_PAGE_HIERARCHICAL","Display sub-Pages in an indented manner below their parent or list the Pages inline.");
+	define("_MB_XP2_PAGE_META_KEY","Only include the Pages that have this Custom Field Key (use in conjunction with the meta_value field).");
+	define("_MB_XP2_PAGE_META_VALUE","Only include the Pages that have this Custom Field Value (use in conjuntion with the meta_key field).");
+	
+// Search
+	define("_MB_XP2_SEARCH_LENGTH","Length of search textbox");
+	
+// tag cloud
+	define("_MB_XP2_CLOUD_SMALLEST",'The text size of the tag with the smallest count value ');
+	define("_MB_XP2_CLOUD_LARGEST",'The text size of the tag with the highest count value');
+	define("_MB_XP2_CLOUD_UNIT","Unit of measure as pertains to the smallest and largest values. This can be any CSS length value, e.g. pt, px, em, %;");
+	define("_MB_XP2_CLOUD_NUMBER","The number of actual tags to display in the cloud. (Use '0' to display all tags.)");
+	define("_MB_XP2_CLOUD_FORMAT","Format of the cloud display");
+	define("_MB_XP2_CLOUD_ORDERBY","Order of the tags");
+	define("_MB_XP2_CLOUD_ORDER","Sort order. Valid values('RAND' tags are in a random order. Note: this parameter was introduced with Version 2.5.)");
+	define("_MB_XP2_CLOUD_EXCLUDE","Comma separated list of tags (term_id) to exclude.");
+	define("_MB_XP2_CLOUD_INCLUDE","Comma separated list of tags (term_id) to include.");
+	define("_MB_XP2_RAND","RAND");
+	define("_MB_XP2_TAG_NAME","tag name");
+	define("_MB_XP2_TAG_COUNT","count");
+	
+// Categorie
+	define("_MB_XP2_CAT_ALL_STR","All categories link Display Title. (blank is not display)");
+	define("_MB_XP2_CAT_ORDERBY","Order of the categories");
+	define("_MB_XP2_CAT_NAME","name");
+	define("_MB_XP2_CAT_COUNT","count");
+	define("_MB_XP2_CAT_ID","ID");
+	define("_MB_XP2_SHOW_LAST_UPDATE","Should the last updated timestamp for posts be displayed.");
+	define("_MB_XP2_CAT_HIDE_EMPTY","hide display of categories with no posts.");
+	define("_MB_XP2_DESC_FOR_TITLE","Sets whether a category's description is inserted into the title attribute of the links created");
+	define("_MB_XP2_CAT_EXCLUDE","Exclude one or more categories from the results. This parameter takes a comma-separated list of categories by unique ID");
+	define("_MB_XP2_CAT_INCLUDE","Only include the categories detailed in a comma-separated list by unique ID, in ascending order.");
+	define("_MB_XP2_CAT_HIERARCHICAL","Display sub-categories as inner list items (below the parent list item) or inline.");
+	define("_MB_XP2_CAT_DEPTH","how many levels in the hierarchy of Categories are to be included in the list of Categories.(0=All Categories and child Categories)");
+	
+// meta 
+	define("_MB_XP2_META_WP_LINK","The link to the WordPress site is displayed.");
+	define("_MB_XP2_META_XOOPS_LINK","The link to the Xoops site is displayed.");
+	define("_MB_XP2_META_POST_RSS","RSS of the posts is displayed.");
+	define("_MB_XP2_META_COMMENT_RSS","RSS of the comments is displayed.");
+	define("_MB_XP2_META_POST_NEW","'new post' is displayed.");
+	define("_MB_XP2_META_ADMIN","'admin' is displayed.");
+	define("_MB_XP2_META_README","ReadMe is displayed.");
+	define("_MB_XP2_META_CH_STYLE","'display mode' is displayed.");
+
+// widget 
+	define("_MB_XP2_SELECT_WIDGET","Displayed Widget is selected.");
+	define("_MB_XP2_NO_WIDGET","Widget displayed on the WordPress side has not been selected. ");
+	define("_MB_XP2_WIDGET_TITLE_SHOW","When only one Widget has been selected, the title of Widget is displayed.");
+	
+// custom 
+	define("_MB_XP2_ENHACED_FILE","Input the file name used in the custom block.");
+	define("_MB_XP2_MAKE_ENHACED_FILE","Please make the file specified here in the block directory of the theme.");
+
+// blog_list
+	define("_MB_XP2_BLOG_ORDERBY","Order of the blogs");
+	define("_MB_XP2_BLOG_NAME","name");
+	define("_MB_XP2_BLOG_COUNT","count");
+	define("_MB_XP2_BLOG_ID","ID");
+
+}
+?>
Index: /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/index.html
===================================================================
--- /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/index.html	(revision 866)
+++ /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/index.html	(revision 866)
@@ -0,0 +1,1 @@
+ <script>history.go(-1);</script>
Index: /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/mail_template/author_newcomment.tpl
===================================================================
--- /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/mail_template/author_newcomment.tpl	(revision 866)
+++ /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/mail_template/author_newcomment.tpl	(revision 866)
@@ -0,0 +1,6 @@
+Hello {X_UNAME}. 
+
+A new comment is contributed in article {XPRESS_POST_TITLE} on contributor {XPRESS_AUTH_NAME}. 
+
+Please access following URL to see this contribution:
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/mail_template/author_newpost.tpl
===================================================================
--- /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/mail_template/author_newpost.tpl	(revision 866)
+++ /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/mail_template/author_newpost.tpl	(revision 866)
@@ -0,0 +1,6 @@
+Hello {X_UNAME}. 
+
+Article {XPRESS_POST_TITLE} on contributor {XPRESS_AUTH_NAME} is contributed. 
+
+Please access following URL to see this contribution:
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/mail_template/category_newcomment.tpl
===================================================================
--- /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/mail_template/category_newcomment.tpl	(revision 866)
+++ /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/mail_template/category_newcomment.tpl	(revision 866)
@@ -0,0 +1,6 @@
+Hello {X_UNAME}. 
+
+A new comment is contributed in article {XPRESS_POST_TITLE} that belongs to category {XPRESS_CAT_TITLE}. 
+
+Please access following URL to see this contribution:
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/mail_template/category_newpost.tpl
===================================================================
--- /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/mail_template/category_newpost.tpl	(revision 866)
+++ /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/mail_template/category_newpost.tpl	(revision 866)
@@ -0,0 +1,6 @@
+Hello {X_UNAME}. 
+
+The article "{XPRESS_POST_TITLE}" is contributed in  {XPRESS_CAT_TITLE} category. 
+
+Please access following URL to see this contribution:
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/mail_template/global_newcomment.tpl
===================================================================
--- /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/mail_template/global_newcomment.tpl	(revision 866)
+++ /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/mail_template/global_newcomment.tpl	(revision 866)
@@ -0,0 +1,6 @@
+Hello {X_UNAME}. 
+
+The comment was contributed in article "{XPRESS_POST_TITLE}" in the {X_MODULE} module. 
+
+Please access following URL to see this contribution:
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/mail_template/global_newpost.tpl
===================================================================
--- /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/mail_template/global_newpost.tpl	(revision 866)
+++ /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/mail_template/global_newpost.tpl	(revision 866)
@@ -0,0 +1,6 @@
+Hello {X_UNAME}. 
+
+ There was new contribution "{XPRESS_POST_TITLE}" in the {X_MODULE} module. 
+
+Please access following URL to see this contribution:
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/mail_template/global_waiting.tpl
===================================================================
--- /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/mail_template/global_waiting.tpl	(revision 866)
+++ /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/mail_template/global_waiting.tpl	(revision 866)
@@ -0,0 +1,3 @@
+Hello {X_UNAME}. 
+
+ The needed approval was contributed in the {X_MODULE} module. 
Index: /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/mail_template/post_editpost.tpl
===================================================================
--- /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/mail_template/post_editpost.tpl	(revision 866)
+++ /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/mail_template/post_editpost.tpl	(revision 866)
@@ -0,0 +1,6 @@
+Hello {X_UNAME}. 
+{X_SITENAME} {X_MODULE}
+The change in the content of the article is done by "{POST_TITLE}". 
+
+Please access following URL to see this article:
+{POST_URL}
Index: /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/mail_template/post_newcomment.tpl
===================================================================
--- /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/mail_template/post_newcomment.tpl	(revision 866)
+++ /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/mail_template/post_newcomment.tpl	(revision 866)
@@ -0,0 +1,6 @@
+Hello {X_UNAME}
+
+A new comment is contributed in specified article {XPRESS_POST_TITLE}.
+
+Please access following URL to see this contribution:
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/main.php
===================================================================
--- /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/main.php	(revision 866)
+++ /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/main.php	(revision 866)
@@ -0,0 +1,6 @@
+<?php
+if( ! defined( 'XP2_MAIN_LANG_INCLUDED' ) ) {
+	define( 'XP2_MAIN_LANG_INCLUDED' , 1 ) ;
+	
+}
+?>
Index: /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/modinfo.php
===================================================================
--- /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/modinfo.php	(revision 866)
+++ /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/language/english/modinfo.php	(revision 866)
@@ -0,0 +1,104 @@
+<?php
+if( ! defined( 'XP2_MODINFO_LANG_INCLUDED' ) ) {
+	define( 'XP2_MODINFO_LANG_INCLUDED' , 1 ) ;
+
+	// The name of this module admin menu
+	define("_MI_XP2_MENU_SYS_INFO","System information");
+	define("_MI_XP2_MENU_BLOCK_ADMIN","blocks/permissions");
+	define("_MI_XP2_MENU_BLOCK_CHECK","blocks check");
+	define("_MI_XP2_MENU_WP_ADMIN","WordPress Admin");
+	define("_MI_XP2_MOD_ADMIN","Module Admin");
+
+	// The name of this module
+	define("_MI_XP2_NAME","blog");
+
+	// A brief description of this module
+	define("_MI_XP2_DESC","WordPress For XOOPS Community");
+
+	// Sub menu titles
+	define("_MI_XP2_MENU_POST_NEW","New Post");
+	define("_MI_XP2_MENU_EDIT","Edit Post");
+	define("_MI_XP2_MENU_ADMIN","WordPress Admin");
+	define("_MI_XP2_MENU_XPRESS","XPressME Setting");
+	define("_MI_XP2_MENU_TO_MODULE","to Modules");
+	define("_MI_XP2_TO_UPDATE","Update");
+
+	// Module Config
+	define("_MI_LIBXML_PATCH","Force a patch for the libxml2 bug in a block");
+	define("_MI_LIBXML_PATCH_DESC","libxml2 Ver 2.70-2.72 have the bug that '<' and '>' are removed. 
+XPressME acquires a version of libxml2 automatically, and it is adapted a patch if it is necessary. 
+When XPressME cannot acquire a version of libxml2, you can let a patch fit it with this option forcibly.");
+	
+	define("_MI_MEMORY_LIMIT","Memory size(MB) at least necessary for module");
+	define("_MI_MEMORY_LIMIT_DESC","Se o memory_limit avaliam de php.ini &eacute; menor que este valor. Tente o re-coloca&ccedil;&atilde;o de memory_limit com ini_set ('memory_limit', Valor);.");
+
+	// Block Name
+	define("_MI_XP2_BLOCK_COMMENTS","Recent Comments");
+	define("_MI_XP2_BLOCK_CONTENT","Recent Posts with content");
+	define("_MI_XP2_BLOCK_POSTS","Recent Post Title");
+	define("_MI_XP2_BLOCK_CALENDER","Calendar");
+	define("_MI_XP2_BLOCK_POPULAR","Popular post list");
+	define("_MI_XP2_BLOCK_ARCHIVE","Archive");
+	define("_MI_XP2_BLOCK_AUTHORS","Author List");
+	define("_MI_XP2_BLOCK_PAGE","Page");
+	define("_MI_XP2_BLOCK_SEARCH","Search");
+	define("_MI_XP2_BLOCK_TAG","Tag Cloud");
+	define("_MI_XP2_BLOCK_CATEGORY","Category");
+	define("_MI_XP2_BLOCK_META","Meta");
+	define("_MI_XP2_BLOCK_SIDEBAR","Sidebar Navigation");
+	define("_MI_XP2_BLOCK_WIDGET","Widget");
+	define("_MI_XP2_BLOCK_ENHANCED","Enhanced");
+	define("_MI_XP2_BLOCK_BLOG_LIST","Blogs List");
+	define("_MI_XP2_BLOCK_GLOBAL_POSTS","Recent Posts(All blogs)");
+	define("_MI_XP2_BLOCK_GLOBAL_COMM","Recent Comments(All blogs)");
+	define("_MI_XP2_BLOCK_GLOBAL_POPU","Popular post(All blogs)");
+
+	// Notify Categories
+	define('_MI_XP2_NOTCAT_GLOBAL', 'ALL');
+	define('_MI_XP2_NOTCAT_GLOBALDSC', 'Notification option in the entire blog');
+	define('_MI_XP2_NOTCAT_CAT', 'Category under selection');
+	define('_MI_XP2_NOTCAT_CATDSC', 'Notification option to category under selection');
+	define('_MI_XP2_NOTCAT_AUTHOR', 'Author who is selecting it'); 
+	define('_MI_XP2_NOTCAT_AUTHORDSC', 'Notification option to author who is selecting it');
+	define('_MI_XP2_NOTCAT_POST', 'Article on display'); 
+	define('_MI_XP2_NOTCAT_POSTDSC', 'Notification option to article on display');
+
+	// Each Notifications
+	define('_MI_XP2_NOTIFY_GLOBAL_WAITING', 'Approval waiting');
+	define('_MI_XP2_NOTIFY_GLOBAL_WAITINGCAP', 'It notifies when the contribution and the edit that requires approving are done. Manager exclusive use');
+	define('_MI_XP2_NOTIFY_GLOBAL_WAITINGSBJ', '[{X_SITENAME}] {X_MODULE}: Approval waiting');
+
+	define('_MI_XP2_NOTIFY_GLOBAL_NEWPOST', 'Contribution of article');
+	define('_MI_XP2_NOTIFY_GLOBAL_NEWPOSTCAP', 'It notifies when the article is contributed in either of the entire this blog. ');
+	define('_MI_XP2_NOTIFY_GLOBAL_NEWPOSTSBJ', '[{XPRESS_BLOG_NAME}]Article: "{XPRESS_POST_TITLE}"');
+
+	define('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENT', 'Comment contribution');
+	define('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENTCAP', 'It notifies when the comment is contributed in either of the entire this blog. ');
+	define('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENTSBJ', '[{XPRESS_BLOG_NAME}]Comment: "{XPRESS_POST_TITLE}"');
+
+	define('_MI_XP2_NOTIFY_CAT_NEWPOST', 'Article contribution to selection category');
+	define('_MI_XP2_NOTIFY_CAT_NEWPOSTCAP', 'It notifies when there is an article contribution in this category.');
+	define('_MI_XP2_NOTIFY_CAT_NEWPOSTSBJ', '[{XPRESS_BLOG_NAME}]Article: "{XPRESS_POST_TITLE}" (Condition:Category="{XPRESS_CAT_TITLE}")');
+
+	define('_MI_XP2_NOTIFY_CAT_NEWCOMMENT', 'Comment contribution to selection category');
+	define('_MI_XP2_NOTIFY_CAT_NEWCOMMENTCAP', 'It notifies when there is a comment contribution in this category. ');
+	define('_MI_XP2_NOTIFY_CAT_NEWCOMMENTSBJ', '[{XPRESS_BLOG_NAME}]Comment: (Article"{XPRESS_POST_TITLE}") (Condition:Category="{XPRESS_CAT_TITLE}")');
+
+	define('_MI_XP2_NOTIFY_AUT_NEWPOST', 'Article contribution by selection contributor');
+	define('_MI_XP2_NOTIFY_AUT_NEWPOSTCAP', 'It notifies when there is an article contribution from this contributor. ');
+	define('_MI_XP2_NOTIFY_AUT_NEWPOSTSBJ', '[{XPRESS_BLOG_NAME}]Article: "{XPRESS_POST_TITLE}" (Condition:Author="{XPRESS_AUTH_NAME}")');
+
+	define('_MI_XP2_NOTIFY_AUT_NEWCOMMENT', 'Comment contribution to selection contributor article');
+	define('_MI_XP2_NOTIFY_AUT_NEWCOMMENTCAP', 'It notifies when the comment contribution is in the article by this contributor. ');
+	define('_MI_XP2_NOTIFY_AUT_NEWCOMMENTSBJ', '[{XPRESS_BLOG_NAME}]Comment: (Article"{XPRESS_POST_TITLE}") (Condition:Author="{XPRESS_AUTH_NAME}")');
+
+	define('_MI_XP2_NOTIFY_POST_EDITPOST', 'Article change');
+	define('_MI_XP2_NOTIFY_POST_EDITPOSTCAP', 'It notifies when there is a change in the article on the display. ');
+	define('_MI_XP2_NOTIFY_POST_EDITPOSTSBJ', '[{XPRESS_BLOG_NAME}]Article: "{XPRESS_POST_TITLE}"Change (Condition:Article specification)');
+
+	define('_MI_XP2_NOTIFY_POST_NEWCOMMENT', 'Comment contribution to article');
+	define('_MI_XP2_NOTIFY_POST_NEWCOMMENTCAP', 'It notifies when the comment is contributed in the article on the display. ');
+	define('_MI_XP2_NOTIFY_POST_NEWCOMMENTSBJ', '[{XPRESS_BLOG_NAME}]Comment: (Article"{XPRESS_POST_TITLE}") (Condition:Article specification)');
+
+}
+?>
Index: /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/wp-config.php
===================================================================
--- /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/wp-config.php	(revision 866)
+++ /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/wp-config.php	(revision 866)
@@ -0,0 +1,88 @@
+<?php
+/** It is an additional loading for XPressME. */
+require_once dirname( __FILE__ ).'/include/add_xpress_config.php' ;
+
+/**
+ * mb_language() sets language. If language  is omitted, it returns current language as string.
+ * language setting is used for encoding e-mail messages. 
+ * Valid languages are "Japanese", "ja","English","en" and "uni" (UTF-8). 
+ * mb_send_mail() uses this setting to encode e-mail.
+ * Language and its setting is ISO-2022-JP/Base64 for Japanese, UTF-8/Base64 for uni, ISO-8859-1/quoted printable for English. 
+ */
+// if (function_exists("mb_language")) mb_language('uni');
+
+
+// ** MySQL settings - You can get this info from your web host ** //
+// Do not change  'DB_NAME','DB_USER','DB_PASSWORD' & 'DB_HOST'
+// because copies a set value of XOOPS. 
+
+/** Do not change. The name of the database for WordPress */
+define('DB_NAME', $xoops_config->xoops_db_name);
+
+/** Do not change. MySQL database username */
+define('DB_USER', $xoops_config->xoops_db_user);
+
+/** Do not change. MySQL database password */
+define('DB_PASSWORD', $xoops_config->xoops_db_pass);
+
+/** Do not change. MySQL hostname */
+define('DB_HOST', $xoops_config->xoops_db_host);
+	
+/** Database Charset to use in creating database tables. */
+define('DB_CHARSET', 'utf8');
+
+/** The Database Collate type. Don't change this if in doubt. */
+define('DB_COLLATE', '');
+
+//define('WP_DEBUG' ,true);
+
+/**#@+
+ * Authentication Unique Keys.
+ *
+ * Change these to different unique phrases!
+ * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/ WordPress.org secret-key service}
+ *
+ * @since 2.6.0
+ */
+define('AUTH_KEY', 'put your unique phrase here');
+define('SECURE_AUTH_KEY', 'put your unique phrase here');
+define('LOGGED_IN_KEY', 'put your unique phrase here');
+define('NONCE_KEY', 'put your unique phrase here');
+define('AUTH_SALT',        'put your unique phrase here');
+define('SECURE_AUTH_SALT', 'put your unique phrase here');
+define('LOGGED_IN_SALT',   'put your unique phrase here');
+define('NONCE_SALT',       'put your unique phrase here');
+
+/**
+ * WordPress Database Table prefix.
+ *
+ * You can have multiple installations in one database if you give each a unique
+ * prefix. Only numbers, letters, and underscores please!
+ */
+// Do not change. $table_prefix is generated from XOOPS DB Priefix and the module directory name. 
+$table_prefix  = $xoops_config->module_db_prefix;
+
+/**
+ * WordPress Localized Language, defaults to English.
+ *
+ * Change this to localize WordPress.  A corresponding MO file for the chosen
+ * language must be installed to wp-content/languages. For example, install
+ * de.mo to wp-content/languages and set WPLANG to 'de' to enable German
+ * language support.
+ *
+ * Example:
+ * define ('WPLANG', '');		// language support to English
+ */
+define ('WPLANG', '');
+
+/* That's all, stop editing! Happy blogging. */
+
+/** WordPress absolute path to the Wordpress directory. */
+if ( !defined('ABSPATH') )
+	define('ABSPATH', dirname(__FILE__).'/');
+
+/** Processing for XPressME is done.*/
+require_once( ABSPATH .'/include/add_xpress_process.php');
+
+require_once(ABSPATH.'wp-settings.php');
+?>
Index: /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/wp-content/plugins/xpressme/language/xpressme-lang.pot
===================================================================
--- /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/wp-content/plugins/xpressme/language/xpressme-lang.pot	(revision 866)
+++ /tags/Ver2.5.4/extras/xpress_i18n/template/xpressme_modules_root/wp-content/plugins/xpressme/language/xpressme-lang.pot	(revision 866)
@@ -0,0 +1,769 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR XPressME
+# This file is distributed under the same license as the XPressME package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: XPressME Plugin\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2010-08-23 09:53+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+#: xpressme.php:59
+msgid "Display Settings"
+msgstr ""
+
+#: xpressme.php:60
+msgid "Integration Settings"
+msgstr ""
+
+#: xpressme.php:61
+msgid "Other Settings"
+msgstr ""
+
+#: xpressme.php:64
+msgid "Upgrade"
+msgstr ""
+
+#: xpressme.php:65
+msgid "to Modules Admin"
+msgstr ""
+
+#: xpressme.php:196
+msgid "XPressME Display Setting"
+msgstr ""
+
+#: xpressme.php:202
+msgid "Thema Sidebar Display"
+msgstr ""
+
+#: xpressme.php:203
+#: xpressme.php:296
+#: xpressme.php:302
+#: xpressme.php:307
+#: xpressme.php:313
+#: xpressme_class.php:470
+#: xpressme_class.php:488
+#: xpressme_class.php:675
+#: xpressme_class.php:686
+#: xpressme_class.php:710
+msgid "YES"
+msgstr ""
+
+#: xpressme.php:204
+#: xpressme.php:297
+#: xpressme.php:303
+#: xpressme.php:308
+#: xpressme.php:314
+#: xpressme_class.php:471
+#: xpressme_class.php:489
+#: xpressme_class.php:676
+#: xpressme_class.php:687
+#: xpressme_class.php:711
+msgid "NO"
+msgstr ""
+
+#: xpressme.php:213
+#: xpressme.php:265
+#: xpressme.php:324
+msgid "Update Config"
+msgstr ""
+
+#: xpressme.php:214
+#: xpressme.php:266
+#: xpressme.php:325
+msgid "Preset Config"
+msgstr ""
+
+#: xpressme.php:247
+msgid "XPressME Integration Setting"
+msgstr ""
+
+#: xpressme.php:251
+msgid "Media Upload Base Path"
+msgstr ""
+
+#: xpressme.php:254
+msgid "Use XOOPS UPLOAD PATH"
+msgstr ""
+
+#: xpressme.php:255
+msgid "USE WordPress BASE_PATH"
+msgstr ""
+
+#: xpressme.php:290
+msgid "XPressME Other Setting"
+msgstr ""
+
+#: xpressme.php:295
+msgid "The change tracking of the post is preserved"
+msgstr ""
+
+#: xpressme.php:301
+msgid "Select Multi user mode"
+msgstr ""
+
+#: xpressme.php:306
+msgid "Is the posts author views counted?"
+msgstr ""
+
+#: xpressme.php:312
+msgid "Is SQL debugging window displayed?"
+msgstr ""
+
+#: xpressme.php:317
+msgid "Select warning display of block file version check"
+msgstr ""
+
+#: xpressme.php:318
+msgid "Do display"
+msgstr ""
+
+#: xpressme.php:319
+msgid "Do not display"
+msgstr ""
+
+#: xpressme_class.php:64
+#: xpressme_class.php:418
+msgid "Older Post"
+msgstr ""
+
+#: xpressme_class.php:65
+#: xpressme_class.php:421
+msgid "Newer Post"
+msgstr ""
+
+#: xpressme_class.php:67
+#: xpressme_class.php:424
+msgid "Older Entries"
+msgstr ""
+
+#: xpressme_class.php:68
+#: xpressme_class.php:427
+msgid "Newer Entries"
+msgstr ""
+
+#: xpressme_class.php:82
+#: xpressme_class.php:83
+#: xpressme_class.php:430
+msgid "Read the rest of this entry &raquo;"
+msgstr ""
+
+#: xpressme_class.php:530
+msgid "Single Post Navi Setting"
+msgstr ""
+
+#: xpressme_class.php:535
+#: xpressme_class.php:610
+msgid "Adjustment of Navi link display position"
+msgstr ""
+
+#: xpressme_class.php:538
+msgid "'Old Post Link' is displayed in the left, and 'Newer Post Link' is displayed in the right"
+msgstr ""
+
+#: xpressme_class.php:539
+msgid "'Newer Post Link' is displayed in the left, and 'Old Post Link' is displayed in the right"
+msgstr ""
+
+#: xpressme_class.php:545
+msgid "Select Display name of PostNavi Link"
+msgstr ""
+
+#: xpressme_class.php:548
+msgid "Title of post"
+msgstr ""
+
+#: xpressme_class.php:549
+msgid "Title of Navi"
+msgstr ""
+
+#: xpressme_class.php:555
+msgid "Display Navi Title of Old Post Link"
+msgstr ""
+
+#: xpressme_class.php:562
+msgid "Display Navi Title of Newer Post Link"
+msgstr ""
+
+#: xpressme_class.php:569
+#: xpressme_class.php:634
+msgid "Left arrow image src"
+msgstr ""
+
+#: xpressme_class.php:574
+#: xpressme_class.php:589
+#: xpressme_class.php:639
+#: xpressme_class.php:652
+msgid "Not Found"
+msgstr ""
+
+#: xpressme_class.php:584
+#: xpressme_class.php:647
+msgid "Right arrow image src"
+msgstr ""
+
+#: xpressme_class.php:605
+msgid "Posts List Page Navi Setting"
+msgstr ""
+
+#: xpressme_class.php:613
+msgid "'Old Page Link' is displayed in the left, and 'Newer Page Link' is displayed in the right"
+msgstr ""
+
+#: xpressme_class.php:614
+msgid "'Newer Page Link' is displayed in the left, and 'Old Page Link' is displayed in the right"
+msgstr ""
+
+#: xpressme_class.php:620
+msgid "Display Navi Title of Old Page Link"
+msgstr ""
+
+#: xpressme_class.php:627
+msgid "Display Navi Title of Newer Page Link"
+msgstr ""
+
+#: xpressme_class.php:666
+msgid "Dashboard feed Display Setting"
+msgstr ""
+
+#: xpressme_class.php:672
+msgid "Display XPressMe Integration Kit Blog"
+msgstr ""
+
+#: xpressme_class.php:683
+msgid "Display XPressMe Integration Kit Forum"
+msgstr ""
+
+#: xpressme_class.php:701
+msgid "Role Setting at Login"
+msgstr ""
+
+#: xpressme_class.php:707
+msgid "XOOPS administrators role is set as all blog administrators."
+msgstr ""
+
+#: xpressme_class.php:716
+msgid "XOOPS Groupe"
+msgstr ""
+
+#: xpressme_class.php:716
+msgid "WordPress Role"
+msgstr ""
+
+#: xpressme_class.php:716
+msgid "Role is set at each login"
+msgstr ""
+
+#: xpressme_class.php:721
+msgid "module cannot be read"
+msgstr ""
+
+#: xpressme_class.php:762
+#: xpressme_class.php:766
+#: xpressme_class.php:769
+msgid "Default Role of WordPress"
+msgstr ""
+
+#: xpressme_class.php:763
+#: xpressme_class.php:767
+#: xpressme_class.php:770
+msgid "Group User Doesn't Register"
+msgstr ""
+
+#: xpressme_class.php:783
+msgid "Only the Admin can set Group Role Setting"
+msgstr ""
+
+#: xpressme_class.php:805
+msgid "WordPress MultiBlog cannot integrate the comments."
+msgstr ""
+
+#: xpressme_class.php:807
+msgid "Do Not Comment Integration."
+msgstr ""
+
+#: xpressme_class.php:842
+msgid "Create New Forum"
+msgstr ""
+
+#: xpressme_class.php:854
+msgid "Comment integration with D3Forum"
+msgstr ""
+
+#: xpressme_class.php:856
+msgid "Select the forum of D3Forum that does the comment integration from the following lists."
+msgstr ""
+
+#: xpressme_class.php:861
+msgid "Select the Type of display of D3Forum comment."
+msgstr ""
+
+#: xpressme_class.php:863
+#: xpressme_class.php:866
+msgid "Flat"
+msgstr ""
+
+#: xpressme_class.php:864
+#: xpressme_class.php:867
+msgid "Threaded"
+msgstr ""
+
+#: xpressme_class.php:870
+msgid "Select the order of display of D3Forum comment."
+msgstr ""
+
+#: xpressme_class.php:872
+#: xpressme_class.php:875
+msgid "DESC"
+msgstr ""
+
+#: xpressme_class.php:873
+#: xpressme_class.php:876
+msgid "ASC"
+msgstr ""
+
+#: xpressme_class.php:879
+msgid "Number of displays of D3Forum comments."
+msgstr ""
+
+#: xpressme_class.php:882
+msgid "The import and the export between Wordpress Comments and the D3Forum Posts can be done. "
+msgstr ""
+
+#: xpressme_class.php:883
+msgid "Export to D3Forum"
+msgstr ""
+
+#: xpressme_class.php:884
+msgid "Import from D3Forum"
+msgstr ""
+
+#: xpressme_class.php:897
+msgid "Contents Excerpt Setting"
+msgstr ""
+
+#: xpressme_class.php:902
+msgid "Is the excerpt display done with the archive of contents?"
+msgstr ""
+
+#: xpressme_class.php:909
+msgid "When ASCII character more than the set ratio is included, it is judged ASCII contents. "
+msgstr ""
+
+#: xpressme_class.php:916
+msgid "Excerpt length of word for ASCII contents"
+msgstr ""
+
+#: xpressme_class.php:923
+msgid "Excerpt length of character for multibyte contents"
+msgstr ""
+
+#: xpressme_class.php:930
+msgid "This text is displayed in the link that reads contents not excerpted.(Is not displayed for the blank.)"
+msgstr ""
+
+#: xpressme_class.php:937
+msgid "This text is displayed in the link that more tag (&lt;!--more--&gt;). "
+msgstr ""
+
+#: xpressme_class.php:949
+msgid "Display Mode Setting"
+msgstr ""
+
+#: xpressme_class.php:952
+msgid "Select the XPressME Display Mode."
+msgstr ""
+
+#: xpressme_class.php:957
+msgid "Xoops Mode"
+msgstr ""
+
+#: xpressme_class.php:961
+msgid "WordPress Mode"
+msgstr ""
+
+#: xpressme_class.php:965
+msgid "User select"
+msgstr ""
+
+#: xpressme_class.php:970
+msgid "Select the theme used in the XOOPS Mode."
+msgstr ""
+
+#: xpressme_class.php:975
+msgid "Use WordPress Selected Themes"
+msgstr ""
+
+#: xpressme_class.php:993
+msgid "Header Meta Option"
+msgstr ""
+
+#: xpressme_class.php:998
+msgid "Select the Header keyword."
+msgstr ""
+
+#: xpressme_class.php:1003
+msgid "Xoops KeyWord"
+msgstr ""
+
+#: xpressme_class.php:1006
+msgid "WordPress KeyWord"
+msgstr ""
+
+#: xpressme_class.php:1009
+msgid "WordPress & Xoops KeyWord"
+msgstr ""
+
+#: xpressme_class.php:1015
+msgid "Select the Header Description."
+msgstr ""
+
+#: xpressme_class.php:1020
+msgid "Xoops Description"
+msgstr ""
+
+#: xpressme_class.php:1023
+msgid "WordPress Description"
+msgstr ""
+
+#: xpressme_class.php:1026
+msgid "WordPress & Xoops Description"
+msgstr ""
+
+#: xpressme_class.php:1032
+msgid "Select the Header Robots Index."
+msgstr ""
+
+#: xpressme_class.php:1037
+msgid "Xoops Robots Index"
+msgstr ""
+
+#: xpressme_class.php:1040
+msgid "WordPress Robots Index"
+msgstr ""
+
+#: xpressme_class.php:1086
+#, php-format
+msgid "Unable to create directory %s. Is its parent directory writable by the server?"
+msgstr ""
+
+#: xpressme_widget_class.php:17
+msgid "XPressME User Menu Widget"
+msgstr ""
+
+#: xpressme_widget_class.php:19
+msgid "XPressME MENU"
+msgstr ""
+
+#: xpressme_widget_class.php:143
+#: xpressme_widget_class.php:195
+#: xpressme_widget_class.php:200
+#: xpressme_widget_class.php:205
+msgid "Link"
+msgstr ""
+
+#: xpressme_widget_class.php:144
+#: xpressme_widget_class.php:160
+msgid "Site Home"
+msgstr ""
+
+#: xpressme_widget_class.php:145
+#: xpressme_widget_class.php:165
+msgid "Add New"
+msgstr ""
+
+#: xpressme_widget_class.php:146
+#: xpressme_widget_class.php:170
+msgid "User Profile"
+msgstr ""
+
+#: xpressme_widget_class.php:147
+#: xpressme_widget_class.php:176
+msgid "WordPress Admin"
+msgstr ""
+
+#: xpressme_widget_class.php:148
+#: xpressme_widget_class.php:181
+msgid "Module Admin"
+msgstr ""
+
+#: xpressme_widget_class.php:149
+#: xpressme_widget_class.php:186
+msgid "XPressME Setting"
+msgstr ""
+
+#: xpressme_widget_class.php:150
+msgid "Display Mode Select"
+msgstr ""
+
+#: xpressme_widget_class.php:152
+#: xpressme_widget_class.php:171
+msgid "Auto Setting"
+msgstr ""
+
+#: xpressme_widget_class.php:157
+msgid "User Menu"
+msgstr ""
+
+#: xpressme_widget_class.php:245
+msgid "Title:"
+msgstr ""
+
+#: include/custom_functions.php:113
+#, php-format
+msgid "Permanent Link to %s"
+msgstr ""
+
+#: include/custom_functions.php:498
+#: include/custom_functions.php:531
+#, php-format
+msgid "views :%d"
+msgstr ""
+
+#: include/custom_functions.php:695
+msgid "Main"
+msgstr ""
+
+#: include/custom_functions.php:698
+#, php-format
+msgid "Archive for the &#8216;%s&#8217; Category"
+msgstr ""
+
+#: include/custom_functions.php:701
+#, php-format
+msgid "Posts Tagged &#8216;%s&#8217;"
+msgstr ""
+
+#: include/custom_functions.php:704
+#, php-format
+msgid "Archive for %s|Daily archive page"
+msgstr ""
+
+#: include/custom_functions.php:704
+msgid "F jS, Y"
+msgstr ""
+
+#: include/custom_functions.php:706
+#, php-format
+msgid "Archive for %s|Monthly archive page"
+msgstr ""
+
+#: include/custom_functions.php:706
+msgid "F, Y"
+msgstr ""
+
+#: include/custom_functions.php:708
+#, php-format
+msgid "Archive for %s|Yearly archive page"
+msgstr ""
+
+#: include/custom_functions.php:708
+msgid "Y"
+msgstr ""
+
+#: include/custom_functions.php:711
+#, php-format
+msgid "Archive for the &#8216;%s&#8217; Author"
+msgstr ""
+
+#: include/custom_functions.php:714
+#, php-format
+msgid "Search Results of word &#8216;%s&#8217;"
+msgstr ""
+
+#: include/custom_functions.php:720
+#: include/custom_functions.php:722
+#, php-format
+msgid "Article of %s"
+msgstr ""
+
+#: include/custom_functions.php:744
+#, php-format
+msgid "From %1$s on site %2$s"
+msgstr ""
+
+#: include/custom_functions.php:765
+msgid "No Trackback/Pingback"
+msgstr ""
+
+#: include/custom_functions.php:766
+msgid "One Trackback/Pingback"
+msgstr ""
+
+#: include/custom_functions.php:767
+msgid "% TrackBack/Pingback"
+msgstr ""
+
+#: include/custom_functions.php:945
+msgid "Tags:"
+msgstr ""
+
+#: include/custom_functions.php:988
+msgid "Comments (0)"
+msgstr ""
+
+#: include/custom_functions.php:988
+msgid "Comments (1)"
+msgstr ""
+
+#: include/custom_functions.php:988
+msgid "Comments (%)"
+msgstr ""
+
+#: include/custom_functions.php:992
+#, fuzzy, php-format
+msgid "Views :%d"
+msgstr ""
+
+#: include/custom_functions.php:1070
+msgid "Create New Blog"
+msgstr ""
+
+#: include/custom_functions.php:1096
+msgid "Your Primary Blog"
+msgstr ""
+
+#: include/dashboard_feed.php:19
+msgid "XPressME Integration Kit Blog"
+msgstr ""
+
+#: include/dashboard_feed.php:32
+msgid "XPressME Integration Kit Folum"
+msgstr ""
+
+#: include/dashboard_feed.php:92
+msgid "Unknown Feed"
+msgstr ""
+
+#: include/functions_for_wp_old.php:21
+msgid "<strong>ERROR</strong>: The password field is empty."
+msgstr ""
+
+#: include/functions_for_wp_old.php:29
+msgid "<strong>ERROR</strong>: Invalid username."
+msgstr ""
+
+#: include/functions_for_wp_old.php:37
+msgid "<strong>ERROR</strong>: Incorrect password."
+msgstr ""
+
+#: include/pluggable-override.php:265
+#, php-format
+msgid "If the page does not automatically reload, please click <a href='%s'>here</a>"
+msgstr ""
+
+#: include/xpress_common_functions.php:8
+msgid "After Blog address (URL) is set, it is necessary to set the permalink again."
+msgstr ""
+
+#: include/xpress_common_functions.php:9
+msgid "Can not access WordPress address (URL)."
+msgstr ""
+
+#: include/xpress_common_functions.php:10
+msgid "WordPress Blog address (URL) is different from access URL."
+msgstr ""
+
+#: include/xpress_common_functions.php:210
+msgid "Themes"
+msgstr ""
+
+#: include/xpress_common_functions.php:225
+msgid "Switch to XOOPS mode"
+msgstr ""
+
+#: include/xpress_common_functions.php:229
+#: include/xpress_common_functions.php:232
+msgid "Switch to WordPress mode"
+msgstr ""
+
+#: include/xpress_common_functions.php:390
+#, php-format
+msgid "Block file %1$s is an old version %2$s.<br />used block file %3$s of new version %4$s."
+msgstr ""
+
+#: include/xpress_upgrade.php:13
+msgid "XPressME Upgrade"
+msgstr ""
+
+#: include/xpress_upgrade.php:27
+#, php-format
+msgid "You are using a XPressME Integration Kit development version (%1$s). Cool! Please <a href=\"%2$s\">stay updated</a>."
+msgstr ""
+
+#: include/xpress_upgrade.php:31
+msgid "There is a new version of XPressME Integration Kit available for upgrade"
+msgstr ""
+
+#: include/xpress_upgrade.php:33
+#, php-format
+msgid "You can upgrade to version %s download the package and install it manually:"
+msgstr ""
+
+#: include/xpress_upgrade.php:36
+#: include/xpress_upgrade.php:60
+#, php-format
+msgid "Download %s"
+msgstr ""
+
+#: include/xpress_upgrade.php:41
+#: include/xpress_upgrade.php:68
+#, php-format
+msgid "You can download the differential file from version %s to %s and upgrade it manually:"
+msgstr ""
+
+#: include/xpress_upgrade.php:44
+#: include/xpress_upgrade.php:71
+#, php-format
+msgid "Download differential file for %s"
+msgstr ""
+
+#: include/xpress_upgrade.php:48
+msgid "You have the latest version of XPressME Integration Kit. You do not need to upgrade"
+msgstr ""
+
+#: include/xpress_upgrade.php:57
+#, php-format
+msgid "You can use the development version %s download the package and install it manually:"
+msgstr ""
+
+#: include/xpress_upgrade.php:78
+#, php-format
+msgid "There is no response from <a href=\"%s\">version check API</a> now. sorry, please confirm it after."
+msgstr ""
+
+#: include/xpress_upgrade.php:235
+#, php-format
+msgid "XPressME Integration Kit Version %1$s is available! <a href=\"%2$s\">Please update now</a>."
+msgstr ""
+
+#: include/xpress_upgrade.php:237
+#, php-format
+msgid "XPressME Integration Kit Version %1$s is available! Please notify the site administrator."
+msgstr ""
+
+#~ msgid "Title"
+#~ msgstr ""
+#~ msgid "URL"
+#~ msgstr ""
+#~ msgid "more"
+#~ msgstr ""
+#~ msgid "More Link Text (Is not displayed for the blank.)"
+#~ msgstr ""
+#~ msgid "Calendar"
+#~ msgstr ""
+#~ msgid "%1$s %2$s|Used as a calendar caption"
+#~ msgstr ""
+#~ msgid "View posts for %1$s %2$s"
+#~ msgstr ""
+#~ msgid "XPressME Configuration Page"
+#~ msgstr ""
+
Index: /tags/Ver2.5.4/xpressme_integration_kit/admin/admin_blocks.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/admin/admin_blocks.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/admin/admin_blocks.php	(revision 866)
@@ -0,0 +1,17 @@
+<?php 
+
+include_once('./../../../include/cp_header.php');
+
+global $xoopsModule;
+$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+$module_dir = $mydirname;
+//$module_dir = $xoopsModule->getInfo('dirname');
+
+if (file_exists(XOOPS_ROOT_PATH . '/modules/altsys/admin/index.php')){
+	header("Location: ".XOOPS_URL."/modules/altsys/admin/index.php?mode=admin&lib=altsys&page=myblocksadmin&dirname=$module_dir");	
+} else if (file_exists(XOOPS_ROOT_PATH . '/modules/legacy/admin/index.php')){
+	header("Location: ".XOOPS_URL."/modules/legacy/admin/index.php?action=BlockList");	
+} else {
+	header("Location: ".XOOPS_URL."/modules/system/admin.php?fct=blocksadmin&selmod=".$xoopsModule->getVar("mid"));
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/admin/block_check.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/admin/block_check.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/admin/block_check.php	(revision 866)
@@ -0,0 +1,126 @@
+<?php 
+// $Id: xoops_version.php,v 1.8 2005/06/03 01:35:02 phppp Exp $
+//  ------------------------------------------------------------------------ //
+//                XOOPS - PHP Content Management System                      //
+//                    Copyright (c) 2000 XOOPS.org                           //
+//                       <http://www.xoops.org/>                             //
+//  ------------------------------------------------------------------------ //
+//  This program is free software; you can redistribute it and/or modify     //
+//  it under the terms of the GNU General Public License as published by     //
+//  the Free Software Foundation; either version 2 of the License, or        //
+//  (at your option) any later version.                                      //
+//                                                                           //
+//  You may not change or alter any portion of this comment or credits       //
+//  of supporting developers from this source code or any supporting         //
+//  source code which is considered copyrighted (c) material of the          //
+//  original comment or credit authors.                                      //
+//                                                                           //
+//  This program is distributed in the hope that it will be useful,          //
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
+//  GNU General Public License for more details.                             //
+//                                                                           //
+//  You should have received a copy of the GNU General Public License        //
+//  along with this program; if not, write to the Free Software              //
+//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
+//  ------------------------------------------------------------------------ //
+// Author: phppp (D.J.)                                                      //
+// URL: http://xoopsforge.com, http://xoops.org.cn                           //
+// ------------------------------------------------------------------------- //
+//include_once 'cp_functions.php';
+$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+require_once '../../../include/cp_header.php' ;
+//require_once '../include/gtickets.php' ;
+//define( '_MYMENU_CONSTANT_IN_MODINFO' , '_MI_TELLAFRIEND_MODNAME' ) ;
+
+// branch for altsys
+if( defined( 'XOOPS_TRUST_PATH' ) && ! empty( $_GET['lib'] ) ) {
+	$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+	$mydirpath = dirname( dirname( __FILE__ ) ) ;
+
+	// common libs (eg. altsys)
+	$lib = preg_replace( '/[^a-zA-Z0-9_-]/' , '' , $_GET['lib'] ) ;
+	$page = preg_replace( '/[^a-zA-Z0-9_-]/' , '' , @$_GET['page'] ) ;
+	
+	if( file_exists( XOOPS_TRUST_PATH.'/libs/'.$lib.'/'.$page.'.php' ) ) {
+		include XOOPS_TRUST_PATH.'/libs/'.$lib.'/'.$page.'.php' ;
+	} else if( file_exists( XOOPS_TRUST_PATH.'/libs/'.$lib.'/index.php' ) ) {
+		include XOOPS_TRUST_PATH.'/libs/'.$lib.'/index.php' ;
+	} else {
+		die( 'wrong request' ) ;
+	}
+	exit ;
+}
+
+//include_once('./menu.php');
+//include_once('./../../../include/cp_header.php');
+xoops_cp_header();
+include( './mymenu.php' ) ;
+
+include_once(dirname(__FILE__) . '/../class/check_blocks_class.php');
+
+//BLOCK CHECK
+echo "<fieldset><legend style='font-weight: bold; color: #900;'>" . 'Check ' . $mydirname . ' block table' . "</legend>";
+echo "<div style='padding: 8px;'>";
+
+$xoops_block_check =& xoops_block_check::getInstance();
+
+if ( !$xoops_block_check->is_admin() )
+{
+	include XOOPS_ROOT_PATH.'/footer.php';
+	exit();
+}
+
+switch ( $xoops_block_check->get_op() ) 
+{
+case "remove_all_block":
+	echo $xoops_block_check->remove_all_block();
+	break;
+case "remove_block":
+	echo $xoops_block_check->remove_block();
+	break;
+default:
+	if ($xoops_block_check->check_blocks($mydirname)){
+			echo $xoops_block_check->get_message();
+			echo "<br /><br />";
+			echo _AM_XP2_BLOCK_OK ;
+	} else {
+
+			echo $xoops_block_check->get_message();
+			echo "<br /><br />\n";
+			echo _AM_XP2_BLOCK_NG."<br />\n";
+			echo _AM_XP2_BLOCK_REPAIR_HOWTO."<br />\n"; 
+			echo '<form method="POST">'."\n";
+			echo _AM_XP2_BLOCK_REPAIR_STEP1 .' : <br />'."\n"; 
+			echo '&emsp;&emsp;&emsp;&emsp;&nbsp;';
+			echo '<input type="submit" name="mid:'.$xoops_block_check->module_id.'" value="' . _AM_XP2_NG_BLOCK_REMOVE . ': '.$xoops_block_check->module_name.'" />'."<br />\n";
+			echo '&emsp;&emsp;&emsp;&nbsp;' . _AM_XP2_BLOCK_OR . '<br />'."\n";
+			echo '&emsp;&emsp;&emsp;&emsp;&nbsp;';
+			echo '<input type="submit" name="amid:'.$xoops_block_check->module_id.'" value="' . _AM_XP2_BLOCK_REMOVE . ': '.$xoops_block_check->module_name.'" />'."<br />\n";
+			echo '<br />'."\n";
+			echo '&emsp;&emsp;&emsp;&nbsp;' . _AM_XP2_BLOCK_REMOVE_NOTE;
+			echo "</form>\n";
+			echo "<br />\n";
+			echo _AM_XP2_BLOCK_REPAIR_STEP2 . ' : ' . _AM_XP2_BLOCK_UPDATE . "<br />\n";
+			echo '&emsp;&emsp;&emsp;&emsp;&nbsp;';
+			echo '<a href="'.$xoops_block_check->update_link.'">' .$xoops_block_check->module_name . ' ' . _AM_XP2_TO_MODELE_UPDATE .'</a>';
+			echo "<br />\n";
+			echo "<br />\n";
+			
+			echo _AM_XP2_BLOCK_REPAIR_STEP3 . ' : ' . _AM_XP2_BLOCK_ADMIN_SETTING . "<br />\n";
+			echo '&emsp;&emsp;&emsp;&emsp;&nbsp;';
+			echo '<a href="admin_blocks.php">' .$xoops_block_check->module_name . ' ' . _AM_XP2_BLOCK_TO_SETTING .'</a>';
+			echo "<br />\n";
+	}
+	break;
+
+}
+
+//if ( $xoops_block_check->get_xoops_version() == '2.1' ) {
+//	$xoopsTpl->assign( 'xoops_contents', $cont );
+//} else {
+//}
+echo "</fieldset>";
+xoops_cp_footer();
+	
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/admin/index.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/admin/index.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/admin/index.php	(revision 866)
@@ -0,0 +1,838 @@
+<?php 
+// $Id: xoops_version.php,v 1.8 2005/06/03 01:35:02 phppp Exp $
+//  ------------------------------------------------------------------------ //
+//                XOOPS - PHP Content Management System                      //
+//                    Copyright (c) 2000 XOOPS.org                           //
+//                       <http://www.xoops.org/>                             //
+//  ------------------------------------------------------------------------ //
+//  This program is free software; you can redistribute it and/or modify     //
+//  it under the terms of the GNU General Public License as published by     //
+//  the Free Software Foundation; either version 2 of the License, or        //
+//  (at your option) any later version.                                      //
+//                                                                           //
+//  You may not change or alter any portion of this comment or credits       //
+//  of supporting developers from this source code or any supporting         //
+//  source code which is considered copyrighted (c) material of the          //
+//  original comment or credit authors.                                      //
+//                                                                           //
+//  This program is distributed in the hope that it will be useful,          //
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
+//  GNU General Public License for more details.                             //
+//                                                                           //
+//  You should have received a copy of the GNU General Public License        //
+//  along with this program; if not, write to the Free Software              //
+//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
+//  ------------------------------------------------------------------------ //
+// Author: phppp (D.J.)                                                      //
+// URL: http://xoopsforge.com, http://xoops.org.cn                           //
+// ------------------------------------------------------------------------- //
+//include_once 'cp_functions.php';
+
+function admin_check_user_meta_prefix($is_report = false){
+	global $xoopsModule;
+	$xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection();
+	
+	$mydirname = basename(dirname(dirname(__FILE__)));
+	$my_dirpath = dirname(dirname(__FILE__));
+	$wp_prefix_only = preg_replace('/wordpress/','wp',$mydirname);
+	$db_prefix = $xoopsDB->prefix($wp_prefix_only);
+
+	$usermeta_tbl = $db_prefix . '_usermeta';	
+	$meta_key_pattern = '_' . $wp_prefix_only . '_';
+
+	$sql = "SELECT count(umeta_id) as data_count ,meta_key FROM $usermeta_tbl GROUP BY meta_key HAVING meta_key LIKE '%" . $meta_key_pattern ."%'" ;
+	$res =  $xoopsDB->query($sql, 0, 0);
+	
+	if ($res === false){
+		$check_str = _AM_XP2_USER_META_NONE . "<br />\n";
+	} else {
+		$error =false;
+		$check_str = '';
+		while($row = $xoopsDB->fetchArray($res)){
+			$data_count  = $row['data_count'];
+			$meta_key = $row['meta_key'];
+			if ( !preg_match('/^'.$db_prefix. '_.*/',$meta_key , $maches)){
+				$check_str .= sprintf(_AM_XP2_USER_META_ERR , $meta_key,$data_count) ."<br /> \n";
+				$error = true;
+			}
+		}
+		if (!$error)
+			$check_str = _AM_XP2_USER_META_OK ;
+	}
+	if ($is_report) {
+		echo "******** "  . _AM_XP2_USER_META_KEY . "********" . "<br />\n";
+		echo $check_str . "<br />\n<br />\n";
+	} else {
+		echo "<fieldset><legend style='font-weight: bold; color: #900;'>" . _AM_XP2_USER_META_KEY . "</legend>";
+		echo "<div style='padding: 8px;'>";
+		echo $check_str;
+		echo "</div>";
+		echo '</legend>';
+		echo "</fieldset><br />";
+	}
+
+}
+
+function get_xpress_plugin_data( $plugin_file, $markup = true, $translate = true ) {
+	// We don't need to write to the file, so just open for reading.
+	$fp = fopen($plugin_file, 'r');
+
+	// Pull only the first 8kiB of the file in.
+	$plugin_data = fread( $fp, 8192 );
+
+	// PHP will close file handle, but we are good citizens.
+	fclose($fp);
+
+	preg_match( '|Plugin Name:(.*)$|mi', $plugin_data, $name );
+	preg_match( '|Plugin URI:(.*)$|mi', $plugin_data, $uri );
+	preg_match( '|Version:(.*)|i', $plugin_data, $version );
+	preg_match( '|Description:(.*)$|mi', $plugin_data, $description );
+	preg_match( '|Author:(.*)$|mi', $plugin_data, $author_name );
+	preg_match( '|Author URI:(.*)$|mi', $plugin_data, $author_uri );
+	preg_match( '|Text Domain:(.*)$|mi', $plugin_data, $text_domain );
+	preg_match( '|Domain Path:(.*)$|mi', $plugin_data, $domain_path );
+
+	foreach ( array( 'name', 'uri', 'version', 'description', 'author_name', 'author_uri', 'text_domain', 'domain_path' ) as $field ) {
+		if ( !empty( ${$field} ) )
+			${$field} = trim(${$field}[1]);
+		else
+			${$field} = '';
+	}
+
+	$plugin_data = array(
+				'Name' => $name, 'Title' => $name, 'PluginURI' => $uri, 'Description' => $description,
+				'Author' => $author_name, 'AuthorURI' => $author_uri, 'Version' => $version,
+				'TextDomain' => $text_domain, 'DomainPath' => $domain_path
+				);
+//	if ( $markup || $translate )
+//		$plugin_data = _get_plugin_data_markup_translate($plugin_data, $markup, $translate);
+	return $plugin_data;
+}
+
+
+function get_xpress_active_plugin_list($before_str = '')
+{
+	global $xoopsModule;
+	$xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection();
+	
+	$mydirname = basename(dirname(dirname(__FILE__)));
+	$my_dirpath = dirname(dirname(__FILE__));
+	$prefix = preg_replace('/wordpress/','wp',$mydirname);
+	$wp_prefix = $xoopsDB->prefix($prefix);
+
+	$option_table = $wp_prefix . '_options';
+	
+	$sql = "SELECT option_value FROM $option_table WHERE option_name = 'active_plugins'";
+	$res =  $xoopsDB->query($sql, 0, 0);
+	if ($res === false){
+	    return ;
+	} else {
+		$row = $xoopsDB->fetchArray($res);
+		$active_plugins = @unserialize($row['option_value']);
+		$output = '';
+		foreach($active_plugins as $active_plugin_path){
+			$file_name =  $my_dirpath . '/wp-content/plugins/' . $active_plugin_path;
+			$active_plugin = get_xpress_plugin_data($file_name);
+			$output .= $before_str . $active_plugin['Name'] . ':   Version ' . $active_plugin['Version'] . ':  (' .$active_plugin['PluginURI'] . ')<br />';
+		}
+		
+		
+		return $output;
+	}
+
+	
+}
+
+function xpress_active_plugin_list($is_report = false)
+{
+	if ($is_report) {
+		echo "******** "  . _AM_XP2_PLUGIN . "********" . "<br />\n";
+		echo get_xpress_active_plugin_list('') . "<br />\n";
+	} else {
+		echo "<fieldset><legend style='font-weight: bold; color: #900;'>" . _AM_XP2_PLUGIN . "</legend>";
+		echo "<div style='padding: 8px;'>";
+		echo get_xpress_active_plugin_list();
+		echo "</div>";
+		echo '</legend>';
+		echo "</fieldset><br />";
+	}
+}
+
+function xpress_sys_info($is_report = false)
+{
+	global $xoopsModule;
+	include(dirname(__FILE__) . '/../wp-includes/version.php');
+	require_once dirname(dirname( __FILE__ )).'/include/memory_limit.php' ;
+	$db =& XoopsDatabaseFactory::getDatabaseConnection();
+
+	if ($is_report) {
+		echo "******** "  . _AM_XP2_SYSTEM_INFO . "********" . "<br />\n";
+		echo "SERVER:  ". $_SERVER['SERVER_SOFTWARE']. "<br />\n";
+		echo "PHP Version:   " . phpversion() . "<br />\n";
+		echo 'libxml Version:  ';
+		if (defined('LIBXML_DOTTED_VERSION')) echo LIBXML_DOTTED_VERSION ; else echo "Can't detect.";
+		echo "<br />\n";;
+		echo "MySQL Version:   " . mysqli_get_server_info($db->conn) . "</text><br />";
+		echo "XOOPS Version:   " . XOOPS_VERSION . "</text><br />";
+		echo "XPressME Version:   " . $xoopsModule->getInfo('version') . ' ' . $xoopsModule->getInfo('codename') . "<br />\n";
+		echo "WordPress Version:   " . $wp_version . "<br />\n";
+		echo "WP DB Version:   " . $wp_db_version . "<br />\n";
+		echo "<br />\n";
+		echo "safemode:   " ;
+		echo ( ini_get( 'safe_mode' ) ) ? "ON" : "OFF";
+		echo "<br />\n";
+		echo "register_globals:   " ;
+		echo ( ini_get( 'register_globals' )) ? "ON" : "OFF" ;
+		echo "<br />\n";
+		echo "allow_url_fopen:   " ;
+		echo ( ini_get( 'allow_url_fopen' )) ? "ON" : "OFF" ;
+		echo "<br />\n";
+		echo "magic_quotes_gpc:   " ;
+		echo ( ini_get( 'magic_quotes_gpc' )) ? "ON" : "OFF";
+		echo "<br />\n";
+		echo "XML extension:   " ;
+		echo ( extension_loaded( 'xml' )) ? "ON" : "OFF";
+		echo "<br />\n";
+		echo "default memory_limit:   " ;
+		echo  ini_get( 'memory_limit' );
+		echo "<br />\n";
+		xpress_set_memory_limmit();
+		echo "change memory_limit:   " ;
+		echo  ini_get( 'memory_limit' );
+		echo "<br />\n";
+		
+		echo "post_max_size:   " ;
+		echo  ini_get( 'post_max_size' );
+		echo "<br />\n";
+		echo "upload_max_filesize:   " ;
+		echo  ini_get( 'upload_max_filesize' );
+		echo "<br />\n";
+		echo "display_errors:   " ;
+		echo ( ini_get( 'display_errors' )) ? "ON" : "OFF";
+		echo "<br />\n";
+		echo "MB extension:   " ;
+		echo ( extension_loaded( 'mbstring' )) ? "ON" : "OFF";
+		echo "<br />\n";
+		echo "mbstring.language:   " ;
+		echo  ini_get( 'mbstring.language' );
+		echo "<br />\n";
+		echo "mbstring.encoding_translation:   " ;
+		echo  ( ini_get( 'mbstring.encoding_translation' )) ? "ON" : "OFF";
+		echo "<br />\n";
+		echo "mbstring.internal_encoding:   " ;
+		echo  ini_get( 'mbstring.internal_encoding' );
+		echo "<br />\n";
+		echo "mbstring.http_input:   " ;
+		echo  ini_get( 'mbstring.http_input' );
+		echo "<br />\n";
+		echo "mbstring.http_output:   " ;
+		echo  ini_get( 'mbstring.http_output' );
+		echo "<br />\n";
+		echo "mbstring.detect_order:   " ;
+		echo  ini_get( 'mbstring.detect_order' );
+		echo "<br />\n";
+		echo "mbstring.substitute_character:   " ;
+		echo  ini_get( 'mbstring.substitute_character' );
+		echo "<br />\n";
+		echo "mbstring.func_overload:   " ;
+		echo  ( ini_get( 'mbstring.func_overload' )) ? "ON" : "OFF";
+		echo "<br />\n";
+		echo "<br />\n";
+	} else {
+		echo "<fieldset><legend style='font-weight: bold; color: #900;'>" . _AM_XP2_SYSTEM_INFO . "</legend>";
+		echo "<div style='padding: 8px;'>";
+		echo "<label>" . "<strong>SERVER:</strong>" . ":</label><text>" . $_SERVER['SERVER_SOFTWARE'] . "</text><br />";
+		echo "<label>" . "<strong>PHP Version:</strong>" . ":</label><text>" . phpversion() . "</text><br />";
+		echo "<label>" . "<strong>libxml Version:</strong>" . ":</label><text>";
+		if (defined('LIBXML_DOTTED_VERSION')) echo LIBXML_DOTTED_VERSION ; else echo "Can't detect.";
+		echo "</text><br />";
+		echo "<label>" . "<strong>MySQL Version:</strong>" . ":</label><text>" . mysqli_get_server_info($db->conn) . "</text><br />";
+		echo "<label>" . "<strong>XOOPS Version:</strong>" . ":</label><text>" . XOOPS_VERSION . "</text><br />";
+		echo "<label>" . "<strong>XPressME Version:</strong>" . ":</label><text>" . $xoopsModule->getInfo('version') . ' ' . $xoopsModule->getInfo('codename') . "</text><br />";
+		echo "<label>" . "<strong>WordPress Version:</strong>" . ":</label><text>" . $wp_version . "</text><br />";
+		echo "<label>" . "<strong>WP DB Version:</strong>" . ":</label><text>" . $wp_db_version . "</text><br />";
+
+		echo "</div>";
+		echo "<div style='padding: 8px;'>";
+		echo "<label>safemode:</label><text>";
+		echo ( ini_get( 'safe_mode' ) ) ? "ON" : "OFF";
+		echo "</text><br />";
+		echo "<label>register_globals:</label><text>";
+		echo ( ini_get( 'register_globals' )) ? "ON" : "OFF";
+		echo "</text><br />";
+		echo "<label>allow_url_fopen:</label><text>";
+		echo ( ini_get( 'allow_url_fopen' )) ? "ON" : "OFF";
+		echo "</text><br />";
+		echo "<label>magic_quotes_gpc:</label><text>";
+		echo ( ini_get( 'magic_quotes_gpc' )) ? "ON" : "OFF";
+		echo "</text><br />";
+		echo "<label>XML extension:</label><text>";
+		echo ( extension_loaded( 'xml' )) ? "ON" : "OFF";
+		echo "</text><br />";
+		echo "<label>default memory_limit:</label><text>";
+		echo  ini_get( 'memory_limit' );
+		echo "</text><br />";
+		xpress_set_memory_limmit();
+		echo "<label>change memory_limit:</label><text>";
+		echo  ini_get( 'memory_limit' );
+		echo "</text><br />";
+
+		echo "<label>post_max_size:</label><text>";
+		echo  ini_get( 'post_max_size' );
+		echo "</text><br />";
+		echo "<label>upload_max_filesize:</label><text>";
+		echo  ini_get( 'upload_max_filesize' );
+		echo "</text><br />";
+		echo "<label>display_errors:</label><text>";
+		echo ( ini_get( 'display_errors' )) ? "ON" : "OFF";
+		echo "</text><br />";
+		echo "<label>MB extension:</label><text>";
+		echo ( extension_loaded( 'mbstring' )) ? "ON" : "OFF";
+		echo "</text><br />";
+		echo "<label>mbstring.language:</label><text>";
+		echo  ini_get( 'mbstring.language' );
+		echo "</text><br />";
+		echo "<label>mbstring.encoding_translation:</label><text>";
+		echo  ( ini_get( 'mbstring.encoding_translation' )) ? "ON" : "OFF";
+		echo "</text><br />";
+		echo "<label>mbstring.internal_encoding:</label><text>";
+		echo  ini_get( 'mbstring.internal_encoding' );
+		echo "</text><br />";
+		echo "<label>mbstring.http_input:</label><text>";
+		echo  ini_get( 'mbstring.http_input' );
+		echo "</text><br />";
+		echo "<label>mbstring.http_output:</label><text>";
+		echo  ini_get( 'mbstring.http_output' );
+		echo "</text><br />";
+		echo "<label>mbstring.detect_order:</label><text>";
+		echo  ini_get( 'mbstring.detect_order' );
+		echo "</text><br />";
+		echo "<label>mbstring.substitute_character:</label><text>";
+		echo  ini_get( 'mbstring.substitute_character' );
+		echo "</text><br />";
+		echo "<label>mbstring.func_overload:</label><text>";
+		echo  ( ini_get( 'mbstring.func_overload' )) ? "ON" : "OFF";
+		echo "</text><br />";
+		echo "</div>";
+		echo '</legend>';
+		echo "</fieldset><br />";
+	}
+}
+
+
+function xpress_config_report_view()
+{
+	require_once dirname(dirname( __FILE__ )).'/class/config_from_xoops.class.php' ;
+	$xoops_config = new ConfigFromXoops;
+	echo 'XOOPS_ROOT_PATH:  ' ; 
+	if(XOOPS_ROOT_PATH !== $xoops_config->xoops_root_path)
+		echo 'ERROR ';
+	else
+		echo 'OK ';	
+	echo "<br />\n";
+
+	echo 'XOOPS_TRUST_PATH:  ' ; 
+	if(XOOPS_TRUST_PATH !== $xoops_config->xoops_trust_path)
+		echo 'ERROR ';
+	else
+		echo 'OK ';	
+	echo "<br />\n";
+
+	echo 'XOOPS_URL:  ' ; 
+	if(XOOPS_URL !== $xoops_config->xoops_url)
+		echo 'ERROR ';
+	else
+		echo 'OK ';	
+	echo "<br />\n";
+
+	if (defined('XOOPS_SALT')){
+		echo 'XOOPS_SALT:  ' ; 
+		if(XOOPS_SALT !== $xoops_config->xoops_salt)
+			echo 'ERROR ';
+		else
+			echo 'OK ';	
+		echo "<br />\n";
+	}
+
+	if (defined('XOOPS_DB_SALT')){
+		echo 'XOOPS_DB_SALT:  ' ; 
+		if(XOOPS_DB_SALT !== $xoops_config->xoops_db_salt)
+			echo 'ERROR ';
+		else
+			echo 'OK ';	
+		echo "<br />\n";
+	}
+
+	echo 'XOOPS_DB_HOST:  ' ; 
+	if(XOOPS_DB_HOST !== $xoops_config->xoops_db_host)
+		echo 'ERROR ';
+	else
+		echo 'OK ';	
+	echo "<br />\n";
+
+	echo 'XOOPS_DB_USER:  ' ; 
+	if(XOOPS_DB_USER !== $xoops_config->xoops_db_user)
+		echo 'ERROR ';
+	else
+		echo 'OK ';	
+	echo "<br />\n";
+
+	echo 'XOOPS_DB_PASS:  ' ; 
+	if(XOOPS_DB_PASS !== $xoops_config->xoops_db_pass)
+		echo 'ERROR ';
+	else
+		echo 'OK ';	
+	echo "<br />\n";
+
+	echo 'XOOPS_DB_NAME:  ' ; 
+	if(XOOPS_DB_NAME !== $xoops_config->xoops_db_name)
+		echo 'ERROR ';
+	else
+		echo 'OK ';	
+	echo "<br />\n";
+
+	echo 'XOOPS_DB_PREFIX:  ' ; 
+	if(XOOPS_DB_PREFIX !== $xoops_config->xoops_db_prefix)
+		echo 'ERROR ';
+	else
+		echo 'OK ';	
+	echo "<br />\n";
+}
+
+function xpress_config_nomal_view()
+{
+	require_once dirname(dirname( __FILE__ )).'/class/config_from_xoops.class.php' ;
+	$xoops_config = new ConfigFromXoops;
+	
+	echo '<table width="400" cellspacing="1" cellpadding="1" border="1">';
+	echo '<tbody>';
+	echo '<tr>';
+	echo '<td>Define item</td>';
+	echo '<td>XOOPS setting value</td>';
+	echo '<td>xoops_config get value</td>';
+	echo '</tr>';
+	echo '<tr>';
+	if(XOOPS_ROOT_PATH !== $xoops_config->xoops_root_path)
+		echo '<td><strong><span style="color: rgb(255, 0, 0);">XOOPS_ROOT_PATH</span></strong></td>';
+	else
+		echo '<td>XOOPS_ROOT_PATH</td>';	
+	echo '<td>' . XOOPS_ROOT_PATH . '</td>';
+	echo '<td>' . $xoops_config->xoops_root_path . '</td>';
+	echo '</tr>';
+
+	echo '<tr>';
+	if(XOOPS_TRUST_PATH !== $xoops_config->xoops_trust_path)
+		echo '<td><strong><span style="color: rgb(255, 0, 0);">XOOPS_TRUST_PATH</span></strong></td>';
+	else
+		echo '<td>XOOPS_TRUST_PATH</td>';	
+	echo '<td>' . XOOPS_TRUST_PATH . '</td>';
+	echo '<td>' . $xoops_config->xoops_trust_path . '</td>';
+	echo '</tr>';
+
+	echo '<tr>';
+	if(XOOPS_URL !== $xoops_config->xoops_url)
+		echo '<td><strong><span style="color: rgb(255, 0, 0);">XOOPS_URL</span></strong></td>';
+	else
+		echo '<td>XOOPS_URL</td>';	
+	echo '<td>' . XOOPS_URL . '</td>';
+	echo '<td>' . $xoops_config->xoops_url . '</td>';
+	echo '</tr>';
+
+	if (defined('XOOPS_SALT')){
+		echo '<tr>';
+		if(XOOPS_SALT !== $xoops_config->xoops_salt)
+			echo '<td><strong><span style="color: rgb(255, 0, 0);">XOOPS_SALT</span></strong></td>';
+		else
+			echo '<td>XOOPS_SALT</td>';
+		echo '<td>' . XOOPS_SALT . '</td>';
+		echo '<td>' . $xoops_config->xoops_salt . '</td>';
+		echo '</tr>';
+	}
+
+	if (defined('XOOPS_DB_SALT')){
+		echo '<tr>';
+		if(XOOPS_DB_SALT !== $xoops_config->xoops_db_salt)
+			echo '<td><strong><span style="color: rgb(255, 0, 0);">XOOPS_DB_SALT</span></strong></td>';
+		else
+			echo '<td>XOOPS_DB_SALT</td>';
+		echo '<td>' . XOOPS_DB_SALT . '</td>';
+		echo '<td>' . $xoops_config->xoops_db_salt . '</td>';
+		echo '</tr>';
+	}
+
+	echo '<tr>';
+	if(XOOPS_DB_HOST !== $xoops_config->xoops_db_host)
+		echo '<td><strong><span style="color: rgb(255, 0, 0);">XOOPS_DB_HOST</span></strong></td>';
+	else
+		echo '<td>XOOPS_DB_HOST</td>';
+	echo '<td>' . XOOPS_DB_HOST . '</td>';
+	echo '<td>' . $xoops_config->xoops_db_host . '</td>';
+	echo '</tr>';
+
+	echo '<tr>';
+	if(XOOPS_DB_USER !== $xoops_config->xoops_db_user)
+		echo '<td><strong><span style="color: rgb(255, 0, 0);">XOOPS_DB_USER</span></strong></td>';
+	else
+		echo '<td>XOOPS_DB_USER</td>';
+	echo '<td>' . XOOPS_DB_USER . '</td>';
+	echo '<td>' . $xoops_config->xoops_db_user . '</td>';
+	echo '</tr>';
+
+	echo '<tr>';
+	if(XOOPS_DB_PASS !== $xoops_config->xoops_db_pass)
+		echo '<td><strong><span style="color: rgb(255, 0, 0);">XOOPS_DB_PASS</span></strong></td>';
+	else
+		echo '<td>XOOPS_DB_PASS</td>';
+	echo '<td>' . XOOPS_DB_PASS . '</td>';
+	echo '<td>' . $xoops_config->xoops_db_pass . '</td>';
+	echo '</tr>';
+
+	echo '<tr>';
+	if(XOOPS_DB_NAME !== $xoops_config->xoops_db_name)
+		echo '<td><strong><span style="color: rgb(255, 0, 0);">XOOPS_DB_NAME</span></strong></td>';
+	else
+		echo '<td>XOOPS_DB_NAME</td>';
+	echo '<td>' . XOOPS_DB_NAME . '</td>';
+	echo '<td>' . $xoops_config->xoops_db_name . '</td>';
+	echo '</tr>';
+
+	echo '<tr>';
+	if(XOOPS_DB_PREFIX !== $xoops_config->xoops_db_prefix)
+		echo '<td><strong><span style="color: rgb(255, 0, 0);">XOOPS_DB_PREFIX</span></strong></td>';
+	else
+		echo '<td>XOOPS_DB_PREFIX</td>';
+	echo '<td>' . XOOPS_DB_PREFIX . '</td>';
+	echo '<td>' . $xoops_config->xoops_db_prefix . '</td>';
+	echo '</tr>';
+	echo '</tbody>';
+	echo '</table>';
+}
+function xpress_config_from_xoops_view($is_report = false)
+{
+	global $xoopsUserIsAdmin,$xoopsUser;
+
+	$user_groups = $xoopsUser->getGroups();
+	$is_admin_group = in_array('1',$user_groups);
+	
+	require_once dirname(dirname( __FILE__ )).'/class/config_from_xoops.class.php' ;
+	$xoops_config = new ConfigFromXoops;
+	if ($is_report) {
+		echo "******** "  . _AM_XP2_XOOPS_CONFIG_INFO . "********" . "<br />\n";
+		xpress_config_report_view();
+		echo "<br />\n";
+	} else {
+		echo "<fieldset><legend style='font-weight: bold; color: #900;'>" . _AM_XP2_XOOPS_CONFIG_INFO . "</legend>";
+		echo "<div style='padding: 8px;'>";
+		if ($xoopsUserIsAdmin && $is_admin_group){
+			xpress_config_nomal_view();
+		} else {
+			xpress_config_report_view();
+		}
+		echo "</div>";
+		echo '</legend>';
+		echo "</fieldset><br />";
+	}
+}
+
+function xpress_state($is_report = false)
+{
+	global $xoopsModule;
+	include(dirname(__FILE__) . '/../wp-includes/version.php');
+	include_once(dirname(__FILE__) . '/../include/general_functions.php');
+
+	$xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection();
+	
+	$xp_prefix = $GLOBALS['xoopsModule']->getInfo('dirname');
+	$xp_prefix = preg_replace('/wordpress/','wp',$xp_prefix);
+
+	$prefix = $xoopsDB->prefix($xp_prefix . '_');
+	
+	$posts_tables = get_table_list($prefix,'posts');
+	$blogname = array();
+	$count_article = array();
+	$count_author = array();
+	$count_category = array();
+	$array_index = 0;
+	foreach( $posts_tables as $posts_table){
+		$sql = "SELECT COUNT(DISTINCT post_author) AS count_author, COUNT(*) AS count_article FROM ". $posts_table . " WHERE post_type = 'post' AND (post_status = 'publish' OR post_status = 'private')";
+		$result = $xoopsDB->query($sql);
+		if($myrow = $xoopsDB->fetchArray($result)){
+			$count_article[$array_index] = $myrow["count_article"];
+			$count_author[$array_index] = $myrow["count_author"];
+		} else {
+			$count_article[$array_index] = 0;
+			$count_author[$array_index] = 0;
+		}
+		$mid_prefix = get_multi_mid_prefix($prefix,'posts' , $posts_table);
+		
+		$sql = "SELECT option_value AS blogname FROM ".$prefix. $mid_prefix . "options" . " WHERE option_name = 'blogname'";
+		$result = $xoopsDB->query($sql);
+		if($myrow = $xoopsDB->fetchArray($result)){
+			$blogname[$array_index] = $myrow["blogname"];
+		} else {
+			$blogname[$array_index] = 'none name';
+		}
+		
+		if ($wp_db_version < 6124){
+			
+			$sql = "SELECT COUNT(*) AS count_category FROM ".$prefix. $mid_prefix . "categories";
+		} else {
+			$sql = "SELECT COUNT(*) AS count_category FROM ".$prefix. $mid_prefix . "term_taxonomy" . " WHERE taxonomy = 'category'";
+		}
+		$result = $xoopsDB->query($sql);
+		if($myrow = $xoopsDB->fetchArray($result)){
+			$count_category[$array_index] = $myrow["count_category"];
+		} else {
+			$count_category[$array_index] = 0;
+		}
+		$array_index++;
+	}
+	for ($i = 0 ; $i < $array_index ; $i++){
+		if ($is_report){
+			echo "******** " . $blogname[$i] . _AM_XP2_STATS . "********" . "<br />\n";
+			echo _AM_XP2_CATEGORIES .":  ".@$count_category[$i]. "<br />\n";
+			echo _AM_XP2_ARTICLES .":  ". $count_article[$i]. "<br />\n";
+			echo _AM_XP2_AUTHORS .":  ". $count_author[$i]. "<br />\n";
+			
+		} else {
+			echo "<fieldset><legend style='font-weight: bold; color: #900;'>" . $blogname[$i] . _AM_XP2_STATS . "</legend>";
+			echo "<div style='padding: 8px;'>";
+			echo "<label>" . _AM_XP2_CATEGORIES .":</label><text>".@$count_category[$i];
+			echo "</text><br />";
+			echo "<label>" . _AM_XP2_ARTICLES .":</label><text>". $count_article[$i];
+			echo "</text><br />";
+			echo "<label>" . _AM_XP2_AUTHORS .":</label><text>". $count_author[$i];
+			echo "</text>";
+			echo "</div>";
+			echo '</legend>';
+			echo "</fieldset>";
+		}
+	}
+}
+
+function xpress_group_role_state($is_report = false)
+{
+	global $xoopsModule;
+	$xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection();
+	$xp_prefix = $GLOBALS['xoopsModule']->getInfo('dirname');
+	$xp_prefix = preg_replace('/wordpress/','wp',$xp_prefix);
+	$prefix = $xoopsDB->prefix($xp_prefix . '_');
+	$group_role_tables = $prefix.'group_role';
+	$sql = "SELECT groupid , name AS xoops_groupe ,group_type, role , login_all FROM ". $group_role_tables;
+	$result = $xoopsDB->query($sql);
+	if ($is_report){
+		echo "******** " . _AM_XP2_GROUP_ROLE . "********" . "<br />\n";
+	} else {
+		echo "<fieldset><legend style='font-weight: bold; color: #900;'>" . _AM_XP2_GROUP_ROLE . "</legend>";
+		echo "<div style='padding: 8px;'>";
+		echo '<table width="400" cellspacing="1" cellpadding="1" border="1">';
+		echo '<tbody>';
+		echo '<tr>';
+		echo '<td>GROUP</td>';
+		echo '<td>GROUPE TYPE</td>';
+		echo '<td>ROLE</td>';
+		echo '<td>Allways Check</td>';
+		echo '</tr>';
+	}
+	$groupe_list = '';
+	while ($myrow = $xoopsDB->fetchArray($result)){
+		$xoops_groupe = $myrow["xoops_groupe"] ;
+		$group_type = empty($myrow["group_type"]) ? "None" : $myrow["group_type"] ;
+		$role = empty($myrow["role"]) ? "inhibit register" : $myrow["role"] ;
+		$login_all = empty($myrow["login_all"]) ? 'No' : 'Yes' ;
+		if (!empty($groupe_list)) $groupe_list .= ',';
+		$groupe_list .= $myrow["groupid"];
+		if ($is_report){
+			echo $xoops_groupe . ' : ';
+			echo '(' . $group_type. ') : ';
+			echo $role;
+			echo '(' . $login_all. ') : ';
+			echo '<br />';
+		} else {
+			echo '<tr>';
+			echo '<td>' . $xoops_groupe . '</td>';
+			echo '<td>' . $group_type . '</td>';
+			echo '<td>' . $role . '</td>';
+			echo '<td>' . $login_all . '</td>';
+			echo '</tr>';
+		}
+	}
+	if ($is_report){
+		echo "<br />";
+	} else {
+		echo '</tbody>';
+		echo '</table>';
+		echo "</div>";
+		echo '</legend>';
+		echo "</fieldset><br />";
+	}
+}
+function xpress_block_state($is_report = false)
+{
+	$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+
+	include_once(dirname(dirname(__FILE__) ). '/class/check_blocks_class.php');
+	$xoops_block_check =& xoops_block_check::getInstance();
+	$xoops_block_check->check_blocks($mydirname);
+	if ($is_report){
+		echo "******** " . _AM_XP2_BLOCK_STATS . "********" . "<br />\n";
+		echo $xoops_block_check->get_message();
+		echo "<br />\n";
+		echo "<br />\n";
+	} else {
+		echo "<fieldset><legend style='font-weight: bold; color: #900;'>" . _AM_XP2_BLOCK_STATS . "</legend>";
+		echo "<div style='padding: 8px;'>";
+		echo $xoops_block_check->get_message();
+		echo "</div>";
+		echo '</legend>';
+		echo "</fieldset><br />";
+	}		
+}
+
+function xpress_block_options($is_report = false)
+{
+	$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+
+	$module_objs = & get_module_objects($mydirname);
+	$module_obj = $module_objs[0];
+	$mod_id = $module_obj->getVar('mid', 'n');
+	$blocks = & get_block_object_orber_num_bymodule_id( $mod_id );
+	$infos    =& $module_obj->getInfo('blocks');
+	if ($is_report){
+		echo "******** " . _AM_XP2_BLOCK_OPTIONS . "********" . "<br />\n";
+		foreach ( $blocks as $block )
+		{
+			echo $block->getVar('title') . ' : ' . $block->getVar('options') . '<br />';
+		}
+		echo "<br />\n";
+	} else {
+		echo "<fieldset><legend style='font-weight: bold; color: #900;'>" . _AM_XP2_BLOCK_OPTIONS . "</legend>";
+		echo "<div style='padding: 8px;'>";
+		echo '<table width="400" cellspacing="1" cellpadding="1" border="1">';
+		echo '<tbody>';
+		echo '<tr>';
+		echo '<td>Title</td>';
+		echo '<td>Options</td>';
+		echo '</tr>';
+		foreach ( $blocks as $block )
+		{
+			echo '<tr>';
+			echo '<td>' . $block->getVar('title') . '</td>';
+			echo '<td>' . $block->getVar('options') . '</td>';
+			echo '</tr>';
+		}
+		echo '</tbody>';
+		echo '</table>';
+		echo '</div>';
+		echo '</legend>';
+		echo "</fieldset><br />";
+	}
+
+}
+//--------------------------------------------------------
+// module handler
+//--------------------------------------------------------
+function &get_module_objects($module_dir)
+{
+	$criteria = new CriteriaCompo();
+	$criteria->add( new Criteria('isactive', '1', '=') );
+	$criteria->add( new Criteria('dirname', $module_dir, '=') );
+
+	$module_handler =& xoops_gethandler('module');
+	$objs           =& $module_handler->getObjects( $criteria );
+	return $objs;
+}
+
+//--------------------------------------------------------
+// block handler
+//--------------------------------------------------------
+function &get_block_object_orber_num_bymodule_id( $mid )
+{
+	$arr  = array();
+	$objs =& get_block_object_bymodule_id( $mid );
+	foreach ( $objs as $obj )
+	{
+		$arr[ $obj->getVar('func_num', 'n') ] = $obj;
+	}
+	return $arr;
+}
+
+function &get_block_object_bymodule_id( $mid, $asobject=true )
+{
+	if ( defined('ICMS_VERSION_BUILD') && ICMS_VERSION_BUILD > 27  ) { /* ImpressCMS 1.2+ */
+		$block_handler =& xoops_gethandler ('block');
+		$objs =& $block_handler->getByModule( $mid, $asobject );
+	} else { /* legacy support */
+		$objs =& XoopsBlock::getByModule( $mid, $asobject ) ; /* from class/xoopsblock.php */
+	}
+	return $objs;
+}
+
+
+
+$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+$mydirpath = dirname( dirname( __FILE__ ) ) ;
+//require_once($mydirpath.'/wp-config.php');
+	
+require_once '../../../include/cp_header.php' ;
+//require_once '../include/gtickets.php' ;
+//define( '_MYMENU_CONSTANT_IN_MODINFO' , '_MI_XP2_NAME' ) ;
+
+// branch for altsys
+if( defined( 'XOOPS_TRUST_PATH' ) && ! empty( $_GET['lib'] ) ) {
+
+	// common libs (eg. altsys)
+	$lib = preg_replace( '/[^a-zA-Z0-9_-]/' , '' , $_GET['lib'] ) ;
+	$page = preg_replace( '/[^a-zA-Z0-9_-]/' , '' , @$_GET['page'] ) ;
+	
+	if( file_exists( XOOPS_TRUST_PATH.'/libs/'.$lib.'/'.$page.'.php' ) ) {
+		include XOOPS_TRUST_PATH.'/libs/'.$lib.'/'.$page.'.php' ;
+	} else if( file_exists( XOOPS_TRUST_PATH.'/libs/'.$lib.'/index.php' ) ) {
+		include XOOPS_TRUST_PATH.'/libs/'.$lib.'/index.php' ;
+	} else {
+		die( 'wrong request' ) ;
+	}
+	exit ;
+}
+
+// beggining of Output
+xoops_cp_header();
+include( './mymenu.php' ) ;
+
+echo "
+	<style type=\"text/css\">
+	label,text {
+		display: block;
+		float: left;
+		margin-bottom: 2px;
+	}
+	label {
+		text-align: right;
+		width: 200px;
+		padding-right: 20px;
+	}
+	br {
+		clear: left;
+	}
+	</style>
+";
+
+if (!empty($_POST['submit_report'])) $report = true; else $report = false;
+xpress_sys_info($report);
+xpress_config_from_xoops_view($report);
+xpress_active_plugin_list($report);
+xpress_block_state($report);
+xpress_block_options($report);
+xpress_group_role_state($report);
+admin_check_user_meta_prefix($report);
+xpress_state($report);
+echo '<form method="POST">'."\n";
+echo '<input type="submit" name="submit_report" value="' . _AM_XP2_SYS_REPORT .' " />'.'&emsp;';
+echo '<input type="submit" name="submit_normal" value="' . _AM_XP2_SYS_NORMAL .' " />'."<br />\n";
+echo "</form>\n";
+
+xoops_cp_footer();
+
+	
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/admin/menu.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/admin/menu.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/admin/menu.php	(revision 866)
@@ -0,0 +1,63 @@
+<?php 
+// $Id: xoops_version.php,v 1.8 2005/06/03 01:35:02 phppp Exp $
+//  ------------------------------------------------------------------------ //
+//                XOOPS - PHP Content Management System                      //
+//                    Copyright (c) 2000 XOOPS.org                           //
+//                       <http://www.xoops.org/>                             //
+//  ------------------------------------------------------------------------ //
+//  This program is free software; you can redistribute it and/or modify     //
+//  it under the terms of the GNU General Public License as published by     //
+//  the Free Software Foundation; either version 2 of the License, or        //
+//  (at your option) any later version.                                      //
+//                                                                           //
+//  You may not change or alter any portion of this comment or credits       //
+//  of supporting developers from this source code or any supporting         //
+//  source code which is considered copyrighted (c) material of the          //
+//  original comment or credit authors.                                      //
+//                                                                           //
+//  This program is distributed in the hope that it will be useful,          //
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
+//  GNU General Public License for more details.                             //
+//                                                                           //
+//  You should have received a copy of the GNU General Public License        //
+//  along with this program; if not, write to the Free Software              //
+//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
+//  ------------------------------------------------------------------------ //
+// Author: toemon                                                      //
+// URL: http://www.toemon.com                       //
+// ------------------------------------------------------------------------- //
+$dir_path = dirname(dirname(__FILE__));
+$dir_name = basename($dir_path);
+
+$lang = @$GLOBALS["xoopsConfig"]['language'];
+
+
+if( file_exists( $dir_path .'/language/'.$lang.'/modinfo.php' ) ) {
+	include_once $dir_path .'/language/'.$lang.'/modinfo.php' ;
+} else if( file_exists(  $dir_path .'/language/english/modinfo.php' ) ) {
+	include_once $dir_path .'/language/english/modinfo.php' ;
+}
+
+
+
+$i=0;
+$adminmenu[$i]['title'] = _MI_XP2_MENU_SYS_INFO ;
+$adminmenu[$i++]['link'] = "admin/index.php";
+
+//$adminmenu[$i]['title'] = _MI_XP2_MENU_BLOCK_ADMIN ;
+//$adminmenu[$i++]['link'] = "admin/admin_blocks.php";
+
+$adminmenu[$i]['title'] = _MI_XP2_MENU_BLOCK_CHECK ;
+$adminmenu[$i++]['link'] = "admin/block_check.php";
+
+$adminmenu[$i]['title'] = _MI_XP2_MENU_WP_ADMIN ;
+$adminmenu[$i++]['link'] = "admin/wp_admin.php";
+
+$adminmenu[$i]['title'] = _MI_XP2_MENU_TO_MODULE ;
+$adminmenu[$i++]['link'] = "index.php";
+
+$adminmenu[$i]['title'] = _MI_XP2_TO_UPDATE ;
+$adminmenu[$i++]['link'] = "admin/update.php";
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/admin/mymenu.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/admin/mymenu.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/admin/mymenu.php	(revision 866)
@@ -0,0 +1,117 @@
+<?php
+if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ;
+
+if( empty( $mydirname ) ) $mydirname = basename(dirname(dirname(__FILE__))) ;
+
+// Detect Altsys
+// Not Active ALTSYS => $active_altsys = false;
+// Active ALTSYS =>     $active_altsys = true;
+$module_handler =& xoops_gethandler('module');
+$criteria = new CriteriaCompo();
+$criteria->add(new Criteria('dirname','altsys'));
+$criteria->add(new Criteria('isactive', 1));
+$altsys_mod = $module_handler->getObjects($criteria);
+if(empty($altsys_mod)) $active_altsys = false; else $active_altsys = true;
+
+
+if( ! defined( 'XOOPS_ORETEKI' ) ) {
+	// Skip for ORETEKI XOOPS
+
+	if( ! isset( $module ) || ! is_object( $module ) ) $module = $xoopsModule ;
+	else if( ! is_object( $xoopsModule ) ) die( '$xoopsModule is not set' )  ;
+
+	// load modinfo.php if necessary (judged by a specific constant is defined)
+	if( ! defined( '_MYMENU_CONSTANT_IN_MODINFO' ) || ! defined( _MYMENU_CONSTANT_IN_MODINFO ) ) {
+		if( file_exists("../language/".$xoopsConfig['language']."/modinfo.php") ) {
+			include_once("../language/".$xoopsConfig['language']."/modinfo.php");
+		} else {
+			include_once("../language/english/modinfo.php");
+		}
+	}
+
+	include( './menu.php' ) ;
+
+	$menuitem_dirname = $module->getvar('dirname') ;
+
+	// mytplsadmin (TODO check if this module has tplfile)
+	if( $active_altsys ) {
+		$title = defined( '_MD_A_MYMENU_MYTPLSADMIN' ) ? _MD_A_MYMENU_MYTPLSADMIN : 'tplsadmin' ;
+		array_push( $adminmenu , array( 'title' => $title , 'link' => 'admin/index.php?mode=admin&lib=altsys&page=mytplsadmin' ) ) ;
+	}
+	
+	// myblocksadmin
+	$title = defined( '_MD_A_MYMENU_MYBLOCKSADMIN' ) ? _MD_A_MYMENU_MYBLOCKSADMIN : 'blocksadmin' ;
+	if( $active_altsys ){
+		// mypreferences
+		array_push( $adminmenu , array( 'title' => $title , 'link' => 'admin/index.php?mode=admin&lib=altsys&page=myblocksadmin' ) ) ;
+	} else if( defined( 'XOOPS_CUBE_LEGACY' ) ) {
+		// Cube Legacy without altsys
+		array_push( $adminmenu , array( 'title' => $title , 'link' => XOOPS_URL.'/modules/legacy/admin/index.php?action=BlockList') ) ;
+	} else if ( preg_match ( "/^ImpressCMS/" , XOOPS_VERSION ) ){
+		// ImpressCMS
+		array_push( $adminmenu , array( 'title' => $title , 'link' => XOOPS_URL.'/modules/system/admin.php?fct=blocksadmin&filtersel=mid&filtersel2='.$module->getvar('mid') ) ) ;
+	} else {
+		array_push( $adminmenu , array( 'title' => $title , 'link' => XOOPS_URL.'/modules/system/admin.php?fct=blocksadmin&op=list&filter=1&selgen='.$module->getvar('mid').'&selmod=-2&selgrp=-1&selvis=-1' ) ) ;
+	}
+	
+	// mylangadmin
+	if( $active_altsys ){
+		$title = defined( '_MD_A_MYMENU_MYLANGADMIN' ) ? _MD_A_MYMENU_MYLANGADMIN : 'langadmin' ;
+		array_push( $adminmenu , array( 'title' => $title , 'link' => 'admin/index.php?mode=admin&lib=altsys&page=mylangadmin' ) ) ;
+	}
+	
+	// preferences
+	if( $module->getvar('hasconfig') ){
+		if( $active_altsys ){
+			// mypreferences
+			$title = defined( '_MD_A_MYMENU_MYPREFERENCES' ) ? _MD_A_MYMENU_MYPREFERENCES : _PREFERENCES ;
+			array_push( $adminmenu , array( 'title' => _PREFERENCES , 'link' => 'admin/index.php?mode=admin&lib=altsys&page=mypreferences' ) ) ;
+		} else if( defined( 'XOOPS_CUBE_LEGACY' ) ) {
+			// Cube Legacy without altsys
+			array_push( $adminmenu , array( 'title' => _PREFERENCES , 'link' => XOOPS_URL.'/modules/legacy/admin/index.php?action=PreferenceEdit&confmod_id=' . $module->getvar('mid') ) ) ;
+		} else {
+			// system->preferences
+			array_push( $adminmenu , array( 'title' => _PREFERENCES , 'link' => XOOPS_URL.'/modules/system/admin.php?fct=preferences&op=showmod&mod='.$module->mid() ) ) ;
+		}
+	}
+	
+	// hilight
+	$mymenu_uri = empty( $mymenu_fake_uri ) ? $_SERVER['REQUEST_URI'] : $mymenu_fake_uri ;
+	$mymenu_link = substr( strstr( $mymenu_uri , '/admin/' ) , 1 ) ;
+
+	foreach( array_keys( $adminmenu ) as $i ) {
+		if( $mymenu_link == $adminmenu[$i]['link'] ) {
+			$adminmenu[$i]['color'] = '#FFCCCC' ;
+			$adminmenu_hilighted = true ;
+			$GLOBALS['altsysAdminPageTitle'] = $adminmenu[$i]['title'] ;
+		} else {
+			$adminmenu[$i]['color'] = '#DDDDDD' ;
+		}
+	}
+	if( empty( $adminmenu_hilighted ) ) {
+		foreach( array_keys( $adminmenu ) as $i ) {
+			if( stristr( $mymenu_uri , $adminmenu[$i]['link'] ) ) {
+				$adminmenu[$i]['color'] = '#FFCCCC' ;
+				$GLOBALS['altsysAdminPageTitle'] = $adminmenu[$i]['title'] ;
+				break ;
+			}
+		}
+	}
+
+	// link conversion from relative to absolute
+	foreach( array_keys( $adminmenu ) as $i ) {
+		if( stristr( $adminmenu[$i]['link'] , XOOPS_URL ) === false ) {
+			$adminmenu[$i]['link'] = XOOPS_URL."/modules/$mydirname/" . $adminmenu[$i]['link'] ;
+		}
+	}
+
+	// display
+	echo "<div style='text-align:left;width:98%;'>" ;
+	foreach( $adminmenu as $menuitem ) {
+		echo "<div style='float:left;height:1.5em;'><nobr><a href='".htmlspecialchars($menuitem['link'],ENT_QUOTES)."' style='background-color:{$menuitem['color']};font:normal normal bold 9pt/12pt;'>".htmlspecialchars($menuitem['title'],ENT_QUOTES)."</a> | </nobr></div>\n" ;
+	}
+	echo "</div>\n<hr style='clear:left;display:block;' />\n" ;
+
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/admin/update.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/admin/update.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/admin/update.php	(revision 866)
@@ -0,0 +1,12 @@
+<?php
+	$mydirname = basename(dirname( dirname( __FILE__ ) )) ;
+	$mydirpath = dirname( dirname( __FILE__ ) ) ;
+	require_once '../../../include/cp_header.php' ;
+
+	if( defined( 'XOOPS_CUBE_LEGACY' ) ) {
+		$url = XOOPS_URL.'/modules/legacy/admin/index.php?action=ModuleUpdate&dirname=' . $mydirname;
+	} else {
+		$url = XOOPS_URL.'/modules/system/admin.php?fct=modulesadmin&op=update&module=' . $mydirname ;
+	}
+	header('Location: ' . $url);
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/admin/wp_admin.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/admin/wp_admin.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/admin/wp_admin.php	(revision 866)
@@ -0,0 +1,9 @@
+<?php
+	$mydirname = basename(dirname( dirname( __FILE__ ) )) ;
+	$mydirpath = dirname( dirname( __FILE__ ) ) ;
+	require_once '../../../include/cp_header.php' ;
+	require_once $mydirpath . '/wp-config.php' ;
+	
+	$url = XOOPS_URL . '/modules/' . $mydirname . '/wp-admin/';	
+	header('Location: ' . $url);
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/admin/wp_update.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/admin/wp_update.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/admin/wp_update.php	(revision 866)
@@ -0,0 +1,9 @@
+<?php
+	$mydirname = basename(dirname( dirname( __FILE__ ) )) ;
+	$mydirpath = dirname( dirname( __FILE__ ) ) ;
+	require_once '../../../include/cp_header.php' ;
+	require_once $mydirpath . '/wp-config.php' ;
+	
+	$url = XOOPS_URL . '/modules/' . $mydirname . '/wp-admin/update-core.php';	
+	header('Location: ' . $url);
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/admin/xp_update.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/admin/xp_update.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/admin/xp_update.php	(revision 866)
@@ -0,0 +1,9 @@
+<?php
+	$mydirname = basename(dirname( dirname( __FILE__ ) )) ;
+	$mydirpath = dirname( dirname( __FILE__ ) ) ;
+	require_once '../../../include/cp_header.php' ;
+	require_once $mydirpath . '/wp-config.php' ;
+	
+	$url = XOOPS_URL . '/modules/' . $mydirname . '/wp-admin/admin.php?page=upgrade_page';	
+	header('Location: ' . $url);
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/blocks/archives_block.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/blocks/archives_block.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/blocks/archives_block.php	(revision 866)
@@ -0,0 +1,86 @@
+<?php
+if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ;
+$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+
+eval( '
+function b_'.$mydirname.'_archives_show($options){
+	return _b_archives_show($options) ;
+}
+function b_'.$mydirname.'_archives_edit($options){
+	return _b_archives_edit($options) ;
+}
+' ) ;		
+	
+
+if( ! defined( 'XPRESS_ARCHIVES_BLOCK_INCLUDED' ) ) {
+	define( 'XPRESS_ARCHIVES_BLOCK_INCLUDED' , 1 ) ;
+	
+	function _b_archives_edit($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_archives_block.html' : trim( $options[1] );
+		$type = empty( $options[2] ) ? 'monthly' : $options[2] ;
+		$limit  = !is_numeric( $options[3] ) ? 0 : $options[3] ;
+		$show_post_count = empty( $options[4] ) ? false : true ;		
+		$drop_down = empty( $options[5] ) ? false : true ;
+		
+		require_once(XOOPS_ROOT_PATH.'/modules/'.$mydirname.'/blocks/block_common.php');
+
+		$form  = javascript_check();
+		$form .= "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />\n";
+		$form .= block_template_setting($mydirname,'options[1]',htmlspecialchars($this_template,ENT_QUOTES));
+		$form .= "<br />";
+		$a_month = _MB_XP2_ARC_MONTH ;
+		$a_week = _MB_XP2_ARC_WEEK ;		
+
+		$form .= _MB_XP2_ARC_TYPE .": ";
+		$form .=  "<select name='options[2]'>";
+		if ($type =='yearly')
+			$form .=  "<option value='yearly' selected='selected'>". _MB_XP2_ARC_YEAR;
+		else
+			$form .=  "<option value='yearly'>". _MB_XP2_ARC_YEAR;
+		
+		if ($type =='monthly')
+			$form .=  "<option value='monthly' selected='selected'>". _MB_XP2_ARC_MONTH;
+		else
+			$form .=  "<option value='monthly'>". _MB_XP2_ARC_MONTH;
+		
+		if ($type =='weekly')
+			$form .=  "<option value='weekly' selected='selected'>". _MB_XP2_ARC_WEEK;
+		else
+			$form .=  "<option value='weekly'>". _MB_XP2_ARC_WEEK;
+		
+		if ($type =='daily')
+			$form .=  "<option value='daily' selected='selected'>". _MB_XP2_ARC_DAY;
+		else
+			$form .=  "<option value='daily'>". _MB_XP2_ARC_DAY;
+
+		if ($type =='postbypost')
+			$form .=  "<option value='postbypost' selected='selected'>". _MB_XP2_ARC_POST;
+		else
+			$form .=  "<option value='postbypost'>". _MB_XP2_ARC_POST;
+
+		$form .=  "</select><br/>";
+		
+		$form .= "<br />" . _MB_XP2_COUNT_ZERO_ALL . "  <input type='text' size='3' name='options[3]' value='" . $limit . "' />";
+		$form .= "<br />" . yes_no_radio_option('options[4]', _MB_XP2_SHOW_NUM_OF_POST , $show_post_count);
+		$form .= "<br />" . yes_no_radio_option('options[5]', _MB_XP2_SHOW_DROP_DOWN , $drop_down);
+//	    $form .="<br /><input type='text' size='60' name='options[5]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' />";
+	    
+		return $form;
+	}
+
+	function _b_archives_show($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
+		$block_function_name = basename( __FILE__ );
+		
+		require_once $mydirpath.'/include/xpress_block_render.php';
+		return xpress_block_render($mydirname,$block_function_name,$options);
+	}
+
+
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/blocks/authors_block.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/blocks/authors_block.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/blocks/authors_block.php	(revision 866)
@@ -0,0 +1,54 @@
+<?php
+if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ;
+$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+
+eval( '
+function b_'.$mydirname.'_authors_show( $options){
+	return _b_authors_show($options) ;
+}
+function b_'.$mydirname.'_authors_edit( $options){
+	return _b_authors_edit($options) ;
+}
+' ) ;
+
+
+if( ! defined( 'XPRESS_AUTHORS_BLOCK_INCLUDED' ) ) {
+	define( 'XPRESS_AUTHORS_BLOCK_INCLUDED' , 1 ) ;
+	
+	function _b_authors_edit($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_authors_block.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 ;
+		
+		require_once(XOOPS_ROOT_PATH.'/modules/'.$mydirname.'/blocks/block_common.php');
+			
+		$form  = javascript_check();
+		$form .= "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />\n";
+		$form .= block_template_setting($mydirname,'options[1]',htmlspecialchars($this_template,ENT_QUOTES));
+		$form .= "<br />";
+		$form .= yes_no_radio_option('options[2]', _MB_XP2_SHOW_NUM_OF_POST , $optioncount);
+		$form .= "<br />" . yes_no_radio_option('options[3]', _MB_XP2_EXCLUEDEADMIN , $exclude_admin);
+		$form .= "<br />" . yes_no_radio_option('options[4]', _MB_XP2_SHOW_FULLNAME , $show_fullname);
+				$form .= "<br />" . yes_no_radio_option('options[5]', _MB_XP2_HIDE_EMPTY , $hide_empty);
+//	    $form .="<br /><input type='text' size='60' name='options[4]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' />";
+	    
+		return $form;
+	}
+
+	function _b_authors_show($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
+		$block_function_name = basename( __FILE__ );
+		
+		require_once $mydirpath.'/include/xpress_block_render.php';
+		return xpress_block_render($mydirname,$block_function_name,$options);
+	}
+
+
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/blocks/block_common.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/blocks/block_common.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/blocks/block_common.php	(revision 866)
@@ -0,0 +1,301 @@
+<?php
+
+if( ! function_exists( 'yes_no_radio_option' ) ) :
+function yes_no_radio_option($option_name,$label,$value,$yes = '',$no= ''){
+	if (empty( $yes ))  $yes = _YES ;
+	if (empty( $no ))  $no = _NO ;
+	$form = $label.' : ';
+	if ($value){
+		$form .= "<input type='radio' name='". $option_name . "' value='1' checked='checked' />" . $yes. "; " ;
+		$form .= "<input type='radio' name='". $option_name . "' value='0' />". $no ;
+	}else{
+		$form .= "<input type='radio' name='". $option_name . "' value='1' />" . $yes. "; " ;
+		$form .= "<input type='radio' name='". $option_name . "' value='0' checked='checked' />". $no ;
+	}		
+    return $form;
+	
+}
+endif;
+
+if(!function_exists("categorie_select")):
+function categorie_select($option_name = '',$value='',$row_num=0 ,$sort_column = 'ID', $sort_order = 'asc')
+{
+    $mydirpath = dirname(dirname(__FILE__));
+	$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+	$wp_prefix = preg_replace('/wordpress/','wp',$mydirname) . '_';
+	$xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection();
+	$myts =& MyTextSanitizer::getInstance();
+    $selected = explode(',' , $value);
+	$isAll = (count($selected)==0||empty($selected[0]))?true:false;
+    $sort_column = 'cat_'.$sort_column;
+    if (empty($row_num)) $size = ''; else $size = 'size="' . $row_num . '"';
+	include $mydirpath.'/wp-includes/version.php';
+	if ($wp_db_version < 6124) {
+		$db_xpress_categories = $xoopsDB->prefix($wp_prefix . 'categories');
+		$query = "
+	    	SELECT cat_ID, cat_name, category_nicename,category_parent 
+	    	FROM $db_xpress_categories 
+	    	WHERE cat_ID > 0 
+	        ";
+		$query .= " ORDER BY $sort_column $sort_order";
+
+    } else {
+    	$db_xpress_terms = $xoopsDB->prefix($wp_prefix . 'terms');
+    	$db_xpress_term_taxonomy = $xoopsDB->prefix($wp_prefix . 'term_taxonomy');
+    	$query = "
+			SELECT $db_xpress_terms.term_id as cat_ID , $db_xpress_terms.name as cat_name , $db_xpress_term_taxonomy.taxonomy 
+			FROM $db_xpress_terms LEFT JOIN $db_xpress_term_taxonomy ON $db_xpress_terms.term_id = $db_xpress_term_taxonomy.term_id 
+			WHERE $db_xpress_term_taxonomy.taxonomy = 'category' 
+        ";
+		$query .= " ORDER BY $sort_column $sort_order";
+    }
+	$res =  $xoopsDB->query($query, 0, 0);
+	$option = "\t<option value=\"0\" ";
+	if ($isAll) $option .= " selected=\"selected\"";
+	$option .= ">"._MB_XP2_ALL ."</option>\n";
+
+    if ($res !== false){
+ 		while($row = $xoopsDB->fetchArray($res)){
+            $cat_name = $row['cat_name'];
+            $cat_ID = $row['cat_ID'];
+            $option .= "\t<option value=\"".$cat_ID."\"";
+            if (in_array($cat_ID, $selected))
+                $option .= ' selected="selected"';
+            $option .= '>';
+            $option .= $myts->htmlspecialchars($cat_name);
+            $option .= "</option>\n";
+        }
+    }
+    $output = _MB_XP2_CATS_SELECT ."<br />\n";
+    $output .= '&nbsp;&nbsp;<select name="categorie" id="cat_sel" '.$size.' multiple="multiple" onclick="CatSelect()">' ."\n";
+    $output .= $option;
+    $output .= '</select>';
+    $output .= 	'&emsp;' .  _MB_XP2_CATS_DIRECT_SELECT . " <input type='text' name='$option_name' id='cat_csv' value='$value' /><br />\n";
+    $output .= '
+<script type="text/javascript">
+    function CatSelect(){
+        var idx=new Array();
+        var sel = document.getElementById("cat_sel").options;
+        for(var i=0, n=0; i<sel.length; i++){
+            if(sel[i].selected){ idx[n++]=sel[i].value; }
+        }
+        if(idx.length>0){
+        	document.getElementById("cat_csv").value = idx;
+		}
+    }
+</script>
+';
+    
+    return $output;
+
+}
+endif;
+if(!function_exists("blog_select")):
+function blog_select($option_name = '',$value='',$exclusion=false ,$row_num=0)
+{
+    $mydirpath = dirname(dirname(__FILE__));
+	$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+	$wp_prefix = preg_replace('/wordpress/','wp',$mydirname) . '_';
+	$xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection();
+	$myts =& MyTextSanitizer::getInstance();
+    $selected = explode(',' , $value);
+	$isAll = (count($selected)==0||empty($selected[0]))?true:false;
+    
+    if (empty($row_num)) $size = ''; else $size = 'size="' . $row_num . '"';
+	include $mydirpath.'/wp-includes/version.php';
+	
+	$option = "\t<option value=\"0\" ";
+	if ($isAll) $option .= " selected=\"selected\"";
+	if ($exclusion){
+		$option .= ">"._MB_XP2_NONE ."</option>\n";
+    } else {
+	 	$option .= ">"._MB_XP2_ALL ."</option>\n";
+	}
+
+	if ($wp_db_version > 6124) {
+		$db_xpress_blogs = $xoopsDB->prefix($wp_prefix . 'blogs');
+		$query = "
+	    	SELECT blog_id 
+	    	FROM $db_xpress_blogs 
+	    	ORDER BY blog_id
+	        ";
+		
+	    if ($res =  $xoopsDB->query($query, 0, 0)){
+	 		while($row = $xoopsDB->fetchArray($res)){
+	 			
+	            $blog_id = $row['blog_id'];
+	            if ($blog_id == 1) {
+	            	$blog_selector = '';
+	            } else {
+	            	$blog_selector = $blog_id . '_';
+	            }
+		 		$db_xpress_options = $xoopsDB->prefix($wp_prefix . $blog_selector . 'options');
+	            $options_query = "
+	    			SELECT option_value 
+	    			FROM $db_xpress_options 
+	    			WHERE option_name = 'blogname'
+	        		";
+	    		if ($options_res =  $xoopsDB->query($options_query, 0, 0)){
+	    			$options_row = $xoopsDB->fetchArray($options_res);
+	    			$blog_name = $options_row['option_value'];
+	    		} else {
+	    			$blog_name = 'Blog_' . $blog_id ;
+	    		}
+	    		
+	            $option .= "\t<option value=\"".$blog_id."\"";
+	            if (in_array($blog_id, $selected))
+				$option .= ' selected="selected"';
+				$option .= '>';
+				$option .= $myts->htmlspecialchars($blog_name);
+				$option .= "</option>\n";
+	        }
+	    }
+    }
+	if ($exclusion){
+	 	$output = _MB_XP2_EXCLUSION_BLOGS_SELECT ."<br />\n";
+    } else {
+		$output = _MB_XP2_SHOW_BLOGS_SELECT ."<br />\n";
+	}
+    $output .= '&nbsp;&nbsp;<select name="blogs" id="blog_sel" '.$size.' multiple="multiple" onclick="BlogSelect()">' ."\n";
+    $output .= $option;
+    $output .= '</select>';
+    $output .= 	'&emsp;' .  _MB_XP2_BLOGS_DIRECT_SELECT . " <input type='text' name='$option_name' id='blog_csv' value='$value' /><br />\n";
+    $output .= '
+<script type="text/javascript">
+    function BlogSelect(){
+        var idx=new Array();
+        var sel = document.getElementById("blog_sel").options;
+        for(var i=0, n=0; i<sel.length; i++){
+            if(sel[i].selected){ idx[n++]=sel[i].value; }
+        }
+        if(idx.length>0){
+        	document.getElementById("blog_csv").value = idx;
+		}
+    }
+</script>
+';
+    
+    return $output;
+
+}
+endif;
+
+if(!function_exists("comment_type_select")):
+function comment_type_select($option_name = '',$value='')
+{
+    $selected = explode(',' , $value);
+	$isAll = (count($selected)==0||empty($selected[0]))?true:false;
+
+    $option = "<option value=\"0\" ";
+    if ($isAll) $option .= " selected=\"selected\"";
+    $option .= ">"._MB_XP2_ALL ."</option>";
+
+    $option .= "<option value=\"1\" ";
+    if (in_array(1, $selected))
+		$option .= " selected=\"selected\"";
+    $option .= ">"._MB_XP2_COMMENT ."</option>";
+
+    $option .= "<option value=\"2\" ";
+    if (in_array(2, $selected))
+		$option .= " selected=\"selected\"";
+    $option .= ">"._MB_XP2_TRUCKBACK ."</option>";
+
+    $option .= "<option value=\"3\" ";
+    if (in_array(3, $selected))
+		$option .= " selected=\"selected\"";
+    $option .= ">"._MB_XP2_PINGBACK ."</option>";
+
+    $output = _MB_XP2_COM_TYPE . "<br />\n";
+    $output .= 	"<input type='hidden' name='$option_name' id='com_hidden' value='$value' />\n";
+    $output .= '&nbsp;&nbsp;<select name="com_type" id="com_type" multiple="multiple" onclick="ComTypeSelect()">' ."\n";
+    $output .= $option;
+    $output .= '</select><br />';
+    $output .= '
+<script type="text/javascript">
+    function ComTypeSelect(){
+        var idx=new Array();
+        var sel=document.getElementById("com_type").options;
+        for(var i=0, n=0; i<sel.length; i++){
+            if(sel[i].selected){ idx[n++]=sel[i].value; }
+        }
+        if(idx.length>0){
+	       	document.getElementById("com_hidden").value = idx;
+		}
+    }
+</script>
+';
+    
+    return $output;
+
+}
+endif;
+
+if(!function_exists("block_template_setting")):
+function block_template_setting($mydirname,$option_name = '',$value='')
+{
+	$temp_parm = explode(':' , $value);
+	if (empty($temp_parm[1])) {
+		$filename=$temp_parm[0];
+		$temp_type = 'db';
+	} else  {
+		$filename=$temp_parm[1];
+		$temp_type = $temp_parm[0];
+	}
+
+	$none_prefix_filename = '';
+	$pattern = '^' . $mydirname . '_(.*).html';
+	if (preg_match('/' . $pattern . '/' , $filename, $match)){ // file prefix check
+		$none_prefix_filename = $match[1];
+	}
+	
+	$output = _MB_XP2_THISTEMPLATE . "\n";
+	$output .= 	'<input type="hidden" size="50" name="' . $option_name . '" id="template_hide" value="' . $value .'"/>' . "\n";
+    $output .= '&nbsp;<select name="template_type" id="template_type" onclick="Template_Make()">' ."\n";
+	switch ($temp_type){
+		case 'db':
+		case 'DB':
+			$output .=  '<option value="0" selected="selected">db</option>';
+			$output .=  '<option value="1">file</option>';
+			break;
+		default:
+			$output .=  '<option value="0">db</option>';
+			$output .=  '<option value="1" selected="selected">file</option>';
+	}
+	$output .= '</select>';
+	$output .= '<b>:'.$mydirname . '_</b>';
+	$output .= '<input type="text" size="30" name="none_prefix_file" id="none_prefix_file" value="'. $none_prefix_filename. '"  onChange="Template_Make()"/><b>.html</b><br />';
+    $output .= '
+<script type="text/javascript">
+	function Template_Make(){
+		var type_element = document.getElementById("template_type");
+		var name_element = document.getElementById("none_prefix_file");
+		var real_element = document.getElementById("template_hide");
+
+		var file_name = "' . $mydirname . '_" + name_element.value + ".html";
+		if (type_element.value ==0) var tmp_type = "db:"; else var tmp_type = "file:";
+		real_element.value = tmp_type + file_name;
+	}
+</script>
+';
+    
+    return $output;
+
+}
+endif;
+if(!function_exists("javascript_check")):
+function javascript_check()
+{
+	$out  = '<div id="JSNG"><p style="color: red"><b>' . _MB_XP2_NO_JSCRIPT . '</b></p><br /></div>';
+	$out .= '<script>  document.getElementById("JSNG").style.display = "none";</script>';
+	return $out;
+}
+endif;
+
+if (!function_exists('wp_version_compare')){
+	function wp_version_compare($wp_version , $operator='==',$comp_version){
+		$inc_wp_version = str_replace("ME", "", $wp_version);
+	 	return version_compare($inc_wp_version, $comp_version, $operator);
+	}
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/blocks/blog_list_block.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/blocks/blog_list_block.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/blocks/blog_list_block.php	(revision 866)
@@ -0,0 +1,74 @@
+<?php
+if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ;
+$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+
+eval( '
+function b_'.$mydirname.'_blog_list_show($options){
+	return _b_blog_list_show($options) ;
+}
+function b_'.$mydirname.'_blog_list_edit($options){
+	return _b_blog_list_edit($options) ;
+}
+' ) ;		
+	
+if( ! defined( 'XPRESS_BLOG_LIST_BLOCK_INCLUDED' ) ) {
+	define( 'XPRESS_BLOG_LIST_BLOCK_INCLUDED' , 1 ) ;
+
+	function _b_blog_list_edit($options)
+	{
+
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_blog_list_block.html' : trim( $options[1] );
+		$orderby = empty( $options[2] ) ? 'name' : $options[2] ;
+		$order = empty( $options[3] ) ? 'ASC' : $options[3] ;
+		
+		require_once(XOOPS_ROOT_PATH.'/modules/'.$mydirname.'/blocks/block_common.php');	
+
+		$form  = javascript_check();
+		$form .= "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />\n";
+		$form .= block_template_setting($mydirname,'options[1]',htmlspecialchars($this_template,ENT_QUOTES));
+		$form .= "<br />";
+		$form .= _MB_XP2_BLOG_ORDERBY .": ";
+		$form .=  "<select name='options[2]'>";
+		if ($orderby =='name')
+			$form .=  "<option value='name' selected='selected'>". _MB_XP2_BLOG_NAME;
+		else
+			$form .=  "<option value='name'>". _MB_XP2_BLOG_NAME;
+		if ($orderby =='count')
+			$form .=  "<option value='count' selected='selected'>". _MB_XP2_BLOG_COUNT;
+		else
+			$form .=  "<option value='count'>". _MB_XP2_BLOG_COUNT;
+		if ($orderby =='ID')
+			$form .=  "<option value='ID' selected='selected'>". _MB_XP2_BLOG_ID;
+		else
+			$form .=  "<option value='ID'>". _MB_XP2_BLOG_ID;
+		$form .=  "</select><br/>";
+		
+		$form .= _MB_XP2_SORT_ORDER .": ";
+		$form .=  "<select name='options[3]'>";
+		if ($order =='ASC')
+			$form .=  "<option value='ASC' selected='selected'>" . _MB_XP2_SORT_ASC;
+		else
+			$form .=  "<option value='ASC'>" . _MB_XP2_SORT_ASC;
+		if ($order =='DESC')
+			$form .=  "<option value='DESC' selected='selected'>" . _MB_XP2_SORT_DESC;
+		else
+			$form .=  "<option value='DESC'>" . _MB_XP2_SORT_DESC;
+		$form .=  "</select><br/>";
+		
+		return $form;
+	}
+	
+	function _b_Blog_list_show($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
+		$block_function_name = basename( __FILE__ );
+		
+		require_once $mydirpath.'/include/xpress_block_render.php';
+		return xpress_block_render($mydirname,$block_function_name,$options);
+	}
+	
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/blocks/calender_block.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/blocks/calender_block.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/blocks/calender_block.php	(revision 866)
@@ -0,0 +1,50 @@
+<?php
+if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ;
+$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+
+eval( '
+function b_'.$mydirname.'_calender_show($options){
+	return _b_calender_show($options) ;
+}
+function b_'.$mydirname.'_calender_edit($options){
+	return _b_calender_edit($options) ;
+}
+' ) ;
+	
+if( ! defined( 'XPRESS_CALENDAR_BLOCK_INCLUDED' ) ) {
+	define( 'XPRESS_CALENDAR_BLOCK_INCLUDED' , 1 ) ;
+
+	function _b_calender_edit($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$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;
+		
+		require_once(XOOPS_ROOT_PATH.'/modules/'.$mydirname.'/blocks/block_common.php');
+
+		$form  = javascript_check();
+		$form .= "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />\n";
+		$form .= block_template_setting($mydirname,'options[1]',htmlspecialchars($this_template,ENT_QUOTES));
+		$form .= "<br />";
+		$form .= _MB_XP2_SUN_COLOR .": <input type='text' name='options[2]' value='" . $sun_color . "' /><br />\n";
+		$form .= _MB_XP2_SAT_COLOR .": <input type='text' name='options[3]' value='" . $sat_color . "' /><br />\n";
+
+		return $form;
+	}
+
+	function _b_calender_show($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
+		$block_function_name = basename( __FILE__ );
+		
+		require_once $mydirpath.'/include/xpress_block_render.php';
+		return xpress_block_render($mydirname,$block_function_name,$options);
+
+	}
+	
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/blocks/category_block.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/blocks/category_block.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/blocks/category_block.php	(revision 866)
@@ -0,0 +1,92 @@
+<?php
+if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ;
+$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+
+eval( '
+function b_'.$mydirname.'_category_show($options){
+	return _b_category_show($options) ;
+}
+function b_'.$mydirname.'_category_edit($options){
+	return _b_category_edit($options) ;
+}
+' ) ;		
+	
+if( ! defined( 'XPRESS_CATEGORY_BLOCK_INCLUDED' ) ) {
+	define( 'XPRESS_CATEGORY_BLOCK_INCLUDED' , 1 ) ;
+
+	function _b_category_edit($options)
+	{
+
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_category_block.html' : trim( $options[1] );
+		$show_option_all = empty( $options[2] ) ? '' : $options[2] ;
+		$orderby = empty( $options[3] ) ? 'name' : $options[3] ;
+		$order = empty( $options[4] ) ? 'ASC' : $options[4] ;
+		$show_last_updated = empty( $options[5] ) ? false : true ;
+		$show_count = empty( $options[6] ) ? false : true ;
+		$hide_empty = empty( $options[7] ) ? false : true ;
+		$use_desc_for_title = empty( $options[8] ) ? false : true ;
+		$exclude = empty( $options[9] ) ? '' : $options[9] ;
+		$includes = empty( $options[10] ) ? '' : $options[10] ;
+		$hierarchical = empty( $options[11] ) ? false : true ;
+		$depth  = !is_numeric( $options[12] ) ? 0 : $options[12] ;
+		
+		require_once(XOOPS_ROOT_PATH.'/modules/'.$mydirname.'/blocks/block_common.php');	
+
+		$form  = javascript_check();
+		$form .= "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />\n";
+		$form .= block_template_setting($mydirname,'options[1]',htmlspecialchars($this_template,ENT_QUOTES));
+		$form .= "<br />";
+		$form .= _MB_XP2_CAT_ALL_STR . "  <input type='text' name='options[2]' value='" . $show_option_all . "' /><br />";
+		$form .= _MB_XP2_CAT_ORDERBY .": ";
+		$form .=  "<select name='options[3]'>";
+		if ($orderby =='name')
+			$form .=  "<option value='name' selected='selected'>". _MB_XP2_CAT_NAME;
+		else
+			$form .=  "<option value='name'>". _MB_XP2_CAT_NAME;
+		if ($orderby =='count')
+			$form .=  "<option value='count' selected='selected'>". _MB_XP2_CAT_COUNT;
+		else
+			$form .=  "<option value='count'>". _MB_XP2_CAT_COUNT;
+		if ($orderby =='ID')
+			$form .=  "<option value='ID' selected='selected'>". _MB_XP2_CAT_ID;
+		else
+			$form .=  "<option value='ID'>". _MB_XP2_CAT_ID;
+		$form .=  "</select><br/>";
+		
+		$form .= _MB_XP2_SORT_ORDER .": ";
+		$form .=  "<select name='options[4]'>";
+		if ($order =='ASC')
+			$form .=  "<option value='ASC' selected='selected'>" . _MB_XP2_SORT_ASC;
+		else
+			$form .=  "<option value='ASC'>" . _MB_XP2_SORT_ASC;
+		if ($order =='DESC')
+			$form .=  "<option value='DESC' selected='selected'>" . _MB_XP2_SORT_DESC;
+		else
+			$form .=  "<option value='DESC'>" . _MB_XP2_SORT_DESC;
+		$form .=  "</select><br/>";
+		
+		$form .= yes_no_radio_option('options[5]', _MB_XP2_SHOW_LAST_UPDATE , $show_last_updated) . "<br />" ;
+		$form .= yes_no_radio_option('options[6]', _MB_XP2_SHOW_NUM_OF_POST , $show_count) . "<br />" ;
+		$form .= yes_no_radio_option('options[7]', _MB_XP2_CAT_HIDE_EMPTY , $hide_empty) . "<br />" ;
+		$form .= yes_no_radio_option('options[8]', _MB_XP2_DESC_FOR_TITLE , $use_desc_for_title) . "<br />" ;
+		$form .= _MB_XP2_CAT_EXCLUDE . "  <input type='text' name='options[9]' value='" . $exclude . "' size ='60' /><br />";
+		$form .= _MB_XP2_CAT_INCLUDE . "  <input type='text' name='options[10]' value='" . $includes . "' size ='60' /><br />";
+		$form .= yes_no_radio_option('options[11]', _MB_XP2_CAT_HIERARCHICAL , $hierarchical) . "<br />" ;
+		$form .= _MB_XP2_CAT_DEPTH . "  <input type='text' name='options[12]' value='" . $depth . "' size ='8' /><br />";
+		return $form;
+	}
+	
+	function _b_category_show($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
+		$block_function_name = basename( __FILE__ );
+		
+		require_once $mydirpath.'/include/xpress_block_render.php';
+		return xpress_block_render($mydirname,$block_function_name,$options);
+	}
+	
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/blocks/enhanced_block.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/blocks/enhanced_block.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/blocks/enhanced_block.php	(revision 866)
@@ -0,0 +1,47 @@
+<?php
+if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ;
+$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+
+eval( '
+function b_'.$mydirname.'_enhanced_show($options){
+	return _b_enhanced_show($options) ;
+}
+function b_'.$mydirname.'_enhanced_edit($options){
+	return _b_enhanced_edit($options) ;
+}
+' ) ;
+
+if( ! defined( 'XPRESS_ENHANCED_BLOCK_INCLUDED' ) ) {
+	define( 'XPRESS_ENHANCED_BLOCK_INCLUDED' , 1 ) ;
+	
+	function _b_enhanced_edit($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] ;
+		
+		require_once(XOOPS_ROOT_PATH.'/modules/'.$mydirname.'/blocks/block_common.php');
+
+		$form  = javascript_check();
+		$form .= "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />\n";
+		$form .= block_template_setting($mydirname,'options[1]',htmlspecialchars($this_template,ENT_QUOTES));
+		$form .= "<br />";
+		$form .= _MB_XP2_ENHACED_FILE .":<br />\n";
+		$form .= '&emsp;' . _MB_XP2_FILE_NAME . ": <b>my_</b><input type='text' name='options[2]' value='" . $include_file . "' /><b>_block.php</b><br>\n";
+		$form .= '&emsp;' . _MB_XP2_MAKE_ENHACED_FILE . "<br>\n";
+		return $form;
+	}
+	
+	function _b_enhanced_show($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
+		$block_function_name = basename( __FILE__ );
+		
+		require_once $mydirpath.'/include/xpress_block_render.php';
+		return xpress_block_render($mydirname,$block_function_name,$options);
+	}
+	
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/blocks/global_popular_posts_block.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/blocks/global_popular_posts_block.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/blocks/global_popular_posts_block.php	(revision 866)
@@ -0,0 +1,49 @@
+<?php
+if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ;
+$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+
+eval( '
+function b_'.$mydirname.'_global_popular_show($options){
+	return _b_global_popular_show($options) ;
+}
+function b_'.$mydirname.'_global_popular_edit($options){
+	return _b_global_popular_edit($options) ;
+}
+' ) ;
+
+if( ! defined( 'XPRESS_GLOBAL_POPULAR_BLOCK_INCLUDED' ) ) {
+	define( 'XPRESS_GLOBAL_POPULAR_BLOCK_INCLUDED' , 1 ) ;
+	function _b_global_popular_edit($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_grobal_popular_posts_block.html' : trim( $options[1] );
+		$disp_count = empty( $options[2] ) ? '10' : $options[2] ;
+		$show_month_range = empty( $options[3] ) ? '0' : $options[3] ;
+		$date_format = empty( $options[4] ) ? '' : $options[4] ;
+		$time_format = empty( $options[5] ) ? '' : $options[5] ;
+
+		$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
+		
+		require_once(XOOPS_ROOT_PATH.'/modules/'.$mydirname.'/blocks/block_common.php');
+		$form  = javascript_check();
+		$form .= "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />\n";
+		$form .= block_template_setting($mydirname,'options[1]',htmlspecialchars($this_template,ENT_QUOTES));
+		$form .= "<br />\n";
+		$form .= _MB_XP2_COUNT .": <input type='text' name='options[2]' value='" . $disp_count . "' /><br />\n";
+		$form .= _MB_XP2_MONTH_RANGE .": <input type='text' name='options[3]' value='" . $show_month_range . "' /><br />\n";
+		$form .= _MB_XP2_DATE_FORMAT .": <input type='text' name='options[4]' value='" . $date_format . "' /><br />\n";
+		$form .= _MB_XP2_TIME_FORMAT .": <input type='text' name='options[5]' value='" . $time_format . "' /><br />\n";
+		return $form;
+	}
+
+	function _b_global_popular_show($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
+		$block_function_name = basename( __FILE__ );
+		
+		require_once $mydirpath.'/include/xpress_block_render.php';
+		return xpress_block_render($mydirname,$block_function_name,$options);
+	}
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/blocks/global_recent_comments_block.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/blocks/global_recent_comments_block.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/blocks/global_recent_comments_block.php	(revision 866)
@@ -0,0 +1,56 @@
+<?php
+if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ;
+$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+
+eval( '
+function b_'.$mydirname.'_global_comments_show($options){
+	return _b_global_comments_show($options) ;
+}
+function b_'.$mydirname.'_global_comments_edit($options){
+	return _b_global_comments_edit($options) ;
+}
+' ) ;
+
+
+if( ! defined( 'XPRESS_GLOBAL_COMMENTS_BLOCK_INCLUDED' ) ) {
+	define( 'XPRESS_GLOBAL_COMMENTS_BLOCK_INCLUDED' , 1 ) ;
+	function _b_global_comments_edit($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_global_recent_comments_block.html' : trim( $options[1] );
+		$disp_count = empty( $options[2] ) ? '10' : $options[2] ;
+		$disp_length = empty( $options[3] ) ? '30' : $options[3] ;
+		$date_format = empty( $options[4] ) ? '' : $options[4] ;
+		$time_format = empty( $options[5] ) ? '' : $options[5] ;
+		$com_select = empty( $options[6] ) ? '0' : $options[6] ;
+
+		$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
+
+		require_once(XOOPS_ROOT_PATH.'/modules/'.$mydirname.'/blocks/block_common.php');
+		
+		$form  = javascript_check();
+		$form .= "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />\n";
+		$form .= block_template_setting($mydirname,'options[1]',htmlspecialchars($this_template,ENT_QUOTES));
+		$form .= "<br />";
+		$form .= _MB_XP2_COUNT .": <input type='text' size='3' name='options[2]' value='" . $disp_count . "' /><br />\n";
+		$form .= _MB_XP2_LENGTH .": <input type='text' size='3' name='options[3]' value='" . $disp_length . "' /><br />\n";
+		$form .= _MB_XP2_DATE_FORMAT .": <input type='text' name='options[4]' value='" . $date_format . "' /><br />\n";
+		$form .= _MB_XP2_TIME_FORMAT .": <input type='text' name='options[5]' value='" . $time_format . "' /><br />\n";
+	    $form .= "<br />\n";
+	    $form .= comment_type_select('options[6]' , $com_select);
+
+
+		return $form;
+	}
+	
+	function _b_global_comments_show($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
+		$block_function_name = basename( __FILE__ );
+		
+		require_once $mydirpath.'/include/xpress_block_render.php';
+		return xpress_block_render($mydirname,$block_function_name,$options);
+	}
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/blocks/global_recent_posts_list_block.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/blocks/global_recent_posts_list_block.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/blocks/global_recent_posts_list_block.php	(revision 866)
@@ -0,0 +1,57 @@
+<?php
+if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ;
+$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+
+eval( '
+function b_'.$mydirname.'_global_posts_show($options){
+	return _b_global_posts_show($options) ;
+}
+function b_'.$mydirname.'_global_posts_edit($options){
+	return _b_global_posts_edit($options) ;
+}
+' ) ;
+
+if( ! defined( 'XPRESS_GLOBAL_POSTS_BLOCK_INCLUDED' ) ) {
+	define( 'XPRESS_GLOBAL_POSTS_BLOCK_INCLUDED' , 1 ) ;
+	function _b_global_posts_edit($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_global_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] ;
+		$date_format = empty( $options[5] ) ? '' : $options[5] ;
+		$time_format = empty( $options[6] ) ? '' : $options[6] ;
+		$Shown_for_each_blog = empty( $options[7] ) ? false : true ;		
+		$exclusion_blog = empty( $options[8] ) ? '0' : $options[8] ;
+
+		$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
+		
+		require_once(XOOPS_ROOT_PATH.'/modules/'.$mydirname.'/blocks/block_common.php');
+
+		$form  = javascript_check();
+		$form .= "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />\n";
+		$form .= block_template_setting($mydirname,'options[1]',htmlspecialchars($this_template,ENT_QUOTES));
+		$form .= "<br />\n";	
+		$form .= _MB_XP2_COUNT .": <input type='text' size='3' name='options[2]' value='" . $disp_count . "' /><br />\n";
+		$form .= _MB_XP2_REDNEW_DAYS .": <input type='text' size='3' name='options[3]' value='" . $disp_red . "' /><br />\n";
+		$form .= _MB_XP2_GREENNEW_DAYS .": <input type='text' size='3' name='options[4]' value='" . $disp_green . "' /><br />\n";
+		$form .= _MB_XP2_DATE_FORMAT .": <input type='text' name='options[5]' value='" . $date_format . "' /><br />\n";
+		$form .= _MB_XP2_TIME_FORMAT .": <input type='text' name='options[6]' value='" . $time_format . "' /><br />\n";
+		$form .= yes_no_radio_option('options[7]', _MB_XP2_SHOWN_FOR_EACH_BLOG , $Shown_for_each_blog) . "<br />\n";
+	    $form .= blog_select('options[8]' , $exclusion_blog,true);
+
+		return $form;
+	}
+
+	function _b_global_posts_show($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
+		$block_function_name = basename( __FILE__ );
+		
+		require_once $mydirpath.'/include/xpress_block_render.php';
+		return xpress_block_render($mydirname,$block_function_name,$options);
+	}
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/blocks/index.html
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/blocks/index.html	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/blocks/index.html	(revision 866)
@@ -0,0 +1,1 @@
+ <script>history.go(-1);</script>
Index: /tags/Ver2.5.4/xpressme_integration_kit/blocks/meta_block.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/blocks/meta_block.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/blocks/meta_block.php	(revision 866)
@@ -0,0 +1,59 @@
+<?php
+if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ;
+$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+
+eval( '
+function b_'.$mydirname.'_meta_show($options){
+	return _b_meta_show($options) ;
+}
+function b_'.$mydirname.'_meta_edit($options){
+	return _b_meta_edit($options) ;
+}
+' ) ;		
+	
+if( ! defined( 'XPRESS_META_BLOCK_INCLUDED' ) ) {
+	define( 'XPRESS_META_BLOCK_INCLUDED' , 1 ) ;
+
+	function _b_meta_edit($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_meta_block.html' : trim( $options[1] );
+		$wp_link = empty( $options[2] ) ? false : true ;
+		$xoops_link = empty( $options[3] ) ? false : true ;
+		$post_rss = empty( $options[4] ) ? false : true ;
+		$comment_rss = empty( $options[5] ) ? false : true ;
+		$post_new = empty( $options[6] ) ? false : true ;
+		$admin_edit = empty( $options[7] ) ? false : true ;
+		$readme = empty( $options[8] ) ? false : true ;
+		$ch_style = empty( $options[9] ) ? false : true ;
+		
+		require_once(XOOPS_ROOT_PATH.'/modules/'.$mydirname.'/blocks/block_common.php');	
+
+		$form  = javascript_check();
+		$form .= "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />\n";
+		$form .= block_template_setting($mydirname,'options[1]',htmlspecialchars($this_template,ENT_QUOTES));
+		$form .= "<br />";
+		$form .= yes_no_radio_option('options[2]', _MB_XP2_META_WP_LINK , $wp_link) . "<br />\n";
+		$form .= yes_no_radio_option('options[3]', _MB_XP2_META_XOOPS_LINK , $xoops_link) . "<br />\n";
+		$form .= yes_no_radio_option('options[4]', _MB_XP2_META_POST_RSS , $post_rss) . "<br />\n";
+		$form .= yes_no_radio_option('options[5]', _MB_XP2_META_COMMENT_RSS , $comment_rss) . "<br />\n";
+		$form .= yes_no_radio_option('options[6]', _MB_XP2_META_POST_NEW , $post_new) . "<br />\n";
+		$form .= yes_no_radio_option('options[7]', _MB_XP2_META_ADMIN , $admin_edit) . "<br />\n";
+		$form .= yes_no_radio_option('options[8]', _MB_XP2_META_README , $readme) . "<br />\n";
+		$form .= yes_no_radio_option('options[9]', _MB_XP2_META_CH_STYLE , $ch_style) . "\n";
+	    
+		return $form;
+	}
+	
+	function _b_meta_show($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
+		$block_function_name = basename( __FILE__ );
+		
+		require_once $mydirpath.'/include/xpress_block_render.php';
+		return xpress_block_render($mydirname,$block_function_name,$options);
+	}
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/blocks/page_block.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/blocks/page_block.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/blocks/page_block.php	(revision 866)
@@ -0,0 +1,138 @@
+<?php
+if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ;
+$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+
+eval( '
+function b_'.$mydirname.'_page_show($options){
+	return _b_page_show($options) ;
+}
+function b_'.$mydirname.'_page_edit($options){
+	return _b_page_edit($options) ;
+}
+' ) ;		
+	
+if( ! defined( 'XPRESS_PAGE_BLOCK_INCLUDED' ) ) {
+	define( 'XPRESS_PAGE_BLOCK_INCLUDED' , 1 ) ;
+
+	function _b_page_edit($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_page_block.html' : trim( $options[1] );
+		$sort_column = empty( $options[2] ) ? 'post_title' : $options[2] ;
+		$sort_order = empty( $options[3] ) ? 'asc' : $options[3] ;
+		$exclude = empty( $options[4] ) ? '' : $options[4] ;
+		$exclude_tree = empty( $options[5] ) ? '' : $options[5] ;
+		$includes = empty( $options[6] ) ? '' : $options[6] ;
+		$depth = !is_numeric( $options[7] ) ? 0 : $options[7] ;
+		$child_of = !is_numeric( $options[8] ) ? 0 : $options[8] ;
+		$show_date = empty( $options[9] ) ? 'none' : $options[9] ;
+		$date_format = empty( $options[10] ) ? '' : $options[10] ;
+		$hierarchical = empty( $options[11] ) ? false : true ;
+		$meta_key = empty( $options[12] ) ? '' : $options[12] ;
+		$meta_value = empty( $options[13] ) ? '' : $options[13] ;
+
+		require_once(XOOPS_ROOT_PATH.'/modules/'.$mydirname.'/blocks/block_common.php');
+
+		$form  = javascript_check();
+		$form .= "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />\n";
+		$form .= block_template_setting($mydirname,'options[1]',htmlspecialchars($this_template,ENT_QUOTES));
+		$form .= "<br />";
+		$form .= _MB_XP2_PAGE_ORDERBY .": ";
+		$form .=  "<select name='options[2]'>";
+		
+		if ($sort_column =='post_title')
+			$form .=  "<option value='post_title' selected='selected'>". _MB_XP2_PAGE_TITLE;
+		else
+			$form .=  "<option value='post_title'>". _MB_XP2_PAGE_TITLE;
+		
+		if ($sort_column =='menu_order')
+			$form .=  "<option value='menu_order' selected='selected'>". _MB_XP2_PAGE_MENU_ORDER;
+		else
+			$form .=  "<option value='menu_order'>". _MB_XP2_PAGE_MENU_ORDER;
+		
+		if ($sort_column =='post_date')
+			$form .=  "<option value='post_date' selected='selected'>". _MB_XP2_PAGE_POST_DATE;
+		else
+			$form .=  "<option value='post_date'>". _MB_XP2_PAGE_POST_DATE;
+		
+		if ($sort_column =='post_modified')
+			$form .=  "<option value='post_modified' selected='selected'>". _MB_XP2_PAGE_POST_MODIFY;
+		else
+			$form .=  "<option value='post_modified'>". _MB_XP2_PAGE_POST_MODIFY;
+		
+		if ($sort_column =='ID')
+			$form .=  "<option value='ID' selected='selected'>". _MB_XP2_PAGE_ID;
+		else
+			$form .=  "<option value='ID'>". _MB_XP2_PAGE_ID;
+		
+		if ($sort_column =='post_author')
+			$form .=  "<option value='post_author' selected='selected'>". _MB_XP2_PAGE_AUTHOR;
+		else
+			$form .=  "<option value='post_author'>". _MB_XP2_PAGE_AUTHOR;
+		
+		if ($sort_column =='post_name')
+			$form .=  "<option value='post_name' selected='selected'>". _MB_XP2_PAGE_SLUG;
+		else
+			$form .=  "<option value='post_name'>". _MB_XP2_PAGE_SLUG;
+		
+		$form .=  "</select><br/>";
+		
+		
+		$form .= _MB_XP2_SORT_ORDER .": ";
+		$form .=  "<select name='options[3]'>";
+		if ($sort_order =='asc')
+			$form .=  "<option value='asc' selected='selected'>" . _MB_XP2_SORT_ASC;
+		else
+			$form .=  "<option value='asc'>" . _MB_XP2_SORT_ASC;
+		if ($sort_order =='desc')
+			$form .=  "<option value='desc' selected='selected'>" . _MB_XP2_SORT_DESC;
+		else
+			$form .=  "<option value='desc'>" . _MB_XP2_SORT_DESC;
+		$form .=  "</select><br/>\n";
+		
+		$form .= _MB_XP2_PAGE_EXCLUDE . "  <input type='text' name='options[4]' value='" . $exclude . "' size ='60' /><br />\n";
+		$form .= _MB_XP2_PAGE_EXCLUDE_TREE . "  <input type='text' name='options[5]' value='" . $exclude_tree . "' size ='60' /><br />\n";
+		$form .= _MB_XP2_PAGE_INCLUDE . "  <input type='text' name='options[6]' value='" . $includes . "' size ='60' /><br />\n";
+		$form .= _MB_XP2_PAGE_DEPTH . "  <input type='text' name='options[7]' value='" . $depth . "' size ='8' /><br />";
+		$form .= _MB_XP2_PAGE_CHILD_OF . "  <input type='text' name='options[8]' value='" . $child_of . "' size ='8' /><br />";
+
+		$form .= _MB_XP2_SHOW_DATE_SELECT .": ";
+		$form .=  "<select name='options[9]'>";
+		if ($show_date =='none')
+			$form .=  "<option value='none' selected='selected'>" . _MB_XP2_SHOW_DATE_NONE;
+		else
+			$form .=  "<option value='none'>" . _MB_XP2_SHOW_DATE_NONE;
+
+		if ($show_date =='post_date')
+			$form .=  "<option value='post_date' selected='selected'>" . _MB_XP2_SHOW_POST_DATE;
+		else
+			$form .=  "<option value='post_date'>" . _MB_XP2_SHOW_POST_DATE;
+
+		if ($show_date =='modified')
+			$form .=  "<option value='modified' selected='selected'>" . _MB_XP2_SHOW_MODIFY_DATE;
+		else
+			$form .=  "<option value='modified'>" . _MB_XP2_SHOW_MODIFY_DATE;
+		
+		$form .=  "</select><br/>\n";
+
+		$form .= _MB_XP2_DATE_FORMAT .": <input type='text' name='options[10]' value='" . $date_format . "' /><br />\n";
+		$form .= yes_no_radio_option('options[11]', _MB_XP2_PAGE_HIERARCHICAL , $hierarchical) . "<br />" ;
+		$form .= _MB_XP2_PAGE_META_KEY . "  <input type='text' name='options[12]' value='" . $meta_key . "' size ='40' /><br />\n";
+		$form .= _MB_XP2_PAGE_META_VALUE . "  <input type='text' name='options[13]' value='" . $meta_value . "' size ='40' /><br />\n";
+    
+		return $form;
+	}
+
+	function _b_page_show($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
+		$block_function_name = basename( __FILE__ );
+		
+		require_once $mydirpath.'/include/xpress_block_render.php';
+		return xpress_block_render($mydirname,$block_function_name,$options);
+	}
+
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/blocks/popular_posts_block.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/blocks/popular_posts_block.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/blocks/popular_posts_block.php	(revision 866)
@@ -0,0 +1,60 @@
+<?php
+if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ;
+$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+
+eval( '
+function b_'.$mydirname.'_popular_show($options){
+	return _b_popular_show($options) ;
+}
+function b_'.$mydirname.'_popular_edit($options){
+	return _b_popular_edit($options) ;
+}
+' ) ;
+
+if( ! defined( 'XPRESS_POPULAR_BLOCK_INCLUDED' ) ) {
+	define( 'XPRESS_POPULAR_BLOCK_INCLUDED' , 1 ) ;
+	function _b_popular_edit($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_popular_posts_block.html' : trim( $options[1] );
+		$disp_count = empty( $options[2] ) ? '10' : $options[2] ;
+		$show_month_range = empty( $options[3] ) ? '0' : $options[3] ;
+		$date_format = empty( $options[4] ) ? '' : $options[4] ;
+		$time_format = empty( $options[5] ) ? '' : $options[5] ;
+		$tag_select = $options[6] ;
+		$cat_select = empty( $options[7] ) ? '0' : $options[7] ;
+
+		$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
+		
+		require_once(XOOPS_ROOT_PATH.'/modules/'.$mydirname.'/blocks/block_common.php');
+		$form  = javascript_check();
+		$form .= "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />\n";
+		$form .= block_template_setting($mydirname,'options[1]',htmlspecialchars($this_template,ENT_QUOTES));
+		$form .= "<br />\n";
+		$form .= _MB_XP2_COUNT .": <input type='text' name='options[2]' value='" . $disp_count . "' /><br />\n";
+		$form .= _MB_XP2_MONTH_RANGE .": <input type='text' name='options[3]' value='" . $show_month_range . "' /><br />\n";
+		$form .= _MB_XP2_DATE_FORMAT .": <input type='text' name='options[4]' value='" . $date_format . "' /><br />\n";
+		$form .= _MB_XP2_TIME_FORMAT .": <input type='text' name='options[5]' value='" . $time_format . "' /><br />\n";
+		include $mydirpath .'/wp-includes/version.php' ;
+		if (wp_version_compare($wp_version, '>=','2.3')){
+			$form .= "<br />\n";
+			$form .= _MB_XP2_TAGS_SELECT .": <input type='text' name='options[6]' value='" . $tag_select . "' /><br />\n";
+		} else {
+			$form .= "<input type='hidden' name='options[6]' value='' /><br />\n";
+		}
+
+		$form .= categorie_select('options[7]' , $cat_select);
+		return $form;
+	}
+
+	function _b_popular_show($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
+		$block_function_name = basename( __FILE__ );
+		
+		require_once $mydirpath.'/include/xpress_block_render.php';
+		return xpress_block_render($mydirname,$block_function_name,$options);
+	}
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/blocks/recent_comments_block.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/blocks/recent_comments_block.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/blocks/recent_comments_block.php	(revision 866)
@@ -0,0 +1,56 @@
+<?php
+if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ;
+$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+
+eval( '
+function b_'.$mydirname.'_comments_show($options){
+	return _b_comments_show($options) ;
+}
+function b_'.$mydirname.'_comments_edit($options){
+	return _b_comments_edit($options) ;
+}
+' ) ;
+
+
+if( ! defined( 'XPRESS_COMMENTS_BLOCK_INCLUDED' ) ) {
+	define( 'XPRESS_COMMENTS_BLOCK_INCLUDED' , 1 ) ;
+	function _b_comments_edit($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$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] ;
+		$date_format = empty( $options[4] ) ? '' : $options[4] ;
+		$time_format = empty( $options[5] ) ? '' : $options[5] ;
+		$com_select = empty( $options[6] ) ? '0' : $options[6] ;
+
+		$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
+
+		require_once(XOOPS_ROOT_PATH.'/modules/'.$mydirname.'/blocks/block_common.php');
+		
+		$form  = javascript_check();
+		$form .= "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />\n";
+		$form .= block_template_setting($mydirname,'options[1]',htmlspecialchars($this_template,ENT_QUOTES));
+		$form .= "<br />";
+		$form .= _MB_XP2_COUNT .": <input type='text' size='3' name='options[2]' value='" . $disp_count . "' /><br />\n";
+		$form .= _MB_XP2_LENGTH .": <input type='text' size='3' name='options[3]' value='" . $disp_length . "' /><br />\n";
+		$form .= _MB_XP2_DATE_FORMAT .": <input type='text' name='options[4]' value='" . $date_format . "' /><br />\n";
+		$form .= _MB_XP2_TIME_FORMAT .": <input type='text' name='options[5]' value='" . $time_format . "' /><br />\n";
+	    $form .= "<br />\n";
+	    $form .= comment_type_select('options[6]' , $com_select);
+
+
+		return $form;
+	}
+	
+	function _b_comments_show($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
+		$block_function_name = basename( __FILE__ );
+		
+		require_once $mydirpath.'/include/xpress_block_render.php';
+		return xpress_block_render($mydirname,$block_function_name,$options);
+	}
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/blocks/recent_posts_content_block.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/blocks/recent_posts_content_block.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/blocks/recent_posts_content_block.php	(revision 866)
@@ -0,0 +1,91 @@
+<?php
+if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ;
+$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+
+eval( '
+function b_'.$mydirname.'_content_show($options){
+	return _b_content_show($options) ;
+}
+function b_'.$mydirname.'_content_edit($options){
+	return _b_content_edit($options) ;
+}
+' ) ;
+
+if( ! defined( 'XPRESS_CONTENT_BLOCK_INCLUDED' ) ) {
+	define( 'XPRESS_CONTENT_BLOCK_INCLUDED' , 1 ) ;
+	
+	function _b_content_edit($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_recent_posts_content_block.html' : trim( $options[1] );
+		$disp_count =  ($options[2])?intval($options[2]):10;
+		$excerpt = empty( $options[3] ) ? false : true ;
+		$excerpt_size =  ($options[4])?intval($options[4]):100;
+		$date_format = empty( $options[5] ) ? '' : $options[5] ;
+		$time_format = empty( $options[6] ) ? '' : $options[6] ;
+		$tag_select = $options[7] ;
+		$cat_select = empty( $options[8] ) ? '0' : $options[8] ;
+		$day_select = ($options[9])?intval($options[9]):0;
+		$day_size = ($options[10])?intval($options[10]):0;
+
+		$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
+
+		require_once(XOOPS_ROOT_PATH.'/modules/'.$mydirname.'/blocks/block_common.php');
+		
+		$form  = javascript_check();
+		$form .= "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />\n";
+		$form .= block_template_setting($mydirname,'options[1]',htmlspecialchars($this_template,ENT_QUOTES));
+		$form .= "<br />";
+		$form .= _MB_XP2_COUNT .": <input type='text' size='3' name='options[2]' value='" . $disp_count . "' /><br />\n";
+		$form .= yes_no_radio_option('options[3]', _MB_XP2_P_EXCERPT , $excerpt) . "<br />\n";
+		$form .= _MB_XP2_P_EXCERPT_SIZE .": <input type='text' name='options[4]' value='" . $excerpt_size . "' /><br />\n";
+		$form .= _MB_XP2_DATE_FORMAT .": <input type='text' name='options[5]' value='" . $date_format . "' /><br />\n";
+		$form .= _MB_XP2_TIME_FORMAT .": <input type='text' name='options[6]' value='" . $time_format . "' /><br />\n";
+		
+		include $mydirpath .'/wp-includes/version.php' ;
+		if (wp_version_compare($wp_version, '>=','2.3')){
+			$form .= "<br />\n";
+			$form .= _MB_XP2_TAGS_SELECT .": <input type='text' name='options[7]' value='" . $tag_select . "' /><br />\n";
+		} else {
+			$form .= "<input type='hidden' name='options[7]' value='' /><br />\n";
+		}
+		
+	    $form .= categorie_select('options[8]' , $cat_select);
+	    
+	    $form .= "<br />";
+		$form .= _MB_XP2_DAY_SELECT . ':' . _MB_XP2_DAY_BETWEEN . '<select name="options[9]">';
+		switch ($day_select){
+		case 1:
+			$form .= '<option value="0">' . _MB_XP2_NONE . '</option>';
+			$form .= '<option value="1" selected>'. _MB_XP2_TODAY . '</option>';
+			$form .= '<option value="2">' . _MB_XP2_LATEST . '</option>';
+			break;
+		case 2:
+			$form .= '<option value="0">' . _MB_XP2_NONE . '</option>';
+			$form .= '<option value="1">'. _MB_XP2_TODAY . '</option>';
+			$form .= '<option value="2" selected>' . _MB_XP2_LATEST . '</option>';
+			break;
+		default :
+			$form .= '<option value="0" selected>' . _MB_XP2_NONE . '</option>';
+			$form .= '<option value="1">'. _MB_XP2_TODAY . '</option>';
+			$form .= '<option value="2">' . _MB_XP2_LATEST . '</option>';
+		}
+		$form .= '</select>';
+		
+		$form .= ' ' . _MB_XP2_DAYS_AND . " <input type='text' size='2' name='options[10]' value='" . $day_size . "' />" . _MB_XP2_DAYS_AGO . "<br />\n";
+
+		return $form;
+	}
+
+	
+	function _b_content_show($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
+		$block_function_name = basename( __FILE__ );
+		
+		require_once $mydirpath.'/include/xpress_block_render.php';
+		return xpress_block_render($mydirname,$block_function_name,$options);
+	}
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/blocks/recent_posts_list_block.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/blocks/recent_posts_list_block.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/blocks/recent_posts_list_block.php	(revision 866)
@@ -0,0 +1,65 @@
+<?php
+if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ;
+$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+
+eval( '
+function b_'.$mydirname.'_posts_show($options){
+	return _b_posts_show($options) ;
+}
+function b_'.$mydirname.'_posts_edit($options){
+	return _b_posts_edit($options) ;
+}
+' ) ;
+
+if( ! defined( 'XPRESS_POSTS_BLOCK_INCLUDED' ) ) {
+	define( 'XPRESS_POSTS_BLOCK_INCLUDED' , 1 ) ;
+	function _b_posts_edit($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$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] ;
+		$date_format = empty( $options[5] ) ? '' : $options[5] ;
+		$time_format = empty( $options[6] ) ? '' : $options[6] ;
+		$tag_select = $options[7] ;
+		$cat_select = empty( $options[8] ) ? '0' : $options[8] ;
+
+		$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
+		
+		require_once(XOOPS_ROOT_PATH.'/modules/'.$mydirname.'/blocks/block_common.php');
+
+		$form  = javascript_check();
+		$form .= "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />\n";
+		$form .= block_template_setting($mydirname,'options[1]',htmlspecialchars($this_template,ENT_QUOTES));
+		$form .= "<br />\n";	
+		$form .= _MB_XP2_COUNT .": <input type='text' size='3' name='options[2]' value='" . $disp_count . "' /><br />\n";
+		$form .= _MB_XP2_REDNEW_DAYS .": <input type='text' size='3' name='options[3]' value='" . $disp_red . "' /><br />\n";
+		$form .= _MB_XP2_GREENNEW_DAYS .": <input type='text' size='3' name='options[4]' value='" . $disp_green . "' /><br />\n";
+		$form .= _MB_XP2_DATE_FORMAT .": <input type='text' name='options[5]' value='" . $date_format . "' /><br />\n";
+		$form .= _MB_XP2_TIME_FORMAT .": <input type='text' name='options[6]' value='" . $time_format . "' /><br />\n";
+		
+		include $mydirpath .'/wp-includes/version.php' ;
+		if (wp_version_compare($wp_version, '>=','2.3')){
+			$form .= "<br />\n";
+			$form .= _MB_XP2_TAGS_SELECT .": <input type='text' name='options[7]' value='" . $tag_select . "' /><br />\n";
+		} else {
+			$form .= "<input type='hidden' name='options[7]' value='' /><br />\n";
+		}
+
+	    $form .= categorie_select('options[8]' , $cat_select);
+
+		return $form;
+	}
+
+	function _b_posts_show($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
+		$block_function_name = basename( __FILE__ );
+		
+		require_once $mydirpath.'/include/xpress_block_render.php';
+		return xpress_block_render($mydirname,$block_function_name,$options);
+	}
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/blocks/search_block.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/blocks/search_block.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/blocks/search_block.php	(revision 866)
@@ -0,0 +1,46 @@
+<?php
+if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ;
+$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+
+eval( '
+function b_'.$mydirname.'_search_show($options){
+	return _b_search_show($options) ;
+}
+function b_'.$mydirname.'_search_edit($options){
+	return _b_search_edit($options) ;
+}
+' ) ;	
+
+if( ! defined( 'XPRESS_SEARCH_BLOCK_INCLUDED' ) ) {
+	define( 'XPRESS_SEARCH_BLOCK_INCLUDED' , 1 ) ;
+
+	function _b_search_edit($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_search_block.html' : trim( $options[1] );
+		$disp_count = empty( $options[2] ) ? '18' : $options[2] ;
+		$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname ;
+		
+		require_once(XOOPS_ROOT_PATH.'/modules/'.$mydirname.'/blocks/block_common.php') ;
+		
+		$form  = javascript_check();
+		$form .= "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />\n";
+		$form .= block_template_setting($mydirname,'options[1]',htmlspecialchars($this_template,ENT_QUOTES));
+		$form .= "<br />";		
+		$form .= _MB_XP2_SEARCH_LENGTH .": <input type='text' size='3' name='options[2]' value='" . $disp_count . "' /><br />";
+//	    $form .="<br /><input type='text' size='60' name='options[2]' value='".htmlspecialchars($this_template,ENT_QUOTES)."' />";
+
+		return $form;
+	}
+
+	function _b_search_show($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
+		$block_function_name = basename( __FILE__ );
+		
+		require_once $mydirpath.'/include/xpress_block_render.php';
+		return xpress_block_render($mydirname,$block_function_name,$options);
+	}
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/blocks/sidebar_block.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/blocks/sidebar_block.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/blocks/sidebar_block.php	(revision 866)
@@ -0,0 +1,30 @@
+<?php
+if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ;
+$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+
+eval( '
+function b_'.$mydirname.'_sidebar_show($options){
+	return _b_sidebar_show($options) ;
+}
+function b_'.$mydirname.'_sidebar_edit($options){
+	return _b_sidebar_edit($options) ;
+}
+' ) ;		
+	
+if( ! defined( 'XPRESS_SIDEBAR_BLOCK_INCLUDED' ) ) {
+	define( 'XPRESS_SIDEBAR_BLOCK_INCLUDED' , 1 ) ;
+	
+	function _b_sidebar_show($options)
+	{
+		$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+
+		$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
+		$block_function_name = basename( __FILE__ );
+		
+		require_once $mydirpath.'/include/xpress_block_render.php';
+		return xpress_block_render($mydirname,$block_function_name,$options);
+	}
+
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/blocks/tag_cloud_block.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/blocks/tag_cloud_block.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/blocks/tag_cloud_block.php	(revision 866)
@@ -0,0 +1,122 @@
+<?php
+if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ;
+$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+
+eval( '
+function b_'.$mydirname.'_tag_cloud_show($options){
+	return _b_tag_cloud_show($options) ;
+}
+function b_'.$mydirname.'_tag_cloud_edit($options){
+	return _b_tag_cloud_edit($options) ;
+}
+' ) ;		
+	
+if( ! defined( 'XPRESS_TAG_CLOUD_BLOCK_INCLUDED' ) ) {
+	define( 'XPRESS_TAG_CLOUD_BLOCK_INCLUDED' , 1 ) ;
+	
+	function _b_tag_cloud_edit($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_tag_cloud_block.html' : trim( $options[1] );
+		$smallest = !is_numeric( $options[2] ) ? 8 : $options[2] ;
+		$largest = !is_numeric( $options[3] ) ? 22 : $options[3] ;
+		$unit = empty( $options[4] ) ? 'pt' : $options[4] ;
+		$number = !is_numeric( $options[5] ) ? 45 : $options[5] ;
+		$format = empty( $options[6] ) ? 'flat' : $options[6] ;
+		$orderby = empty( $options[7] ) ? 'name' : $options[7] ;
+		$order = empty( $options[8] ) ? 'ASC' : $options[8] ;
+		$exclude = is_null( $options[9] ) ? '' : $options[9] ;
+		$wp_include = is_null( $options[10] ) ? '' : $options[10] ;
+		
+		require_once(XOOPS_ROOT_PATH.'/modules/'.$mydirname.'/blocks/block_common.php');	
+
+		$form  = javascript_check();
+		$form .= "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />\n";
+		$form .= block_template_setting($mydirname,'options[1]',htmlspecialchars($this_template,ENT_QUOTES));
+		$form .= "<br />";
+		$form .= _MB_XP2_CLOUD_SMALLEST .": <input type='text' size='4' name='options[2]' value='" . $smallest . "' /><br />";
+		$form .= _MB_XP2_CLOUD_LARGEST .": <input type='text' size='4' name='options[3]' value='" . $largest . "' /><br />";
+		$form .= _MB_XP2_CLOUD_UNIT .": ";
+		$form .=  "<select name='options[4]'>";
+		if ($unit =='pt')
+			$form .=  "<option value='pt' selected='selected'>pt";
+		else
+			$form .=  "<option value='pt'>pt";
+		if ($unit =='px')
+			$form .=  "<option value='px' selected='selected'>px";
+		else
+			$form .=  "<option value='px'>px";
+		if ($unit =='em')
+			$form .=  "<option value='em' selected='selected'>em";
+		else
+			$form .=  "<option value='em'>em";
+		if ($unit =='%')
+			$form .=  "<option value='%' selected='selected'>%";
+		else
+			$form .=  "<option value='%'>%";
+		$form .=  "</select><br/>";
+		
+		$form .= _MB_XP2_CLOUD_NUMBER .": <input type='text' size='4' name='options[5]' value='" . $number . "' /><br />";
+		
+		$form .= _MB_XP2_CLOUD_FORMAT .": ";
+		$form .=  "<select name='options[6]'>";
+		if ($format =='flat')
+			$form .=  "<option value='flat' selected='selected'>" . _MB_XP2_FLAT;
+		else
+			$form .=  "<option value='flat'>" . _MB_XP2_FLAT;
+		if ($format =='list')
+			$form .=  "<option value='list' selected='selected'>". _MB_XP2_LIST;
+		else
+			$form .=  "<option value='list'>". _MB_XP2_LIST;
+		$form .=  "</select><br/>";
+				
+		$form .= _MB_XP2_CLOUD_ORDERBY .": ";
+		$form .=  "<select name='options[7]'>";
+		if ($orderby =='name')
+			$form .=  "<option value='name' selected='selected'>". _MB_XP2_TAG_NAME;
+		else
+			$form .=  "<option value='name'>". _MB_XP2_TAG_NAME;
+		if ($orderby =='count')
+			$form .=  "<option value='count' selected='selected'>". _MB_XP2_TAG_COUNT;
+		else
+			$form .=  "<option value='count'>". _MB_XP2_TAG_COUNT;
+		$form .=  "</select><br/>";
+
+		$form .= _MB_XP2_CLOUD_ORDER .": ";
+		$form .=  "<select name='options[8]'>";
+		if ($order =='ASC')
+			$form .=  "<option value='ASC' selected='selected'>" . _MB_XP2_SORT_ASC;
+		else
+			$form .=  "<option value='ASC'>" . _MB_XP2_SORT_ASC;
+		if ($order =='DESC')
+			$form .=  "<option value='DESC' selected='selected'>" . _MB_XP2_SORT_DESC;
+		else
+			$form .=  "<option value='DESC'>" . _MB_XP2_SORT_DESC;
+		if ($order =='RAND')
+			$form .=  "<option value='RAND' selected='selected'>" . _MB_XP2_RAND;
+		else
+			$form .=  "<option value='RAND'>" . _MB_XP2_RAND;
+		$form .=  "</select><br/>";
+
+		$form .= _MB_XP2_CLOUD_EXCLUDE .": <input type='text' size='25' name='options[9]' value='" . $exclude . "' /><br />";
+		$form .= _MB_XP2_CLOUD_INCLUDE .": <input type='text' size='25' name='options[10]' value='" . $wp_include . "' /><br />";
+
+
+//	    $form .="<br /><input type='text' size='60' name='options[8]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' />";
+	    
+		return $form;
+	}
+	
+	function _b_tag_cloud_show($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
+		$block_function_name = basename( __FILE__ );
+		
+		require_once $mydirpath.'/include/xpress_block_render.php';
+		return xpress_block_render($mydirname,$block_function_name,$options);
+	}
+	
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/blocks/widget_block.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/blocks/widget_block.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/blocks/widget_block.php	(revision 866)
@@ -0,0 +1,103 @@
+<?php
+if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ;
+$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+
+eval( '
+function b_'.$mydirname.'_widget_show($options){
+	return _b_widget_show($options) ;
+}
+function b_'.$mydirname.'_widget_edit($options){
+	return _b_widget_edit($options) ;
+}
+' ) ;
+
+if( ! defined( 'XPRESS_WIDGET_BLOCK_INCLUDED' ) ) {
+	define( 'XPRESS_WIDGET_BLOCK_INCLUDED' , 1 ) ;
+	
+	function _b_widget_edit($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_widget_block.html' : trim( $options[1] );
+		$title_show = empty( $options[2] ) ? false : true ;
+		$widget_select = empty( $options[3] ) ? '' : $options[3] ;
+
+		$selected = explode(',' , $widget_select);
+		$wp_prefix = preg_replace('/wordpress/','wp',$mydirname) . '_';
+		$xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection();
+		$myts =& MyTextSanitizer::getInstance();
+
+		$db_xpress_options = $xoopsDB->prefix($wp_prefix . 'options');
+		$query = "SELECT option_value FROM $db_xpress_options WHERE option_name = 'sidebars_widgets' LIMIT 1";
+		$res =  $xoopsDB->query($query, 0, 0);
+	    if ($res !== false){
+	 		$row = $xoopsDB->fetchArray($res);
+	 		$sidebars_widgets = @unserialize( $row['option_value'] );
+	 	}
+	 	if ( !isset($sidebars_widgets['array_version']) )
+			$sidebars_widgets['array_version'] = 1;
+		
+		
+		require_once(XOOPS_ROOT_PATH.'/modules/'.$mydirname.'/blocks/block_common.php');
+
+		$form  = javascript_check();
+		$form .= "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />\n";
+		$form .= block_template_setting($mydirname,'options[1]',htmlspecialchars($this_template,ENT_QUOTES));
+		$form .= "<br />" . yes_no_radio_option('options[2]', _MB_XP2_WIDGET_TITLE_SHOW , $title_show);
+		$form .= "<br />";
+		$form .= _MB_XP2_SELECT_WIDGET .":<br />\n";
+    	$form .= "<input type='hidden' name='options[3]' value='$widget_select' />\n";
+
+		$select = "&nbsp;&nbsp;&nbsp;<select name='widget_sel' multiple=\"multiple\" onclick=\"WidgetSelect()\">\n";
+		$found = false;
+		foreach ( (array) $sidebars_widgets as $index => $sidebar ){
+			if ( is_array($sidebar) ){
+				$sidebar_id = $index;
+				foreach ( (array) $sidebar as $i => $name ) {
+					$found = true;
+					$widget = strtolower($name);
+					$widget_str = $sidebar_id . '::' . $widget;
+					if (in_array($widget_str, $selected))
+						$select .=  "<option value='" .  $widget_str . "' selected='selected'>" . $widget_str;
+					else
+						$select .=  "<option value='" . $widget_str . "'>" . $widget_str;
+					
+				}
+			}
+		}
+
+		$select .=  "</select><br/>\n";
+    $select .= '
+<script type="text/javascript">
+    function WidgetSelect(){
+        var idx=new Array();
+        var sel=document.forms["blockform"].elements["widget_sel"].options;
+        for(var i=0, n=0; i<sel.length; i++){
+            if(sel[i].selected){ idx[n++]=sel[i].value; }
+        }
+        if(idx.length>0){
+        	document.forms["blockform"].elements["options[3]"].value = idx;
+		}
+    }
+</script>
+';
+		
+		if ($found){
+			$form = $form . $select;
+		} else {
+			$form = $form . "&nbsp;&nbsp;&nbsp;" . _MB_XP2_NO_WIDGET;
+		}
+		
+		return $form;
+	}
+	
+	function _b_widget_show($options)
+	{
+		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+		$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
+		$block_function_name = basename( __FILE__ );
+		
+		require_once $mydirpath.'/include/xpress_block_render.php';
+		return xpress_block_render($mydirname,$block_function_name,$options);
+	}
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/class/check_blocks_class.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/class/check_blocks_class.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/class/check_blocks_class.php	(revision 866)
@@ -0,0 +1,473 @@
+<?php
+
+//================================================================
+// check block table
+// 2007-10-10 K.OHWADA
+//================================================================
+
+//---------------------------------------------------------
+// this program works in XOOPS 2.0.16aJP, XOOPS Cube 2.1.2, XOOPS 2.0.17
+//
+// NOTE
+// xoops 2.0.16 JP  : class/xoopsblock.php and kernel/block.php are different
+// xoops cube 2.1.2 : class/xoopsblock.php and kernel/block.php are the same
+// xoops 2.0.17     : no token class
+//---------------------------------------------------------
+
+include_once dirname( __FILE__ ).'/../../../mainfile.php';
+include_once XOOPS_ROOT_PATH.'/class/xoopsblock.php';
+
+//=========================================================
+// class xoops_block_check
+//=========================================================
+class xoops_block_check
+{
+	var $_TOKEN_NAME = 'block';
+	var $module_id        = 0;
+	var $_msg_array  = array();
+	var $_error_flag = false;
+	var $_xoops_version = '2.0';
+	var $_use_token     = false;
+	var $_blocks_check_array = array();
+	var $_all_ok_flag = true;
+	var $_module_dir = '';
+	var $module_name = '';
+	var $module_dirname = '';
+	var $remove_submit_form;
+	var $update_link;
+//---------------------------------------------------------
+// constructor
+//---------------------------------------------------------
+function xoops_block_check()
+{
+	$this->_detect_xoops_version();
+}
+
+function &getInstance()
+{
+	static $instance;
+	if (!isset($instance)) 
+	{
+		$instance = new xoops_block_check();
+	}
+	return $instance;
+}
+
+//--------------------------------------------------------
+// public
+//--------------------------------------------------------
+function get_message()
+{
+	return $this->_get_msg();
+}
+
+function get_op()
+{
+	$op  = '';
+	$mid = 0;
+	foreach ( $_POST as $k => $v )
+	{
+		if ( preg_match( "/^amid:/", $k ) )
+		{
+			$op  = 'remove_all_block';
+			$mid = intval( str_replace("amid:", "", $k) );
+			break;
+		}
+		if ( preg_match( "/^mid:/", $k ) )
+		{
+			$op  = 'remove_block';
+			$mid = intval( str_replace("mid:", "", $k) );
+			break;
+		}
+	}
+	$this->module_id = $mid;
+	return $op;
+}
+
+function check_blocks($module_dir)
+{
+	$this->_all_ok_flag = true;
+	$this->_module_dir = $module_dir;
+	$this->module_dirname = $module_dir;
+
+	if ( $this->_use_token )
+	{
+		$text = $this->_create_token();
+	}
+
+	$objs =& $this->_get_module_objects();
+	$obj = $objs[0];
+	if (!empty($obj)){
+		$this->module_id = $obj->getVar('mid', 'n');
+		$url = $this->_build_url_module_update( $this->module_dirname );
+		$this->update_link = $this->_build_url_module_update( $this->module_dirname );
+		$this->remove_submit_form .= '<input type="submit" name="mid:'.$this->module_id.'" value="Remove Block: '.$this->module_name.'" />'."\n";
+
+		return $this->_check_block_by_module( $obj );
+
+	} else {
+		$this->_err( 'Modules Not Found' );
+		return false;
+	}
+}
+
+function remove_all_block()
+{
+	$text = "<h1>Remove xoops block table</h1>\n";
+
+
+/*
+	if( $this->_use_token && !$this->_validate_token() ) 
+	{
+		$text .= '<h3 style="color:#ff0000">Token Error</h3>'."\n";
+		$text .= '<a href="block_check.php">Check Bloks</a>';
+		return $text;
+	}
+*/
+	$module_obj =& $this->_get_module_object_bymodule_id( $this->module_id );
+	if( !is_object($module_obj) ) 
+	{
+		$text .= '<h3 style="color:#ff0000">"No Module: mid='. $this->module_id ."</h3>\n";
+		$text .= "<br />\n";
+		$text .= '<a href="check_blocks.php">Check Bloks</a>';
+		return $text;
+	}
+
+	$ret = $this->_remove_block_bymodule_id( $this->module_id );
+	if ( $ret ) {
+		$text .= '<h4 style="color:#0000ff">Success</h4>'."\n";
+	} else {
+		$text .= '<h4 style="color:#ff0000">Failed</h4>'."\n";
+	}
+
+	$url = $this->_build_url_module_update( $module_obj->getVar('dirname', 'n') );
+	$text .= '<a href="'.$url.'">GO to Module Update: '.$module_obj->getVar('name', 's')."</a><br /><br />\n";
+//	$text .= '<a href="check_blocks.php">Check xoops block table</a><br />'."\n";
+
+	return $text;
+}
+function remove_block()
+{
+	$text = "<h1>Remove xoops block table</h1>\n";
+
+	$error = false;
+	$block_objs =& $this->_get_block_object_orber_num_bymodule_id( $this->module_id);
+	$module_obj =& $this->_get_module_object_bymodule_id( $this->module_id );
+	$infos    =& $module_obj->getInfo('blocks');
+
+	foreach ( $infos as $num => $info )
+	{
+		$block_err = false;
+		if ( !isset( $block_objs[ $num ] ) ){
+			$block_err = true;
+		} else {
+			$block_obj = $block_objs[ $num ];
+			if ( isset($info['file']) && ( $info['file'] != $block_obj->getVar('func_file', 'n') ) ) $block_err = true;
+			if ( isset($info['show_func']) && ( $info['show_func'] != $block_obj->getVar('show_func', 'n') ) ) $block_err = true;
+			if ( isset($info['edit_func']) && ( $info['edit_func'] != $block_obj->getVar('edit_func', 'n') ) ) $block_err = true;
+			if ( isset($info['template']) && ( $info['template'] != $block_obj->getVar('template', 'n') ) ) $block_err = true;
+			if ( isset($info['options']) ){
+				$option_arr_1 = explode( '|', $info['options'] );
+				$option_arr_2 = explode( '|', $block_obj->getVar('options', 'n') );
+			
+				$excludes_block = array();
+			
+				if (in_array($info['file'],$excludes_block)){
+					if ( count($option_arr_1) > count($option_arr_2) ) $block_err = true;
+				} else {
+					if ( count($option_arr_1) != count($option_arr_2) ) $block_err = true;
+				}
+			}
+		}
+		if ($block_err){
+			$ret = $this->_delete_block( $block_obj );
+			if ( !$ret ) $error = true;
+		}
+	}
+
+	if ( !$error ) {
+		$text .= '<h4 style="color:#0000ff">Success</h4>'."\n";
+	} else {
+		$text .= '<h4 style="color:#ff0000">Failed</h4>'."\n";
+	}
+
+	$url = $this->_build_url_module_update( $module_obj->getVar('dirname', 'n') );
+	$text .= '<a href="'.$url.'">GO to Module Update: '.$module_obj->getVar('name', 's')."</a><br /><br />\n";
+//	$text .= '<a href="check_blocks.php">Check xoops block table</a><br />'."\n";
+
+	return $text;
+}
+
+//--------------------------------------------------------
+// private
+//--------------------------------------------------------
+function _check_block_by_module( &$module_obj )
+{
+	$this->_msg_array = array();
+
+	$mid      =  $module_obj->getVar('mid', 'n');
+	$mod_name =  $module_obj->getVar('name', 's');
+	$dirname  =  $module_obj->getVar('dirname', 'n');
+	$infos    =& $module_obj->getInfo('blocks');
+
+	$this->module_name = $mod_name ;
+	$this->module_dirname = $dirname ;
+	
+
+	if ( !is_array($infos) || !count($infos) )
+	{
+		$this->_msg( 'No block' );
+		return $this->_get_msg();
+	}
+
+
+	$block_objs =& $this->_get_block_object_orber_num_bymodule_id( $mid );
+
+	foreach ( $infos as $num => $info )
+	{
+		if ( !isset( $block_objs[ $num ] ) )
+		{
+			$this->_err( htmlspecialchars( $info['name'] ).': not exist in block table' );
+			$this->_all_ok_flag = false;
+
+			continue;
+		}
+
+		$this->_check_block_by_obj( $info, $block_objs[ $num ] );
+	}
+
+	if ($this->_all_ok_flag){
+	} else {		
+	}
+
+	return $this->_all_ok_flag;
+}
+
+function _check_block_by_obj( &$info, &$block_obj )
+{
+	$this->_error_flag = false;
+	
+	$bid = $block_obj->getVar('bid', 'n');
+	$edit_url = $this->_build_url_block_edit( $bid );
+	$name = '<a href="' . $edit_url . '">'. htmlspecialchars( $info['name'] ). '</a>';
+//	$name = htmlspecialchars( $info['name'] );
+
+	if ( isset($info['file']) && ( $info['file'] != $block_obj->getVar('func_file', 'n') ) )
+	{
+		$this->_err( $name.': file unmatch' );
+	}
+
+	if ( isset($info['show_func']) && ( $info['show_func'] != $block_obj->getVar('show_func', 'n') ) )
+	{
+		$this->_err( $name.': show_func unmatch' );
+	}
+
+	if ( isset($info['edit_func']) && ( $info['edit_func'] != $block_obj->getVar('edit_func', 'n') ) )
+	{
+		$this->_err( $name.': edit_func unmatch' );
+	}
+
+	if ( isset($info['template']) && ( $info['template'] != $block_obj->getVar('template', 'n') ) )
+	{
+		$this->_err( $name.': template unmatch' );
+	}
+
+	if ( isset($info['options']) )
+	{
+		$option_arr_1 = explode( '|', $info['options'] );
+		$option_arr_2 = explode( '|', $block_obj->getVar('options', 'n') );
+		
+		$excludes_block = array();
+		
+		if (in_array($info['file'],$excludes_block)){
+			if ( count($option_arr_1) > count($option_arr_2) )
+			{
+				$this->_err( $name.': options count unmatch' );
+			}
+
+		} else {
+			if ( count($option_arr_1) != count($option_arr_2) )
+			{
+				$this->_err( $name.': options count unmatch' );
+			}
+		}
+	}
+
+	if ( !$this->_error_flag )
+	{
+		$this->_msg( $name.': OK' );
+	} else {
+		$this->_all_ok_flag = false;
+	}
+
+}
+
+function _remove_block_bymodule_id( $mid )
+{
+	$error = false;
+	$objs =& $this->_get_block_object_bymodule_id( $mid );
+	foreach ( $objs as $obj )
+	{
+		$ret = $this->_delete_block( $obj );
+		if ( !$ret )
+		{	$error = true;	}
+	}
+	if ( $error )
+	{	return false;	}
+	return true;
+}
+
+function _msg( $msg )
+{
+	$this->_msg_array[] = '&emsp;' .$msg;
+}
+
+function _err( $msg )
+{
+	$this->_msg_array[] = '&emsp;' . $this->_highlight( $msg );
+	$this->_error_flag  = true;
+}
+
+function _get_msg()
+{
+	$msg = implode( "<br />\n", $this->_msg_array );
+	return $msg;
+}
+
+
+function _highlight( $msg )
+{
+	$text = null;
+	if ( $msg )
+	{
+		$text = '<span style="color: #ff0000;">'.$msg.'</span>';
+	}
+	return $text;
+}
+
+function _build_url_module_update( $dirname )
+{
+	if ( $this->_xoops_version == '2.1' ) {
+		$url = XOOPS_URL.'/modules/legacy/admin/index.php?action=ModuleUpdate&dirname='.$dirname;
+	} else {
+		$url = XOOPS_URL.'/modules/system/admin.php?fct=modulesadmin&op=update&module='.$dirname;
+	}
+	return $url;
+}
+function _build_url_block_edit( $bid )
+{
+	$dir_name = $this->module_dirname;
+	if (file_exists(XOOPS_ROOT_PATH . '/modules/altsys/admin/index.php')){
+//		$url = XOOPS_URL.'/modules/altsys/admin/index.php?mode=admin&lib=altsys&page=myblocksadmin&dirname=xp_trunk&op=edit&bid='.$bid;
+		$url = XOOPS_URL.'/modules/'.$dir_name.'/admin/index.php?mode=admin&lib=altsys&page=myblocksadmin&dirname='.$dir_name.'xp_trunk&op=edit&bid='.$bid;
+	} else if ( $this->_xoops_version == '2.1' ) {
+		$url = XOOPS_URL.'/modules/legacy/admin/index.php?action=BlockEdit&bid='.$bid;
+	} else {
+		$url = XOOPS_URL.'/modules/system/admin.php?fct=blocksadmin&op=mod&bid='.$bid;
+	}
+	return $url;
+}
+//--------------------------------------------------------
+// user handler
+//--------------------------------------------------------
+function is_admin()
+{
+	global $xoopsUser;
+	if ( is_object($xoopsUser) && $xoopsUser->isAdmin() )
+	{	return true;	}
+	return false;
+}
+
+//--------------------------------------------------------
+// module handler
+//--------------------------------------------------------
+function &_get_module_objects()
+{
+	$criteria = new CriteriaCompo();
+	$criteria->add( new Criteria('isactive', '1', '=') );
+	$criteria->add( new Criteria('dirname', $this->_module_dir, '=') );
+
+	$module_handler =& xoops_gethandler('module');
+	$objs           =& $module_handler->getObjects( $criteria );
+	return $objs;
+}
+
+function &_get_module_object_bymodule_id( $mid )
+{
+	$module_handler =& xoops_gethandler('module');
+	$obj            =& $module_handler->get( $mid );
+	return $obj;
+}
+
+//--------------------------------------------------------
+// block handler
+//--------------------------------------------------------
+function &_get_block_object_orber_num_bymodule_id( $mid )
+{
+	$arr  = array();
+	$objs =& $this->_get_block_object_bymodule_id( $mid );
+	foreach ( $objs as $obj )
+	{
+		$arr[ $obj->getVar('func_num', 'n') ] = $obj;
+	}
+	return $arr;
+}
+
+function &_get_block_object_bymodule_id( $mid, $asobject=true )
+{
+	if ( defined('ICMS_VERSION_BUILD') && ICMS_VERSION_BUILD > 27  ) { /* ImpressCMS 1.2+ */
+		$block_handler =& xoops_gethandler ('block');
+		$objs =& $block_handler->getByModule( $mid, $asobject );
+	} else { /* legacy support */
+		$objs =& XoopsBlock::getByModule( $mid, $asobject ) ; /* from class/xoopsblock.php */
+	}
+	return $objs;
+}
+
+function _delete_block( &$obj )
+{
+// NOT use xoops_gethandler in xoops 2.0.16jp
+	return $obj->delete();
+}
+
+//--------------------------------------------------------
+// token handler
+//--------------------------------------------------------
+function _create_token()
+{
+	$obj =& XoopsSingleTokenHandler::quickCreate($this->_TOKEN_NAME);
+	return $obj->getHtml();
+}
+
+function _validate_token()
+{
+	return XoopsSingleTokenHandler::quickValidate( $this->_TOKEN_NAME );
+}
+
+//--------------------------------------------------------
+// xoops version
+//--------------------------------------------------------
+function get_xoops_version()
+{
+	return $this->_xoops_version;
+}
+
+function _detect_xoops_version()
+{
+// very easy way
+	if ( preg_match("/XOOPS[\s+]Cube.*[\s+]2\.1/i", XOOPS_VERSION) )
+	{
+		$this->_xoops_version = '2.1';
+	}
+
+// xoops 2.0.17 has no token class
+	if ( file_exists( XOOPS_ROOT_PATH.'/class/token.php' ) ) 
+	{
+		$this->_use_token = true;
+	}
+}
+
+// --- class end ---
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/class/config_from_xoops.class.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/class/config_from_xoops.class.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/class/config_from_xoops.class.php	(revision 866)
@@ -0,0 +1,380 @@
+<?php
+/*
+ * XPressME - WordPress for XOOPS
+ *
+ * @copyright	XPressME Project http://www.toemon.com
+ * @license		http://www.fsf.org/copyleft/gpl.html GNU public license
+ * @author		toemon
+ * @package		module::xpress
+ */
+
+/* 
+ * The function to acquire only a set value without calling the XOOPS system is here.
+ */
+class ConfigFromXoops{
+	var $xoops_mainfile_path;
+	var $define_arry = array();	
+	var $external_define_path;
+	var $xp_config_file_path;
+	var $xoops_root_path;
+	var $xoops_url;
+	var $xoops_trust_path;
+	var $xoops_cache_path;
+	var $xoops_db_prefix;
+	var $xoops_db_name;
+	var $xoops_db_user;
+	var $xoops_db_pass;
+	var $xoops_db_host;
+	var $module_name;
+	var $module_path;
+	var $module_url;
+	var $module_db_prefix;
+	var $module_version;
+	var $module_codename;	
+	var $xoops_upload_path;
+	var $xoops_upload_url;
+	var $xoops_db_salt;
+	var $xoops_salt;
+	var $is_impress;
+	var $impress_db_config_file;
+	var $wp_db_version;
+	var $wp_version;
+	var $is_wp_me;
+	var $xoops_language;
+	var $module_id;
+	var $module_config= array();
+	var $xoops_time_zone;
+	var $xoops_var_path;
+	var $xoops_db_charset;
+	var $xoops_db_pconnect;
+	var $xoops_path;
+	
+	function __constructor()	//for PHP5
+    {
+        $this->ConfigFromXoops();
+       
+    }
+    
+    function xpress_eval($str){
+    	$eval_str = '$ret = ' . $str . ' ;';
+    	eval($eval_str);
+    	return $ret;
+    }
+
+    function ConfigFromXoops()	//for PHP4 constructor
+    {  
+    	$this->xoops_mainfile_path = $this->get_xoops_mainfile_path();
+    	$this->module_path=dirname(dirname(__FILE__));
+    	$this->module_name=basename($this->module_path);
+    	$this->xp_config_file_path = $this->module_path . '/xp-config.php';
+    	
+    	// start /admin/index.php page detect
+    	$php_script_name = $_SERVER['SCRIPT_NAME'];
+		$php_query_string = $_SERVER['QUERY_STRING'];
+		$admin_page = 	basename(dirname(dirname(__FILE__))) . '/admin/index.php';
+		$is_xoops_module_admin = false;
+		if (strstr($php_script_name,$admin_page) !== false) $is_xoops_module_admin = true;
+		if (strstr($php_query_string,$admin_page) !== false) $is_xoops_module_admin = true;
+    	// end of /admin/index.php page detect
+    	
+    	if (file_exists($this->xp_config_file_path)){	// file exists xp-config.php
+    		$this->_get_value_by_xp_config_file();
+    	}else if (defined('XOOPS_MAINFILE_INCLUDED') && !$is_xoops_module_admin){ // loaded XOOPS mainfile.php
+    		$this->_get_value_by_xoops_define();
+    	} else {  // A set value is acquired from mainfile.php by the pattern match.
+			if(file_exists($this->xoops_mainfile_path)){
+    			$this->_get_value_by_xoops_mainfile();
+    			
+    			// Xoops2.5 secure.php 
+				if (!empty($this->xoops_var_path)){
+					$secure_path = $this->xoops_var_path . "/data/secure.php";
+    				if (file_exists($secure_path)){
+    					$this->_get_value_by_xoops_secure($secure_path);
+    				}
+				}
+
+    			// Value 'is_impress' and value 'external_define_path' used in the under
+    			// are set in _get_value_by_xoops_mainfile(). 
+				if ($this->is_impress){		// DB Config from Impress CMS impress_db_config file
+					$this->_get_value_by_impress_db_config_file();
+				} else if(!empty($this->external_define_path)){ // file exists mainfile.php in the trust pass.
+					$this->_get_value_by_trust_mainfile();
+				}
+			} // end of if file_exists
+			
+		}
+
+		//  define from /settings/definition.inc.php (XCL)  or /include/common.php(2016a-JP)
+		$this->xoops_upload_path = $this->xoops_root_path .'/uploads';
+		$this->xoops_upload_url = $this->xoops_url . '/uploads';
+		$this->module_db_prefix = $this->xoops_db_prefix  . '_' . preg_replace('/wordpress/','wp',$this->module_name) . '_';
+		
+		$this->set_module_version();
+		$this->set_wp_version();
+		if (function_exists('date_default_timezone_get')){
+			$this->xoops_time_zone = date_default_timezone_get();
+		}
+		$this->_get_cache_path();
+    }
+
+	// A set value is acquired from XOOPS mainfile.php by the pattern match.
+	function _get_value_by_xoops_mainfile(){
+		$array_file = file($this->xoops_mainfile_path);
+		$pattern = '^\s*define\s*\(\s*(\'[^\']+\'|"[^"]+")\s*,\s*([^\s]+.*)\s*\)\s*;';
+		$impress_include_pattern = '^\s*(include_once|include)\s*[\(\s]\s*XOOPS_TRUST_PATH\s*.\s*[\'"]([^\'"]+)[\'"]\s*[\)\s]\s*;';
+		$external_define_file_pattern = '^\s*(include_once|include|require_once|require_once)\s*\((.*mainfile\.php.*)\)';
+		for ($i = 0 ; $i <count($array_file) ; $i++){
+			if (preg_match('/' . $pattern . '/' ,$array_file[$i],$matchs)){
+				$keys = $matchs[1];
+				if (preg_match('/^\'[^\']*\'$/',$keys)) $keys = preg_replace('/\'/', '', $keys);
+				if (preg_match('/^"[^"]*"$/',$keys)) $keys = preg_replace('/"/', '', $keys);
+				$key_value = $matchs[2];
+
+				switch ($keys){
+					case  'XOOPS_ROOT_PATH':
+						$this->xoops_root_path = $this->xpress_eval($key_value);
+						break;
+					case  'XOOPS_URL':
+						$this->xoops_url = $this->xpress_eval($key_value);
+						$this->module_url = $this->xoops_url . '/modules/' . $this->module_name;
+						break;
+					case  'XOOPS_PATH':
+						$this->xoops_path = $this->xpress_eval($key_value);						
+					case  'XOOPS_TRUST_PATH':
+						$this->xoops_trust_path = $this->xpress_eval($key_value);
+						if ($this->xoops_trust_path ==  'XOOPS_PATH')
+							$this->xoops_trust_path = $this->xoops_path;
+						break;
+					case  'XOOPS_DB_PREFIX':
+						$this->xoops_db_prefix = $this->xpress_eval($key_value);
+						break;
+					case  'XOOPS_DB_NAME':
+						$this->xoops_db_name = $this->xpress_eval($key_value);
+						break;
+					case  'XOOPS_DB_USER':
+						$this->xoops_db_user = $this->xpress_eval($key_value);
+						break;
+					case  'XOOPS_DB_PASS':
+						$this->xoops_db_pass = $this->xpress_eval($key_value);
+						break;
+					case  'XOOPS_DB_HOST':
+						$this->xoops_db_host = $this->xpress_eval($key_value);
+						break;
+					case  'XOOPS_DB_SALT':
+						$this->xoops_db_salt = $this->xpress_eval($key_value);
+						break;
+					case  'XOOPS_SALT':
+						$this->xoops_salt = $this->xpress_eval($key_value);
+						break;
+					case  'XOOPS_VAR_PATH':
+						$this->xoops_var_path = $this->xpress_eval($key_value);
+						break;
+					default :
+						
+				}	// end of switch
+			}	 // end of if preg_match
+			
+			// Check External Define File
+			if (preg_match('/' . $external_define_file_pattern . '/' ,$array_file[$i],$trust_main_matchs)){
+				$include_path = $this->xpress_eval($trust_main_matchs[2]);
+				if (file_exists($include_path))
+					$this->external_define_path = $include_path;
+			}
+			
+			// Check ImpressCMS
+			if (preg_match('/' . $impress_include_pattern . '/' ,$array_file[$i],$impres_matchs)){
+				$this->is_impress = true;
+				$this->impress_db_config_file = $this->xoops_trust_path . $impres_matchs[2];
+			}
+		} // end of for loop		
+	}
+	// A set value is acquired from XOOPS mainfile.php by the pattern match.
+	function _get_value_by_xoops_secure($secure_path){
+		$array_file = file($secure_path);
+		$pattern = '^\s*define\s*\(\s*(\'[^\']+\'|"[^"]+")\s*,\s*([^\s]+.*)\s*\)\s*;';
+		$impress_include_pattern = '^\s*(include_once|include)\s*\(\s*XOOPS_TRUST_PATH\s*.\s*[\'"]([^\'"]+)[\'"]\s*\)';
+		$external_define_file_pattern = '^\s*(include_once|include|require_once|require_once)\s*\((.*mainfile\.php.*)\)';
+		for ($i = 0 ; $i <count($array_file) ; $i++){
+			if (preg_match('/' . $pattern . '/' ,$array_file[$i],$matchs)){
+				$keys = $matchs[1];
+				if (preg_match('/^\'[^\']*\'$/',$keys)) $keys = preg_replace('/\'/', '', $keys);
+				if (preg_match('/^"[^"]*"$/',$keys)) $keys = preg_replace('/"/', '', $keys);
+				$key_value = $matchs[2];
+
+				switch ($keys){
+					case  'XOOPS_DB_PREFIX':
+						$this->xoops_db_prefix = $this->xpress_eval($key_value);
+						break;
+					case  'XOOPS_DB_NAME':
+						$this->xoops_db_name = $this->xpress_eval($key_value);
+						break;
+					case  'XOOPS_DB_USER':
+						$this->xoops_db_user = $this->xpress_eval($key_value);
+						break;
+					case  'XOOPS_DB_PASS':
+						$this->xoops_db_pass = $this->xpress_eval($key_value);
+						break;
+					case  'XOOPS_DB_HOST':
+						$this->xoops_db_host = $this->xpress_eval($key_value);
+						break;
+					case  'XOOPS_DB_SALT':
+						$this->xoops_db_salt = $this->xpress_eval($key_value);
+						break;
+					case  'XOOPS_SALT':
+						$this->xoops_salt = $this->xpress_eval($key_value);
+						break;
+					case  'XOOPS_DB_CHARSET':
+						$this->xoops_db_charset = $this->xpress_eval($key_value);
+						break;
+					case  'XOOPS_DB_PCONNECT':
+						$this->xoops_db_pconnect = $this->xpress_eval($key_value);
+						break;
+					default :
+						
+				}	// end of switch
+			}	 // end of if preg_match
+			
+		} // end of for loop		
+	}
+	// A set value is acquired from XOOPS define value .
+	function _get_value_by_xoops_define(){
+		$this->xoops_root_path = XOOPS_ROOT_PATH;
+		$this->xoops_url = XOOPS_URL;
+		$this->module_url = $this->xoops_url . '/modules/' . $this->module_name;
+		if(defined('XOOPS_TRUST_PATH')) $this->xoops_trust_path = XOOPS_TRUST_PATH; else $this->xoops_trust_path = '';
+		$this->xoops_db_prefix = XOOPS_DB_PREFIX;
+		$this->xoops_db_name = XOOPS_DB_NAME;
+		$this->xoops_db_user = XOOPS_DB_USER;
+		$this->xoops_db_pass = XOOPS_DB_PASS;
+		$this->xoops_db_host = XOOPS_DB_HOST;
+		if(defined('XOOPS_DB_SALT')) $this->xoops_db_salt = XOOPS_DB_SALT; else $this->xoops_db_salt = '';
+		if(defined('XOOPS_SALT')) $this->xoops_salt = XOOPS_SALT; else $this->xoops_salt = '';
+	}
+	// A set value is acquired from xp-config.php .
+	function _get_value_by_xp_config_file(){
+	    require_once($this->xp_config_file_path);
+		$this->xoops_root_path =XP_XOOPS_ROOT_PATH;
+		$this->xoops_url = XP_XOOPS_URL;
+		$this->module_url = $this->xoops_url . '/modules/' . $this->module_name;
+		if(defined('XP_XOOPS_TRUST_PATH')) $this->xoops_trust_path = XP_XOOPS_TRUST_PATH; else $this->xoops_trust_path = '';
+		$this->xoops_db_prefix = XP_XOOPS_DB_PREFIX;
+		$this->xoops_db_name = XP_XOOPS_DB_NAME;
+		$this->xoops_db_user = XP_XOOPS_DB_USER;
+		$this->xoops_db_pass = XP_XOOPS_DB_PASS;
+		$this->xoops_db_host = XP_XOOPS_DB_HOST;
+		if(defined('XP_XOOPS_DB_SALT')) $this->xoops_db_salt = XP_XOOPS_DB_SALT; else $this->xoops_db_salt = '';
+		if(defined('XOOPS_SALT')) $this->xoops_salt = XP_XOOPS_SALT; else $this->xoops_salt = '';
+	}
+	
+	// A set value is acquired from config file in the trust pass by the pattern match.
+    function _get_value_by_impress_db_config_file(){
+		if(file_exists($this->impress_db_config_file)){
+			$array_file = file($this->impress_db_config_file);
+			$pattern = '^\s*define\s*\(\s*(\'[^\']+\'|"[^"]+")\s*,\s*(\'[^\']*\'|"[^"]*"|[^\'"])\s*\)\s*;';
+			for ($i = 0 ; $i <count($array_file) ; $i++){
+				if (preg_match('/' . $pattern . '/' ,$array_file[$i],$matchs)){
+					$keys = $matchs[1];
+					if (preg_match('/^\'[^\']*\'$/',$keys)) $keys = preg_replace('/\'/', '', $keys);
+					if (preg_match('/^"[^"]*"$/',$keys)) $keys = preg_replace('/"/', '', $keys);
+					$key_value = $matchs[2];
+
+					switch ($keys){
+						case  'SDATA_DB_SALT':
+							$this->xoops_db_salt = $this->xpress_eval($key_value);
+							break;
+						case  'SDATA_DB_PREFIX':
+							$this->xoops_db_prefix = $this->xpress_eval($key_value);
+							break;
+						case  'SDATA_DB_NAME':
+							$this->xoops_db_name = $this->xpress_eval($key_value);
+							break;
+						case  'SDATA_DB_USER':
+							$this->xoops_db_user = $this->xpress_eval($key_value);
+							break;
+						case  'SDATA_DB_PASS':
+							$this->xoops_db_pass = $this->xpress_eval($key_value);
+							break;
+						case  'SDATA_DB_HOST':
+							$this->xoops_db_host = $this->xpress_eval($key_value);
+							break;
+						default :
+							
+					}	// end of switch
+				}
+			} // end of for
+		} // end of if file_exists
+    }
+    
+    function _get_value_by_trust_mainfile(){
+		// When the definition is written in mainfile.php in the trust passing
+		if(file_exists($this->external_define_path)){
+			require_once($this->external_define_path);
+			
+			$this->xoops_root_path = XOOPS_ROOT_PATH;
+    		$this->xoops_url = XOOPS_URL;
+    		$this->module_url = $this->xoops_url . '/modules/' . $this->module_name;
+    		if(defined('XOOPS_TRUST_PATH')) $this->xoops_trust_path = XOOPS_TRUST_PATH; else $this->xoops_trust_path = '';
+    		$this->xoops_db_prefix = XOOPS_DB_PREFIX;
+    		$this->xoops_db_name = XOOPS_DB_NAME;
+    		$this->xoops_db_user = XOOPS_DB_USER;
+    		$this->xoops_db_pass = XOOPS_DB_PASS;
+    		$this->xoops_db_host = XOOPS_DB_HOST;
+			if(defined('XOOPS_DB_SALT')) $this->xoops_db_salt = XOOPS_DB_SALT; else $this->xoops_db_salt = '';
+			if(defined('XOOPS_SALT')) $this->xoops_salt = XOOPS_SALT; else $this->xoops_salt = '';
+		} // end of if file_exists
+	}
+	
+	// call after the $this->xoops_trust_path is set
+	function _get_cache_path(){
+		$cache_path = $this->xoops_trust_path . '/cache';
+		if (file_exists($cache_path) && is_writable($cache_path)){
+			$this->xoops_cache_path = $cache_path;
+			return;
+		}
+		$this->xoops_cache_path = $this->xoops_root_path . '/cache';
+	}
+    
+    function get_xoops_mainfile_path(){
+    	return dirname(dirname(dirname(dirname(__FILE__)))) . '/mainfile.php';
+    }
+    
+    // set XPressME module virsion and codename from xoops_versions.php
+    function set_module_version(){
+    	$xoops_version_file = dirname(dirname(__FILE__)) . '/xoops_version.php';
+		if(file_exists($xoops_version_file)){
+			$version_file = file($xoops_version_file);
+			$version_pattern = '^\s*(\$modversion\[\s*\'version\'\s*\])\s*=\s*[\'"]([^\'"]*)[\'"]';
+			$codename_pattern = '^\s*(\$modversion\[\s*\'codename\'\s*\])\s*=\s*[\'"]([^\'"]*)[\'"]';
+			$version_found = false;
+			$codename_found = false;
+			for ($i = 0 ; $i <count($version_file) ; $i++){
+				if (preg_match( "/$version_pattern/", $version_file[$i] ,$v_matches )){
+					$this->module_version = $v_matches[2];
+					$version_found = true;
+				}
+				if (preg_match( "/$codename_pattern/", $version_file[$i] ,$c_matches )){
+					$this->module_codename = $c_matches[2];
+					$codename_found = true;
+				}
+				if ( $version_found && $codename_found ) break;
+			}
+		}
+    }
+    
+    function set_wp_version(){
+    	include dirname(dirname(__FILE__)) . '/wp-includes/version.php';
+    	
+    	$this->wp_db_version = $wp_db_version;
+		
+		$this->wp_version = str_replace("ME", "", $wp_version);
+		
+		$pattern = 'ME.*';
+    	if (preg_match('/' . $pattern . '/' ,$wp_version)){
+			$this->is_wp_me = true;
+		} else {
+			$this->is_wp_me = true;
+		}
+    }
+    
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/class/xpressD3commentContent.class.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/class/xpressD3commentContent.class.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/class/xpressD3commentContent.class.php	(revision 866)
@@ -0,0 +1,538 @@
+<?php
+if( ! defined( 'XPRESS_D3FORUM_CLASS_INCLUDED' ) ) {
+	define( 'XPRESS_D3FORUM_CLASS_INCLUDED' , 1 ) ;
+
+	// a class for d3forum comment integration
+	class xpressD3commentContent extends D3commentAbstract {
+
+		function fetchSummary( $external_link_id )
+		{
+		//	include_once dirname(dirname(__FILE__)).'/include/common_functions.php' ;
+			if ( empty( $this->forum_id ) ) {
+				global $forum_id;
+				if ( !empty( $forum_id ) ) {
+					$this->forum_id = $forum_id;
+				} else {
+					return parent::fetchSummary( $external_link_id );
+				}
+			}
+
+			$db =& XoopsDatabaseFactory::getDatabaseConnection() ;
+			(method_exists('MyTextsanitizer', 'sGetInstance') && ($myts =& MyTextsanitizer::sGetInstance())) || ($myts =& MyTextsanitizer::getInstance()) ;
+
+			$module_handler =& xoops_gethandler( 'module' ) ;
+			$module =& $module_handler->getByDirname( $this->mydirname ) ;
+			$config_handler =& xoops_gethandler('config');
+			$configs = $config_handler->getConfigList( $module->mid() ) ;
+
+			$post_id = intval( $external_link_id ) ;
+			$mydirname = $this->mydirname ;
+			if( preg_match( '/[^0-9a-zA-Z_-]/' , $mydirname ) ) die( 'Invalid mydirname' ) ;
+			
+			$xpress_prefix = preg_replace('/wordpress/','wp',$mydirname);
+			$blog_info = $this->get_comment_blog_info($this->forum_id);
+			// query
+			$post_row = $db->fetchArray( $db->query( "SELECT * FROM ".$blog_info['mb_table_prefix']."posts WHERE ID=$post_id" ) ) ;
+			if( empty( $post_row ) ) return '' ;
+
+			// dare to convert it irregularly
+			$summary = str_replace( '&amp;' , '&' , htmlspecialchars( xoops_substr( strip_tags( $post_row['post_content'] ) , 0 , 255 ) , ENT_QUOTES ) ) ;
+			$uri = preg_replace('/\/$/','',$blog_info['home']);
+			$uri .= '/?p='.$post_row['ID'];
+			return array(
+				'dirname' => $mydirname. $blog_info['sub_dir'] ,
+				'module_name' => $blog_info['blogname'] ,
+				'subject' => $post_row['post_title'] ,
+				'uri' => $uri ,
+				'summary' => $summary ,
+			) ;
+		}
+		// public
+		function displayCommentsInline( $params )
+		{
+			global $xoops_config;
+			if ( function_exists('date_default_timezone_set') )
+				date_default_timezone_set($xoops_config->xoops_time_zone);
+			$new_params = $this->restructParams( $params ) ;
+			if (!$this->canAddComment($params['id']) ) {
+				$new_params['no_form'] = true;
+				echo '<p class="xpress_comment_close">' . __('Sorry, comments are closed for this item.') . '</p>';
+				ob_start();
+					d3forum_render_comments( $this->d3forum_dirname , $new_params['forum_id'] , $new_params , $this->smarty ) ;
+					$d3comment=ob_get_contents();
+				ob_end_clean();
+				preg_match('/(.*?)<div><a href=(.*?)index.php\?page=newtopic&amp;forum_id=[^>]*?>(.*?)<\/a><\/div>\s?(.*)/s', $d3comment, $elms);
+				if (! empty($elms[0])) $d3comment = $elms[1] . $elms[4];
+				echo $d3comment;
+			} else {
+				d3forum_render_comments( $this->d3forum_dirname , $new_params['forum_id'] , $new_params , $this->smarty ) ;
+			}
+			if ( function_exists('date_default_timezone_set') )
+				date_default_timezone_set('UTC');
+		}
+
+		//private for XPressME
+		function canAddComment($external_link_id)
+		{
+			global $post;
+
+			if ( empty( $this->forum_id ) ) {
+				global $forum_id;
+				if ( !empty( $forum_id ) ) {
+					$this->forum_id = $forum_id;
+				} else {
+					return false;
+				}
+			}
+			
+			if (is_object($post)){  // in wordpress 
+				if ($post->ID == $external_link_id){
+					if($post->comment_status == 'open'){
+						return true;
+					} else {
+						return false;
+					}
+				}
+			}
+					$db =& XoopsDatabaseFactory::getDatabaseConnection() ;
+					$myts =& MyTextsanitizer::getInstance() ;
+
+					$module_handler =& xoops_gethandler( 'module' ) ;
+					$module =& $module_handler->getByDirname( $this->mydirname ) ;
+					$config_handler =& xoops_gethandler('config');
+					$configs = $config_handler->getConfigList( $module->mid() ) ;
+
+					$post_id = intval( $external_link_id ) ;
+					$mydirname = $this->mydirname ;
+					if( preg_match( '/[^0-9a-zA-Z_-]/' , $mydirname ) ) die( 'Invalid mydirname' ) ;
+					
+					$blog_info = $this->get_comment_blog_info($this->forum_id);
+					$xpress_prefix = preg_replace('/wordpress/','wp',$mydirname);
+
+					// query
+					$sql = "SELECT * FROM ".$blog_info['mb_table_prefix']."posts WHERE ID=$post_id";
+					$post_row = $db->fetchArray( $db->query( $sql ) ) ;
+					if( empty( $post_row ) ) return false ;
+					if ($post_row['comment_status'] == 'open')
+						return true;
+					else
+						return false;
+
+		}
+				
+		// abstract (override it)
+		// set d3forum_dirname from parameter or config
+		function setD3forumDirname( $d3forum_dirname = '' )
+		{
+			if( ! empty($this->mod_config['d3forum_dir'] ) ) {
+		    		$this->d3forum_dirname = $this->mod_config['d3forum_dir'] ;
+			} else if( $d3forum_dirname ) {
+				$this->d3forum_dirname = $d3forum_dirname ;
+			} else if( ! empty( $this->mod_config['comment_dirname'] ) ) {
+				$this->d3forum_dirname = $this->mod_config['comment_dirname'] ;
+			} else {
+				$this->d3forum_dirname = 'd3forum' ;
+			}
+		}
+				
+		// get forum_id from $params or config
+		// override it if necessary
+
+		function getForumId( $params )
+		{
+			if( ! empty( $this->mod_config['d3forum_id'] ) ) {
+				return $this->mod_config['d3forum_id'] ;
+			} else if( ! empty( $params['forum_id'] ) ) {
+				return intval( $params['forum_id'] ) ;
+			} else if( ! empty( $this->mod_config['comment_forum_id'] ) ) {
+				return $this->mod_config['comment_forum_id'] ;
+			} else {
+				return 1 ;
+			}
+		}
+
+		// get view from $params or config
+		// override it if necessary
+		function getView( $params )
+		{
+			if( ! empty( $params['view'] ) ) {
+				return $params['view'] ;
+			} else {
+				return 'listposts' ;
+			}
+		}
+
+
+		// get view from $params or config
+		// override it if necessary
+		function getOrder( $params )
+		{
+			global $xpress_config;
+			if( ! empty( $params['order'] ) ) {
+				return strtolower( $params['order'] ) ;
+			} else {
+				return 'desc' ;
+
+			}
+		}
+
+
+		// get number of posts will be displayed from $params or config
+		// override it if necessary
+		function getPostsNum( $params )
+		{
+			if( ! empty( $params['posts_num'] ) ) {
+				return $params['posts_num'] ;
+			} else {
+				return 10 ;
+			}
+		}
+		
+		function validate_id( $link_id )
+		{
+			if ( empty( $this->forum_id ) ) {
+				global $forum_id;
+				if ( !empty( $forum_id ) ) {
+					$this->forum_id = $forum_id;
+				} else {
+					return false;
+				}
+			}
+			$post_id = intval( $link_id ) ;
+			$mydirname = $this->mydirname ;
+			$xpress_prefix = preg_replace('/wordpress/','wp',$mydirname);
+			$blog_info = $this->get_comment_blog_info($this->forum_id);
+			$db =& XoopsDatabaseFactory::getDatabaseConnection() ;
+			
+			list( $count ) = $db->fetchRow( $db->query( "SELECT COUNT(*) FROM ".$blog_info['mb_table_prefix'] ."posts WHERE ID=$post_id AND comment_status ='open'" ) ) ;
+
+			if( $count <= 0 ) return false ;
+			else return $post_id ;
+		}
+		
+	// callback on newtopic/edit/reply/delete
+	// abstract
+		function onUpdate( $mode , $link_id , $forum_id , $topic_id , $post_id = 0 )
+		{
+			global $message;
+			
+			if ($mode == 'approve'){
+				$mode = 'edit';
+			}
+			return $this->sync_to_wp_comment( $mode , $link_id , $forum_id , $topic_id , $post_id);
+
+		}
+		
+		// processing xoops notification for 'comment'
+		// override it if necessary
+		function processCommentNotifications( $mode , $link_id , $forum_id , $topic_id , $post_id )
+		{
+			$blog_info = $this->get_comment_blog_info($forum_id);
+			$wp_full_prefix = $blog_info['mb_table_prefix'];
+
+			$db =& XoopsDatabaseFactory::getDatabaseConnection() ;
+			$myts =& MyTextsanitizer::getInstance() ;
+
+			$module_handler =& xoops_gethandler( 'module' ) ;
+			$module =& $module_handler->getByDirname( $this->mydirname ) ;
+			$config_handler =& xoops_gethandler('config');
+			$configs = $config_handler->getConfigList( $module->mid() ) ;
+
+			$mydirname = $this->mydirname ;
+			if( preg_match( '/[^0-9a-zA-Z_-]/' , $mydirname ) ) die( 'Invalid mydirname' ) ;
+			
+			$xpress_prefix = preg_replace('/wordpress/','wp',$mydirname);
+			
+			$table_term_relationships = $wp_full_prefix ."term_relationships";
+			$table_term_taxonomy = $wp_full_prefix."term_taxonomy";
+			$table_terms = $wp_full_prefix."terms";
+			$table_categories = $db->prefix($xpress_prefix."_categories");
+			$table_post2cat = $db->prefix($xpress_prefix."_post2cat");
+			$wp_post = $wp_full_prefix."posts";
+			$wp_options = $wp_full_prefix."options";
+			$wp_users  = $db->prefix($xpress_prefix."_users");
+						
+			$sql = "SELECT option_value  FROM $wp_options WHERE option_name ='blogname'";
+			$blog_row = $db->fetchArray( $db->query( $sql ) ) ;
+			if( empty( $blog_row ) ) return false;
+			$blog_name = $blog_row['option_value'];
+			
+			
+			// query
+			$sql = "SELECT * FROM ".$wp_post." WHERE ID=$link_id ";
+			$post_row = $db->fetchArray( $db->query( $sql ) ) ;
+			if( empty( $post_row ) ) return false;
+			$post_title = $post_row['post_title'];
+			$post_author = $post_row['post_author'];
+			
+			$sql = "SELECT display_name  FROM $wp_users WHERE ID ='$post_author'";
+			$blog_row = $db->fetchArray( $db->query( $sql ) ) ;
+			if( empty( $blog_row ) ) return false;
+			$user_name = $blog_row['display_name'];
+
+			require_once XOOPS_ROOT_PATH . '/include/notification_functions.php' ;
+
+			// non-module integration returns false quickly
+			if( ! is_object( $this->module ) ) return false ;
+
+			$not_module =& $this->module ;
+			$not_modid = $this->module->getVar('mid') ;
+
+			$comment_tags = array( 'XPRESS_AUTH_NAME' =>$user_name,'XPRESS_BLOG_NAME' =>$blog_name,'XPRESS_POST_TITLE' => $post_title , 'XPRESS_POST_URL' => XOOPS_URL.'/modules/'.$this->d3forum_dirname.'/index.php?post_id='.intval($post_id) ) ;
+			$notification_handler =& xoops_gethandler( 'notification' ) ;
+			$notification_handler->triggerEvent( 'global' , 0 , 'comment' , $comment_tags , false , $not_modid ) ;
+			$notification_handler->triggerEvent( 'author' , $post_author , 'comment' , $comment_tags , false , $not_modid ) ;
+			$notification_handler->triggerEvent( 'post' , $link_id , 'comment' , $comment_tags , false , $not_modid ) ;
+			
+			$post_row = $db->fetchArray( $db->query( "SELECT * FROM ".$db->prefix($this->d3forum_dirname."_posts")." WHERE post_id=$post_id" ) ) ;
+			if( !empty( $post_row ) ){
+				if ( $post_row['approval'] ==0 ){
+							$notification_handler->triggerEvent( 'global' , 0 , 'waiting', $comment_tags , false , $not_modid ) ;
+				}
+			}
+			
+		// categorie notification
+			include(XOOPS_ROOT_PATH . '/modules/'.$mydirname . '/wp-includes/version.php');
+			if ($wp_db_version < 6124){
+					$sql2 = "SELECT c.cat_ID, c.cat_name FROM ".$table_categories." c, ".$table_post2cat." p2c WHERE c.cat_ID = p2c.category_id AND p2c.post_id=".$link_id;
+			} else {
+					$sql2  = "SELECT $table_term_relationships.object_id, $table_terms.term_id AS cat_ID, $table_terms.name AS cat_name ";
+					$sql2 .= "FROM $table_term_relationships INNER JOIN ($table_term_taxonomy INNER JOIN $table_terms ON $table_term_taxonomy.term_id = $table_terms.term_id) ON $table_term_relationships.term_taxonomy_id = $table_term_taxonomy.term_taxonomy_id ";
+					$sql2 .= "WHERE ($table_term_relationships.object_id =" . $link_id.") AND ($table_term_taxonomy.taxonomy='category')";		
+			}
+			$res2 = $db->query($sql2);
+			while($row2 = $db->fetchArray($res2)){
+				$cat_id = $row2['cat_ID'];
+				$cat_name = $row2['cat_name'];
+				$comment_tags = array( 'XPRESS_AUTH_NAME' =>$user_name,'XPRESS_BLOG_NAME' =>$blog_name,'XPRESS_CAT_TITLE' => $cat_name,'XPRESS_POST_TITLE' => $post_title , 'XPRESS_POST_URL' => XOOPS_URL.'/modules/'.$this->d3forum_dirname.'/index.php?post_id='.intval($post_id) ) ;
+				$notification_handler->triggerEvent( 'category' , $cat_id , 'comment' , $comment_tags , false , $not_modid ) ;
+			}
+		}
+		
+		//  The content is reflected in the WordPress comment when there is a change in the D3Forum comment. 
+
+		function sync_to_wp_comment( $mode , $link_id , $forum_id , $topic_id , $post_id = 0 ){
+
+			$blog_info = $this->get_comment_blog_info($forum_id);
+			$wp_full_prefix = $blog_info['mb_table_prefix'];
+			$blog_id = $blog_info['blog_id'];
+			$target_db_prefix = $blog_info['mb_table_prefix'];
+			$mydirname = $this->mydirname ;
+			$xpress_prefix = preg_replace('/wordpress/','wp',$mydirname);
+			$d3f_forum_dir  = $this->d3forum_dirname;
+			
+			$d3f_prefix = $d3f_forum_dir;
+			$myts =& MyTextSanitizer::getInstance();
+			$xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection();
+
+			$wp_comments = $wp_full_prefix . 'comments';
+			$wp_posts = $wp_full_prefix . 'posts';
+			$wp_d3forum_link = $xoopsDB->prefix($xpress_prefix . '_d3forum_link');
+			$d3f_posts = $xoopsDB->prefix($d3f_prefix . '_posts');
+			$d3f_topics = $xoopsDB->prefix($d3f_prefix . '_topics');
+			$d3f_users2topics  = $xoopsDB->prefix($d3f_prefix . '_users2topics ');
+			$db_xoops_users = $xoopsDB->prefix('users');
+			$d3f_post_votes = $xoopsDB->prefix($d3f_prefix . '_post_votes');
+			
+			$comment_post_ID = $link_id;
+
+			$d3f_sql  =	"SELECT $d3f_posts.guest_name, ";
+			$d3f_sql .=	"$d3f_posts.guest_email, $d3f_posts.guest_url, $d3f_posts.poster_ip, $d3f_posts.post_time, ";
+			$d3f_sql .=	"$d3f_posts.post_text, $d3f_posts.approval, $d3f_posts.uid ,$d3f_posts.pid ";
+			$d3f_sql .=	"FROM $d3f_posts ";
+			$d3f_sql .=	"WHERE $d3f_posts.post_id = $post_id";
+
+			$d3f_res = $xoopsDB->query($d3f_sql, 0, 0);
+			if ($d3f_res === false){
+				die('...Err. OPEN D3Forum Data (' .  $d3f_sql . ')');
+			}else {
+				$d3f_row = $xoopsDB->fetchArray($d3f_res);
+				$uid = $d3f_row['uid'];
+				if (!empty($uid)) {
+					$xu_sql  = "SELECT uid ,name ,uname ,email , url FROM $db_xoops_users WHERE uid = $uid";
+					$xu_res =  $xoopsDB->query($xu_sql, 0, 0);
+					if ($xu_res === false){
+						$user_display_name = '';
+					}else {
+						$xu_row = $xoopsDB->fetchArray($xu_res);
+						if (empty($xu_row['name'])){
+							$user_display_name = $xu_row['uname'];
+						} else {
+							$user_display_name = $xu_row['name'] ;
+						}
+						$comment_author_email = "'" . $xu_row['email'] . "'";
+						$comment_author_url = "'" . $xu_row['url'] . "'";
+					}
+					$comment_author = "'" . addSlashes($user_display_name) . "'";
+				} else {						
+					$comment_author = "'" . addSlashes($d3f_row['guest_name']) . "'";
+					$comment_author_email = "'" . $d3f_row['guest_email'] . "'";
+					$comment_author_url = "'" . $d3f_row['guest_url'] . "'";
+				}
+				$comment_author_IP = "'" . $d3f_row['poster_ip'] . "'";
+				$comment_date = "'" . date('Y-m-d H:i:s' , $d3f_row['post_time']) . "'";
+				$comment_content = "'" . addSlashes($d3f_row['post_text']) . "'";
+				$comment_approved = "'" . $d3f_row['approval'] . "'";
+				require_once (XOOPS_ROOT_PATH . '/modules/'.$mydirname . '/include/general_functions.php');
+				$user_ID = xoops_uid_to_wp_uid($d3f_row['uid'],$mydirname);
+				$comment_date_gmt = "'" . gmdate('Y-m-d H:i:s' , $d3f_row['post_time']) . "'";
+				$comment_type = '';
+				$d3f_pid = $d3f_row['pid'];
+				if ($d3f_pid > 0) {
+					$comment_parent = $this->get_wp_comment_ID($d3f_pid);
+				} else {
+					$comment_parent = 0 ;
+				}
+				
+				switch($mode){				
+					case 'reply':
+					case 'newtopic' :				
+						$wp_sql  = "INSERT INTO $wp_comments ";
+						$wp_sql .=    "(comment_post_ID , comment_author , comment_author_email , comment_author_url , comment_author_IP , ";
+						$wp_sql .=    "comment_date , comment_content , comment_approved , user_id , comment_date_gmt, comment_parent) ";
+						$wp_sql .=  "VALUES ";
+						$wp_sql .=    "($comment_post_ID, $comment_author, $comment_author_email, $comment_author_url, $comment_author_IP, ";
+						$wp_sql .=    "$comment_date, $comment_content, $comment_approved, $user_ID, $comment_date_gmt, $comment_parent)";
+
+						$wp_res = $xoopsDB->queryF($wp_sql, 0, 0);
+						if ($wp_res === false){
+							die( '...Err. INSERT' . $wp_comments . '(' . $wp_sql . ')');
+						} else{
+							$comment_ID = $xoopsDB->getInsertId();
+							
+							$wp_sql  = "UPDATE $wp_posts SET  comment_count = comment_count +1 WHERE ID = $comment_post_ID";
+							$wp_res = $xoopsDB->queryF($wp_sql, 0, 0);
+						
+							$wp_sql  = "INSERT INTO $wp_d3forum_link ";
+							$wp_sql .=    "(comment_ID , post_id, forum_id,blog_id) ";
+							$wp_sql .=  "VALUES ";
+							$wp_sql .=    "($comment_ID, $post_id ,$forum_id,$blog_id)";		
+							$wp_res = $xoopsDB->queryF($wp_sql, 0, 0);
+						}
+						
+
+						if ($comment_approved ==0){
+							require_once XOOPS_ROOT_PATH . '/include/notification_functions.php' ;
+							$notification_handler =& xoops_gethandler( 'notification' ) ;
+							$notification_handler->triggerEvent( 'global' , 0 , 'waiting') ;
+						}			
+
+						break;
+					case 'edit':
+						$wp_sql = "SELECT comment_ID FROM $wp_d3forum_link WHERE post_id = $post_id ";
+						$wp_res = $xoopsDB->query($wp_sql, 0, 0);
+						if ($wp_res === false){
+							die('...Err. EDIT' . $wp_comments . '(' . $wp_sql . ')');
+						} else {
+							$wp_row = $xoopsDB->fetchArray($wp_res);
+							$comment_ID = $wp_row['comment_ID'];
+						
+						
+							$wp_sql  = "UPDATE $wp_comments SET comment_content = $comment_content , comment_date_gmt = $comment_date_gmt WHERE comment_ID = $comment_ID";
+							$wp_res = $xoopsDB->queryF($wp_sql, 0, 0);
+							if ($wp_res === false){
+								die( '...Err. UPDATE' . $wp_comments . '(' . $wp_sql . ')');
+							}
+						}
+						break;
+					case 'delete':
+						// wordpress comments delete
+						$comment_ID = $this->get_wp_comment_ID($post_id);
+						if ($comment_ID > 0){
+							$sql= "SELECT comment_type FROM $wp_comments WHERE comment_ID = $comment_ID";
+							$res= $xoopsDB->query( $sql);
+							if ($xoopsDB->getRowsNum($res) > 0 ){
+								$row = $xoopsDB->fetchArray($res);
+								$comment_type = $row['comment_type'];
+								if (!empty($comment_type)) break;
+							}
+							$wp_sql = "DELETE FROM $wp_comments WHERE comment_ID = $comment_ID";
+							$wp_res = $xoopsDB->queryF($wp_sql, 0, 0);
+							
+							$wp_sql = "DELETE FROM $wp_d3forum_link WHERE post_id = $post_id";
+							$wp_res = $xoopsDB->queryF($wp_sql, 0, 0);
+							
+							$wp_sql  = "UPDATE $wp_posts SET  comment_count = comment_count -1 WHERE ID = $comment_post_ID";
+							$wp_res = $xoopsDB->queryF($wp_sql, 0, 0);
+						}
+						break;
+					default :
+				}				
+			}		
+			return true ;
+		}
+		function get_wp_comment_ID($d3forum_post_ID){
+			$xp_prefix = $wpdirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+			$xp_prefix = preg_replace('/wordpress/','wp',$xp_prefix);
+			
+			$xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection();
+			$wp_d3forum_link = $xoopsDB->prefix($xp_prefix . '_d3forum_link');
+			
+			$sql  =	"SELECT * FROM $wp_d3forum_link WHERE post_id = $d3forum_post_ID";
+			$res = $xoopsDB->query($sql, 0, 0);
+			$ret = 0;
+			if ($xoopsDB->getRowsNum($res) > 0 ){
+				$row = $xoopsDB->fetchArray($res);
+				$ret = $row['comment_ID'];
+			}
+			return $ret;
+		}
+		
+		function get_comment_blog_info($d3forum_forum_id){
+			$xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection();
+			$xp_prefix = $wpdirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+			$xp_prefix = preg_replace('/wordpress/','wp',$xp_prefix);
+			$xp_prefix = $xoopsDB->prefix($xp_prefix);
+			$table_name = 'options';
+			$options_array = array();
+
+
+				$sql = "SHOW TABLES LIKE '" . $xp_prefix  . '%' . $table_name . "'";
+				if($result = $xoopsDB->queryF($sql)){
+					while($row = $xoopsDB->fetchRow($result)){
+						$wp_option_table = $row[0];
+						$pattern = '/'. $table_name . '/';
+						$option['mb_table_prefix'] =  preg_replace($pattern,'',$wp_option_table);
+						if (preg_match('/'. $xp_prefix . '_([0-9]*)_/',$option['mb_table_prefix'],$matchs)){
+							$option['blog_id'] = $matchs[1];
+						} else {
+							$option['blog_id'] = 1;
+						}
+						
+						$option_sql = "SELECT option_name, option_value FROM $wp_option_table WHERE option_name IN ('home','siteurl','blogname','xpressme_option')";
+						if($option_result =  $xoopsDB->query($option_sql, 0, 0)){
+							while($option_row = $xoopsDB->fetchArray($option_result)){
+								$name = $option_row['option_name'];
+								$value = $option_row['option_value'];
+								if ($name == 'xpressme_option'){
+									$value =  @unserialize( $value );
+								}
+								$option[$name] = $value;
+							}
+							$option['siteurl'] = preg_replace('/\/$/','',$option['siteurl']);
+							$option['home'] = preg_replace('/\/$/','',$option['home']);
+							
+							if ($option['blog_id'] === 1){
+								$option['sub_dir'] = '';
+							} else {
+								$xoops_url = str_replace('/','\\/',XOOPS_URL);
+								if (preg_match('/'. $xoops_url . '.*' . $wpdirname . '(.*)/',$option['home'],$matchs)){
+									$option['sub_dir'] = $matchs[1];
+								} else {
+									$option['sub_dir'] = '';
+								}
+							}
+							if ($option['xpressme_option']['d3forum_forum_id'] == $d3forum_forum_id){
+								return $option;
+							}
+						}
+					}
+					return null;
+				}
+		}
+		function repair_d3forum_link($comment_ID, $post_id ,$forum_id,$blog_id,$target_db_prefix){
+		}
+		
+	} // class
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/include/add_xpress_config.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/include/add_xpress_config.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/include/add_xpress_config.php	(revision 866)
@@ -0,0 +1,6 @@
+<?php
+require_once dirname( __FILE__ ).'/xpress_debug_log.php' ;
+require_once dirname(dirname( __FILE__ )).'/class/config_from_xoops.class.php' ;
+$xoops_config = new ConfigFromXoops;
+require_once dirname( __FILE__ ).'/set_cash_cookie_path.php' ;
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/include/add_xpress_process.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/include/add_xpress_process.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/include/add_xpress_process.php	(revision 866)
@@ -0,0 +1,213 @@
+<?php
+// used wptouch plugin & iPhone access check (thx uemu)
+function is_iphone_with_wptouch(){
+	global $wptouch_plugin;
+	if (is_object($wptouch_plugin)) return $wptouch_plugin->applemobile;
+	return false;
+}
+
+function ob_end_flush_child($now_ob_level){
+	// The flash does the output buffer of WP before doing rendering. 
+	// Example: comment_quicktags plugin does not flash buffer specifically.
+	while(ob_get_level() > $now_ob_level) ob_end_flush();
+	$ob_level = ob_get_level();
+}
+function safe_site_url(){
+	global $xoops_config,$blog_id,$blogname;
+	
+	if (is_xpress_index_page_call()){
+		
+		if (!empty($_POST['submit_url_change'])) {
+			if (!empty($_POST['site_url_set'])) {
+				update_option('siteurl' , $_POST['site_url_set']);
+			}
+			if (!empty($_POST['home_url_set'])) {
+				update_option('home' , $_POST['home_url_set']);
+			}
+		}
+		if (!empty($_POST['submit_redirect'])) {
+			$url = get_option('home') . '/wp-admin/options-permalink.php';
+//			echo $url;
+			wp_redirect($url);
+			exit();
+		}
+
+		$siteurl = get_option('siteurl');
+		$home = get_option('home');
+		$module_url = $xoops_config->module_url;
+		$module_name = $xoops_config->module_name;
+		$schema = ( isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on' ) ? 'https://' : 'http://';
+		$guess_url = preg_replace('|/' . $module_name . '/.*|i', '/' . $module_name, $schema . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] );
+		$blog_sub_path = '';
+		if(function_exists('is_multisite') && is_multisite()){
+			if ($blog_id > 0 && $blog_id != BLOG_ID_CURRENT_SITE){
+				$blog_sub_path = '/' .$blogname;
+			}
+		}
+		$guess_url .= $blog_sub_path;
+		$xoops_module_url = $module_url.$blog_sub_path;
+		
+		$site_url_error =  false;
+		if(strcmp($siteurl,$guess_url) !== 0) {
+			if (!@fclose(@fopen($siteurl . '/xoops_version.php', "r"))){
+				$site_url_error = true;
+			}
+		}
+		$home_url_error = false;
+		if(strcmp($guess_url,$home) !== 0) {
+			$home_url_error = true;
+		}
+		if ($site_url_error || $home_url_error){
+			include $xoops_config->xoops_root_path ."/header.php";
+			$form = '<form method="post" action="' . $_SERVER["REQUEST_URI"] . '">'."\n";
+			$form .= '<table cellspacing="1" cellpadding="1" border="0">';
+			$form .= '<tbody>';
+			if ($site_url_error){
+				$site_url_error_log = __('Can not access WordPress address (URL).','xpressme');
+				$form .= '<tr><td colspan="3"><font color="red"><b>' . $site_url_error_log . '</b></font></td></tr>';
+				$form .= '<tr>';
+				$form .= '<td width="16">&nbsp;</td>';
+				$form .= '<td width="64">'.__('WordPress address (URL)').'</td>';
+				$form .= '<td>';
+				$form .= $siteurl . '<br />';
+				$form .= '&emsp;to<br />';
+				$form .= '<input name="site_url_set" type="text" size="64" maxlength="200" value="'  . $guess_url . '" /></td>';
+				$form .= '</tr>';
+
+			}
+			if ($home_url_error){
+				if ($site_url_error) $form .= '<tr><td colspan="3">&nbsp;</td></tr>';;
+				$home_url_error_log = __('WordPress Blog address (URL) is different from access URL.','xpressme');
+				$form .= '<tr><td colspan="3"><font color="red"><b>' . $home_url_error_log . '</b></font></td></tr>';
+				$form .= '<tr>';
+				$form .= '<td width="16">&nbsp;</td>';
+				$form .= '<td width="144">'. __('Blog address (URL)') .'</td>';
+				$form .= '<td>';
+				$form .= $home . '<br />';
+				$form .= '&emsp;to<br />';
+				$form .= '<input name="home_url_set" type="text" size="64" maxlength="200" value="'  . $guess_url . '" /></td>';
+				$form .= '</tr>';
+			}
+			$form .= '</tbody>';
+			$form .= '</table><br />';
+			$form .= '<input type="submit" value= "'.__('Save Changes').'" name="submit_url_change" />' ."\n";
+			$form .= '</form>' ."\n";
+			echo $form;
+			include $xoops_config->xoops_root_path . '/footer.php';
+			exit();
+		}
+		if (!empty($_POST['home_url_set'])) {
+			$url = get_option('home') . '/wp-admin/options-permalink.php';
+			$form = '<form method="post" action="' . $_SERVER["REQUEST_URI"] . '">'."\n";
+			$form .= '<p><font color="blue"><b>'. __('After Blog address (URL) is set, it is necessary to set the permalink again.','xpressme').'</b></font></p>';
+			$form .= '<input type="submit" value= "'.__('Permalink Settings').'" name="submit_redirect" />' ."\n";
+			$form .= '</form>' ."\n";
+			include $xoops_config->xoops_root_path ."/header.php";
+			echo $form;
+			include $xoops_config->xoops_root_path . '/footer.php';
+			exit();
+		}
+
+	}
+}
+
+require_once( dirname( __FILE__ ).'/request_url.php');
+require_once( dirname( __FILE__ ).'/memory_limit.php');
+
+$global_session = $_SESSION;
+
+if (is_xpress_index_page_call()){
+	//$_SERVER['REQUEST_METHOD'] = 'POST' is
+	//When notifying by a private message, Notification_reserve_send();
+	//it is evaded that the data base becomes read-only as a result of the check on the referrer and the method. 
+	$request_method =  (isset($_SERVER['REQUEST_METHOD'])) ? $_SERVER['REQUEST_METHOD'] : '';
+	$_SERVER['REQUEST_METHOD'] = 'POST';
+	require_once $xoops_config->xoops_mainfile_path; //It is necessary to execute it for the user attestation before wp-settings.php. 
+	$_SERVER['REQUEST_METHOD'] = $request_method;
+	xpress_set_memory_limmit(); // Set memory limmit.(Limmit Value from XPressMe modele config.)
+	unset($offset);		//This Trap is provides the case where $offset is defined on the XOOPS side.
+	
+	require_once(ABSPATH.'wp-settings.php');
+	
+	//When it is not possible to connect it correctly at site home URL on the WordPress side, 
+	//URL is corrected based on accessed URL. 
+
+	global $xoopsUserIsAdmin;
+	if ($xoopsUserIsAdmin) safe_site_url();
+
+	if (!is_object($xoopsUser)){	// before login auth cookie clear
+		wp_logout();
+	}
+	wp();
+	//for Event notification update on single post to which link is changed by permalink
+	if ( is_404() ) {
+		if (!empty($_POST['not_redirect'])) {
+			include '../../mainfile.php';
+			require_once XOOPS_ROOT_PATH.'/include/notification_update.php';
+			exit();
+		}
+	}
+	
+	if (!function_exists('is_wordpress_style')){	// When the XPressME plug-in is invalid
+		require_once dirname( __FILE__ ).'/xpress_active_plugin.php' ;
+		xpress_pulugin_activation('xpressme/xpressme.php');
+		// reloaded 
+		header('Location: ' . $xoops_config->module_url . '/');
+		
+		$err_str = "The activation of the XPressME plugin was executed.<br />\n";
+		$err_str .= "Because the XPressME plugin was invalid.<br />\n";
+		$err_str .= "Please do the rereading seeing on the page.\n";			
+		die($err_str);
+	}
+	
+	Notification_reserve_send();
+	ob_start();
+		$now_ob_level = ob_get_level();
+		if (version_compare($xoops_config->wp_version,'2.2', '<'))
+			require_once dirname( __FILE__ ).'/old_template-loader.php' ;
+		else
+			require_once( ABSPATH . WPINC . '/template-loader.php' );
+		ob_end_flush_child($now_ob_level);
+		$wp_output = ob_get_contents();
+	ob_end_clean();
+	
+	// insert credit
+	$pattern = '<body';
+	$replace = "\n<!-- credit " . xpress_credit('echo=0&no_link=1') . " -->\n<body";
+	$wp_output = preg_replace("/" . $pattern . "/s", $replace, $wp_output);
+			
+	//Rendering Select
+	if(
+		is_wordpress_style()		// When the display mode is WordPress style
+		|| is_feed()				// It judges it here because it does in is_index_page() through feed to which the permalink is set.
+		|| is_iphone_with_wptouch()	// When iPhone access & used wptouch plugin (thx uemu)
+	){
+
+			echo $wp_output;
+	} else {
+			require_once( dirname( __FILE__ ).'/xpress_render.php' );
+			xpress_render($wp_output);
+	}
+
+	//When there is no block cache, and an optional block is different, cache is refreshed. 
+	//When adding, and changing and deleting Post & Comment, block cache is refreshed by add_action at any time. 
+	// This Function in xpressme plugin
+	require_once( dirname( __FILE__ ).'/xpress_block_render.php' );	
+	xpress_unnecessary_block_cache_delete($xoops_config->module_name);
+	if (is_home()) {
+		xpress_block_cache_refresh($xoops_config->module_name);
+		require_once( dirname( __FILE__ ).'/xpress_block_header.php' );	
+		set_xpress_block_header($xoops_config->module_name);
+	}
+	if ( ini_get( 'register_globals' ) )
+		$_SESSION = $global_session; //restore a session erased by wp_unregister_GLOBALS
+	
+	exit();		// The return to wp-blog-header.php is stolen here
+}
+if (is_admin_post_call()) require_once $xoops_config->xoops_mainfile_path;		// for Notification_triggerEvent
+if (is_xpress_comments_post_call()) require_once $xoops_config->xoops_mainfile_path;	// for Notification_triggerEvent
+xpress_set_memory_limmit(); // Set memory limmit.(Limmit Value from XPressMe modele config.)
+require_once(ABSPATH.'wp-settings.php');
+if ( ini_get( 'register_globals' ) )
+	$_SESSION = $global_session; //restore a session erased by wp_unregister_GLOBALS
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/include/data.inc.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/include/data.inc.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/include/data.inc.php	(revision 866)
@@ -0,0 +1,270 @@
+<?php
+if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ;
+$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+
+eval( '
+
+function '.$mydirname.'_new($limit=0, $offset=0){
+	return _xpress_new("'.$mydirname.'" ,$limit, $offset ) ;
+}
+
+function '.$mydirname.'_num(){
+	return _xpress_num("'.$mydirname.'") ;
+}
+
+function '.$mydirname.'_data($limit=0, $offset=0){
+	return _xpress_data("'.$mydirname.'" ,$limit, $offset ) ;
+}
+' ) ;
+
+if (!function_exists('_xpress_new')) {
+//================================================================
+// What's New Module
+// get aritciles from module
+// xpress 0.20 <http://www.toemon.com>
+// 2007-07-17 toemon 
+//================================================================
+
+// --- function start ---
+function _xpress_new($mydirname, $limit=0, $offset=0) 
+{
+	global $xoopsDB;
+
+	$wp_prefix = preg_replace('/wordpress/','wp',$mydirname);
+	require_once (XOOPS_ROOT_PATH . '/modules/'.$mydirname . '/include/general_functions.php');
+	include(XOOPS_ROOT_PATH . '/modules/'.$mydirname . '/wp-includes/version.php');
+
+	$modules_table = $xoopsDB->prefix('modules');
+	$modSQL ="SELECT mid FROM " . $modules_table . " WHERE dirname LIKE '" . $mydirname . "'";
+	$modRes = $xoopsDB->query($modSQL, 0, 0);
+	$modRow = $xoopsDB->fetchArray($modRes);
+	$module_id = $modRow['mid'];
+
+	$table_config = $xoopsDB->prefix('config');
+	$confSQL ="SELECT conf_value FROM " . $table_config . " WHERE (conf_modid = " . $module_id . ") AND (conf_name LIKE 'whatsnew_use_mod_date')";
+	$confRes = $xoopsDB->query($confSQL, 0, 0);
+	$confRow = $xoopsDB->fetchArray($confRes);
+	$use_modified_date = $confRow['conf_value'];
+
+	$url_mod = XOOPS_URL."/modules/".$mydirname;
+	
+	require_once (XOOPS_ROOT_PATH . '/modules/'.$mydirname . '/include/general_functions.php');
+	$prefix = $xoopsDB->prefix($wp_prefix);
+	$options_tables = get_table_list($prefix,'options');
+	$table_count = count($options_tables);
+	$sql1 = '';
+	foreach( $options_tables as $options_table){
+		$blog_url = get_blog_option($options_table , 'siteurl');
+		$blog_url = preg_replace('/\/$/', '' ,$blog_url);
+		$blogname = get_blog_option($options_table , 'blogname');
+		
+		$table_prefix = get_multi_prefix($options_table,'options');
+		
+		$table_posts      = $table_prefix . "posts";
+		
+		$sub_sql  = "SELECT ID, post_author, post_title, post_content, post_type, comment_count, post_date, UNIX_TIMESTAMP(post_date) AS unix_post_date, UNIX_TIMESTAMP(post_modified) AS unix_post_modified, post_status, '$blog_url' AS blog_url, '$table_prefix' AS table_prefix, '$blogname' AS blogname ";
+		$sub_sql .= " FROM ".$table_posts;
+		$sub_sql .= " WHERE (post_status='publish') AND (UNIX_TIMESTAMP(post_date) <= UNIX_TIMESTAMP()) ";
+
+		if ($table_count > 1){
+			$sub_sql = '(' . $sub_sql . ')';
+			if (!empty($sql1)) $sql1 = $sql1 . ' UNION ';
+			$sql1 = $sql1 . $sub_sql;
+		} else {
+			$sql1 =  $sub_sql;
+		}
+	}
+	$sql1 .= " ORDER BY post_date DESC LIMIT $offset,$limit";
+
+	$res1 = $xoopsDB->queryF($sql1);
+
+	$i = 0;
+	$ret = array();
+
+	while($row1 = $xoopsDB->fetchArray($res1))
+	{
+		$id = $row1['ID'];
+		$blog_url = $row1['blog_url'];
+		$blogname = $row1['blogname'];
+		$table_views   =$modules_table = $xoopsDB->prefix($wp_prefix) . "_views";
+		$table_term_relationships = $row1['table_prefix'] . "term_relationships";
+		$table_term_taxonomy = $row1['table_prefix'] . "term_taxonomy";
+		$table_terms = $row1['table_prefix'] . "terms";
+		$table_categories = $row1['table_prefix'] . "categories";
+		$table_post2cat   = $row1['table_prefix'] . "post2cat";
+
+		if ($table_count <= 1){
+			if ($wp_db_version < 6124){
+				$sql2 = "SELECT c.cat_ID, c.cat_name FROM ".$table_categories." c, ".$table_post2cat." p2c WHERE c.cat_ID = p2c.category_id AND p2c.post_id=".$id;
+			} else {
+				$sql2  = "SELECT $table_term_relationships.object_id, $table_terms.term_id AS cat_ID, $table_terms.name AS cat_name ";
+				$sql2 .= "FROM $table_term_relationships INNER JOIN ($table_term_taxonomy INNER JOIN $table_terms ON $table_term_taxonomy.term_id = $table_terms.term_id) ON $table_term_relationships.term_taxonomy_id = $table_term_taxonomy.term_taxonomy_id ";
+				$sql2 .= "WHERE ($table_term_relationships.object_id =" . $id.") AND ($table_term_taxonomy.taxonomy='category')";		
+			}
+			$row2 = $xoopsDB->fetchArray( $xoopsDB->query($sql2) );
+			$ret[$i]['cat_link'] = $blog_url."/index.php?cat=".$row2['cat_ID'];
+			$ret[$i]['cat_name'] = $row2['cat_name'];
+		} else {
+			$ret[$i]['cat_link'] = $blog_url;
+			$ret[$i]['cat_name'] = $blogname;
+		}
+
+		if ($row1['post_type'] == 'page'){
+				$ret[$i]['link']     = $blog_url."/?page_id=".$id;
+		} else {
+			$ret[$i]['link']     = $blog_url."/index.php?p=".$id;
+		}
+
+		$ret[$i]['title']    = $row1['post_title'];
+
+		$ret[$i]['uid'] = wp_uid_to_xoops_uid($row1['post_author'],$mydirname);
+		$ret[$i]['replies'] = $row1['comment_count'];
+
+
+		if(empty($use_modified_date)) {
+			$time = $row1['unix_post_date'];
+		} else {
+
+			if ($row1['unix_post_modified'] > $row1['unix_post_date']){
+				$time = $row1['unix_post_modified'];
+			} else {
+				$time = $row1['unix_post_date'];
+			}
+		}
+
+	   	$ret[$i]['time']     = $time;
+		$ret[$i]['modified'] = $time;
+		$ret[$i]['issued']   = $row1['unix_post_date'];
+		$content=$row1['post_content'];
+		$content = strip_tags($content);
+
+		$ret[$i]['description'] = $content;
+
+		$sql3 = "SELECT post_views FROM  " .  $table_views . " WHERE post_id = " . $id;
+		$row3 = $xoopsDB->fetchArray( $xoopsDB->query($sql3) );
+	   	$ret[$i]['hits']     = $row3['post_views'];
+
+
+
+		$i++;
+	}
+
+	return $ret;
+}
+
+function _xpress_num($mydirname) 
+{
+	// get $mydirnumber
+	if( ! preg_match( '/^(\D+)(\d*)$/' , $mydirname , $regs ) ) echo ( "invalid dirname: " . htmlspecialchars( $mydirname ) ) ;
+
+	global $xoopsDB;
+	$wp_prefix = preg_replace('/wordpress/','wp',$mydirname);
+	require_once (XOOPS_ROOT_PATH . '/modules/'.$mydirname . '/include/general_functions.php');
+	$prefix = $xoopsDB->prefix($wp_prefix);
+	$options_tables = get_table_list($prefix,'options');
+	$table_count = count($options_tables);
+	$sql = '';
+	foreach( $options_tables as $options_table){
+		$blog_url = get_blog_option($options_table , 'siteurl');
+		$blog_url = preg_replace('/\/$/', '' ,$blog_url);
+		$blogname = get_blog_option($options_table , 'blogname');
+		
+		$table_prefix = get_multi_prefix($options_table,'options');
+		$table_posts      = $table_prefix . "posts";
+
+		$sub_sql  = "SELECT ID, post_author, post_title, post_content, post_type, comment_count, post_date, UNIX_TIMESTAMP(post_date) AS unix_post_date, UNIX_TIMESTAMP(post_modified) AS unix_post_modified, post_status, '$blog_url' AS blog_url, '$table_prefix' AS table_prefix, '$blogname' AS blogname ";
+		$sub_sql .= " FROM ".$table_posts;
+		$sub_sql .= " WHERE (post_status='publish') AND (UNIX_TIMESTAMP(post_date) <= UNIX_TIMESTAMP()) ";
+
+		if ($table_count > 1){
+			$sub_sql = '(' . $sub_sql . ')';
+			if (!empty($sql)) $sql = $sql . ' UNION ';
+			$sql = $sql . $sub_sql;
+		} else {
+			$sql =  $sub_sql;
+		}
+	}
+
+	$array = $xoopsDB->fetchRow( $xoopsDB->queryF($sql) );
+	$num = $array[0];
+	if (empty($num)) $num = 0;
+
+	return $num;
+}
+
+function _xpress_data($mydirname,$limit=0, $offset=0) 
+{
+	// get $mydirnumber
+	if( ! preg_match( '/^(\D+)(\d*)$/' , $mydirname , $regs ) ) echo ( "invalid dirname: " . htmlspecialchars( $mydirname ) ) ;
+
+	global $xoopsDB;
+	$wp_prefix = preg_replace('/wordpress/','wp',$mydirname);
+	
+	require_once (XOOPS_ROOT_PATH . '/modules/'.$mydirname . '/include/general_functions.php');
+	$prefix = $xoopsDB->prefix($wp_prefix);
+	$options_tables = get_table_list($prefix,'options');
+	$table_count = count($options_tables);
+	$sql = '';
+	foreach( $options_tables as $options_table){
+		$blog_url = get_blog_option($options_table , 'siteurl');
+		$blog_url = preg_replace('/\/$/', '' ,$blog_url);
+		$blogname = get_blog_option($options_table , 'blogname');
+		
+		$table_prefix = get_multi_prefix($options_table,'options');
+		$table_posts      = $table_prefix . "posts";
+
+		$sub_sql  = "SELECT ID, post_author, post_title, post_content, post_type, comment_count, post_date, UNIX_TIMESTAMP(post_date) AS unix_post_date, UNIX_TIMESTAMP(post_modified) AS unix_post_modified, post_status, '$blog_url' AS blog_url, '$table_prefix' AS table_prefix, '$blogname' AS blogname ";
+		$sub_sql .= " FROM ".$table_posts;
+		$sub_sql .= " WHERE (post_status='publish') AND (UNIX_TIMESTAMP(post_date) <= UNIX_TIMESTAMP()) ";
+
+		if ($table_count > 1){
+			$sub_sql = '(' . $sub_sql . ')';
+			if (!empty($sql)) $sql = $sql . ' UNION ';
+			$sql = $sql . $sub_sql;
+		} else {
+			$sql =  $sub_sql;
+		}
+	}
+
+	$result = $xoopsDB->queryF($sql,$limit,$offset);
+
+	$i = 0;
+	$ret = array();
+
+	while($row1 = $xoopsDB->fetchArray($result))
+	{
+		$id = $row1['ID'];
+		$blog_url = $row1['blog_url'];
+		$blogname = $row1['blogname'];
+		$ret[$i]['id'] = $id;
+		$ret[$i]['link'] = $blog_url . "/index.php?p=".$id;
+		$ret[$i]['title'] = $row1['post_title'];
+		$ret[$i]['time']  = $row1['unix_post_date'];
+		$i++;
+	}
+
+	return $ret;
+
+}
+
+if( ! function_exists( 'get_blog_option' ) ) {
+	function get_blog_option($option_table,$option_name){
+		$xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection();
+
+		$sql = "SELECT option_value FROM $option_table WHERE option_name = '" . $option_name . "'";
+		
+		$result =  $xoopsDB->query($sql, 0, 0);
+		if ($xoopsDB->getRowsNum($result)  > 0){
+			$row = $xoopsDB->fetchArray($result);
+			return $row['option_value'];
+		}
+		return 0;
+	}
+}
+
+
+// --- function end ---
+
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/include/general_functions.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/include/general_functions.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/include/general_functions.php	(revision 866)
@@ -0,0 +1,163 @@
+<?php
+/*
+ * XPressME - WordPress for XOOPS
+ *
+ * @copyright	XPressME Project http://www.toemon.com
+ * @license		http://www.fsf.org/copyleft/gpl.html GNU public license
+ * @author		toemon
+ * @package		module::xpress
+ */
+if (!function_exists('wp_uid_to_xoops_uid')){
+	function wp_uid_to_xoops_uid($wp_uid = '',$mydirname){
+		global $xoopsDB,$xoops_db;
+		if (empty($mydirname))
+			$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+		
+		$wp_prefix = preg_replace('/wordpress/','wp',$mydirname);
+
+		if (empty($xoops_db)) { // not load XPressME
+			$xoops_user_tbl = $xoopsDB->prefix('users');
+			$wp_user_tbl = $xoopsDB->prefix($wp_prefix . "_users");
+
+			$wp_user_SQL ="SELECT user_login FROM $wp_user_tbl WHERE ID = $wp_uid ";
+			$wp_user_Res = $xoopsDB->query($wp_user_SQL, 0, 0);
+			if ($xoopsDB->getRowsNum($wp_user_Res)  > 0){
+				$wp_user_Row = $xoopsDB->fetchArray($wp_user_Res);
+				$wp_user_name = $wp_user_Row['user_login'];
+			
+				$xoops_user_SQL ="SELECT uid FROM $xoops_user_tbl WHERE uname LIKE '$wp_user_name'";
+				$xoops_user_Res = $xoopsDB->query($xoops_user_SQL, 0, 0);
+				if ($xoopsDB->getRowsNum($xoops_user_Res)  > 0){
+					$xoops_user_Row = $xoopsDB->fetchArray($xoops_user_Res);
+					$xoops_uid = $xoops_user_Row['uid'];	
+					return $xoops_uid;
+				}
+			}
+			return 0;
+		} else { // load XPressME or not Load XOOPS
+			$xoops_user_tbl = get_xoops_prefix() . 'users';
+			$wp_user_tbl = get_wp_prefix() . 'users';
+			$wp_user_name = $xoops_db->get_var("SELECT user_login FROM $wp_user_tbl WHERE ID = $wp_uid ");
+			if (empty($wp_user_name)) return 0;
+			$xoops_uid = $xoops_db->get_var("SELECT uid FROM $xoops_user_tbl WHERE uname LIKE '$wp_user_name'");
+			if (!empty($xoops_uid)) return $xoops_uid; else return 0;
+		}
+	}
+}
+
+if (!function_exists('xoops_uid_to_wp_uid')){
+	function xoops_uid_to_wp_uid($xoops_uid = '',$mydirname){
+		global $xoopsDB,$xoops_db;
+		if (empty($mydirname))
+			$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+
+		$wp_prefix = preg_replace('/wordpress/','wp',$mydirname);
+
+		if (empty($xoops_db)) { // not load XPressME
+			$xoops_user_tbl = $xoopsDB->prefix('users');
+			$wp_user_tbl = $xoopsDB->prefix($wp_prefix . "_users");
+
+			$xoops_user_SQL ="SELECT uname FROM $xoops_user_tbl WHERE uid =  $xoops_uid";
+			$xoops_user_Res = $xoopsDB->query($xoops_user_SQL, 0, 0);
+			if ($xoopsDB->getRowsNum($xoops_user_Res)  > 0){
+				$xoops_user_Row = $xoopsDB->fetchArray($xoops_user_Res);
+				$xoops_user_name = $xoops_user_Row['uname'];	
+
+				$wp_user_SQL ="SELECT ID FROM $wp_user_tbl WHERE user_login LIKE '$xoops_user_name'";
+				$wp_user_Res = $xoopsDB->query($wp_user_SQL, 0, 0);
+				if ($xoopsDB->getRowsNum($wp_user_Res)  > 0){
+					$wp_user_Row = $xoopsDB->fetchArray($wp_user_Res);
+					$wp_user_id = $wp_user_Row['ID'];
+					return $wp_user_id;
+				}
+			}
+			return 0;
+		} else { // load XPressME or not Load XOOPS
+			$xoops_user_tbl = get_xoops_prefix() . 'users';
+			$wp_user_tbl = get_wp_prefix() . 'users';
+			$xoops_user_name = $xoops_db->get_var("SELECT uname FROM $xoops_user_tbl WHERE uid =  $xoops_uid");
+			if (empty($xoops_user_name)) return 0;
+			$wp_user_id = $xoops_db->get_var("SELECT ID FROM $wp_user_tbl WHERE user_login LIKE '$xoops_user_name'");
+			if (!empty($wp_user_id)) return $wp_user_id; else return 0;
+		}	
+	}
+}
+
+// XOOPS user ID is get from the name and the mail address of the contributor of the comment that is not user_id. 
+if (!function_exists('wp_comment_author_to_xoops_uid')){
+	function wp_comment_author_to_xoops_uid($name = '',$email = ''){
+		global $xoopsDB,$xoops_db;
+		if (empty($name) || empty($email)) return 0;
+		
+		if (empty($xoops_db)) { // not load XPressME
+			$xoops_user_tbl = $xoopsDB->prefix('users');
+			$wp_user_tbl = $xoopsDB->prefix($wp_prefix . "_users");
+
+			$xoops_uid = 0;
+			$xoops_user_SQL ="SELECT uid FROM $xoops_user_tbl WHERE uname = '$name' AND email = '$email'";
+			$xoops_user_Res = $xoopsDB->query($xoops_user_SQL, 0, 0);
+			if ($xoopsDB->getRowsNum($xoops_user_Res)  > 0){
+				$xoops_user_Row = $xoopsDB->fetchArray($xoops_user_Res);
+				$xoops_uid = $xoops_user_Row['uid'];
+			}	
+			return $xoops_uid;
+		} else { // load XPressME or not Load XOOPS
+			$xoops_user_tbl = get_xoops_prefix() . 'users';
+			$xoops_uid = $xoops_db->get_var("SELECT uid FROM $xoops_user_tbl WHERE uname = '$name' AND email = '$email'");
+			if (empty($xoops_uid)) return 0;
+			return $xoops_uid;
+		}			
+	}
+}
+
+// Get Multi Blog table list for WordPressMU 
+if (!function_exists('get_table_list')){
+	function get_table_list($wp_prefix = '',$table_name = ''){
+		global $xoopsDB,$xoops_db;
+
+		$table_list = array();
+		$ret = array();
+		$wp_prefix = preg_replace('/_$/', '',$wp_prefix);
+		$pattern = $wp_prefix . '_' . $table_name . '|' . $wp_prefix . '_[0-9]*_' . $table_name;
+
+		if (!empty($wp_prefix) && !empty($table_name)){
+			$sql = "SHOW TABLES LIKE '" . $wp_prefix  . '%' . $table_name . "'";
+
+			if (empty($xoops_db)) { // not load XPressME			
+				if($result = $xoopsDB->queryF($sql)){
+					while($row = $xoopsDB->fetchRow($result)){
+						if(preg_match('/' . $pattern . '/i' , $row[0])){
+							$table_list[] = $row[0];
+						}
+					}
+				}
+			} else { // load XPressME or not Load XOOPS
+				$rows = $xoops_db->get_results($sql, ARRAY_N);
+				foreach ($rows as $row){
+					if(preg_match('/' . $pattern . '/' , $row[0])){
+						$table_list[] = $row[0];
+					}
+				}
+			}			
+		}
+		return $table_list;
+	}
+}
+
+// Get Middle Prefix from Table name for WordPressMU 
+if (!function_exists('get_multi_mid_prefix')){
+	function get_multi_mid_prefix($wp_prefix = '',$table_name = '' , $full_table_name){
+		$pattern = '/' . $wp_prefix . '(.*)' . $table_name . '/';
+		preg_match($pattern,$full_table_name,$match);
+		return $match[1];
+	}
+}
+
+// Get Prefix from Table name for WordPressMU 
+if (!function_exists('get_multi_prefix')){
+	function get_multi_prefix($full_table_name,$table_name = ''){
+		$pattern = '/'. $table_name . '/';
+		return preg_replace($pattern,'',$full_table_name);
+	}
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/include/memory_limit.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/include/memory_limit.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/include/memory_limit.php	(revision 866)
@@ -0,0 +1,67 @@
+<?php
+	// Set XPressME memory limit
+	function xpress_set_memory_limmit(){
+		global $xoops_config;
+		global $xoopsDB;
+		
+		$module_id = '';
+		$memory = '';
+		
+		if (!is_object($xoops_config)){
+			require_once dirname(dirname( __FILE__ )).'/class/config_from_xoops.class.php' ;
+			$xoops_config = new ConfigFromXoops;
+		}
+		
+		$has_xoops_db = (!empty($xoopsDB));
+		if (!$has_xoops_db) {
+			$cn = mysqli_connect($xoops_config->xoops_db_host, $xoops_config->xoops_db_user, $xoops_config->xoops_db_pass);
+			if ($cn){
+				$db_selected = mysqli_select_db($cn, $xoops_config->xoops_db_name);
+			}
+		}
+
+		// get module ID
+		$module_table = $xoops_config->xoops_db_prefix . '_modules';
+		$module_sql = "SELECT mid FROM $module_table WHERE `dirname` = '$xoops_config->module_name'";
+		if ($has_xoops_db) {
+			if ($result = $xoopsDB->query($module_sql, 0, 0)){
+				$row = $xoopsDB->fetchArray($result);
+				$module_id = $row['mid'];
+			}	
+		} else {
+			if ($db_selected){
+				if($result = mysqli_query($cn, $module_sql)){
+					$row = mysqli_fetch_assoc($result);
+					$module_id = $row['mid'];
+				}
+			}
+		}
+		if (!empty($module_id)){
+			// get memory_limit
+			$config_table = $xoops_config->xoops_db_prefix . '_config';
+			$config_sql = "SELECT conf_value FROM $config_table WHERE `conf_modid` = $module_id AND `conf_name` = 'memory_limit'";
+			if ($has_xoops_db) {
+				if ($result = $xoopsDB->query($config_sql, 0, 0)){
+					$row = $xoopsDB->fetchArray($result);
+					$memory = $row['conf_value'];
+				}
+			} else {
+				if ($db_selected){
+					if($result = mysqli_query($cn, $config_sql)){
+						$row = mysqli_fetch_assoc($result);
+						$memory = $row['conf_value'];
+					}
+				}
+			}
+		}
+		if (!$has_xoops_db) {
+			mysqli_close($cn);
+		}
+		
+		if (empty($memory)) return;
+ 		if ( !defined('WP_MEMORY_LIMIT') )
+			define('WP_MEMORY_LIMIT', $memory . 'M');
+		if ( function_exists('memory_get_usage') && ( (int) @ini_get('memory_limit') < abs(intval(WP_MEMORY_LIMIT)) ) )
+			@ini_set('memory_limit', WP_MEMORY_LIMIT);
+	}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/include/notification.inc.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/include/notification.inc.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/include/notification.inc.php	(revision 866)
@@ -0,0 +1,35 @@
+<?php
+function xpress_notify( $category , $item_id )
+{
+	$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+
+	if( $category == 'global' ) {
+		$item['name'] = '';
+		$item['url'] = XOOPS_URL.'/modules/'.$mydirname . '/wp-admin/edit-comments.php?comment_status=moderated';
+		return $item ;
+	}
+
+	if( $category == 'category' ) {
+		// Assume we have a valid cat_id
+		$item['name'] = '';
+		$item['url'] = '';
+
+		return $item ;
+	}
+	
+	if( $category == 'author' ) {
+		// Assume we have a valid cat_id
+		$item['name'] = '';
+		$item['url'] = '';
+		return $item ;
+	}
+
+	if( $category == 'post' ) {
+		// Assume we have a valid forum_id
+		$item['name'] = '';
+		$item['url'] = '';
+		return $item ;
+	}
+
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/include/old_template-loader.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/include/old_template-loader.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/include/old_template-loader.php	(revision 866)
@@ -0,0 +1,67 @@
+<?php
+if ( defined('WP_USE_THEMES') && constant('WP_USE_THEMES') ) {
+	do_action('template_redirect');
+	if ( is_feed() ) {
+		include(ABSPATH . '/wp-feed.php');
+		return;
+	} else if ( is_trackback() ) {
+		include(ABSPATH . '/wp-trackback.php');
+		return;
+	} else if ( is_404() && $template = get_404_template() ) {
+		include($template);
+		return;
+	} else if ( is_search() && $template = get_search_template() ) {
+		include($template);
+		return;
+	} else if ( is_home() && $template = get_home_template() ) {
+		include($template);
+		return;
+	} else if ( is_attachment() && $template = get_attachment_template() ) {
+		include($template);
+		return;
+	} else if ( is_single() && $template = get_single_template() ) {
+		if ( is_attachment() )
+			add_filter('the_content', 'prepend_attachment');
+		include($template);
+		return;
+	} else if ( is_page() && $template = get_page_template() ) {
+		if ( is_attachment() )
+			add_filter('the_content', 'prepend_attachment');
+		include($template);
+		return;
+	} else if ( is_category() && $template = get_category_template()) {
+		include($template);
+		return;		
+	} else if ( is_author() && $template = get_author_template() ) {
+		include($template);
+		return;
+	} else if ( is_date() && $template = get_date_template() ) {
+		include($template);
+		return;
+	} else if ( is_archive() && $template = get_archive_template() ) {
+		include($template);
+		return;
+	} else if ( is_comments_popup() && $template = get_comments_popup_template() ) {
+		include($template);
+		return;
+	} else if ( is_paged() && $template = get_paged_template() ) {
+		include($template);
+		return;
+	} else if ( file_exists(TEMPLATEPATH . "/index.php") ) {
+		if ( is_attachment() )
+			add_filter('the_content', 'prepend_attachment');
+		include(TEMPLATEPATH . "/index.php");
+		return;
+	}
+} else {
+	// Process feeds and trackbacks even if not using themes.
+	if ( is_feed() ) {
+		include(ABSPATH . '/wp-feed.php');
+		return;
+	} else if ( is_trackback() ) {
+		include(ABSPATH . '/wp-trackback.php');
+		return;
+	}
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/include/oninstall.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/include/oninstall.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/include/oninstall.php	(revision 866)
@@ -0,0 +1,308 @@
+<?php
+$mydirpath = dirname(dirname(__FILE__));
+$mydirname = basename($mydirpath);
+$lang = @$GLOBALS["xoopsConfig"]['language'];
+global $wp_db_version,$wp_rewrite;
+include_once $mydirpath .'/wp-includes/version.php' ;
+
+// language file (modinfo.php)
+
+if( file_exists( $mydirpath .'/language/'.$lang.'/modinfo.php' ) ) {
+	include_once $mydirpath .'/language/'.$lang.'/modinfo.php' ;
+} else if( file_exists(  $mydirpath .'/language/english/modinfo.php' ) ) {
+	include_once $mydirpath .'/language/english/modinfo.php' ;
+}
+
+
+eval( ' function xoops_module_install_'.$mydirname.'( $module ) { return xpress_oninstall_base( $module , "'.$mydirname.'" ) ; } ' ) ;
+
+
+if( ! function_exists( 'xpress_oninstall_base' ) ) :
+function xpress_oninstall_base( $module , $mydirname )
+{
+	// transations on module install
+
+	global $ret ; // TODO :-D
+
+	// for Cube 2.1
+	if( defined( 'XOOPS_CUBE_LEGACY' ) ) {
+		$root =& XCube_Root::getSingleton();
+		$root->mDelegateManager->add( 'Legacy.Admin.Event.ModuleInstall.' . ucfirst($mydirname) . '.Success' , 'xpress_message_append_oninstall' ) ;
+		$root->mDelegateManager->add( 'Legacy.Admin.Event.ModuleInstall.' . ucfirst($mydirname) . '.Fail' , 'xpress_message_append_oninstall_err' ) ;
+		$ret = array() ;
+	} else {
+		if( ! is_array( $ret ) ) $ret = array() ;
+	}
+
+	$db =& XoopsDatabaseFactory::getDatabaseConnection() ;
+	$mid = $module->getVar('mid') ;
+
+	if( defined( 'XOOPS_CUBE_LEGACY' ) ) {
+		$ret[] = "********************************* Install Log ********************************<br />";
+	} else {
+		$ret[] = '<h4 style="border-bottom: 1px dashed rgb(0, 0, 0); text-align: left; margin-bottom: 0px;">Install Log</h4>';
+    }
+
+//xpress
+	global $wpdb,$wp_rewrite, $wp_queries, $table_prefix, $wp_db_version, $wp_roles, $wp_query,$wp_embed;
+	global $xoops_config;
+
+	define("WP_INSTALLING", true);
+	define('WP_FIRST_INSTALL', true); // For WPMU2.8
+
+	$site_url= XOOPS_URL."/modules/".$mydirname;
+	$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
+	$path = $mydirpath . '/';
+	$site_name = ucfirst($mydirname) . ' ' . _MI_XP2_NAME;
+
+// permission and wordpress files check
+	require_once ($path . 'include/pre_check.php');
+	if(! xp_permission_check($mydirname, $mydirpath)){
+		if( ! defined( 'XOOPS_CUBE_LEGACY' ) ) {
+			$ret = $GLOBALS["err_log"];
+			$ret[] = "<br /><span style=\"color:#ff0000;\">The uninstallation of the module is executed now. </span><br />";
+			$ret[] = xoops_module_uninstall($mydirname);
+		}
+		return false;
+	}
+
+// install WordPress
+	if (file_exists($path . 'wp-load.php')) {
+		require_once $path . 'wp-load.php';
+	} else {
+		require_once $path . 'wp-config.php';
+	}
+	include_once($mydirpath . '/wp-admin/upgrade-functions.php');
+	wp_cache_flush();
+	make_db_current_silent();
+	$ret[] = "The data base of wordpress was made by prefix $table_prefix.<br />";
+
+	$option_desc = __('WordPress web address');
+	$wpdb->query("INSERT INTO $wpdb->options (blog_id, option_name,option_value, autoload) VALUES ('0', 'siteurl','$site_url', 'yes')");
+	$wpdb->query("INSERT INTO $wpdb->options (blog_id, option_name,option_value, autoload) VALUES ('0', 'home','$site_url', 'yes')");
+
+	populate_options();
+	populate_roles();
+
+// create XPressME table
+	$xp_prefix = preg_replace('/wordpress/','wp',$mydirname);
+	$views_table = XOOPS_DB_PREFIX . '_' . $xp_prefix .'_views' ;
+
+	$charset_collate = '';
+	if ( version_compare($wpdb->get_var('SELECT VERSION()'), '4.1.0', '>=') ) {
+		if ( ! empty($wpdb->charset) )
+			$charset_collate = "DEFAULT CHARACTER SET $wpdb->charset";
+		if ( ! empty($wpdb->collate) )
+			$charset_collate .= " COLLATE $wpdb->collate";
+	}
+	$views_queries ="CREATE TABLE $views_table (
+  		blog_id bigint(20) unsigned NOT NULL default '0',
+  		post_id bigint(20) unsigned NOT NULL default '0',
+  		post_views bigint(20) unsigned NOT NULL default '0',
+  		KEY post_id (post_id)
+		)$charset_collate;";
+	dbDelta($views_queries);
+	$ret[] = "$views_table table of XPressME was made.<br />";
+
+	$d3forum_link = XOOPS_DB_PREFIX . '_' . $xp_prefix .'_d3forum_link' ;
+	$views_queries ="CREATE TABLE $d3forum_link (
+  		comment_ID bigint(20) unsigned NOT NULL default '0',
+  		post_id int(10) unsigned NOT NULL default '0' ,
+  		wp_post_ID bigint(20) unsigned NOT NULL default '0',
+  		forum_id bigint(20) unsigned NOT NULL default '0',
+  		blog_id bigint(20) unsigned NOT NULL default '0',
+  		KEY post_id (post_id)
+		)$charset_collate;";
+	dbDelta($views_queries);
+	$ret[] = "$d3forum_link table of XPressME was made.<br />";
+
+	$group_role = XOOPS_DB_PREFIX . '_' . $xp_prefix .'_group_role' ;
+	$views_queries ="CREATE TABLE $group_role (
+  		groupid smallint(5) unsigned NOT NULL default '0',
+  		blog_id bigint(20) unsigned NOT NULL default '0',
+  		name varchar(50)  NOT NULL default '' ,
+  		description text ,
+  		group_type varchar(50)  NOT NULL default '' ,
+		role varchar(20)  NOT NULL default '' ,
+		login_all smallint(5) unsigned NOT NULL default '0' ,
+  		KEY groupid (groupid)
+		)$charset_collate;";
+	dbDelta($views_queries);
+	$ret[] = "$group_role table of XPressME was made.<br />";
+
+	$notify_reserve = XOOPS_DB_PREFIX . '_' . $xp_prefix .'_notify_reserve' ;
+	$queries ="CREATE TABLE $notify_reserve (
+  		notify_reserve_id bigint(20) NOT NULL AUTO_INCREMENT ,
+  		notify_reserve_status varchar(20)  NOT NULL default '' ,
+  		category text ,
+  		item_id bigint(20) unsigned NOT NULL default '0',
+		event varchar(20) NOT NULL default '',
+		extra_tags_arry longtext NOT NULL ,
+		user_list_arry longtext NOT NULL ,
+  		module_id smallint(5) unsigned NOT NULL default '0' ,
+  		omit_user_id varchar(20) NOT NULL default '' ,
+  		KEY notify_reserve_id (notify_reserve_id)
+		)$charset_collate;";
+	dbDelta($queries);
+	$ret[] = "$notify_reserve table of XPressME was made.<br />";
+
+	$sql = "INSERT INTO $group_role (groupid, role) VALUES (1, 'administrator')";
+	$wpdb->query($sql);
+
+// make templates
+	include_once XOOPS_ROOT_PATH . '/modules/' . $mydirname . '/include/xpress_templates_make.php' ;
+	$t_mess = xpress_templates_make($mid,$mydirname);
+
+// Admin User Data write
+	// Change uid field
+	$wpdb->query("ALTER TABLE $wpdb->posts CHANGE `post_author` `post_author` mediumint(8) NOT NULL DEFAULT '0'");
+	$user_name = is_object($GLOBALS["xoopsUser"])?$GLOBALS["xoopsUser"]->getVar("uname"):'admin';
+	$email = is_object($GLOBALS["xoopsUser"])?$GLOBALS["xoopsUser"]->getVar("email"):'foo@exsample.com';
+	$pass_md5 = is_object($GLOBALS["xoopsUser"])?$GLOBALS["xoopsUser"]->getVar("pass"):'';
+
+	add_filter('sanitize_user', "sanitize_user_multibyte" ,10,3);
+
+	if (!function_exists('username_exists')){
+		require_once($mydirpath . '/wp-includes/registration-functions.php');
+	}
+	$user_id = username_exists($user_name);
+	if ( !$user_id ) {
+		$random_password = 'admin';
+		$user_id = wp_create_user($user_name, $random_password, $email);
+	} else {
+		$random_password = __('User already exists.  Password inherited.');
+	}
+
+	$user = new WP_User($user_id);
+	$user->set_role('administrator');
+	'User ' . $user_name . ' of the administrator was made.';
+	// over write xoops md5 password
+	$sql = "UPDATE $wpdb->users SET user_pass ='$pass_md5' WHERE ID = $user_id";
+	$wpdb->query($sql);
+	$ret[] = 'The password of XOOPS was copied.<br />';
+
+
+// Set Default data
+	// make WordPress Default data
+	if (function_exists('wp_install_defaults')){
+		wp_install_defaults($user_id);
+	} else {
+		wp_install_old_defaults($user_id);
+	}
+
+	$ret[] = 'The first sample post & comment was written.<br />';
+
+	// Rewrite Option for Xpress
+	$xoops_config_tbl = XOOPS_DB_PREFIX . '_config' ;
+	$sql = "SELECT conf_value FROM  $xoops_config_tbl WHERE `conf_name` = 'default_TZ'";
+	$xoops_default_TZ = $wpdb->get_var($sql);
+	update_option('gmt_offset', $xoops_default_TZ);
+
+	if (WPLANG == 'ja_EUC') {
+		$setup_charset = 'EUC-JP';
+	} elseif(WPLANG == 'ja_SJIS') {
+		$setup_charset = 'Shift_JIS';
+	} else {
+		$setup_charset = 'UTF-8';
+	}
+	update_option("blog_charset", $setup_charset);
+
+	update_option('blogname', $site_name );
+	update_option('blogdescription', 'WordPress for XOOPS');
+	update_option("admin_email", $GLOBALS["xoopsConfig"]['adminmail']);
+	update_option("ping_sites", "http://rpc.pingomatic.com/\nhttp://ping.xoopsforge.com/");
+	update_option("home", $site_url);
+	update_option("siteurl", $site_url);
+	update_option("what_to_show", "posts");
+	update_option('default_pingback_flag', 0);
+	$ret[] = 'The initial data was written in the data base of wordpress.<br />';
+
+	update_option("template", "xpress_default");
+	update_option("stylesheet", "xpress_default");
+	$ret[] = 'The default theme of wordpress was set to xpress_default.<br />';
+//	update_option('uploads_use_yearmonth_folders', 1);
+	update_option('upload_path', 'wp-content/uploads');
+
+// activate the xpressme plugin
+	require_once dirname( __FILE__ ).'/xpress_active_plugin.php';
+	if (xpress_pulugin_activation('xpressme/xpressme.php')){
+		$ret[] = 'The xpressme plug-in was activated.<br />';
+	} else {
+		$GLOBALS["err_log"][] =  '<span style="color:#ff0000;">failed in the activation of xpressme plug-in.</span><br />';
+		return false;
+	}
+
+	$ret = array_merge($ret,$t_mess);
+
+	return true ;
+}
+endif;
+
+if( ! function_exists( 'xpress_message_append_oninstall' ) ) :
+function xpress_message_append_oninstall( &$module_obj , &$log )
+{
+	if( is_array( @$GLOBALS['ret'] ) ) {
+		foreach( $GLOBALS['ret'] as $message ) {
+			$log->add( strip_tags( $message ) ) ;
+		}
+	}
+
+	// use mLog->addWarning() or mLog->addError() if necessary
+}
+endif;
+
+if( ! function_exists( 'xpress_message_append_oninstall_err' ) ) :
+function xpress_message_append_oninstall_err( &$module_obj , &$log )
+{
+	if( is_array( @$GLOBALS["err_log"] ) ) {
+		foreach( $GLOBALS["err_log"] as $message ) {
+			$log->add( strip_tags($message)) ;
+		}
+	}
+
+	// use mLog->addWarning() or mLog->addError() if necessary
+}
+endif;
+
+
+if( ! function_exists( 'wp_install_old_defaults' ) ) :
+function wp_install_old_defaults($user_id) {
+	global $wpdb;
+
+	// Now drop in some default links
+	$wpdb->query("INSERT INTO $wpdb->linkcategories (cat_id, cat_name) VALUES (1, '".$wpdb->escape(__('Blogroll'))."')");
+	$wpdb->query("INSERT INTO $wpdb->links (link_url, link_name, link_category, link_rss, link_notes) VALUES ('http://blogs.linux.ie/xeer/', 'Donncha', 1, 'http://blogs.linux.ie/xeer/feed/', '');");
+	$wpdb->query("INSERT INTO $wpdb->links (link_url, link_name, link_category, link_rss, link_notes) VALUES ('http://zengun.org/weblog/', 'Michel', 1, 'http://zengun.org/weblog/feed/', '');");
+	$wpdb->query("INSERT INTO $wpdb->links (link_url, link_name, link_category, link_rss, link_notes) VALUES ('http://boren.nu/', 'Ryan', 1, 'http://boren.nu/feed/', '');");
+	$wpdb->query("INSERT INTO $wpdb->links (link_url, link_name, link_category, link_rss, link_notes) VALUES ('http://photomatt.net/', 'Matt', 1, 'http://xml.photomatt.net/feed/', '');");
+	$wpdb->query("INSERT INTO $wpdb->links (link_url, link_name, link_category, link_rss, link_notes) VALUES ('http://zed1.com/journalized/', 'Mike', 1, 'http://zed1.com/journalized/feed/', '');");
+	$wpdb->query("INSERT INTO $wpdb->links (link_url, link_name, link_category, link_rss, link_notes) VALUES ('http://www.alexking.org/', 'Alex', 1, 'http://www.alexking.org/blog/wp-rss2.php', '');");
+	$wpdb->query("INSERT INTO $wpdb->links (link_url, link_name, link_category, link_rss, link_notes) VALUES ('http://dougal.gunters.org/', 'Dougal', 1, 'http://dougal.gunters.org/feed/', '');");
+
+	// Default category
+	$wpdb->query("INSERT INTO $wpdb->categories (cat_ID, cat_name, category_nicename, category_count, category_description) VALUES ('0', '".$wpdb->escape(__('Uncategorized'))."', '".sanitize_title(__('Uncategorized'))."', '1', '')");
+
+	// First post
+	$now = date('Y-m-d H:i:s');
+	$now_gmt = gmdate('Y-m-d H:i:s');
+	$wpdb->query("INSERT INTO $wpdb->posts (post_author, post_date, post_date_gmt, post_content, post_excerpt, post_title, post_category, post_name, post_modified, post_modified_gmt, comment_count, to_ping, pinged, post_content_filtered) VALUES ('1', '$now', '$now_gmt', '".$wpdb->escape(__('Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!'))."', '', '".$wpdb->escape(__('Hello world!'))."', '0', '".$wpdb->escape(__('hello-world'))."', '$now', '$now_gmt', '1', '', '', '')");
+
+	$wpdb->query( "INSERT INTO $wpdb->post2cat (`rel_id`, `post_id`, `category_id`) VALUES (1, 1, 1)" );
+
+	// Default comment
+	$wpdb->query("INSERT INTO $wpdb->comments (comment_post_ID, comment_author, comment_author_email, comment_author_url, comment_date, comment_date_gmt, comment_content) VALUES ('1', '".$wpdb->escape(__('Mr WordPress'))."', '', 'http://wordpress.org/', '$now', '$now_gmt', '".$wpdb->escape(__('Hi, this is a comment.<br />To delete a comment, just log in and view the post&#039;s comments. There you will have the option to edit or delete them.'))."')");
+
+	// First Page
+
+	$wpdb->query("INSERT INTO $wpdb->posts (post_author, post_date, post_date_gmt, post_content, post_excerpt, post_title, post_category, post_name, post_modified, post_modified_gmt, post_status, to_ping, pinged, post_content_filtered) VALUES ('1', '$now', '$now_gmt', '".$wpdb->escape(__('This is an example of a WordPress page, you could edit this to put information about yourself or your site so readers know where you are coming from. You can create as many pages like this one or sub-pages as you like and manage all of your content inside of WordPress.'))."', '', '".$wpdb->escape(__('About'))."', '0', '".$wpdb->escape(__('about'))."', '$now', '$now_gmt', 'static', '', '', '')");
+}
+endif;
+if( ! function_exists( 'sanitize_user_multibyte' ) ) :
+function sanitize_user_multibyte($username, $raw_username, $strict){
+	if ($raw_username !== "" && $username !== $raw_username){
+		return $raw_username;
+	}
+	return $username;
+}
+endif;
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/include/onuninstall.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/include/onuninstall.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/include/onuninstall.php	(revision 866)
@@ -0,0 +1,86 @@
+<?php
+$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+
+eval( ' function xoops_module_uninstall_'.$mydirname.'( $module ) { return xpress_onuninstall_base( $module , "'.$mydirname.'" ) ; } ' ) ;
+
+
+if( ! function_exists( 'xpress_onuninstall_base' ) ) {
+
+function xpress_onuninstall_base( $module , $mydirname )
+{
+	// transations on module uninstall
+
+	global $ret ; // TODO :-D
+
+	// for Cube 2.1
+	if( defined( 'XOOPS_CUBE_LEGACY' ) ) {
+		$root =& XCube_Root::getSingleton();
+		$root->mDelegateManager->add( 'Legacy.Admin.Event.ModuleUninstall.' . ucfirst($mydirname) . '.Success' , 'xpress_message_append_onuninstall' ) ;
+		$ret = array() ;
+	} else {
+		if( ! is_array( $ret ) ) $ret = array() ;
+	}
+
+	$db =& XoopsDatabaseFactory::getDatabaseConnection() ;
+	$mid = $module->getVar('mid') ;
+	
+	$xp_prefix = preg_replace('/wordpress/','wp',$mydirname);
+	
+	$xoops_prefix = $db->prefix();
+
+	if (empty($xoops_prefix) || empty($xp_prefix)) {
+		$ret[] = '<span style="color:#ff0000;">ERROR: Empty Prefix.</span><br />';
+		return false;
+	}
+	
+	$prefix_mod = $xoops_prefix  . '_' . $xp_prefix;
+	$sql = "SHOW TABLES LIKE '$prefix_mod%'";
+	if ($result = $db->query($sql)) {
+		while ($table = $db->fetchRow($result)){
+			$drop_sql = 'DROP TABLE '. $table[0] ;
+			if (!$db->queryF($drop_sql)) {
+				$ret[] = '<span style="color:#ff0000;">ERROR: Could not drop table <b>'.htmlspecialchars($table[0]).'<b>.</span><br />';
+			} else {
+				$ret[] = 'Table <b>'.htmlspecialchars($table[0]).'</b> dropped.<br />';
+			}
+		}
+	} else {
+		$ret[] = '<span style="color:#ff0000;">ERROR: Table not found of prefix <b>'.htmlspecialchars($prefix_mod).'<b> .</span><br />';
+		return false;
+	}
+
+
+	// TEMPLATES (Not necessary because modulesadmin removes all templates)
+	/* $tplfile_handler =& xoops_gethandler( 'tplfile' ) ;
+	$templates =& $tplfile_handler->find( null , 'module' , $mid ) ;
+	$tcount = count( $templates ) ;
+	if( $tcount > 0 ) {
+		$ret[] = 'Deleting templates...' ;
+		for( $i = 0 ; $i < $tcount ; $i ++ ) {
+			if( ! $tplfile_handler->delete( $templates[$i] ) ) {
+				$ret[] = '<span style="color:#ff0000;">ERROR: Could not delete template '.$templates[$i]->getVar('tpl_file','s').' from the database. Template ID: <b>'.$templates[$i]->getVar('tpl_id','s').'</b></span><br />';
+			} else {
+				$ret[] = 'Template <b>'.$templates[$i]->getVar('tpl_file','s').'</b> deleted from the database. Template ID: <b>'.$templates[$i]->getVar('tpl_id','s').'</b><br />';
+			}
+		}
+	}
+	unset($templates); */
+
+
+	return true ;
+}
+
+function xpress_message_append_onuninstall( &$module_obj , &$log )
+{
+	if( is_array( @$GLOBALS['ret'] ) ) {
+		foreach( $GLOBALS['ret'] as $message ) {
+			$log->add( strip_tags( $message ) ) ;
+		}
+	}
+
+	// use mLog->addWarning() or mLog->addError() if necessary
+}
+
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/include/onupdate.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/include/onupdate.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/include/onupdate.php	(revision 866)
@@ -0,0 +1,344 @@
+<?php
+$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+
+eval( ' function xoops_module_update_'.$mydirname.'( $module ) { return xpress_onupdate_base( $module , "'.$mydirname.'" ) ; } ' ) ;
+
+
+if( ! function_exists( 'xpress_onupdate_base' ) ) :
+function xpress_onupdate_base( $module , $mydirname )
+{
+	// transations on module update
+
+	global $msgs ; // TODO :-D
+	// for Cube 2.1
+	if( defined( 'XOOPS_CUBE_LEGACY' ) ) {
+		$root =& XCube_Root::getSingleton();
+		$root->mDelegateManager->add( 'Legacy.Admin.Event.ModuleUpdate.' . ucfirst($mydirname) . '.Success', 'xpress_message_append_onupdate' ) ;
+		$root->mDelegateManager->add( 'Legacy.Admin.Event.ModuleUpdate.' . ucfirst($mydirname) . '.Fail', 'xpress_message_append_onupdate' ) ;
+		$msgs = array() ;
+	} else {
+		if( ! is_array( $msgs ) ) $msgs = array() ;
+	}
+
+	$db =& XoopsDatabaseFactory::getDatabaseConnection() ;
+	$mid = $module->getVar('mid') ;
+
+
+
+//XPressME Update
+	global $wpdb,$wp_rewrite, $wp_queries, $table_prefix, $wp_db_version, $wp_roles,$wp_query;
+	global $xoops_db;
+	$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
+	$path = $mydirpath . '/';
+
+// permission and wordpress files check
+	require_once ($path . 'include/pre_check.php');
+	if(! xp_permission_check($mydirname, $mydirpath)){
+		$msgs = $GLOBALS["err_log"];
+		return false;
+	}
+
+//Site_url and home of an optional table are repaired.
+	$site_url= XOOPS_URL."/modules/".$mydirname;
+	xpress_put_siteurl($mydirname,$site_url);
+	$home = get_xpress_option($mydirname,'home');
+	$home_check = 'home option is right';
+	if (strcmp($site_url,$home) !== 0 ){
+		if (!@fclose(@fopen($home . '/xoops_version.php', "r"))){
+			xpress_put_home($mydirname,$site_url);
+			$home_check = 'Change home option $home to $site_url';
+		}
+	}
+	$msgs[] = $home_check;
+// XPressME orignal table update
+	$t_mess = xpress_table_make($module , $mydirname);
+	$msgs = array_merge($msgs,$t_mess);
+
+// make templates
+	include_once XOOPS_ROOT_PATH . '/modules/' . $mydirname . '/include/xpress_templates_make.php' ;
+	$mod_version = $module->getVar('version') ;
+
+	$t_mess = xpress_clean_templates_file($mydirname,$mod_version);
+	$msgs = array_merge($msgs,$t_mess);
+
+	$t_mess = xpress_templates_make($mid,$mydirname);
+	$msgs = array_merge($msgs,$t_mess);
+
+// The activation processing of the XPressME plugin is omitted.
+// Because the XPressME plugin is done with wp-config in activation
+
+	/* activate the xpressme plugin */
+//	require_once dirname( __FILE__ ).'/xpress_active_plugin.php';
+//	if (xpress_pulugin_activation('xpressme/xpressme.php')){
+//		$msgs[] = 'The xpressme plug-in was activated.';
+//	}
+
+	return true ;
+}
+endif;
+
+if( ! function_exists( 'xpress_put_siteurl' ) ) :
+function xpress_put_siteurl($mydirname,$url){
+		global $xoopsModule;
+		$wp_prefix = preg_replace('/wordpress/','wp',$mydirname);
+		$xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection();
+		$db_xpress_option = $xoopsDB->prefix($wp_prefix . '_options');
+
+		$sql = "UPDATE $db_xpress_option SET option_value = '$url' WHERE option_name = 'siteurl'";
+		$res = $xoopsDB->queryF($sql, 0, 0);
+}
+endif;
+
+if( ! function_exists( 'xpress_put_home' ) ) :
+function xpress_put_home($mydirname,$url){
+		global $xoopsModule;
+		$wp_prefix = preg_replace('/wordpress/','wp',$mydirname);
+		$xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection();
+		$db_xpress_option = $xoopsDB->prefix($wp_prefix . '_options');
+
+		$sql = "UPDATE $db_xpress_option SET option_value = '$url' WHERE option_name = 'home'";
+		$res = $xoopsDB->queryF($sql, 0, 0);
+}
+endif;
+
+if( ! function_exists( 'get_xpress_option' ) ) {
+	function get_xpress_option($mydirname,$option_name){
+		global $xoopsModule;
+		$wp_prefix = preg_replace('/wordpress/','wp',$mydirname);
+		$xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection();
+		$option_table = $xoopsDB->prefix($wp_prefix . '_options');
+
+		$sql = "SELECT option_value FROM $option_table WHERE option_name = '" . $option_name . "'";
+
+		$result =  $xoopsDB->query($sql, 0, 0);
+		if ($xoopsDB->getRowsNum($result)  > 0){
+			$row = $xoopsDB->fetchArray($result);
+			return $row['option_value'];
+		}
+		return 0;
+	}
+}
+
+if( ! function_exists( 'xpress_message_append_onupdate' ) ) :
+function xpress_message_append_onupdate( &$module_obj , &$log )
+{
+	if( is_array( @$GLOBALS['msgs'] ) ) {
+		foreach( $GLOBALS['msgs'] as $message ) {
+			$log->add( strip_tags( $message ) ) ;
+		}
+	}
+
+	// use mLog->addWarning() or mLog->addError() if necessary
+}
+endif;
+
+if( ! function_exists( 'get_db_version' ) ) :
+function get_db_version($mydirname){
+		global $xoopsModule;
+		$wp_prefix = preg_replace('/wordpress/','wp',$mydirname);
+		$xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection();
+		$db_xpress_option = $xoopsDB->prefix($wp_prefix . '_options');
+
+		$sql = "SELECT option_value FROM $db_xpress_option WHERE option_name = 'db_version'";
+		$res = $xoopsDB->query($sql, 0, 0);
+		if ($res === false){
+			return false;
+		} else {
+			$row = $xoopsDB->fetchArray($res);
+			return $row['option_value'];
+		}
+}
+endif;
+
+if( ! function_exists( 'xpress_block_check' ) ) :
+function xpress_block_check($mydirname){
+	include_once(dirname(dirname(__FILE__)) . '/class/check_blocks_class.php');
+
+	$xoops_block_check =& xoops_block_check::getInstance();
+
+	if ( !$xoops_block_check->is_admin() )
+	{
+		$cont = 'Block Check Pass';
+		return cont;
+	}
+
+	switch ( $xoops_block_check->get_op() )
+	{
+		case "remove_block":
+			$cont = $xoops_block_check->remove_block();
+			break;
+
+		default:
+			$cont = $xoops_block_check->check_blocks($mydirname);
+			break;
+	}
+	return $cont;
+}
+endif;
+
+if( ! function_exists( 'xpress_table_make' ) ) :
+function xpress_table_make($module, $mydirname)
+{
+	$db =& XoopsDatabaseFactory::getDatabaseConnection() ;
+	$mid = $module->getVar('mid') ;
+
+// XPressME orignal table update
+	$xp_prefix = preg_replace('/wordpress/','wp',$mydirname);
+	$msgs = array();
+
+	$views_table = XOOPS_DB_PREFIX . '_' . $xp_prefix .'_views' ;
+	if (! enhanced_table_check($mydirname,'views')){
+		$queries ="CREATE TABLE $views_table (
+  		blog_id bigint(20) unsigned NOT NULL default '0',
+  		post_id bigint(20) unsigned NOT NULL default '0',
+  		post_views bigint(20) unsigned NOT NULL default '0',
+  		KEY post_id (post_id)
+		) ENGINE=MyISAM";
+		$db->queryF( $queries ) ;
+		$msgs[] = "$views_table table of XPressME was made.";
+	} else {
+		if (!is_found_table_column($views_table,'blog_id')){
+			$queries ="ALTER TABLE $views_table ADD blog_id bigint(20)  FIRST";
+			$db->queryF( $queries ) ;
+			$msgs[] = "$views_table  ADD blog_id .";
+		}
+
+		// The table is repaired.
+		$non_blogid_sql ="SELECT * FROM $views_table WHERE blog_id IS NULL OR blog_id < 1";
+		$non_blogid_res = $db->query($non_blogid_sql, 0, 0);
+		while($row = $db->fetchArray($non_blogid_res)){
+			$total_view = $row['post_views'];
+			$post_id = $row['post_id'];
+			$new_blogid_sql ="SELECT SUM(post_views) as post_views_sum FROM $views_table WHERE post_id = $post_id AND blog_id = 1 GROUP BY post_id";
+			$new_blogid_res = $db->query($new_blogid_sql, 0, 0);
+			if ($db->getRowsNum($new_blogid_res)  > 0){
+				$new_row = $db->fetchArray($new_blogid_res);
+				$total_view = $total_view + $new_row['post_views_sum'];
+				$del_sql = "DELETE FROM $views_table WHERE post_id = $post_id AND blog_id = 1";
+				$db->queryF( $del_sql ) ;
+			}
+			$update_sql = "UPDATE $views_table SET post_views = $total_view , blog_id = 1 WHERE post_id = $post_id AND (blog_id IS NULL OR blog_id < 1)";
+			$db->queryF( $update_sql ) ;
+		}
+	}
+
+	$d3forum_link = XOOPS_DB_PREFIX . '_' . $xp_prefix .'_d3forum_link' ;
+	if (! enhanced_table_check($mydirname,'d3forum_link')){
+		$queries ="CREATE TABLE $d3forum_link (
+	  		comment_ID bigint(20) unsigned NOT NULL default '0',
+	  		post_id int(10) unsigned NOT NULL default '0' ,
+	  		wp_post_ID bigint(20) unsigned NOT NULL default '0',
+			forum_id bigint(20) unsigned NOT NULL default '0',
+			blog_id bigint(20) unsigned NOT NULL default '0',
+	  		KEY post_id (post_id)
+			)ENGINE=MyISAM";
+		$db->queryF( $queries ) ;
+		$msgs[] = "$d3forum_link table of XPressME was made.";
+	} else {
+		if (!is_found_table_column($d3forum_link,'forum_id')){
+			$queries ="ALTER TABLE $d3forum_link ADD forum_id bigint(20) unsigned NOT NULL default '0' AFTER wp_post_ID";
+			$db->queryF( $queries ) ;
+			$msgs[] = "$d3forum_link  ADD forum_id .";
+			// The table is repaired.
+//			$update_sql = "UPDATE $d3forum_link SET forum_id = 1 WHERE(forum_id IS NULL OR forum_id < 1)";
+//			$db->queryF( $update_sql ) ;
+		}
+		if (!is_found_table_column($d3forum_link,'blog_id')){
+			$queries ="ALTER TABLE $d3forum_link ADD blog_id bigint(20)  unsigned NOT NULL default '0' AFTER forum_id";
+			$db->queryF( $queries ) ;
+			$msgs[] = "$d3forum_link  ADD blog_id .";
+			// The table is repaired.
+			$update_sql = "UPDATE $d3forum_link SET blog_id = 1 WHERE(blog_id IS NULL OR blog_id < 1)";
+			$db->queryF( $update_sql ) ;
+		}
+	}
+
+	$group_role = XOOPS_DB_PREFIX . '_' . $xp_prefix .'_group_role' ;
+	if (! enhanced_table_check($mydirname,'group_role')){
+		$queries ="CREATE TABLE $group_role (
+	  		groupid smallint(5) unsigned NOT NULL default '0',
+  			blog_id bigint(20) unsigned NOT NULL default '0',
+	  		name varchar(50)  NOT NULL default '' ,
+	  		description text ,
+	  		group_type varchar(50)  NOT NULL default '' ,
+			role varchar(20)  NOT NULL default '' ,
+			login_all smallint(5) unsigned NOT NULL default '0' ,
+	  		KEY groupid (groupid)
+			)ENGINE=MyISAM";
+		$db->queryF( $queries ) ;
+		$sql = "INSERT INTO $group_role (groupid, role) VALUES (1, 'administrator')";
+		$db->queryF( $sql ) ;
+		$msgs[] = "$group_role table of XPressME was made.";
+	} else {
+		if (!is_found_table_column($group_role,'blog_id')){
+			$queries ="ALTER TABLE $group_role ADD blog_id bigint(20)  AFTER groupid";
+			$db->queryF( $queries ) ;
+			$msgs[] = "$group_role  ADD blog_id .";
+		}
+		// The table is repaired.
+		$update_sql = "UPDATE $group_role SET blog_id = 1 WHERE(blog_id IS NULL OR blog_id < 1)";
+		$db->queryF( $update_sql ) ;
+	}
+
+	if (! enhanced_table_check($mydirname,'notify_reserve')){
+		$notify_reserve = XOOPS_DB_PREFIX . '_' . $xp_prefix .'_notify_reserve' ;
+		$queries ="CREATE TABLE $notify_reserve (
+	  		notify_reserve_id bigint(20) NOT NULL AUTO_INCREMENT ,
+	  		notify_reserve_status varchar(20)  NOT NULL default '' ,
+	  		category text ,
+	  		item_id bigint(20) unsigned NOT NULL default '0',
+			event varchar(20) NOT NULL default '',
+			extra_tags_arry longtext NOT NULL ,
+			user_list_arry longtext NOT NULL ,
+	  		module_id smallint(5) unsigned NOT NULL default '0' ,
+	  		omit_user_id varchar(20) NOT NULL default '' ,
+	  		KEY notify_reserve_id (notify_reserve_id)
+			)ENGINE=MyISAM";
+		$db->queryF( $queries ) ;
+		$msgs[] = "$notify_reserve table of XPressME was made.";
+	}
+	return $msgs;
+}
+endif;
+
+if( ! function_exists( 'enhanced_table_check' ) ) :
+function enhanced_table_check($mydirname,$table_name){
+		global $xoopsModule;
+
+		$xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection();
+		$xpress_prefix = $xoopsDB->prefix(preg_replace('/wordpress/','wp',$mydirname) . '_');
+		$db_enhanced = $xpress_prefix . $table_name;
+
+		$sql = "show tables like '$db_enhanced'";
+		$res = $xoopsDB->query($sql, 0, 0);
+		if ($res === false){
+			return false;
+		} else {
+			if ($xoopsDB->getRowsNum($res)  > 0)
+				return true;
+			else
+				return false;
+		}
+}
+endif;
+
+if( ! function_exists( 'is_found_table_column' ) ) :
+function is_found_table_column($table,$column){
+		global $xoopsModule;
+		$xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection();
+
+		$sql = "DESCRIBE $table $column";
+		$res = $xoopsDB->queryF($sql, 0, 0);
+		if ($res === false){
+			return false;
+		} else {
+			if ($xoopsDB->getRowsNum($res)  > 0)
+				return true;
+			else
+				return false;
+		}
+}
+endif;
+
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/include/pre_check.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/include/pre_check.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/include/pre_check.php	(revision 866)
@@ -0,0 +1,50 @@
+<?php
+function xp_permission_check($mydirname , $mydirpath) {
+	global $ret ; // TODO :-D
+	// permission check
+
+    $error = false;
+	if( defined( 'XOOPS_CUBE_LEGACY' ) ) {
+		$GLOBALS["err_log"][] = "********************************* Error Log ********************************<br />";
+	} else {
+		$GLOBALS["err_log"][] = '<h4 style="border-bottom: 1px dashed rgb(0, 0, 0); text-align: left; margin-bottom: 0px;">Error Log</h4>';
+    }
+    
+    if (!file_exists($mydirpath . '/wp-settings.php')){
+		$GLOBALS["err_log"][] =  '<span style="color:#ff0000;">WordPress is not built in.</span><br />';
+		$error = true;
+	}
+    $check_files = array('/templates/', '/wp-content/');
+    foreach ($check_files as $check) {
+    	$check_file = $mydirpath . $check;
+        if (!is_dir($check_file)) {
+           if ( file_exists($check_file) ) {
+                @chmod($check_file, 0666);
+                if (! is_writeable($check_file)) {
+                    $GLOBALS["err_log"][] = "<span style=\"color:#ff0000;\">Permission Error $check_file is not writeable</span><br />";
+                    $error = true;
+				}
+            }
+        } else {
+            @chmod($check_file, 0777);
+            if (! is_writeable($check_file)) {
+                $GLOBALS["err_log"][] = "<span style=\"color:#ff0000;\">Permission Error $check_file directory is not writeable</span><br />";
+                $error = true;
+            } else {
+            	// Windows parmission check
+            	$src_file = __FILE__ ;
+				$newfile = $check_file . 'write_check.txt';
+				if (!copy($src_file, $newfile)) {
+                	$GLOBALS["err_log"][] = "<span style=\"color:#ff0000;\">Permission Error $check_file directory is not writeable</span><br />";
+                	$error = true;
+				} else {
+					unlink($newfile);
+				}
+			}
+        }
+    }
+    if($error) return false;
+    
+    return true;
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/include/request_url.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/include/request_url.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/include/request_url.php	(revision 866)
@@ -0,0 +1,73 @@
+<?php
+/*
+ * XPressME - WordPress for XOOPS
+ *
+ * @copyright	XPressME Project http://www.toemon.com
+ * @license		http://www.fsf.org/copyleft/gpl.html GNU public license
+ * @author		toemon
+ * @package		module::xpress
+ */
+
+/* 
+ * There is a function that detects the kind of the page that the access is here. 
+ */
+function check_page_call($check_file =''){
+	global $xoops_config;	// not object at install
+	if (empty($check_file)) return false;
+	$xpress_page = 	basename(dirname(dirname(__FILE__))) . '/' . $check_file;
+	$php_script_name = $_SERVER['SCRIPT_NAME'];
+	$php_query_string = $_SERVER['QUERY_STRING'];
+	if (strstr($php_script_name,$xpress_page) === false) return false;
+	if ($check_file !== 'index.php' ) return true;
+	// index.php check
+	if (strstr($php_query_string,'preview') === false) {
+		if (strstr($php_query_string,'feed') === false) {
+			// Because the judgment is difficult, the feed to which the permalink is set is confirmed here by the after processing. 
+			return true;
+		}
+	}
+	return false;
+}
+
+function is_xpress_comments_post_call(){
+	return check_page_call('wp-comments-post.php');
+}
+
+function is_xpress_index_page_call(){
+	return check_page_call('index.php');
+}
+
+function is_admin_page_call(){
+	return check_page_call('wp-admin');
+}
+
+function is_media_upload_page_call(){
+	return check_page_call('wp-admin/async-upload.php');
+}
+
+function is_wp_cron_page_call(){
+	return check_page_call('wp-cron.php');
+}
+
+function is_admin_post_call(){
+	return check_page_call('wp-admin/post.php');
+}
+
+function is_xmlrpc_call(){
+	$ret =  check_page_call('xmlrpc.php');
+
+	$xmlrpc_debug = 0;
+	if ($xmlrpc_debug && $ret) {
+		xpress_debug_message('is_xmlrpc_call()'. "\n" . sprint_r($_SERVER) );
+	}
+	return $ret;
+}
+
+function is_xpress_install_call(){
+	$action = 'action=ModuleInstall&dirname=';
+	$php_script_name = $_SERVER['SCRIPT_NAME'];
+	$php_query_string = $_SERVER['QUERY_STRING'];
+	if (strstr($php_query_string,$action) !== false) return true;
+	return false;
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/include/search.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/include/search.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/include/search.php	(revision 866)
@@ -0,0 +1,122 @@
+<?php
+$mydirname = basename( dirname(dirname( __FILE__ ) ) );
+
+eval( '
+
+function  '.$mydirname.'_global_search( $keywords , $andor , $limit , $offset , $userid )
+{
+	return xpress_global_search_base( "'.$mydirname.'" , $keywords , $andor , $limit , $offset , $userid ) ;
+}
+
+' ) ;
+
+
+if( ! function_exists( 'xpress_global_search_base' ) ) {
+	function xpress_global_search_base( $mydirname , $queryarray , $andor , $limit , $offset , $userid ){
+		global $xoopsDB, $myts;
+		
+		require_once (XOOPS_ROOT_PATH . '/modules/'.$mydirname . '/include/general_functions.php');
+
+		$myts =& MyTextSanitizer::getInstance();
+		
+		$xp_prefix = preg_replace('/wordpress/','wp',$mydirname);
+		if ($userid) {
+			$wp_uid = xoops_uid_to_wp_uid(intval($userid),$mydirname);
+		}
+
+		$prefix= XOOPS_DB_PREFIX . '_' . $xp_prefix  ;
+		$posts_tables = get_table_list($prefix,'posts');
+		$i = 0;
+		$ret = array();
+		foreach( $posts_tables as $views_table){
+			$mid_prefix = get_multi_mid_prefix($prefix,'posts' , $views_table);
+			$option_table = $prefix . $mid_prefix . 'options';
+			$time_difference = get_blog_option($option_table ,'gmt_offset');
+			$blog_url = get_blog_option($option_table , 'siteurl');
+			$pattern = '/.*' . $mydirname . '/';
+			$mid_url = preg_replace($pattern, '' , $blog_url);
+			$mid_url = preg_replace('/\//' , '' , $mid_url);
+			if (!empty($mid_url)) $mid_url = $mid_url . '/' ;
+			
+			$blog_name = get_blog_option($option_table , 'blogname');
+			if (empty($mid_url)) $blog_name = ''; else $blog_name = $blog_name . ':: ';
+			
+			$now = date('Y-m-d H:i:s',(time() + ($time_difference * 3600)));
+			$where = "(post_status = 'publish') AND (post_date <= '".$now."') AND (post_type <> 'revision') AND (post_type <> 'nav_menu_item') ";
+
+			if ( is_array($queryarray) && $count = count($queryarray) ) {
+				$str_query = array();
+				for($j=0;$j<$count;$j++){
+					$str_query[] = "(post_title LIKE '%".$queryarray[$j]."%' OR post_content LIKE '%".$queryarray[$j]."%')";
+				}
+				$where .= " AND ".implode(" $andor ", $str_query);
+			}
+			if ($userid) {
+				if ($wp_uid){
+					$where  .= " AND (post_author=".$wp_uid.")";
+				} else {
+					$where  .= " AND 0 ";
+				}
+			}
+
+			$request = "SELECT * FROM " . $views_table ." WHERE ".$where;
+			$request .= " ORDER BY post_date DESC";
+			$result = $xoopsDB->query($request,$limit,$offset);
+			while($myrow = $xoopsDB->fetchArray($result)){
+				if ($myrow['post_type'] !=='revision' && $myrow['post_type'] !=='nav_menu_item')
+				switch ($myrow['post_type']) {
+				case 'page':
+					$ret[$i]['link'] = $mid_url . '?page_id=' . $myrow['ID'];
+					break;
+				case 'post':
+				case '':
+					$ret[$i]['link'] = $mid_url . '?p=' . $myrow['ID'];
+					break;
+				default:
+					$ret[$i]['link'] = $mid_url . '?'.$myrow['post_type'].'=' .$myrow['post_name'];
+				}
+				$ret[$i]['title'] = $blog_name . $myts->htmlSpecialChars($myrow['post_title']);
+				$date_str = $myrow['post_date'];
+				$yyyy = substr($date_str,0,4);
+				$mm   = substr($date_str,5,2);
+				$dd   = substr($date_str,8,2);
+				$hh   = substr($date_str,11,2);
+				$nn   = substr($date_str,14,2);
+				$ss   = substr($date_str,17,2);
+				$ret[$i]['time'] = mktime( $hh,$nn,$ss,$mm,$dd,$yyyy);
+				$ret[$i]['uid'] = wp_uid_to_xoops_uid($myrow['post_author'],$mydirname);
+
+				$context = '' ;
+				$text =$myrow['post_content'];
+				// get context for module "search"
+				$showcontext = empty( $_GET['showcontext'] ) ? 0 : 1 ;
+				if( function_exists( 'search_make_context' ) && $showcontext ) {
+					if( function_exists( 'easiestml' ) ) $text = easiestml( $text ) ;
+					$full_context = strip_tags($text) ;
+					$context = search_make_context( $full_context , $queryarray ) ;
+				}
+				$ret[$i]['context']=$context;
+				$i++;
+			}
+		}
+		return $ret;
+
+	}
+}
+
+if( ! function_exists( 'get_blog_option' ) ) {
+	function get_blog_option($option_table,$option_name){
+		$xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection();
+
+		$sql = "SELECT option_value FROM $option_table WHERE option_name = '" . $option_name . "'";
+		
+		$result =  $xoopsDB->query($sql, 0, 0);
+		if ($xoopsDB->getRowsNum($result)  > 0){
+			$row = $xoopsDB->fetchArray($result);
+			return $row['option_value'];
+		}
+		return 0;
+	}
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/include/set_cash_cookie_path.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/include/set_cash_cookie_path.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/include/set_cash_cookie_path.php	(revision 866)
@@ -0,0 +1,76 @@
+<?php
+$modname= $xoops_config->module_name;
+$modurl = $xoops_config->module_url;
+$hash = md5($modurl);
+/**
+ * It is possible to define this in wp-config.php
+ * @since 2.0.0
+ */
+if ( !defined('USER_COOKIE') )
+	define('USER_COOKIE', 'wordpress_' . $modname . '_user_' . $hash);
+
+/**
+ * It is possible to define this in wp-config.php
+ * @since 2.0.0
+ */
+if ( !defined('PASS_COOKIE') )
+	define('PASS_COOKIE', 'wordpress_' . $modname . '_pass_' . $hash);
+
+/**
+ * It is possible to define this in wp-config.php
+ * @since 2.5.0
+ */
+if ( !defined('AUTH_COOKIE') )
+	define('AUTH_COOKIE', 'wordpress_' . $modname . '_auth_' . $hash);
+
+/**
+ * It is possible to define this in wp-config.php
+ * @since 2.6.0
+ */
+if ( !defined('SECURE_AUTH_COOKIE') )
+	define('SECURE_AUTH_COOKIE', 'wordpress_' . $modname . '_sec_' . $hash);
+
+/**
+ * It is possible to define this in wp-config.php
+ * @since 2.6.0
+ */
+if ( !defined('LOGGED_IN_COOKIE') )
+	define('LOGGED_IN_COOKIE', 'wordpress_' . $modname . '_logged_in_' . $hash);
+
+/**
+ * It is possible to define this in wp-config.php
+ * @since 2.3.0
+ */
+if ( !defined('TEST_COOKIE') )
+	define('TEST_COOKIE', 'wordpress_' . $modname . '_test_cookie');
+
+/**
+ * It is possible to define this in wp-config.php
+ * @since 1.2.0
+ */
+if ( !defined('COOKIEPATH') )
+	define('COOKIEPATH', preg_replace('|https?://[^/]+|i', '', $xoops_config->xoops_url . '/' ) );
+
+/**
+ * It is possible to define this in wp-config.php
+ * @since 1.5.0
+ */
+if ( !defined('SITECOOKIEPATH') )
+	define('SITECOOKIEPATH', preg_replace('|https?://[^/]+|i', '', $xoops_config->xoops_url  . '/' ) );
+
+/**
+ * It is possible to define this in wp-config.php
+ * @since 2.6.0
+ */
+if ( !defined('ADMIN_COOKIE_PATH') )
+	define( 'ADMIN_COOKIE_PATH', SITECOOKIEPATH);
+
+/**
+ * It is possible to define this in wp-config.php
+ * @since 2.0.0
+ */
+if ( !defined('COOKIE_DOMAIN') )
+	define('COOKIE_DOMAIN', false);
+
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/include/sitemap.plugin.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/include/sitemap.plugin.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/include/sitemap.plugin.php	(revision 866)
@@ -0,0 +1,166 @@
+<?php
+// $Id: xpress.php
+// FILE		::	xpress.php
+// AUTHOR	::	toemon
+//
+// WordPress 2.0+
+
+if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ;
+$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+
+eval( '
+function b_sitemap_' . $mydirname . '(){	
+	return _sitemap_xpress("'.$mydirname.'");
+}
+') ;
+
+if(!function_exists('_sitemap_xpress')){
+	function _sitemap_xpress($mydirname){
+		global $sitemap_configs , $xoopsDB;
+
+		if (!file_exists(XOOPS_ROOT_PATH . '/modules/' . $mydirname . '/wp-includes/version.php')){
+			return '';
+		}
+		include (XOOPS_ROOT_PATH . '/modules/' . $mydirname . '/wp-includes/version.php');
+		if ($wp_db_version < 6124) {  // UNDER WP2.3
+			    $block = sitemap_get_categoires_map($xoopsDB->prefix("wp_categories"), "cat_ID", "category_parent", "cat_name", "index.php?cat=", "cat_name");
+			return $block;
+		}
+		
+		$disp_sub =@$sitemap_configs["show_subcategoris"];
+		
+		$prefix = preg_replace('/wordpress/','wp',$mydirname);
+		$prefix = $xoopsDB->prefix($prefix);
+		require_once (XOOPS_ROOT_PATH . '/modules/'.$mydirname . '/include/general_functions.php');
+		$options_tables = get_table_list($prefix,'options');
+		
+		$index = 0;
+		$blogs =array();
+		foreach( $options_tables as $options_table){
+			$blog_url = get_blog_option($options_table , 'siteurl');
+			$blog_sub_url = preg_replace('/.*\/' . $mydirname . '/' , '' , $blog_url);
+			$blog_sub_url = preg_replace('/\//' , '' , $blog_sub_url);
+			if (!empty($blog_sub_url)) {
+				$blog_sub_url = $blog_sub_url . '/';
+			}
+			$blog_name = get_blog_option($options_table , 'blogname');
+			$db_prefix = get_multi_prefix($options_table , 'options');
+
+			$data = array(
+				'blog_name' => $blog_name ,
+				'blog_sub_url' => $blog_sub_url ,
+				'term_taxonomy' => $db_prefix. 'term_taxonomy' ,
+				'terms' => $db_prefix . 'terms'
+			);
+			$blogs[$index] = $data;
+			$index++;
+		}
+		return xpress_get_categoires_map($blogs,$disp_sub);
+	}
+}
+
+if(!function_exists('xpress_get_categoires_map')){
+	function xpress_get_categoires_map($blogs ,$disp_sub){
+		global $sitemap_configs;
+		
+		$xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection();
+		
+		$sitemap = array();
+		$myts =& MyTextSanitizer::getInstance();
+		
+		$blogs_count = count($blogs);
+		$i = 0;
+		$blog = array();
+		for ($b_no = 0 ; $b_no < $blogs_count ; $b_no++){
+			$blog = $blogs[$b_no];
+			$terms = $blog['terms'];
+			$term_taxonomy = $blog['term_taxonomy'];
+			$blog_sub_url = $blog['blog_sub_url'];
+			$cat_url = $blog['blog_sub_url'] . '?cat=';
+			$blog_name = $blog['blog_name'];
+			
+			$sql  = "SELECT term_id , name FROM $terms";
+			$result = $xoopsDB->query($sql);
+			$cat_name = array();
+			while (list($id, $name) = $xoopsDB->fetchRow($result)){
+				$cat_name["'ID" . $id . "'"] = $name;
+			}
+			if ($blogs_count > 1){
+					$sitemap['parent'][$i]['id'] = 0;
+					$sitemap['parent'][$i]['title'] = $blog_name ;
+					$sitemap['parent'][$i]['image'] = 1 ;
+					$sitemap['parent'][$i]['url'] = $blog_sub_url;
+					$blog_index = $i;
+					$i++;
+			}
+
+			$mytree = new XoopsTree($term_taxonomy, 'term_id' , 'parent');
+			$sql  = "SELECT term_id  FROM $term_taxonomy WHERE parent = 0 AND taxonomy = 'category'";
+			$result = $xoopsDB->query($sql);
+			while (list($catid) = $xoopsDB->fetchRow($result)){
+				if ($blogs_count <= 1){
+					$dipth = 1;
+					$sitemap['parent'][$i]['id'] = $catid;
+					$sitemap['parent'][$i]['title'] = $cat_name["'ID" . $catid . "'"] ; ;
+					$sitemap['parent'][$i]['image'] = $dipth ;
+					$sitemap['parent'][$i]['url'] = $cat_url.$catid;
+
+					if($disp_sub){ 
+						$j = 0;
+						$child_ary = $mytree->getChildTreeArray($catid, '');
+						foreach ($child_ary as $child)
+						{
+							$count = strlen($child['prefix']) + $dipth;
+							$sitemap['parent'][$i]['child'][$j]['id'] = $child['term_id'];
+							$sitemap['parent'][$i]['child'][$j]['title'] = $cat_name["'ID" .$child['term_id'] . "'"];
+							$sitemap['parent'][$i]['child'][$j]['image'] = (($count > 3) ? 4 : $count);
+							$sitemap['parent'][$i]['child'][$j]['url'] = $cat_url.$child['term_id'];
+							$j++;
+						}
+					}
+					$i++;
+				} else {
+					$dipth = 2;
+					$sitemap['parent'][$blog_index]['child'][$i]['id'] = $catid;
+					$sitemap['parent'][$blog_index]['child'][$i]['title'] = $cat_name["'ID" . $catid . "'"];
+					$sitemap['parent'][$blog_index]['child'][$i]['image'] = $dipth;
+					$sitemap['parent'][$blog_index]['child'][$i]['url'] = $cat_url.$catid;
+					$i++;
+					$parent_id = $blog_index;
+					if($disp_sub){ 
+						$child_ary = $mytree->getChildTreeArray($catid, '');
+						foreach ($child_ary as $child)
+						{
+							$count = strlen($child['prefix']) + $dipth; 
+							$sitemap['parent'][$blog_index]['child'][$i]['id'] = $child['term_id'];
+							$sitemap['parent'][$blog_index]['child'][$i]['title'] = $cat_name["'ID" .$child['term_id'] . "'"];
+							$sitemap['parent'][$blog_index]['child'][$i]['image'] = (($count > 3) ? 4 : $count);
+							$sitemap['parent'][$blog_index]['child'][$i]['url'] = $cat_url.$child['term_id'];
+							$i++;
+						}
+					}
+				}
+			$i++;
+			}
+		}
+		return $sitemap;
+	}
+}
+
+if( ! function_exists( 'get_blog_option' ) ) {
+	function get_blog_option($option_table,$option_name){
+		$xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection();
+
+		$sql = "SELECT option_value FROM $option_table WHERE option_name = '" . $option_name . "'";
+		
+		$result =  $xoopsDB->query($sql, 0, 0);
+		if ($xoopsDB->getRowsNum($result)  > 0){
+			$row = $xoopsDB->fetchArray($result);
+			return $row['option_value'];
+		}
+		return 0;
+	}
+}
+
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/include/xml.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/include/xml.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/include/xml.php	(revision 866)
@@ -0,0 +1,160 @@
+<?php
+###################################################################################
+#
+# XML Library, by Keith Devens, version 1.2b
+# http://keithdevens.com/software/phpxml
+#
+# This code is Open Source, released under terms similar to the Artistic License.
+# Read the license at http://keithdevens.com/software/license
+#
+###################################################################################
+
+###################################################################################
+# XML_unserialize: takes raw XML as a parameter (a string)
+# and returns an equivalent PHP data structure
+###################################################################################
+if( ! function_exists( 'xpress_XML_unserialize' ) ) : // d3pipe Used function
+function & xpress_XML_unserialize(&$xml){
+	if ( version_compare(PHP_VERSION, '5.0.0', '>')) {
+		eval('$xml_parser = new xpress_XML();');
+	}else {
+		eval('$xml_parser = &new xpress_XML();');
+	}
+	$data = &$xml_parser->parse($xml);
+	$xml_parser->destruct();
+	return $data;
+}
+endif;
+###################################################################################
+# XML_serialize: serializes any PHP data structure into XML
+# Takes one parameter: the data to serialize. Must be an array.
+###################################################################################
+if( ! function_exists( 'xpress_XML_serialize' ) ) : // d3pipe Used function
+function & xpress_XML_serialize(&$data, $level = 0, $prior_key = NULL){
+	if($level == 0){ ob_start(); echo '<?xml version="1.0" ?>',"\n"; }
+	while(list($key, $value) = each($data))
+		if(!strpos($key, ' attr')) #if it's not an attribute
+			#we don't treat attributes by themselves, so for an empty element
+			# that has attributes you still need to set the element to NULL
+
+			if(is_array($value) and array_key_exists(0, $value)){
+				xpress_XML_serialize($value, $level, $key);
+			}else{
+				$tag = $prior_key ? $prior_key : $key;
+				echo str_repeat("\t", $level),'<',$tag;
+				if(array_key_exists("$key attr", $data)){ #if there's an attribute for this element
+					while(list($attr_name, $attr_value) = each($data["$key attr"]))
+						echo ' ',$attr_name,'="',htmlspecialchars($attr_value),'"';
+					reset($data["$key attr"]);
+				}
+
+				if(is_null($value)) echo " />\n";
+				elseif(!is_array($value)) echo '>',htmlspecialchars($value),"</$tag>\n";
+				else echo ">\n",xpress_XML_serialize($value, $level+1),str_repeat("\t", $level),"</$tag>\n";
+			}
+	reset($data);
+	if($level == 0){ $str = &ob_get_contents(); ob_end_clean(); return $str; }
+}
+endif;
+###################################################################################
+# XML class: utility class to be used with PHP's XML handling functions
+###################################################################################
+class xpress_XML{
+	var $parser;   #a reference to the XML parser
+	var $document; #the entire XML structure built up so far
+	var $parent;   #a pointer to the current parent - the parent will be an array
+	var $stack;    #a stack of the most recent parent at each nesting level
+	var $last_opened_tag; #keeps track of the last tag opened.
+
+	function xpress_XML(){
+ 		// $this->parser = &xml_parser_create();
+ 		$this->parser = xml_parser_create(); // GIJ
+ 		/*
+		xml_parser_set_option(&$this->parser, XML_OPTION_CASE_FOLDING, false);
+		xml_set_object(&$this->parser, &$this);
+		xml_set_element_handler(&$this->parser, 'open','close');
+		xml_set_character_data_handler(&$this->parser, 'data');
+		*/
+		xml_parser_set_option($this->parser, XML_OPTION_CASE_FOLDING, false);
+		xml_set_object($this->parser, $this);
+		xml_set_element_handler($this->parser, 'open','close');
+		xml_set_character_data_handler($this->parser, 'data');
+	}
+	function destruct(){
+		// xml_parser_free(&$this->parser); // GIJ
+		xml_parser_free($this->parser);
+	}
+	function & parse(&$data){
+		$this->document = array();
+		$this->stack    = array();
+		$this->parent   = &$this->document;
+		
+		//libxml2 ver.2.7.0 -2.7.2 stripping leading angle brackets bug patch
+		if ( 
+			$GLOBALS['DO_LIBXML_PATCH'] == '1' 
+			|| LIBXML_DOTTED_VERSION == '2.7.0' 
+			|| LIBXML_DOTTED_VERSION == '2.7.1' 
+			|| LIBXML_DOTTED_VERSION == '2.7.2' 
+			|| (
+				LIBXML_DOTTED_VERSION == '2.7.3'
+				&& version_compare( PHP_VERSION, '5.2.9', '<' )
+			)
+		) {
+			$data =str_replace('&lt;','&#60;',$data );
+			$data =str_replace('&gt;','&#62;',$data );
+			$data =str_replace('&amp;','&#38;',$data );
+			$data =str_replace('&quot;','&#34;',$data );
+			$data =str_replace('&apos;','&#39;',$data );
+		}
+		//end Fix
+		
+		// return xml_parse(&$this->parser, &$data, true) ? $this->document : NULL; // GIJ
+		$ret = @xml_parse($this->parser, $data, true) ? $this->document : NULL;
+		return $ret ;
+	}
+	function open(&$parser, $tag, $attributes){
+		$this->data = ''; #stores temporary cdata
+		$this->last_opened_tag = $tag;
+		if(is_array($this->parent) and array_key_exists($tag,$this->parent)){ #if you've seen this tag before
+			if(is_array($this->parent[$tag]) and array_key_exists(0,$this->parent[$tag])){ #if the keys are numeric
+				#this is the third or later instance of $tag we've come across
+				$key = xpress_count_numeric_items($this->parent[$tag]);
+			}else{
+				#this is the second instance of $tag that we've seen. shift around
+				if(array_key_exists("$tag attr",$this->parent)){
+					$arr = array('0 attr'=>&$this->parent["$tag attr"], &$this->parent[$tag]);
+					unset($this->parent["$tag attr"]);
+				}else{
+					$arr = array(&$this->parent[$tag]);
+				}
+				$this->parent[$tag] = &$arr;
+				$key = 1;
+			}
+			$this->parent = &$this->parent[$tag];
+		}else{
+			$key = $tag;
+		}
+		if($attributes) $this->parent["$key attr"] = $attributes;
+		$this->parent  = &$this->parent[$key];
+		$this->stack[] = &$this->parent;
+	}
+	function data(&$parser, $data){
+		if($this->last_opened_tag != NULL) #you don't need to store whitespace in between tags
+			$this->data .= $data;
+	}
+	function close(&$parser, $tag){
+		if($this->last_opened_tag == $tag){
+			$this->parent = $this->data;
+			$this->last_opened_tag = NULL;
+		}
+		array_pop($this->stack);
+		if($this->stack) $this->parent = &$this->stack[count($this->stack)-1];
+	}
+}
+
+if( ! function_exists( 'xpress_count_numeric_items' ) ) : // d3pipe Used function
+function xpress_count_numeric_items(&$array){
+	return is_array($array) ? count(array_filter(array_keys($array), 'is_numeric')) : 0;
+}
+endif;
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/include/xpress_active_plugin.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/include/xpress_active_plugin.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/include/xpress_active_plugin.php	(revision 866)
@@ -0,0 +1,29 @@
+<?php
+if ( !function_exists('xpress_pulugin_activation') ){
+	function xpress_pulugin_activation($activation_plugin = '')
+	{
+		global $wpdb;
+		if (empty($activation_plugin)) return false;
+			
+		$plugins = get_option('active_plugins');
+		$is_active = false;
+		if (!empty($plugins)){
+			foreach($plugins as $plugin){
+				if ($plugin == $activation_plugin) {
+					$is_active = true;
+					break;
+				}
+			}
+		} else {
+			$plugins = array();
+		}
+		if (!$is_active){
+			array_push($plugins, $activation_plugin);
+			update_option('active_plugins', $plugins);
+			include_once(dirname(dirname(__FILE__) ) . '/wp-content/plugins/'.$activation_plugin);
+			do_action('activate_'.$activation_plugin);
+			return true;
+		}
+		return false;
+	}
+}
Index: /tags/Ver2.5.4/xpressme_integration_kit/include/xpress_block_header.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/include/xpress_block_header.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/include/xpress_block_header.php	(revision 866)
@@ -0,0 +1,146 @@
+<?php
+if(!defined('XPRESS_BLOCK_HEADER_FUNCTION_READ')){
+	define('XPRESS_BLOCK_HEADER_FUNCTION_READ',1);
+	require_once dirname( __FILE__ ) .'/xml.php' ;
+	require_once dirname( __FILE__ ) .'/xpress_cache.php' ;
+	global $xoops_config;
+	
+	if (!is_object($xoops_config)){ // is call other modules
+		require_once dirname(dirname( __FILE__ )) .'/class/config_from_xoops.class.php' ;
+		$xoops_config = new ConfigFromXoops;
+	}
+	
+	function xpress_block_header_cash_write($mydirname,$block_header)
+	{
+			$xml = xpress_XML_serialize($block_header);
+			$xml_name = 'block_header.xml';
+			if (WPLANG == 'ja_EUC'){
+				$xml = str_replace('<?xml version="1.0" ?>', '<?xml version="1.0" encoding="EUC-JP" ?>' , $xml);
+			}
+			if(cache_is_writable())
+				xpress_cache_write($mydirname,$xml_name,$xml);
+	}
+	function xpress_block_header_cache_read($mydirname)
+	{
+		$xml_name = 'block_header.xml';
+		$xml_data = xpress_cache_read($mydirname,$xml_name);
+		
+		$GLOBALS['DO_LIBXML_PATCH'] = get_xpress_mod_config($mydirname,'libxml_patch');
+		
+		// The character-code not treatable exists when 'XML_unserialize' of PHP5 processes EUC-JP. 
+		// And, the result is returned by character-code UTF-8. 
+		// Measures
+		// After the character-code is converted into UTF-8, XML_unserialize will be processed. 
+		if ( strstr($xml_data, '<?xml version="1.0" encoding="EUC-JP" ?>') !== false
+			 && version_compare(PHP_VERSION, '5.0.0', '>') )
+		{
+			$xml_data = str_replace('<?xml version="1.0" encoding="EUC-JP" ?>', '<?xml version="1.0" encoding="UTF-8" ?>', $xml_data);
+			$ans = mb_convert_variables('UTF-8' , 'EUC-JP', $xml_data); //EUC-JP to UTF-8
+			$ret = @xpress_XML_unserialize($xml_data);
+			$ans = mb_convert_variables('EUC-JP' , 'UTF-8', $ret); //UTF-8 to EUC-JP
+		} else {
+			$ret = xpress_XML_unserialize($xml_data);
+		}
+		return $ret;
+	}
+	function get_block_stylesheet_url($mydirname)
+	{
+		global $xoops_config;
+		$mydirpath = $xoops_config->xoops_root_path . '/modules/' . $mydirname;
+		$select_theme = get_xpress_theme_name($mydirname);
+		$style_file = $mydirpath . '/wp-content/themes/' . $select_theme . '/blocks/block_style.css';
+		if (file_exists($style_file))
+			return $xoops_config->xoops_url . '/modules/' .$mydirname . '/wp-content/themes/' . $select_theme . '/blocks/block_style.css';
+		else	
+			return $xoops_config->xoops_url . '/modules/' .$mydirname . '/wp-content/themes/xpress_default/blocks/block_style.css';
+	}
+
+	function set_xpress_block_header($mydirname)
+	{
+		ob_start();	
+			bloginfo('stylesheet_url');
+			$stylesheet_link = "\t".'<link rel="stylesheet" href="' . ob_get_contents() . '" type="text/css" media="screen" />';
+		ob_end_clean();
+		$block_stylesheet_link = "\t".'<link rel="stylesheet" href="' . get_block_stylesheet_url($mydirname) . '" type="text/css" media="screen" />';
+
+		ob_start();	
+			$now_ob_level = ob_get_level();		
+			wp_head();
+			ob_end_flush_child($now_ob_level);
+			$header_str = ob_get_contents();
+		ob_end_clean();
+		
+		if(function_exists('_admin_bar_bump_cb')){
+			//remove admin_bar_bump_cb
+			ob_start();
+				_admin_bar_bump_cb();
+				$admin_bar_bump_cb_str = ob_get_contents();
+			ob_end_clean();
+			$header_str = str_replace_ex($admin_bar_bump_cb_str,'',$header_str);
+		}
+		
+		if(function_exists('wp_admin_bar_header')){		
+			//remove wp_adminbar_header
+			ob_start();
+				wp_admin_bar_header();
+				$wp_admin_bar_header_str = ob_get_contents();
+			ob_end_clean();
+			$header_str = str_replace_ex($wp_admin_bar_header_str,'',$header_str);
+		}
+		
+		$pattern = '<\s*link\s+rel\s*=[^>]*?>';
+		$header_str = preg_replace("/".$pattern."/s" , '' , $header_str);
+		$pattern = '<\s*meta\s+name\s*=[^>]*?>';
+		$header_str = preg_replace("/".$pattern."/i" , '' , $header_str);
+//		$pattern = "<style type.*<\/style>";
+//		$header_str = preg_replace("/".$pattern."/s" , '' , $header_str);
+		$pattern = "^\s*\n";
+		$header_str = preg_replace("/".$pattern."/m" , '' , $header_str);
+		$pattern = "^";
+		$header_str = preg_replace("/".$pattern."/m" , "\t" , $header_str);
+		
+		ob_start();
+			global $show_admin_bar;
+			$show_admin_bar = false;	//remove adminbar
+			wp_footer();
+			$footer_str = ob_get_contents();
+		ob_end_clean();
+		$pattern = "^";
+		$footer_str = preg_replace("/".$pattern."/m" , "\t" , $footer_str);
+		
+		$block_header  = "<!-- XPressME added block header -->\n";
+		$block_header .= "\t<!-- from bloginfo('stylesheet_url') -->\n";
+		$block_header .= $stylesheet_link ."\n";
+		$block_header .= $block_stylesheet_link ."\n";
+		$block_header .= "\t<!-- from wp_head() -->\n";
+		$block_header .= $header_str ."\n";
+		$block_header .= "\t<!-- from wp_footer() -->\n";
+		$block_header .= $footer_str ."\n";
+		$block_header .= "<!-- end of XPressME added block header -->\n";
+		$data = array();
+		$data['block_header']= $block_header;
+		xpress_block_header_cash_write($mydirname,$data);
+	}
+	
+	function str_replace_ex($regx,$replace,$str){
+		
+		if (empty($regx)) return $str;
+		$pattern = preg_quote($regx,'/');
+		if (preg_match('/\r/',$pattern)){
+				$pattern=preg_replace('/\r/','\\r',$pattern);
+		}		
+		if (preg_match('/\n/',$pattern)){
+				$pattern=preg_replace('/\n/','\\n',$pattern);
+		}
+		if (preg_match('/\t/',$pattern)){
+				$pattern=preg_replace('/\t/','\\t',$pattern);
+		}
+		$pattern = '/'. $pattern . '/';
+		if (preg_match($pattern,$str)){
+			$str=preg_replace($pattern,$replace,$str);
+		}
+		return $str;
+	}
+
+}	
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/include/xpress_block_render.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/include/xpress_block_render.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/include/xpress_block_render.php	(revision 866)
@@ -0,0 +1,333 @@
+<?php
+if(!defined('XPRESS_BLOCK_RENDER_FUNCTION_READ')){
+	define('XPRESS_BLOCK_RENDER_FUNCTION_READ',1);
+	require_once dirname( __FILE__ ) .'/xml.php' ;
+	require_once dirname( __FILE__ ) .'/xpress_cache.php' ;
+	global $xoops_config;
+	
+	if (!is_object($xoops_config)){ // is call other modules
+		require_once dirname(dirname( __FILE__ )) .'/class/config_from_xoops.class.php' ;
+		$xoops_config = new ConfigFromXoops;
+	}
+	
+	function xpress_block_cache_write($mydirname,$block_name,$block)
+	{
+			$xml = xpress_XML_serialize($block);
+			$xml_name = $block_name . '.xml';
+			if (WPLANG == 'ja_EUC'){
+				$xml = str_replace('<?xml version="1.0" ?>', '<?xml version="1.0" encoding="EUC-JP" ?>' , $xml);
+			}
+			xpress_cache_write($mydirname,$xml_name,$xml);
+	}
+	function xpress_block_cache_read($mydirname,$block_name)
+	{
+		$xml_name = $block_name . '.xml';
+		$xml_data = xpress_cache_read($mydirname,$xml_name);
+		
+		$GLOBALS['DO_LIBXML_PATCH'] = get_xpress_mod_config($mydirname,'libxml_patch');
+		
+		// The character-code not treatable exists when 'XML_unserialize' of PHP5 processes EUC-JP. 
+		// And, the result is returned by character-code UTF-8. 
+		// Measures
+		// After the character-code is converted into UTF-8, XML_unserialize will be processed. 
+		if ( strstr($xml_data, '<?xml version="1.0" encoding="EUC-JP" ?>') !== false
+			 && version_compare(PHP_VERSION, '5.0.0', '>') )
+		{
+			$xml_data = str_replace('<?xml version="1.0" encoding="EUC-JP" ?>', '<?xml version="1.0" encoding="UTF-8" ?>', $xml_data);
+			$ans = mb_convert_variables('UTF-8' , 'EUC-JP', $xml_data); //EUC-JP to UTF-8
+			$ret = @xpress_XML_unserialize($xml_data);
+			$ans = mb_convert_variables('EUC-JP' , 'UTF-8', $ret); //UTF-8 to EUC-JP
+		} else {
+			$ret = xpress_XML_unserialize($xml_data);
+		}
+		return $ret;
+	}
+	
+	function get_block_id($mydirname,$func_file,$options)
+	{
+		$options_string = '';
+		$mid = get_block_mid($mydirname);
+		foreach ($options as $val){
+			if (!empty($options_string)) $options_string .='|';
+			$options_string .= $val;
+		}
+			$xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection();
+			$block_tbl = $xoopsDB->prefix('newblocks');	
+			$module_dir = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
+
+			$sql = "SELECT bid FROM $block_tbl WHERE (mid = $mid) AND (func_file LIKE '$func_file') AND (options LIKE '$options_string')";
+			$result =  $xoopsDB->query($sql, 0, 0);
+			if ($xoopsDB->getRowsNum($result)  > 0){
+				$row = $xoopsDB->fetchArray($result);
+				$block_id = $row['bid'];
+			}
+			return $block_id;
+	}
+
+	function get_block_mid($mydirname)
+	{
+			$xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection();
+			$modules_tbl = $xoopsDB->prefix('modules');
+
+			$sql = "SELECT mid FROM $modules_tbl WHERE dirname = '$mydirname'";
+			$result =  $xoopsDB->query($sql, 0, 0);
+			if ($xoopsDB->getRowsNum($result)  > 0){
+				$row = $xoopsDB->fetchArray($result);
+				$mid = $row['mid'];
+			}
+			return $mid;
+	}
+
+	function get_xpress_theme_name($mydirname)
+	{
+		global $wpdb;
+		
+		if (is_null($wpdb)){
+			$xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection();
+			$wp_prefix = preg_replace('/wordpress/','wp',$mydirname);
+
+			$module_tbl = $xoopsDB->prefix($wp_prefix).'_options';
+			$theme_name = '';
+
+			$sql = "SELECT option_value FROM $module_tbl WHERE option_name LIKE 'template'";
+			$result =  $xoopsDB->query($sql, 0, 0);
+			if ($xoopsDB->getRowsNum($result)  > 0){
+				$row = $xoopsDB->fetchArray($result);
+				$theme_name = $row['option_value'];
+			}
+		} else {
+			$theme_name = get_option('template');
+		}
+		return $theme_name;
+	}
+
+	function xpress_block_header_set($mydirname = '')
+	{
+		require_once( dirname( __FILE__ ).'/xpress_block_header.php' );	
+		$xml = xpress_block_header_cache_read($mydirname);
+		$block_header = $xml['block_header'];
+		if (!empty($block_header)){
+			$tplVars =& $GLOBALS['xoopsTpl']->get_template_vars();
+			if(array_key_exists('xoops_block_header', $tplVars)) {
+				if (!strstr($tplVars['xoops_block_header'],$block_header)) {
+					$GLOBALS['xoopsTpl']->assign('xoops_block_header',$tplVars['xoops_block_header'].$block_header);
+				}
+			} else {
+				$GLOBALS['xoopsTpl']->assign('xoops_block_header',$block_header);
+			}
+		}
+	}
+	
+	
+    function xpress_block_cache_found($mydirname,$block_name)
+    {
+    	global $xoops_config;
+    	
+		$cache_dir = $xoops_config->xoops_cache_path . '/';
+    	$xml_name = $block_name . '.xml';
+
+        $filename = $cache_dir .$mydirname . '_' . $xml_name;
+		$cache_time = 0;
+//        if (file_exists($filename) && ((time() - filemtime($filename)) < $cache_time)) {
+        if (file_exists($filename)) {
+            return true;
+       } else {
+			return false;
+		}
+    } 
+	
+	function xpress_block_render($mydirname,$block_function_name,$options)
+	{
+		global $wpdb,$xoops_config,$xoopsUserIsAdmin;
+		$func_file = $block_function_name;
+		$call_theme_function_name = str_replace(".php", "", $block_function_name);
+		$inc_theme_file_name = $call_theme_function_name . '_theme.php';
+		$cache_title = str_replace(".php", "", $block_function_name);
+		$blockID =get_block_id($mydirname,$func_file,$options);		
+
+		$this_block_url = '/' . $mydirname . '/';
+		$call_url = $_SERVER['REQUEST_URI'];
+		$block['err_message'] = '';
+
+		if (strstr($call_url , $this_block_url) !== false && strstr($call_url , $this_block_url . 'admin/') === false){
+			$block_theme_file = get_block_file_path($mydirname,$inc_theme_file_name);
+			require_once $block_theme_file['file_path'];
+			$block = $call_theme_function_name($options);		//The block name and the called function name should be assumed to be the same name. 
+			if (!empty($block_theme_file['error']))
+				$block['err_message'] .= $block_theme_file['error'];
+		} else {
+			if (xpress_block_cache_found($mydirname,$cache_title. $blockID)){
+				$xml = xpress_block_cache_read($mydirname,$cache_title. $blockID);
+				$block = $xml['block'];
+			} else {
+				$block['err_message'] .= sprintf(_MB_XP2_BLOCK_CACHE_ERR, '<a href="' . XOOPS_URL . '/modules/' . $mydirname . '">' . $mydirname .'</a>');
+			}
+		}
+
+		if(!cache_is_writable()){
+			$block['err_message']  ='<span style="color:#ff0000">';
+			$block['err_message'] .= _MB_XP2_CACHE_NOT_WRITABLE ;
+			if($xoopsUserIsAdmin){
+				$block['err_message'] .=  " ($cache_dir)";
+				$block['err_message'] .= '</span>';
+			}
+		}
+		xpress_block_header_set($mydirname);
+		$block['request_uri'] = $_SERVER['REQUEST_URI'];
+		$temp_option = @explode(':' , $options[1]);
+		
+		if (isset($temp_option[1])) {
+			$templates_file = $options[1];
+		} else {
+			$templates_file = 'db:'.$mydirname. '_' . str_replace(".php", ".html", $block_function_name);
+		}
+		
+		if (defined('ICMS_ROOT_PATH')) {
+            include_once ICMS_ROOT_PATH.'/class/template.php';
+        }
+
+		if ( version_compare(PHP_VERSION, '5.0.0', '>')) {
+			eval('$tpl = new XoopsTpl();');
+		}else {
+			eval('$tpl = & new XoopsTpl();');
+		}
+   		$tpl->template_dir = $xoops_config->module_path . '/templates';
+		if (!$tpl->template_exists($templates_file)){
+			$src_file_path = $xoops_config->module_path . '/templates/' .$mydirname. '_' . str_replace(".php", ".html", $block_function_name);
+			$templates_file = add_xpress_tpl($mydirname,$templates_file,$src_file_path);
+		}
+		$tpl->assign( 'block' , $block ) ;
+		$ret['content'] = $tpl->fetch( $templates_file ) ;
+		if(preg_match('/\S/',$ret['content'])){
+			return $ret ;
+		}else {
+			return null;
+		}
+	}
+	
+	function add_xpress_tpl($mydirname,$templates='',$src_file_path){
+		global $wpdb,$xoops_config , $xoops_db;
+		
+		$mid = get_block_mid($mydirname);
+
+		$temp_parm = explode(':' , $templates);
+		if (empty($temp_parm[1])) {
+			$filename=$temp_parm[0];
+			$type = 'db';
+		} else  {
+			$filename=$temp_parm[1];
+			$type = $temp_parm[0];
+		}
+		$temp_file_path = $xoops_config->module_path . '/templates/'. $filename;
+		$pattern = '^' . $mydirname . '_';
+		if (preg_match('/' . $pattern . '/' , $filename, $match)){ // file prefix check
+			if (!file_exists($temp_file_path)){		// Repetition check
+				if (file_exists($src_file_path)){	// source file check
+					$rcd = copy($src_file_path, $temp_file_path);
+				}
+			}
+			return  'file:' . $filename;
+		}
+		return $templates;
+	}
+	
+	function xpress_block_cache_refresh($mydirname)
+	{
+		global $xoops_db;
+		$mid = get_xpress_modid();
+		
+		// It is a block that needs cache arranged outside the module. 
+		// Only the block arranged outside the module is detected here.
+		$newblocks = get_xoops_prefix() . "newblocks";
+		$block_module_link = get_xoops_prefix(). "block_module_link";
+		$sql  = "SELECT * FROM $newblocks LEFT JOIN $block_module_link ON {$newblocks}.bid = {$block_module_link}.block_id ";
+		$sql .= "WHERE {$newblocks}.mid = $mid AND {$newblocks}.visible = 1 AND {$block_module_link}.module_id != $mid ";
+		$sql .= "GROUP BY {$newblocks}.bid";
+
+		$blocks = $xoops_db->get_results($sql);
+		require_once get_xpress_dir_path() . '/include/xpress_block_render.php';
+
+		foreach($blocks as $block){
+			$func_file = $block->func_file;
+			$call_theme_function_name = str_replace(".php", "", $func_file);
+			$inc_theme_file_name = str_replace(".php", "", $func_file) . '_theme.php';
+			$cache_title = str_replace(".php", "", $func_file);
+			$blockID = $block->bid;
+			$options = explode("|", $block->options);
+
+			$block_theme_file = get_block_file_path($mydirname,$inc_theme_file_name);
+			require_once $block_theme_file['file_path'];
+			$render = $call_theme_function_name($options);		//The block name and the called function name should be assumed to be the same name. 			
+			$render_array['block'] = $render;
+			$render_array['block']['options'] = $block->options;
+			if (!empty($block_theme_file['error']))
+				$render_array['block']['err_message'] = $block_theme_file['error'];
+			if(cache_is_writable()){
+				if (xpress_block_cache_found($mydirname,$cache_title. $blockID)){	
+					$render_serialize = xpress_XML_serialize($render_array);
+					$render_md5 = md5($render_serialize);
+
+					$cache_serialize = xpress_cache_read($mydirname,$cache_title. $blockID.'.xml');
+					$cache_md5 = md5($cache_serialize);
+					
+					if ($render_md5 != $cache_md5){
+						xpress_block_cache_write($mydirname,$cache_title. $blockID, $render_array);
+					}
+				} else {
+					xpress_block_cache_write($mydirname,$cache_title. $blockID, $render_array);
+				}
+			}
+		}
+	}
+	
+	function xpress_unnecessary_block_cache_delete($mydirname)
+	{
+		global $xoops_db,$xoops_config;
+		
+		$mid = get_xpress_modid();
+		$sql = "SELECT bid,options,func_file FROM " . get_xoops_prefix() . "newblocks WHERE mid = $mid AND visible = 1";
+		$blocks = $xoops_db->get_results($sql);
+		require_once get_xpress_dir_path() . '/include/xpress_block_render.php';
+
+		$pattern =$mydirname . '_block_header';
+		foreach($blocks as $block){
+			$cache_file_name = $mydirname . '_'. str_replace(".php", "", $block->func_file) . $block->bid;
+			if (!empty($pattern))  $pattern .= '|';
+			$pattern .= $cache_file_name;
+		}
+		$pattern = '(' . $pattern . ')';
+		
+		$cache_dir = $xoops_config->xoops_cache_path . '/';
+		$cache_time = 0;
+        if ($dh = opendir($cache_dir)) {
+            while (($file = readdir($dh)) !== false) {
+                if (preg_match('/^' . preg_quote($mydirname) . '_/', $file)) {
+                	if(! preg_match('/' . $pattern . '/', $file)) {
+                    	unlink($cache_dir.$file);
+                    }
+                } 
+            } 
+            closedir($dh);
+        } 
+    } 
+    
+    function get_xpress_mod_config($mydirname,$conf_name=''){
+		$module_handler =& xoops_gethandler('module');
+		$xoopsModule =& $module_handler->getByDirname($mydirname);
+		$mid = $xoopsModule->getVar('mid');
+		$xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection();
+		$db_config = $xoopsDB->prefix('config');
+	    
+		$wu_sql  = 	"SELECT conf_value FROM  $db_config ";
+		$wu_sql .=	"WHERE (conf_modid = $mid ) AND (conf_name LIKE '$conf_name')";
+		$wu_res = $xoopsDB->queryF($wu_sql, 0, 0);
+			
+		if ($wu_res === false){
+			return 0;
+		} else {
+			$xu_row = $xoopsDB->fetchArray($wu_res);
+			return $xu_row['conf_value'];
+		}
+	}	
+}	
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/include/xpress_breadcrumbs.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/include/xpress_breadcrumbs.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/include/xpress_breadcrumbs.php	(revision 866)
@@ -0,0 +1,51 @@
+<?php
+function get_breadcrumbs(){
+//	$xoops_breadcrumbs[0] = array( 'name' => get_bloginfo('description') , 'url' => get_settings('home'));
+	$xoops_breadcrumbs[0] = array( 'name' => get_bloginfo('name') , 'url' => get_settings('home'));
+	$pagetitle='';
+	if (is_category()) {
+			$this_cat = get_category($cat);
+			$p_count = 0;
+			while ($this_cat->parent) {			
+	  			$this_cat = get_category($this_cat->parent);
+				$cat_parrent[$p_count] = array( 'name' => $this_cat->cat_name , 'url' => get_category_link($this_cat->cat_ID));
+				$p_count++;
+			}
+			for ($i = 1 ; $i <= $p_count ;$i++){
+					$xoops_breadcrumbs[$i] = $cat_parrent[$p_count - $i];
+			}
+			$xoops_breadcrumbs[$p_count+1] = array( 'name' => single_cat_title('', false));
+	} elseif (is_day()) {
+			$xoops_breadcrumbs[1] = array( 'name' => get_the_time(__('F j, Y')));
+	} elseif (is_month()) {
+			$xoops_breadcrumbs[1] = array( 'name' => get_the_time(__('F, Y')));
+	} elseif (is_year()) {
+			$xoops_breadcrumbs[1] = array( 'name' => get_the_time('Y'));
+	} elseif (is_author()) {
+			$xoops_breadcrumbs[1] = array( 'name' => get_author_name( get_query_var('author') ));
+	} elseif (is_single()) {
+			$xoops_breadcrumbs[1] = array( 'name' => single_post_title('', false));
+	} elseif (is_page()) {
+			$now_page = get_page($page_id);
+			$this_page = $now_page;
+			$p_count = 0;
+			while ($this_page->post_parent) {			
+	  			$this_page = get_page($this_page->post_parent);
+
+				$page_parrent[$p_count] = array( 'name' => $this_page->post_title , 'url' => get_permalink($this_page->ID));
+				$p_count++;
+			}
+			for ($i = 1 ; $i <= $p_count ;$i++){
+					$xoops_breadcrumbs[$i] = $page_parrent[$p_count - $i];
+			}
+			$xoops_breadcrumbs[$p_count+1] = array( 'name' => $now_page->post_title);
+	} elseif (is_search()){
+			$xoops_breadcrumbs[1] = array( 'name' => $pagetitle);
+	} elseif(function_exists( 'is_tag' )){
+		if(is_tag() ) {
+			$xoops_breadcrumbs[1] = array( 'name' => single_tag_title('', false));
+		}
+	}
+	return $xoops_breadcrumbs;
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/include/xpress_cache.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/include/xpress_cache.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/include/xpress_cache.php	(revision 866)
@@ -0,0 +1,78 @@
+<?php
+	
+// is_writable() doesn't operate normally on the windows filesystem
+if(!function_exists("cache_is_writable")):
+	function cache_is_writable(){
+		global $xoops_config;
+		$cache_dir = $xoops_config->xoops_cache_path . '/';
+		$filename = $cache_dir .'xpress_cache_test.txt';
+		$fp = @fopen($filename, "w");
+		if ($fp == false) return false;
+		fclose($fp);
+		return true;
+	}
+endif;
+
+if(!function_exists("xpress_cache_found")):
+    function xpress_cache_found($filename)
+    {
+		$cache_time = 0;
+//        if (file_exists($filename) && ((time() - filemtime($filename)) < $cache_time)) {
+        if (file_exists($filename)) {
+            return true;
+       } else {
+			return false;
+		}
+    } 
+endif;
+
+if(!function_exists("xpress_cache_read")):
+    function xpress_cache_read($mydirname,$collation_key)
+    {
+    	global $xoops_config;
+    	
+    	$cache_dir = $xoops_config->xoops_cache_path . '/';
+        $filename = $cache_dir .$mydirname . '_' . $collation_key;
+        if (xpress_cache_found($filename)) {
+            return file_get_contents($filename);
+       } else {
+			return '';
+		}
+    } 
+endif;
+
+if(!function_exists("xpress_cache_write")):
+    function xpress_cache_write($mydirname,$collation_key,$content)
+    {
+		global $xoops_config;
+		$cache_dir = $xoops_config->xoops_cache_path . '/';
+		$cache_time = 0;
+
+        $filename = $cache_dir .$mydirname . '_' . $collation_key;
+//        if ((time() - @filemtime($filename)) > $cache_time) {
+            $fp = fopen($filename, "w");
+            flock($fp, 2);
+            fputs($fp, $content);
+            fclose($fp);
+ //       } 
+    } 
+endif;
+
+if(!function_exists("xpress_block_cache_clear")):
+    function xpress_cache_clear($mydirname)
+    {
+		global $xoops_config;
+		$cache_dir = $xoops_config->xoops_cache_path . '/';
+		$cache_time = 0;
+        if ($dh = opendir($cache_dir)) {
+            while (($file = readdir($dh)) !== false) {
+                if (preg_match('/^' . preg_quote($mydirname) . '/', $file)) {
+                    unlink($cache_dir.$file);
+                } 
+            } 
+            closedir($dh);
+        } 
+    } 
+endif;
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/include/xpress_debug_log.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/include/xpress_debug_log.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/include/xpress_debug_log.php	(revision 866)
@@ -0,0 +1,130 @@
+<?php
+
+// define('XPRESS_EVENT_DEBUG',1);
+
+if (!function_exists('xpress_debug')) {
+	function xpress_debug($title = '',$ditail_show = false)
+	{
+		$module_dirpath = dirname(dirname(__FILE__));
+		$root_path = dirname(dirname(dirname(dirname(__FILE__))));
+		$_debug_file = $module_dirpath . '/wp-content/xpress_debug.log';
+		$_fp = fopen($_debug_file, 'a');
+		$stamp = date("Y/m/d G:i:s" , time());
+		$backtraces = array_reverse(debug_backtrace());
+		fwrite($_fp, "\n*********************************************************************************************************\n");
+		fwrite($_fp, $title . '(' . $stamp . ")\n");
+		fwrite($_fp, '$_SERVER[]' . "\n");	
+		$srerver = "\t" . str_replace("\n","\n\t",sprint_r($_SERVER));
+		fwrite($_fp, $srerver . "\n\n");
+
+		fwrite($_fp, "BACK TRACE" . "\n");	
+		foreach($backtraces as $backtrace){
+		$trace = $backtrace['file']. "\tLINE(" . $backtrace['line'] . ")\t" . $backtrace['function']  . "()\n";
+		$trace = str_replace($root_path,"",$trace);
+		$trace = str_replace("\\","/",$trace);
+		$trace = str_replace($root_path,"",$trace);
+		$trace = "\t" . $trace;
+
+		$trace_ditail = "\t" . str_replace("\n","\n\t\t",sprint_r($backtrace));
+		if ($ditail_show)
+			fwrite($_fp, $trace . $trace_ditail . "\n");
+		else
+			fwrite($_fp, $trace . "\n");
+		}
+		fclose($_fp);
+	}
+}
+
+if (!function_exists('xpress_debug_message')) {
+	function xpress_debug_message($message = '')
+	{
+		$module_dirpath = dirname(dirname(__FILE__));
+		$root_path = dirname(dirname(dirname(dirname(__FILE__))));
+		$_debug_file = $module_dirpath . '/wp-content/xpress_debug.log';
+		$_fp = fopen($_debug_file, 'a');
+		$stamp = date("Y/m/d G:i:s" , time());
+		fwrite($_fp, "\n*********************************************************************************************************\n");
+		fwrite($_fp, '(' . $stamp . ")\n");
+		fwrite($_fp, $message . "\n");	
+		fclose($_fp);
+	}
+}
+
+if (!function_exists('sprint_r')) {
+    function sprint_r($var) {
+             ob_start();
+             print_r($var);
+             $ret = ob_get_contents();
+             ob_end_clean();
+      return $ret;
+    }
+}
+
+function xpress_error_handler($errno,$errstr,$errfile,$errline,$errcontext) {
+	$module_dirpath = dirname(dirname(__FILE__));
+	$root_path = dirname(dirname(dirname(dirname(__FILE__))));
+	
+	$show_backtrace = true;
+
+	// Time stamp of error entry
+	$dt = date("Y-m-d H:i:s (T)");
+
+	// define an assoc array of error string
+	// in reality the only entries we should
+	// consider are E_WARNING, E_NOTICE, E_USER_ERROR,
+	// E_USER_WARNING and E_USER_NOTICE
+	$errortype = array (
+		E_ERROR          => "Error",
+		E_WARNING        => "Warning",
+		E_PARSE          => "Parsing Error",
+		E_NOTICE          => "Notice",
+		E_CORE_ERROR      => "Core Error",
+		E_CORE_WARNING    => "Core Warning",
+		E_COMPILE_ERROR  => "Compile Error",
+		E_COMPILE_WARNING => "Compile Warning",
+		E_USER_ERROR      => "User Error",
+		E_USER_WARNING    => "User Warning",
+		E_USER_NOTICE    => "User Notice",
+		E_STRICT          => "Runtime Notice"
+	);
+	if (strstr($errstr, 'Use of undefined constant xpress_debug_message - assumed') !== false) return;
+	// set of errors for which a var trace will be saved
+	$user_errors = array(E_USER_ERROR, E_USER_WARNING, E_USER_NOTICE);
+
+	$err = "<errorentry>\n";
+	$err .= "\t<datetime>" . $dt . "</datetime>\n";
+	$err .= "\t<errornum>" . $errno . "</errornum>\n";
+	$err .= "\t<errortype>" . $errortype[$errno] . "</errortype>\n";
+	$err .= "\t<errormsg>" . $errstr . "</errormsg>\n";
+	$err .= "\t<scriptname>" . $errfile . "</scriptname>\n";
+	$err .= "\t<scriptlinenum>" . $errline . "</scriptlinenum>\n";
+	$err .= "\t<errcontext>" . $errcontext . "</errcontext>\n";
+
+	if (in_array($errno, $user_errors)) {
+		$err .= "\t<vartrace>" . wddx_serialize_value($vars, "Variables") . "</vartrace>\n";
+	}
+	$err .= "</errorentry>\n\n";
+
+	$err_trace = '';
+	if ($show_backtrace){	
+		$backtraces = array_reverse(debug_backtrace());
+		$err_trace .= "BACK TRACE\n";
+		foreach($backtraces as $backtrace){
+			$trace = @$backtrace['file']. "\tLINE(" . @$backtrace['line'] . ")\t" . @$backtrace['function']  . "()\n";
+			$trace = str_replace($root_path,"",$trace);
+			$trace = str_replace("\\","/",$trace);
+			$trace = str_replace($root_path,"",$trace);
+			$trace = "\t" . $trace;
+			$err_trace .= $trace;
+		}
+	}
+	$head = "\n***** XPressME ERROR LOG ****************************************************************************************************\n";
+	$message = $head . $err . $err_trace;
+	$_debug_file = $module_dirpath . '/wp-content/xpress_error.log';
+	if ($errno != E_STRICT) {
+		$_fp = fopen($_debug_file, 'a');
+		fwrite($_fp, $message);	
+		fclose($_fp);
+	}
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/include/xpress_render.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/include/xpress_render.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/include/xpress_render.php	(revision 866)
@@ -0,0 +1,323 @@
+<?php
+
+//< style >< script >< link > tag is pulled out from the header of html contents.
+function get_mod_header($contents)
+{
+	global $xpress_config;
+
+	$pattern = "<body[^>]*?>(.*)<\/body>";
+	$body_cut = preg_replace("/".$pattern."/s" , '' , $contents);
+
+
+	$pattern = "<head[^>]*?>(.*)<\/head>";
+	$head_str = '';
+	if (preg_match("/".$pattern."/s",  $body_cut, $head_matches)){
+		$head_str = $head_matches[1];
+	}
+	$pattern = '<head[^>]*?>';
+	$head_str = preg_replace("/".$pattern."/s" , '' , $head_str);
+	$pattern = '<\/head>';
+	$head_str = preg_replace("/".$pattern."/s" , '' , $head_str);
+	$pattern = '<\s*html\s+xmlns[^>]*?>';
+	$head_str = preg_replace("/".$pattern."/s" , '' , $head_str);
+	$pattern = '<\s*head\s+profile[^>]*?>';
+	$head_str = preg_replace("/".$pattern."/s" , '' , $head_str);
+	$pattern = '<\s*meta\s+http-equiv[^>]*?>';
+	$head_str = preg_replace("/".$pattern."/s" , '' , $head_str);
+	$pattern = '<title[^>]*?>(.*)<\s*\/\s*title\s*>';
+	$head_str = preg_replace("/".$pattern."/s" , '' , $head_str);
+
+	$head_str = meta_name_cut('robots',$head_str);
+	$head_str = meta_name_cut('keywords',$head_str);
+	$head_str = meta_name_cut('description',$head_str);
+	$head_str = meta_name_cut('rating',$head_str);
+	$head_str = meta_name_cut('author',$head_str);
+	$head_str = meta_name_cut('copyright',$head_str);
+	$head_str = meta_name_cut('generator',$head_str);
+
+	$head_str = preg_replace("/^(\s)*(\r|\n|\r\n)/m", "", $head_str);
+	$pattern = "^";
+	$head_str = preg_replace("/".$pattern."/m" , "\t" , $head_str);
+
+	return $head_str;
+}
+
+function meta_name_cut($name = '', $head_str)
+{
+	$pattern = '<\s*meta\s+name\s*=\s*["\']' . $name . '["\'][^>]*?>';
+	$head_str = preg_replace("/".$pattern."/i" , '' , $head_str);
+	return $head_str;
+}
+
+// for title reprace plugin (all in one seo pack)
+function get_xpress_title($contents)
+{
+	$pattern = '<title[^>]*?>(.*)<\s*\/\s*title\s*>';
+	$title_str = '';
+	if (preg_match("/".$pattern."/i",  $contents, $head_matches)){
+		$title_str = $head_matches[1];
+	}
+	return $title_str;
+}
+
+function get_xpress_meta_name($name = '',$contents)
+{
+	$pattern = '<\s*meta\s+name\s*=\s*["\']' . $name . '["\']\s*content\s*=\s*[\'"](.*)[\'"]\s*\/\s*>';
+	$meta = '';
+	if (preg_match("/".$pattern."/i",  $contents, $head_matches)){
+		$meta = @$head_matches[1];
+	}
+	return $meta;
+}
+
+// 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';
+		return '';
+	} else {
+		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)
+{
+	global $xpess_config;
+	if (!is_object($xpess_config)) $xpess_config = new XPressME_Class();
+	$pattern = "<body[^>]*?>(.*)<\/body>";
+	$body = '';
+	if(preg_match("/".$pattern."/s",  $contents, $body_matches)){
+		$body = $body_matches[1];
+	}
+
+	if ($xpess_config->is_theme_sidebar_disp){
+		$xpress_class = 'xpress-body';
+	} else {
+		$xpress_class = 'xpress-body onecolumn';
+	}
+
+	$pattern = '<body\s*([^>]*)>';
+	$body_class = 'class="' . $xpress_class . '"';
+	if(preg_match("/".$pattern."/s",  $contents, $body_matches)){
+		$body_tag_option = $body_matches[1];
+
+		$pattern = 'class\s*=\s*[\'|"]([^\'|^"]*)[\'|"]';
+		if(preg_match("/".$pattern."/",  $body_tag_option, $class_matches)){
+			$class_value = $class_matches[1];
+			$reprace = $xpress_class . ' '. $class_value;
+			$body_class = preg_replace("/".$class_value."/",  $reprace, $body_tag_option);
+		} else {
+			$body_class = 'class="' . $xpress_class . '" ' . $body_tag_option;
+		}
+	}
+
+	if (!$xpess_config->is_theme_sidebar_disp){
+		$side_panel = get_sidebar_rander();
+			$body = str_replace($side_panel,'',$body);
+	}
+	$body = "\n<div " . $body_class . "> <!-- Substitution of wordpress <body > -->\n" . $body . "\n</div> <!-- Substitution of wordpress </body > -->\n";
+	return $body;
+}
+
+//Making of module header
+function get_xpress_module_header($contents)
+{
+	global $xoopsTpl;
+	if( defined( 'XOOPS_CUBE_LEGACY' ) ) {
+		$preload_make_module_header = $xoopsTpl->get_template_vars('xoops_module_header');
+	} else {
+		$preload_make_module_header = '';
+	}
+
+	if (! empty($preload_make_module_header)){
+	$preload_make_module_header = '<!-- preload added module header -->
+' . $preload_make_module_header . '
+';
+	}
+
+	$wp_module_header = '<!-- wordpress  added module header -->
+' . get_mod_header($contents) . '
+<!-- end of wordpress  added module header -->';
+	$wp_module_header .= "\n<!-- credit " . xpress_credit('echo=0&no_link=1') . " -->\n";
+
+	return $preload_make_module_header . $wp_module_header;
+}
+
+//PHP_SELF and GET are remake for the XOOPS event notification.
+function xpress_remake_global_for_permlink(){
+	global $wp_db,$wp_query;
+	$php_self = $_SERVER['PHP_SELF'];
+	$get = $_GET;
+
+	if (preg_match('/\/$/',$php_self) && !preg_match('/index.php/',$php_self)) {
+		$php_self = $php_self . 'index.php';
+		$_SERVER['PHP_SELF'] = $php_self;
+	}
+	if (empty($_GET)){
+		$query_vars = $wp_query->query_vars;
+		$post = $wp_query->post;
+		if ($wp_query->is_single) {
+			$_GET = array('p'=>$post->ID);
+		} else if($wp_query->is_category){
+			$_GET = array('cat'=>$query_vars['cat']);
+		} else if($wp_query->is_author){
+			$_GET = array('author'=>$query_vars['author']);
+		}
+	}
+}
+
+function xpress_meta_assign($meta_key,$meta_word){
+	global $xoopsTpl,$xoTheme; //for XOOPS
+
+	if (!empty($meta_key) && !empty($meta_word)){
+		if (defined('LEGACY_MODULE_VERSION') && version_compare(LEGACY_MODULE_VERSION, '2.2', '>=')) {
+    		// For XCL 2.2
+    		$xclRoot =& XCube_Root::getSingleton();
+    		$headerScript = $xclRoot->mContext->getAttribute('headerScript');
+    		$headerScript->addMeta($meta_key, $meta_word);
+		} elseif (isset($xoTheme) && is_object($xoTheme)) {
+    		// For XOOPS 2.3 or higher & Impress CMS.
+    		$xoTheme->addMeta('meta', $meta_key, $meta_word);
+		}
+		$xoopsTpl->assign('xoops_meta_'.  $meta_key, $meta_word);
+	}
+}
+function xpress_get_xoops_meta($meta_key){
+	global $xoopsTpl,$xoTheme; //for XOOPS
+
+	if (defined('LEGACY_MODULE_VERSION') && version_compare(LEGACY_MODULE_VERSION, '2.2', '>=')) {
+    		// For XCL 2.2
+			$moduleHandler =& xoops_gethandler('module');
+			$legacyRender =& $moduleHandler->getByDirname('legacyRender');
+    		$configHandler =& xoops_gethandler('config');
+			$configs =& $configHandler->getConfigsByCat(0, $legacyRender->get('mid'));
+ 			$ret = htmlspecialchars($configs['meta_'.$meta_key]);
+	} elseif (isset($xoTheme) && is_object($xoTheme)) {
+		$ret = $xoTheme->metas['meta'][$meta_key];
+	} else {
+		$ret = $xoopsTpl->get_template_vars('xoops_meta_'.$meta_key);
+	}
+	return $ret;
+}
+
+
+//rendering for the module header and the body
+function xpress_render($contents){
+	global $xoops_config;
+	global $xoopsUser , $xoopsTpl,$xpress_config , $xoopsModule , $xoopsLogger, $xoopsConfig ; //for XOOPS
+
+	//disable cache
+	$xoopsConfig['module_cache'][$xoopsModule->getVar('mid')] = 0;
+
+	require_once( ABSPATH .'/include/xpress_breadcrumbs.php' );
+	$xoops_breadcrumbs = get_breadcrumbs();
+
+	xpress_remake_global_for_permlink();
+	$mydirname = basename(dirname(dirname(__FILE__)));
+	if (defined('LEGACY_BASE_VERSION') && version_compare(LEGACY_BASE_VERSION, '2.2.1.1', '>=')) {
+		$module_handler =& xoops_gethandler('module');
+		$thisModule =& $module_handler->getByDirname($mydirname);
+		$thisModule->modinfo = null;
+	}
+	include $xoops_config->xoops_root_path ."/header.php";
+	$xoopsTpl->assign('xoops_breadcrumbs', $xoops_breadcrumbs);
+	$xoopsTpl->assign('xoops_module_header', get_xpress_module_header($contents));
+	$page_title = $GLOBALS["xoopsModule"]->getVar("name"). ' &raquo;'. get_xpress_title($contents);
+	$xoopsTpl->assign('xoops_pagetitle', $page_title);
+
+	$xoops_keywords =  xpress_get_xoops_meta('keywords');
+
+	$wp_keyword = get_xpress_meta_name('keywords',$contents);
+	switch ($xpress_config->meta_keyword_type){
+		case 'xoops':
+			break;
+		case 'wordpress':
+			if (!empty($wp_keyword)){
+				xpress_meta_assign('keywords', $wp_keyword);
+			}
+			break;
+		case 'wordpress_xoops':
+			if (!empty($wp_keyword)){
+				if (!empty($xoops_keywords)){
+					$keywords = $wp_keyword . ', ' . $xoops_keywords;
+				} else {
+					$keywords = $wp_keyword;
+				}
+				xpress_meta_assign('keywords', $keywords);
+			}
+			break;
+		default :
+	}
+
+	$xoops_description =  xpress_get_xoops_meta('description');
+	$wp_description = get_xpress_meta_name('description',$contents);
+
+	switch ($xpress_config->meta_description_type){
+		case 'xoops':
+			break;
+		case 'wordpress':
+			if (!empty($wp_description)){
+				xpress_meta_assign('description', $wp_description);
+			}
+			break;
+		case 'wordpress_xoops':
+			if (!empty($wp_description)){
+				if (!empty($xoops_description)){
+					$description = $wp_description . ' ' . $xoops_description;
+				} else {
+					$description = $wp_description;
+				}
+				xpress_meta_assign('description', $description);
+			}
+			break;
+		default :
+	}
+
+	$wp_robots = get_xpress_meta_name('robots',$contents);
+	switch ($xpress_config->meta_robot_type){
+		case 'xoops':
+			break;
+		case 'wordpress':
+			if (!empty($wp_robots))
+				xpress_meta_assign('robots', $wp_robots);
+			break;
+		default :
+	}
+	if (empty($contents)){
+		$template_name = get_option('template');
+		$xpress_data['body_contents'] = "<p>Themes \"$template_name\" is broken or doesn't exist. </p><p>Please choose the right theme from the admin page of wordpress.</p>";
+	} else {
+		$xpress_data['body_contents'] = get_body($contents);
+	}
+	// used $GLOBALS. becose xpress_left_arrow_post_link() and xpress_right_arrow_post_link() is other loop in this position
+	$xpress_data['left_post_link'] = @$GLOBALS['left_arrow_post_link'];
+	$xpress_data['right_post_link'] = @$GLOBALS['right_arrow_post_link'];
+	$xpress_data['left_posts_link'] =  str_replace('&laquo;','',xpress_left_arrow_posts_link('echo=0'));
+	$xpress_data['right_posts_link'] = str_replace('&raquo;','',xpress_right_arrow_posts_link('echo=0'));
+	$xpress_data['now_user_level'] = xpress_now_user_level('echo=0');
+
+	//If notification_select.php is not executed in CMS other than XCL, the selector of in-line is not displayed.
+	if (is_object($xoopsModule) && $xoopsModule->getVar('hasnotification') == 1 && is_object($xoopsUser)) {
+		require_once $xoops_config->xoops_root_path . '/include/notification_select.php';
+	}
+
+	$xoopsTpl->assign('xpress', $xpress_data);
+	$templates_file = 'db:'.$mydirname. '_index.html';
+	echo $xoopsTpl->fetch( $templates_file ) ;
+	include $xoops_config->xoops_root_path . '/footer.php';
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/include/xpress_templates_make.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/include/xpress_templates_make.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/include/xpress_templates_make.php	(revision 866)
@@ -0,0 +1,164 @@
+<?php
+
+function xpress_templates_make($mid,$mydirname)
+{
+	$msgs = array();
+	// TEMPLATES
+	$tplfile_handler =& xoops_gethandler( 'tplfile' ) ;
+	$tpl_path = XOOPS_ROOT_PATH . '/modules/' . $mydirname . '/templates' ;
+	
+	//copy  template file from source
+	if( $handler = @opendir( $tpl_path . '/source/' ) ) {
+		while( ( $file = readdir( $handler ) ) !== false ) {
+			if( substr( $file , 0 , 1 ) == '.' ) continue ;
+			if(!is_template($file)) continue ;
+			$file_path = $tpl_path . '/source/' . $file ;
+			if( is_file( $file_path ) ) {
+				$target_file_name = $mydirname . '_' . $file;
+				$target_file_path = $tpl_path . '/'.$target_file_name;
+				$rcd = @unlink($target_file_path);
+				if ($mydirname != 'xpress') {		//old version file delete
+					$rcd = @unlink($tpl_path . '/xpress'.$file);
+				}
+//				$rcd = rename($file_path, $target_file_path);
+				$rcd = copy($file_path, $target_file_path);
+				if ($rcd){
+					$msgs[] = 'Template <b>'.htmlspecialchars($target_file_path).'</b> copy from ' . htmlspecialchars($file) . '<br />';
+				} else {
+					$msgs[] = '<span style="color:#ff0000;">ERROR: Could not copy template <b>'.htmlspecialchars($target_file_name).'</b> from ' . htmlspecialchars($file). '(check templates directory permision (777))</span><br />';
+				}					
+			}
+		}
+		closedir( $handler ) ;
+	}
+	
+	// template added to the database.
+	if( $handler = @opendir( $tpl_path . '/' ) ) {
+		while( ( $file = readdir( $handler ) ) !== false ) {
+			if( substr( $file , 0 , 1 ) == '.' ) continue ;
+			$file_path = $tpl_path . '/' . $file ;
+			$file_name = $file ;
+			$pattern = '^' . $mydirname . '_';
+			if (preg_match('/' . $pattern . '/' , $file_name, $match)){
+				if( is_file( $file_path ) ) {
+					$msgs[] = xpress_create_db_template($file_name,$file_path,$mydirname,$mid);
+				}
+			}
+		}
+		closedir( $handler ) ;
+	}
+	
+	include_once XOOPS_ROOT_PATH.'/class/xoopsblock.php' ;
+	include_once XOOPS_ROOT_PATH.'/class/template.php' ;
+	xoops_template_clear_module_cache( $mid ) ;
+
+	return $msgs;
+}
+
+function xpress_create_db_template($file_name,$file_path,$mydirname,$mid){
+	if( is_file( $file_path ) ) {
+		$tplfile_handler =& xoops_gethandler( 'tplfile' ) ;
+		$tplfile =& $tplfile_handler->create() ;
+		$mtime = intval( @filemtime( $file_path ) ) ;
+		$tplfile->setVar( 'tpl_source' , file_get_contents( $file_path ) , true ) ;
+		$tplfile->setVar( 'tpl_refid' , $mid ) ;
+		$tplfile->setVar( 'tpl_tplset' , 'default' ) ;
+		$tplfile->setVar( 'tpl_file' ,  $file_name ) ;
+		$tplfile->setVar( 'tpl_desc' , '' , true ) ;
+		$tplfile->setVar( 'tpl_module' , $mydirname ) ;
+		$tplfile->setVar( 'tpl_lastmodified' , $mtime ) ;
+		$tplfile->setVar( 'tpl_lastimported' , 0 ) ;
+		$tplfile->setVar( 'tpl_type' , 'module' ) ;
+		if( ! $tplfile_handler->insert( $tplfile ) ) {
+			$msg = '<span style="color:#ff0000;">ERROR: Template Could not added to the database. <b>'.htmlspecialchars($file_name).'</b> to the database.</span><br />';
+		} else {
+			$tplid = $tplfile->getVar( 'tpl_id' ) ;
+			$msg = 'Template <b>'.htmlspecialchars($file_name) .'</b> added to the database. (ID: <b>'.$tplid.'</b>)<br />';
+			// generate compiled file
+			include_once XOOPS_ROOT_PATH.'/class/xoopsblock.php' ;
+			include_once XOOPS_ROOT_PATH.'/class/template.php' ;
+			if( ! xoops_template_touch( $tplid ) ) {
+				$msg = '<span style="color:#ff0000;">ERROR: Failed compiling template <b>'.htmlspecialchars($file_name).'</b>.</span><br />';
+			} else {
+				$msg = 'Template <b>'.htmlspecialchars($file_name).'</b> compiled.</span><br />';
+			}
+		}
+	}
+	return $msg;
+}
+
+function is_template($file_name){
+	if (empty($file_name)) return false;
+	
+	$temp_list = array(
+		'recent_comments_block.html',
+		'recent_posts_content_block.html',
+		'recent_posts_list_block.html',
+		'calender_block.html',
+		'popular_posts_block.html',
+		'archives_block.html',
+		'authors_block.html',
+		'page_block.html',
+		'search_block.html',
+		'tag_cloud_block.html',
+		'category_block.html',
+		'meta_block.html' ,
+		'sidebar_block.html' ,
+		'widget_block.html' ,
+		'enhanced_block.html' ,
+		'blog_list_block.html' ,
+		'global_recent_posts_list_block.html' ,
+		'global_recent_comments_block.html',
+		'global_popular_posts_block.html',
+		'index.html',
+	);
+	foreach($temp_list as $ck_file){
+		if (strcmp($ck_file,$file_name) ==  0) return true;
+	}
+	return false;
+}
+
+function xpress_clean_templates_file($mydirname,$mod_version)
+{
+	$tpl_path = XOOPS_ROOT_PATH . '/modules/' . $mydirname . '/templates/' ;
+	$msgs = array();
+	if( $handler = @opendir( $tpl_path) ) {
+		while( ( $file = readdir( $handler ) ) !== false ) {
+			if( substr( $file , 0 , 1 ) == '.' ) continue ;
+			if ( strcmp($file,'source')==0 ) continue ;
+			if ( strcmp($file,'index.html')==0 ) continue ;
+			$target_file_path = $tpl_path . $file;
+			if (is_dir($target_file_path)){
+				rmDirectory($target_file_path);
+				$msgs[] = 'Template <b>'.htmlspecialchars($file).'</b> directory deleted.</span><br />';
+			} else {
+				if ($mod_version >= 200){
+					$pattern = '^' . $mydirname . '_';
+					if (preg_match('/' . $pattern . '/' , $file, $match))  continue ;
+				}
+				$rcd = @unlink($target_file_path);
+				$msgs[] = 'Template <b>'.htmlspecialchars($file).'</b> file deleted.</span><br />';
+			}
+		}
+		closedir( $handler ) ;
+	}
+	return $msgs;
+}
+
+function rmDirectory($dir){
+	if ($handle = opendir("$dir")){
+		while (false !== ($item = readdir($handle))){
+			if ($item != "." && $item != ".."){
+				if (is_dir("$dir/$item")){
+					rmDirectory("$dir/$item");
+				}else{
+					unlink("$dir/$item");
+				}
+			}
+		}
+		closedir($handle);
+		rmdir($dir);
+	}
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/english/admin.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/english/admin.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/english/admin.php	(revision 866)
@@ -0,0 +1,44 @@
+<?php
+if( ! defined( 'XP2_ADMIN_LANG_INCLUDED' ) ) {
+	define( 'XP2_ADMIN_LANG_INCLUDED' , 1 ) ;
+	
+// altsys
+	define('_MD_A_MYMENU_MYTPLSADMIN','templates');
+	define('_MD_A_MYMENU_MYBLOCKSADMIN','blocks');
+	define('_MD_A_MYMENU_MYLANGADMIN','languages');
+	define('_MD_A_MYMENU_MYPREFERENCES','general');
+
+	define("_AM_XP2_SYSTEM_INFO","System infomation");
+	define("_AM_XP2_XOOPS_CONFIG_INFO","Set value that XPressME acquired from XOOPS");
+	define("_AM_XP2_PLUGIN","Active plug-in list at wordpress");
+	define("_AM_XP2_BLOCK_STATS","Block Status");
+	define("_AM_XP2_STATS","WordPress Status");
+	define("_AM_XP2_CATEGORIES","Category count");
+	define("_AM_XP2_ARTICLES","Blog article count");
+	define("_AM_XP2_AUTHORS","Author count");
+	define("_AM_XP2_SYS_REPORT","Show Report Mode");
+	define("_AM_XP2_SYS_NORMAL","Show Normal Mode");
+	define("_AM_XP2_BLOCK_OPTIONS","Block Options");
+	define("_AM_XP2_GROUP_ROLE","Group Role");
+
+// Block Check	
+	define("_AM_XP2_BLOCK_OK","The block is normal. ");
+	define("_AM_XP2_BLOCK_NG","There is an abnormal block. ");
+	define("_AM_XP2_BLOCK_REPAIR_HOWTO","Please correct the block according to the following procedures. ");
+	define("_AM_XP2_BLOCK_REPAIR_STEP1","Step 1");
+	define("_AM_XP2_BLOCK_REMOVE","Remove xoops block table");
+	define("_AM_XP2_BLOCK_REMOVE_NOTE","Please use carefully, because <b>Remove Block</b> deletes records in block table");
+	define("_AM_XP2_BLOCK_REPAIR_STEP2","Step 2");
+	define("_AM_XP2_BLOCK_UPDATE","The block is restructured with the update of the module.");
+	define("_AM_XP2_TO_MODELE_UPDATE","To the module update");
+	define("_AM_XP2_BLOCK_REPAIR_STEP3","Step3");
+	define("_AM_XP2_BLOCK_ADMIN_SETTING","The arrangement setting of the block and the access authority of the block are set again. ");
+	define("_AM_XP2_BLOCK_TO_SETTING","to blocks/permissions");
+	define("_AM_XP2_USER_META_KEY","User meta information");
+	define("_AM_XP2_USER_META_NONE","There is no meta key necessary for the user level.");
+	define("_AM_XP2_USER_META_ERR","There is a meta key named %s that the prefix is different in %d piece.");
+	define("_AM_XP2_USER_META_OK","The user meta key is normal.");		
+	define("_AM_XP2_NG_BLOCK_REMOVE","Remove xoops abnormal block table");
+	define("_AM_XP2_BLOCK_OR","OR");
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/english/blocks.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/english/blocks.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/english/blocks.php	(revision 866)
@@ -0,0 +1,157 @@
+<?php
+if( ! defined( 'XP2_BLOCK_LANG_INCLUDED' ) ) {
+	define( 'XP2_BLOCK_LANG_INCLUDED' , 1 ) ;
+// general	
+	define("_MB_XP2_COUNT",'Number of displays');
+	define("_MB_XP2_COUNT_ZERO_ALL",'Number of displays (Everything is displayed in case of 0)');
+	define("_MB_XP2_LENGTH","length");
+	define("_MB_XP2_ALL","all");
+	define("_MB_XP2_BLOCK_CACHE_ERR","Cash doesn't exist. <br />Please access the %s module first.");
+	define("_MB_XP2_SHOW_NUM_OF_POST","The number of entries is displayed.");
+	define("_MB_XP2_SHOW_DROP_DOWN","It displays it by the drop down list.");
+	define("_MB_XP2_HIDE_EMPTY","hide empty");
+	define("_MB_XP2_TITLE","title");
+	define("_MB_XP2_PUBLISH_DATE","publish date");
+	define("_MB_XP2_SORT_ORDER","sort order");
+	define("_MB_XP2_SORT_ASC","ASC");
+	define("_MB_XP2_SORT_DESC","DESC");
+	define("_MB_XP2_SHOW_DATE_SELECT","Date Display");
+	define("_MB_XP2_SHOW_DATE_NONE","Not display");
+	define("_MB_XP2_SHOW_POST_DATE","Post Date");
+	define("_MB_XP2_SHOW_MODIFY_DATE","Modify Date");
+	define("_MB_XP2_SHOW_DATE","The date is displayed.");
+	define("_MB_XP2_DATE_FORMAT","Format at date (The setting with WordPress is applied for the blank).");
+	define("_MB_XP2_TIME_FORMAT","Format at time (The setting with WordPress is applied for the blank).");
+	define("_MB_XP2_FLAT","Flat");
+	define("_MB_XP2_LIST","List");
+	define("_MB_XP2_FILE_NAME","Files Name");
+	define("_MB_XP2_THISTEMPLATE","Template");
+	define("_MB_XP2_NO_JSCRIPT","Javascript should be enable by a browser.");
+	define("_MB_XP2_CACHE_NOT_WRITABLE","Cache Directory is not writable.");
+	
+// recent comment block	
+	define("_MB_XP2_COMM_DISP_AUTH","The comment author name is displayed.");
+	define("_MB_XP2_COMM_DISP_TYPE","The comment type is displayed.");
+	define("_MB_XP2_COM_TYPE","select the type of the displayed comment.");
+	define("_MB_XP2_COMMENT","Comment");
+	define("_MB_XP2_TRUCKBACK","Trackback");
+	define("_MB_XP2_PINGBACK","Pingback");
+	
+// recent posts content
+	define("_MB_XP2_P_EXCERPT","The post is displayed by the except.");
+	define("_MB_XP2_P_EXCERPT_SIZE","Number of except characters");
+	define("_MB_XP2_CATS_SELECT","Select categorie");
+	define("_MB_XP2_TAGS_SELECT","Tags Select(Comma separated list of tags)");
+	define("_MB_XP2_DAY_SELECT","Select Post Date");
+	define("_MB_XP2_NONE","None");
+	define("_MB_XP2_TODAY","Today");
+	define("_MB_XP2_LATEST","Latest");
+	define("_MB_XP2_DAY_BETWEEN","Between");
+	define("_MB_XP2_DAYS_AND","and");
+	define("_MB_XP2_DAYS_AGO","days ago");
+	define("_MB_XP2_CATS_DIRECT_SELECT","Direct input of ID(Comma separated list of categorie ID)");
+	
+// recent posts list	
+	define("_MB_XP2_REDNEW_DAYS","Passed days displayed by marking red 'New'");
+	define("_MB_XP2_GREENNEW_DAYS","Passed days displayed by marking green 'New'");	
+
+// calender		
+	define("_MB_XP2_SUN_COLOR","Color on Sunday");
+	define("_MB_XP2_SAT_COLOR","Color on Saturday");
+	
+// popular		
+	define("_MB_XP2_MONTH_RANGE","The one in the number a specified month is displayed (0; all).");
+	
+// archives
+	define("_MB_XP2_ARC_TYPE","The type of archive");
+	define("_MB_XP2_ARC_YEAR","yearly");
+	define("_MB_XP2_ARC_MONTH","monthly");
+	define("_MB_XP2_ARC_WEEK","weekly");
+	define("_MB_XP2_ARC_DAY","daily");
+	define("_MB_XP2_ARC_POST","post by post");
+
+// authors	
+	define("_MB_XP2_EXCLUEDEADMIN","The manager is excluded from the list.");
+	define("_MB_XP2_SHOW_FULLNAME","The author name is displayed by the full name.");
+
+// page 	
+	define("_MB_XP2_PAGE_ORDERBY","List Pages by Page Order ");
+	define("_MB_XP2_PAGE_TITLE","post_title");
+	define("_MB_XP2_PAGE_MENU_ORDER","menu_order");
+	define("_MB_XP2_PAGE_POST_DATE","post_date");
+	define("_MB_XP2_PAGE_POST_MODIFY","post_modified");
+	define("_MB_XP2_PAGE_ID","ID");
+	define("_MB_XP2_PAGE_AUTHOR","post_author ID");
+	define("_MB_XP2_PAGE_SLUG","post_name");
+	define("_MB_XP2_PAGE_EXCLUDE","Define a comma-separated list of Page IDs to be excluded from the list ");
+	define("_MB_XP2_PAGE_EXCLUDE_TREE","Define a comma-separated list of parent Page IDs to be excluded. Use this parameter to exclude a parent and all of that parent's child Pages.");
+	define("_MB_XP2_PAGE_INCLUDE","Only include certain Pages in the list , this parameter takes a comma-separated list of Page IDs. ");
+	define("_MB_XP2_PAGE_DEPTH","how many levels in the hierarchy of pages are to be included in the list (0=all Pages and sub-pages displayedj");
+	define("_MB_XP2_PAGE_CHILD_OF","Displays the sub-pages of a single Page onlyB(uses the ID for a Page as the valuej");
+	define("_MB_XP2_PAGE_HIERARCHICAL","Display sub-Pages in an indented manner below their parent or list the Pages inline.");
+	define("_MB_XP2_PAGE_META_KEY","Only include the Pages that have this Custom Field Key (use in conjunction with the meta_value field).");
+	define("_MB_XP2_PAGE_META_VALUE","Only include the Pages that have this Custom Field Value (use in conjuntion with the meta_key field).");
+	
+// Search
+	define("_MB_XP2_SEARCH_LENGTH","Length of search textbox");
+	
+// tag cloud
+	define("_MB_XP2_CLOUD_SMALLEST",'The text size of the tag with the smallest count value ');
+	define("_MB_XP2_CLOUD_LARGEST",'The text size of the tag with the highest count value');
+	define("_MB_XP2_CLOUD_UNIT","Unit of measure as pertains to the smallest and largest values. This can be any CSS length value, e.g. pt, px, em, %;");
+	define("_MB_XP2_CLOUD_NUMBER","The number of actual tags to display in the cloud. (Use '0' to display all tags.)");
+	define("_MB_XP2_CLOUD_FORMAT","Format of the cloud display");
+	define("_MB_XP2_CLOUD_ORDERBY","Order of the tags");
+	define("_MB_XP2_CLOUD_ORDER","Sort order. Valid values('RAND' tags are in a random order. Note: this parameter was introduced with Version 2.5.)");
+	define("_MB_XP2_CLOUD_EXCLUDE","Comma separated list of tags (term_id) to exclude.");
+	define("_MB_XP2_CLOUD_INCLUDE","Comma separated list of tags (term_id) to include.");
+	define("_MB_XP2_RAND","RAND");
+	define("_MB_XP2_TAG_NAME","tag name");
+	define("_MB_XP2_TAG_COUNT","count");
+	
+// Categorie
+	define("_MB_XP2_CAT_ALL_STR","All categories link Display Title. (blank is not display)");
+	define("_MB_XP2_CAT_ORDERBY","Order of the categories");
+	define("_MB_XP2_CAT_NAME","name");
+	define("_MB_XP2_CAT_COUNT","count");
+	define("_MB_XP2_CAT_ID","ID");
+	define("_MB_XP2_SHOW_LAST_UPDATE","Should the last updated timestamp for posts be displayed.");
+	define("_MB_XP2_CAT_HIDE_EMPTY","hide display of categories with no posts.");
+	define("_MB_XP2_DESC_FOR_TITLE","Sets whether a category's description is inserted into the title attribute of the links created");
+	define("_MB_XP2_CAT_EXCLUDE","Exclude one or more categories from the results. This parameter takes a comma-separated list of categories by unique ID");
+	define("_MB_XP2_CAT_INCLUDE","Only include the categories detailed in a comma-separated list by unique ID, in ascending order.");
+	define("_MB_XP2_CAT_HIERARCHICAL","Display sub-categories as inner list items (below the parent list item) or inline.");
+	define("_MB_XP2_CAT_DEPTH","how many levels in the hierarchy of Categories are to be included in the list of Categories.(0=All Categories and child Categories)");
+	
+// meta 
+	define("_MB_XP2_META_WP_LINK","The link to the WordPress site is displayed.");
+	define("_MB_XP2_META_XOOPS_LINK","The link to the Xoops site is displayed.");
+	define("_MB_XP2_META_POST_RSS","RSS of the posts is displayed.");
+	define("_MB_XP2_META_COMMENT_RSS","RSS of the comments is displayed.");
+	define("_MB_XP2_META_POST_NEW","'new post' is displayed.");
+	define("_MB_XP2_META_ADMIN","'admin' is displayed.");
+	define("_MB_XP2_META_README","ReadMe is displayed.");
+	define("_MB_XP2_META_CH_STYLE","'display mode' is displayed.");
+
+// widget 
+	define("_MB_XP2_SELECT_WIDGET","Displayed Widget is selected.");
+	define("_MB_XP2_NO_WIDGET","Widget displayed on the WordPress side has not been selected. ");
+	define("_MB_XP2_WIDGET_TITLE_SHOW","When only one Widget has been selected, the title of Widget is displayed.");
+	
+// custom 
+	define("_MB_XP2_ENHACED_FILE","Input the file name used in the custom block.");
+	define("_MB_XP2_MAKE_ENHACED_FILE","Please make the file specified here in the block directory of the theme.");
+
+// blog_list
+	define("_MB_XP2_BLOG_ORDERBY","Order of the blogs");
+	define("_MB_XP2_BLOG_NAME","name");
+	define("_MB_XP2_BLOG_COUNT","count");
+	define("_MB_XP2_BLOG_ID","ID");
+// global_blog_list
+	define("_MB_XP2_SHOW_BLOGS_SELECT","Select Display Blogs");
+	define("_MB_XP2_EXCLUSION_BLOGS_SELECT","Select Exclusion Blogs");
+	define("_MB_XP2_BLOGS_DIRECT_SELECT","Direct input of ID(Comma separated list of blog ID)");
+	define("_MB_XP2_SHOWN_FOR_EACH_BLOG","Shown for each blog");
+
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/english/index.html
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/english/index.html	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/english/index.html	(revision 866)
@@ -0,0 +1,1 @@
+ <script>history.go(-1);</script>
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/english/mail_template/author_newcomment.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/english/mail_template/author_newcomment.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/english/mail_template/author_newcomment.tpl	(revision 866)
@@ -0,0 +1,6 @@
+Hello {X_UNAME}. 
+
+A new comment is contributed in article {XPRESS_POST_TITLE} on contributor {XPRESS_AUTH_NAME}. 
+
+Please access following URL to see this contribution:
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/english/mail_template/author_newpost.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/english/mail_template/author_newpost.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/english/mail_template/author_newpost.tpl	(revision 866)
@@ -0,0 +1,6 @@
+Hello {X_UNAME}. 
+
+Article {XPRESS_POST_TITLE} on contributor {XPRESS_AUTH_NAME} is contributed. 
+
+Please access following URL to see this contribution:
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/english/mail_template/category_newcomment.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/english/mail_template/category_newcomment.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/english/mail_template/category_newcomment.tpl	(revision 866)
@@ -0,0 +1,6 @@
+Hello {X_UNAME}. 
+
+A new comment is contributed in article {XPRESS_POST_TITLE} that belongs to category {XPRESS_CAT_TITLE}. 
+
+Please access following URL to see this contribution:
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/english/mail_template/category_newpost.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/english/mail_template/category_newpost.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/english/mail_template/category_newpost.tpl	(revision 866)
@@ -0,0 +1,6 @@
+Hello {X_UNAME}. 
+
+The article "{XPRESS_POST_TITLE}" is contributed in  {XPRESS_CAT_TITLE} category. 
+
+Please access following URL to see this contribution:
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/english/mail_template/global_newcomment.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/english/mail_template/global_newcomment.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/english/mail_template/global_newcomment.tpl	(revision 866)
@@ -0,0 +1,6 @@
+Hello {X_UNAME}. 
+
+The comment was contributed in article "{XPRESS_POST_TITLE}" in the {X_MODULE} module. 
+
+Please access following URL to see this contribution:
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/english/mail_template/global_newpost.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/english/mail_template/global_newpost.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/english/mail_template/global_newpost.tpl	(revision 866)
@@ -0,0 +1,6 @@
+Hello {X_UNAME}. 
+
+ There was new contribution "{XPRESS_POST_TITLE}" in the {X_MODULE} module. 
+
+Please access following URL to see this contribution:
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/english/mail_template/global_waiting.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/english/mail_template/global_waiting.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/english/mail_template/global_waiting.tpl	(revision 866)
@@ -0,0 +1,3 @@
+Hello {X_UNAME}. 
+
+ The needed approval was contributed in the {X_MODULE} module. 
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/english/mail_template/post_editpost.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/english/mail_template/post_editpost.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/english/mail_template/post_editpost.tpl	(revision 866)
@@ -0,0 +1,6 @@
+Hello {X_UNAME}. 
+{X_SITENAME} {X_MODULE}
+The change in the content of the article is done by "{POST_TITLE}". 
+
+Please access following URL to see this article:
+{POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/english/mail_template/post_newcomment.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/english/mail_template/post_newcomment.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/english/mail_template/post_newcomment.tpl	(revision 866)
@@ -0,0 +1,6 @@
+Hello {X_UNAME}
+
+A new comment is contributed in specified article {XPRESS_POST_TITLE}.
+
+Please access following URL to see this contribution:
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/english/main.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/english/main.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/english/main.php	(revision 866)
@@ -0,0 +1,6 @@
+<?php
+if( ! defined( 'XP2_MAIN_LANG_INCLUDED' ) ) {
+	define( 'XP2_MAIN_LANG_INCLUDED' , 1 ) ;
+	
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/english/modinfo.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/english/modinfo.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/english/modinfo.php	(revision 866)
@@ -0,0 +1,104 @@
+<?php
+if( ! defined( 'XP2_MODINFO_LANG_INCLUDED' ) ) {
+	define( 'XP2_MODINFO_LANG_INCLUDED' , 1 ) ;
+
+	// The name of this module admin menu
+	define("_MI_XP2_MENU_SYS_INFO","System information");
+	define("_MI_XP2_MENU_BLOCK_ADMIN","blocks/permissions");
+	define("_MI_XP2_MENU_BLOCK_CHECK","blocks check");
+	define("_MI_XP2_MENU_WP_ADMIN","WordPress Admin");
+	define("_MI_XP2_MOD_ADMIN","Module Admin");
+
+	// The name of this module
+	define("_MI_XP2_NAME","blog");
+
+	// A brief description of this module
+	define("_MI_XP2_DESC","WordPress For XOOPS Community");
+
+	// Sub menu titles
+	define("_MI_XP2_MENU_POST_NEW","New Post");
+	define("_MI_XP2_MENU_EDIT","Edit Post");
+	define("_MI_XP2_MENU_ADMIN","WordPress Admin");
+	define("_MI_XP2_MENU_XPRESS","XPressME Setting");
+	define("_MI_XP2_MENU_TO_MODULE","to Modules");
+	define("_MI_XP2_TO_UPDATE","Update");
+
+	// Module Config
+	define("_MI_LIBXML_PATCH","Force a patch for the libxml2 bug in a block");
+	define("_MI_LIBXML_PATCH_DESC","libxml2 Ver 2.70-2.72 have the bug that '<' and '>' are removed. 
+XPressME acquires a version of libxml2 automatically, and it is adapted a patch if it is necessary. 
+When XPressME cannot acquire a version of libxml2, you can let a patch fit it with this option forcibly.");
+	
+	define("_MI_MEMORY_LIMIT","Memory size(MB) at least necessary for module");
+	define("_MI_MEMORY_LIMIT_DESC","If the memory_limit value of php.ini is smaller than this value. Try the re-setting of memory_limit with ini_set('memory_limit', Value);.");
+
+	// Block Name
+	define("_MI_XP2_BLOCK_COMMENTS","Recent Comments");
+	define("_MI_XP2_BLOCK_CONTENT","Recent Posts with content");
+	define("_MI_XP2_BLOCK_POSTS","Recent Post Title");
+	define("_MI_XP2_BLOCK_CALENDER","Calendar");
+	define("_MI_XP2_BLOCK_POPULAR","Popular post list");
+	define("_MI_XP2_BLOCK_ARCHIVE","Archive");
+	define("_MI_XP2_BLOCK_AUTHORS","Author List");
+	define("_MI_XP2_BLOCK_PAGE","Page");
+	define("_MI_XP2_BLOCK_SEARCH","Search");
+	define("_MI_XP2_BLOCK_TAG","Tag Cloud");
+	define("_MI_XP2_BLOCK_CATEGORY","Category");
+	define("_MI_XP2_BLOCK_META","Meta");
+	define("_MI_XP2_BLOCK_SIDEBAR","Sidebar Navigation");
+	define("_MI_XP2_BLOCK_WIDGET","Widget");
+	define("_MI_XP2_BLOCK_ENHANCED","Enhanced");
+	define("_MI_XP2_BLOCK_BLOG_LIST","Blogs List");
+	define("_MI_XP2_BLOCK_GLOBAL_POSTS","Recent Posts(All blogs)");
+	define("_MI_XP2_BLOCK_GLOBAL_COMM","Recent Comments(All blogs)");
+	define("_MI_XP2_BLOCK_GLOBAL_POPU","Popular post(All blogs)");
+
+	// Notify Categories
+	define('_MI_XP2_NOTCAT_GLOBAL', 'ALL');
+	define('_MI_XP2_NOTCAT_GLOBALDSC', 'Notification option in the entire blog');
+	define('_MI_XP2_NOTCAT_CAT', 'Category under selection');
+	define('_MI_XP2_NOTCAT_CATDSC', 'Notification option to category under selection');
+	define('_MI_XP2_NOTCAT_AUTHOR', 'Author who is selecting it'); 
+	define('_MI_XP2_NOTCAT_AUTHORDSC', 'Notification option to author who is selecting it');
+	define('_MI_XP2_NOTCAT_POST', 'Article on display'); 
+	define('_MI_XP2_NOTCAT_POSTDSC', 'Notification option to article on display');
+
+	// Each Notifications
+	define('_MI_XP2_NOTIFY_GLOBAL_WAITING', 'Approval waiting');
+	define('_MI_XP2_NOTIFY_GLOBAL_WAITINGCAP', 'It notifies when the contribution and the edit that requires approving are done. Manager exclusive use');
+	define('_MI_XP2_NOTIFY_GLOBAL_WAITINGSBJ', '[{X_SITENAME}] {X_MODULE}: Approval waiting');
+
+	define('_MI_XP2_NOTIFY_GLOBAL_NEWPOST', 'Contribution of article');
+	define('_MI_XP2_NOTIFY_GLOBAL_NEWPOSTCAP', 'It notifies when the article is contributed in either of the entire this blog. ');
+	define('_MI_XP2_NOTIFY_GLOBAL_NEWPOSTSBJ', '[{XPRESS_BLOG_NAME}]Article: "{XPRESS_POST_TITLE}"');
+
+	define('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENT', 'Comment contribution');
+	define('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENTCAP', 'It notifies when the comment is contributed in either of the entire this blog. ');
+	define('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENTSBJ', '[{XPRESS_BLOG_NAME}]Comment: "{XPRESS_POST_TITLE}"');
+
+	define('_MI_XP2_NOTIFY_CAT_NEWPOST', 'Article contribution to selection category');
+	define('_MI_XP2_NOTIFY_CAT_NEWPOSTCAP', 'It notifies when there is an article contribution in this category.');
+	define('_MI_XP2_NOTIFY_CAT_NEWPOSTSBJ', '[{XPRESS_BLOG_NAME}]Article: "{XPRESS_POST_TITLE}" (Condition:Category="{XPRESS_CAT_TITLE}")');
+
+	define('_MI_XP2_NOTIFY_CAT_NEWCOMMENT', 'Comment contribution to selection category');
+	define('_MI_XP2_NOTIFY_CAT_NEWCOMMENTCAP', 'It notifies when there is a comment contribution in this category. ');
+	define('_MI_XP2_NOTIFY_CAT_NEWCOMMENTSBJ', '[{XPRESS_BLOG_NAME}]Comment: (Article"{XPRESS_POST_TITLE}") (Condition:Category="{XPRESS_CAT_TITLE}")');
+
+	define('_MI_XP2_NOTIFY_AUT_NEWPOST', 'Article contribution by selection contributor');
+	define('_MI_XP2_NOTIFY_AUT_NEWPOSTCAP', 'It notifies when there is an article contribution from this contributor. ');
+	define('_MI_XP2_NOTIFY_AUT_NEWPOSTSBJ', '[{XPRESS_BLOG_NAME}]Article: "{XPRESS_POST_TITLE}" (Condition:Author="{XPRESS_AUTH_NAME}")');
+
+	define('_MI_XP2_NOTIFY_AUT_NEWCOMMENT', 'Comment contribution to selection contributor article');
+	define('_MI_XP2_NOTIFY_AUT_NEWCOMMENTCAP', 'It notifies when the comment contribution is in the article by this contributor. ');
+	define('_MI_XP2_NOTIFY_AUT_NEWCOMMENTSBJ', '[{XPRESS_BLOG_NAME}]Comment: (Article"{XPRESS_POST_TITLE}") (Condition:Author="{XPRESS_AUTH_NAME}")');
+
+	define('_MI_XP2_NOTIFY_POST_EDITPOST', 'Article change');
+	define('_MI_XP2_NOTIFY_POST_EDITPOSTCAP', 'It notifies when there is a change in the article on the display. ');
+	define('_MI_XP2_NOTIFY_POST_EDITPOSTSBJ', '[{XPRESS_BLOG_NAME}]Article: "{XPRESS_POST_TITLE}"Change (Condition:Article specification)');
+
+	define('_MI_XP2_NOTIFY_POST_NEWCOMMENT', 'Comment contribution to article');
+	define('_MI_XP2_NOTIFY_POST_NEWCOMMENTCAP', 'It notifies when the comment is contributed in the article on the display. ');
+	define('_MI_XP2_NOTIFY_POST_NEWCOMMENTSBJ', '[{XPRESS_BLOG_NAME}]Comment: (Article"{XPRESS_POST_TITLE}") (Condition:Article specification)');
+
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/admin.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/admin.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/admin.php	(revision 866)
@@ -0,0 +1,44 @@
+<?php
+if( ! defined( 'XP2_ADMIN_LANG_INCLUDED' ) ) {
+	define( 'XP2_ADMIN_LANG_INCLUDED' , 1 ) ;
+	
+// altsys
+	define('_MD_A_MYMENU_MYTPLSADMIN','テンプレート管理');
+	define('_MD_A_MYMENU_MYBLOCKSADMIN','ブロック管理');
+	define('_MD_A_MYMENU_MYLANGADMIN','言語定数管理');
+	define('_MD_A_MYMENU_MYPREFERENCES','一般設定');
+
+	define("_AM_XP2_SYSTEM_INFO","システム情報");
+	define("_AM_XP2_XOOPS_CONFIG_INFO","XPressMEがXOOPSより取得した設定値");
+	define("_AM_XP2_PLUGIN","WordPressで使用中のプラグイン");
+	define("_AM_XP2_BLOCK_STATS","ブロックステータス");
+	define("_AM_XP2_STATS","統計");
+	define("_AM_XP2_CATEGORIES","カテゴリー数");
+	define("_AM_XP2_ARTICLES","記事数");
+	define("_AM_XP2_AUTHORS","投稿者数");
+	define("_AM_XP2_SYS_REPORT","レポート形式で表示");
+	define("_AM_XP2_SYS_NORMAL","ノーマル形式で表示");
+	define("_AM_XP2_BLOCK_OPTIONS","ブロックオプション");
+	define("_AM_XP2_GROUP_ROLE","グループ権限");
+
+// Block Check	
+	define("_AM_XP2_BLOCK_OK","ブロックは正常です。");
+	define("_AM_XP2_BLOCK_NG","異常ブロックがあります。");
+	define("_AM_XP2_BLOCK_REPAIR_HOWTO","以下の手順に従ってブロックを修正してください。");
+	define("_AM_XP2_BLOCK_REPAIR_STEP1","ステップ 1");
+	define("_AM_XP2_BLOCK_REMOVE","全ブロックを削除");
+	define("_AM_XP2_BLOCK_REMOVE_NOTE","注意: モジュールのブロックがデータベースから<b>削除</b>されます。");
+	define("_AM_XP2_BLOCK_REPAIR_STEP2","ステップ 2");
+	define("_AM_XP2_BLOCK_UPDATE","モジュールをアップデートして、ブロックを再構築します。");
+	define("_AM_XP2_TO_MODELE_UPDATE","モジュールアップデートへ");
+	define("_AM_XP2_BLOCK_REPAIR_STEP3","ステップ 3");
+	define("_AM_XP2_BLOCK_ADMIN_SETTING","ブロックの配置とアクセス権限を再設定します。");
+	define("_AM_XP2_BLOCK_TO_SETTING","ブロック権限の設定へ");
+	define("_AM_XP2_USER_META_KEY","ユーザーメタ情報");
+	define("_AM_XP2_USER_META_NONE","ユーザーレベルに必要なメタキーがありません");
+	define("_AM_XP2_USER_META_ERR","プレフィックスの異なる %s というメタキーが %d つあります。");
+	define("_AM_XP2_USER_META_OK","ユーザーメタキーは正常です");	
+	define("_AM_XP2_NG_BLOCK_REMOVE","NGブロックを削除");
+	define("_AM_XP2_BLOCK_OR","または");
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/blocks.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/blocks.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/blocks.php	(revision 866)
@@ -0,0 +1,158 @@
+<?php
+if( ! defined( 'XP2_BLOCK_LANG_INCLUDED' ) ) {
+	define( 'XP2_BLOCK_LANG_INCLUDED' , 1 ) ;
+// general	
+	define("_MB_XP2_COUNT",'表示数');
+	define("_MB_XP2_COUNT_ZERO_ALL",'表示数(0の場合全てを表示)');
+	define("_MB_XP2_LENGTH","長さ");
+	define("_MB_XP2_ALL","すべて");
+	define("_MB_XP2_BLOCK_CACHE_ERR","キャッシュが存在しません。<br />最初に%sモジュールにアクセスしてください。");
+	define("_MB_XP2_SHOW_NUM_OF_POST","エントリー数の表示");
+	define("_MB_XP2_SHOW_DROP_DOWN","ドロップダウンリストで表示");
+	define("_MB_XP2_HIDE_EMPTY","エントリーのない項目をリスト一覧から除く");
+	define("_MB_XP2_TITLE","タイトル");
+	define("_MB_XP2_PUBLISH_DATE","投稿日付");
+	define("_MB_XP2_SORT_ORDER","並び替え順序");
+	define("_MB_XP2_SORT_ASC","昇順");
+	define("_MB_XP2_SORT_DESC","降順");
+	define("_MB_XP2_SHOW_DATE_SELECT","日付の表示");
+	define("_MB_XP2_SHOW_DATE_NONE","表示しない");
+	define("_MB_XP2_SHOW_POST_DATE","作成日を表示");
+	define("_MB_XP2_SHOW_MODIFY_DATE","最終更新日を表示");
+	define("_MB_XP2_SHOW_DATE","日付を表示する");
+	define("_MB_XP2_DATE_FORMAT","日付のフォーマット(空白の場合WordPressでの設定が適用されます)");
+	define("_MB_XP2_TIME_FORMAT","時刻のフォーマット(空白の場合WordPressでの設定が適用されます)");
+	define("_MB_XP2_FLAT","フラット");
+	define("_MB_XP2_LIST","リスト");
+	define("_MB_XP2_FILE_NAME","ファイル名");
+	define("_MB_XP2_THISTEMPLATE","このブロックのテンプレート");
+	define("_MB_XP2_NO_JSCRIPT","ブラウザでJavascriptを有効にする必要があります。");
+	define("_MB_XP2_CACHE_NOT_WRITABLE","キャッシュディレクトリへの書き込みが許可されていません。");
+	
+// recent comment block	
+	define("_MB_XP2_COMM_DISP_AUTH","コメント投稿者を表示する");
+	define("_MB_XP2_COMM_DISP_TYPE","コメントタイプを表示する");
+	define("_MB_XP2_COM_TYPE","表示するコメントのタイプを選択");
+	define("_MB_XP2_COMMENT","コメント");
+	define("_MB_XP2_TRUCKBACK","トラックバック");
+	define("_MB_XP2_PINGBACK","ピンバック");
+	
+// recent posts content
+	define("_MB_XP2_P_EXCERPT","記事を概要で表示する");
+	define("_MB_XP2_P_EXCERPT_SIZE","記事の概要文字数");
+	define("_MB_XP2_CATS_SELECT","対象のカテゴリー選択");
+	define("_MB_XP2_TAGS_SELECT","対象のタグ選択(複数ある場合はカンマ区切りで入力");
+	define("_MB_XP2_DAY_SELECT","日付による抽出");
+	define("_MB_XP2_NONE","なし");
+	define("_MB_XP2_TODAY","本日の投稿");
+	define("_MB_XP2_LATEST","最新の投稿");
+	define("_MB_XP2_DAY_BETWEEN","");
+	define("_MB_XP2_DAYS_AND","から");
+	define("_MB_XP2_DAYS_AGO","日前までの間");
+	define("_MB_XP2_CATS_DIRECT_SELECT","IDを直接指定(複数ある場合はカンマ区切りで入力)");
+	
+// recent posts list	
+	define("_MB_XP2_REDNEW_DAYS","赤のNewマークを表示する日数");
+	define("_MB_XP2_GREENNEW_DAYS","緑のNewマークを表示する日数");	
+
+// calender		
+	define("_MB_XP2_SUN_COLOR","日曜日の表示色");
+	define("_MB_XP2_SAT_COLOR","土曜日の表示色");
+	
+// popular		
+	define("_MB_XP2_MONTH_RANGE","指定月数内のものを表示(0;指定なし)");
+	
+// archives
+	define("_MB_XP2_ARC_TYPE","アーカイブタイプ");
+	define("_MB_XP2_ARC_YEAR","年別アーカイブ");
+	define("_MB_XP2_ARC_MONTH","月別アーカイブ");
+	define("_MB_XP2_ARC_WEEK","週別アーカイブ");
+	define("_MB_XP2_ARC_DAY","日別アーカイブ");
+	define("_MB_XP2_ARC_POST","個別記事アーカイブ");
+
+// authors	
+	define("_MB_XP2_EXCLUEDEADMIN","リスト一覧から管理人を除く");
+	define("_MB_XP2_SHOW_FULLNAME","著者名をフルネームで表示");
+
+// page 	
+	define("_MB_XP2_PAGE_ORDERBY","ページリストのソート項目");
+	define("_MB_XP2_PAGE_TITLE","タイトル名順");
+	define("_MB_XP2_PAGE_MENU_ORDER","ページ順");
+	define("_MB_XP2_PAGE_POST_DATE","作成日順");
+	define("_MB_XP2_PAGE_POST_MODIFY","最終更新日順");
+	define("_MB_XP2_PAGE_ID","ページ ID順");
+	define("_MB_XP2_PAGE_AUTHOR","作成者ID 順");
+	define("_MB_XP2_PAGE_SLUG","ページスラッグ順");
+	define("_MB_XP2_PAGE_EXCLUDE","リストから除外するページID をカンマ区切りで昇順に指定。");
+	define("_MB_XP2_PAGE_EXCLUDE_TREE","リストから除外するページID を指定(子ページも除外されます)。");
+	define("_MB_XP2_PAGE_INCLUDE","指定したページID のみリストに表示。カンマ区切りで昇順に指定");
+	define("_MB_XP2_PAGE_DEPTH","ページ階層のどのレベルまでをリストに出力するかを指定。 (0=全親子ページを出力）");
+	define("_MB_XP2_PAGE_CHILD_OF","指定IDのページを親とする階層のページをリストに表示します。(0=全親子ページを出力）");
+	define("_MB_XP2_PAGE_HIERARCHICAL","子ページをリスト表示するとき、インデント（字下げ）する。");
+	define("_MB_XP2_PAGE_META_KEY","ここに記述したカスタムフィールドキーを持つページだけを表示します。");
+	define("_MB_XP2_PAGE_META_VALUE","ここに記述したカスタムフィールド値を持つページだけを表示します。");
+	
+// Search
+	define("_MB_XP2_SEARCH_LENGTH","検索BOXの長さ");
+	
+// tag cloud
+	define("_MB_XP2_CLOUD_SMALLEST",'最少使用数のタグの表示に使うフォントサイズ');
+	define("_MB_XP2_CLOUD_LARGEST",'最多使用数のタグの表示に使うフォントサイズ');
+	define("_MB_XP2_CLOUD_UNIT","フォントサイズの単位。pt, px, em, % 等");
+	define("_MB_XP2_CLOUD_NUMBER","クラウドに表示するタグ数。[0] を指定すると全タグを表示");
+	define("_MB_XP2_CLOUD_FORMAT","クラウド表示のフォーマット");
+	define("_MB_XP2_CLOUD_ORDERBY","タグの表示順とする項目");
+	define("_MB_XP2_CLOUD_ORDER","ソート順（ランダムはWordPress2.5以上で指定可能）");
+	define("_MB_XP2_CLOUD_EXCLUDE","除外するタグの term_id をカンマ区切りで指定");
+	define("_MB_XP2_CLOUD_INCLUDE","表示対象とするタグの term_id をカンマ区切りで指定、空白時は全タグ対象");
+	define("_MB_XP2_RAND","ランダム");
+	define("_MB_XP2_TAG_NAME","タグ名");
+	define("_MB_XP2_TAG_COUNT","使用回数");
+	
+// Categorie
+	define("_MB_XP2_CAT_ALL_STR","全カテゴリへのリンクを示す文字を指定します。(空白時は表示なし）");
+	define("_MB_XP2_CAT_ORDERBY","カテゴリのソート項目");
+	define("_MB_XP2_CAT_NAME","カテゴリ名");
+	define("_MB_XP2_CAT_COUNT","カテゴリの投稿数");
+	define("_MB_XP2_CAT_ID","カテゴリID");
+	define("_MB_XP2_SHOW_LAST_UPDATE","各カテゴリに属する投稿の最終更新日を表示する。");
+	define("_MB_XP2_CAT_HIDE_EMPTY","投稿のないカテゴリを非表示にする。");
+	define("_MB_XP2_DESC_FOR_TITLE","カテゴリの概要をリンクの title 属性に挿入する。");
+	define("_MB_XP2_CAT_EXCLUDE","リストから除外するカテゴリID をカンマ区切りで昇順に指定。");
+	define("_MB_XP2_CAT_INCLUDE","指定したカテゴリID のみリストに表示。カンマ区切りで昇順に指定");
+	define("_MB_XP2_CAT_HIERARCHICAL","サブカテゴリーを表示するとき、インデント（字下げ）する。");
+	define("_MB_XP2_CAT_DEPTH","カテゴリ階層のどのレベルまでをリストに出力するかを指定。 (0=全親子カテゴリを出力）");
+	
+// meta 
+	define("_MB_XP2_META_WP_LINK","WordPressサイトへのリンクを表示");
+	define("_MB_XP2_META_XOOPS_LINK","Xoopsサイトへのリンクを表示");
+	define("_MB_XP2_META_POST_RSS","投稿のRSSを表示");
+	define("_MB_XP2_META_COMMENT_RSS","コメントのRSSを表示");
+	define("_MB_XP2_META_POST_NEW","新規投稿を表示");
+	define("_MB_XP2_META_ADMIN","サイトの管理を表示");
+	define("_MB_XP2_META_README","ReadMeを表示");
+	define("_MB_XP2_META_CH_STYLE","表示モード切替を表示");
+
+// widget 
+	define("_MB_XP2_SELECT_WIDGET","表示するウィジェットを選択 (複数選択可)");
+	define("_MB_XP2_NO_WIDGET","WordPress側で表示するウィジェットが選択されていません");
+	define("_MB_XP2_WIDGET_TITLE_SHOW","単独ウィジェット選択時、ウィジェットのタイトルを表示");
+	
+	
+// custom 
+	define("_MB_XP2_ENHACED_FILE","カスタムブロックを表示するファイル名を入力してください。");
+	define("_MB_XP2_MAKE_ENHACED_FILE","ここで指定したファイルをテーマ内のブロックディレクトリーに作成してください。");
+
+// blog_list
+	define("_MB_XP2_BLOG_ORDERBY","ブログのソート項目");
+	define("_MB_XP2_BLOG_NAME","ブログ名");
+	define("_MB_XP2_BLOG_COUNT","ブログの投稿数");
+	define("_MB_XP2_BLOG_ID","ブログID");
+// global_blog_list
+	define("_MB_XP2_SHOW_BLOGS_SELECT","表示ブログの選択");
+	define("_MB_XP2_EXCLUSION_BLOGS_SELECT","除外ブログの選択");
+	define("_MB_XP2_BLOGS_DIRECT_SELECT","ブログIDを直接指定(複数ある場合はカンマ区切りで入力)");
+	define("_MB_XP2_SHOWN_FOR_EACH_BLOG","ブログ毎に表示する。");
+
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/index.html
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/index.html	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/index.html	(revision 866)
@@ -0,0 +1,1 @@
+ <script>history.go(-1);</script>
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/mail_template/author_newcomment.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/mail_template/author_newcomment.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/mail_template/author_newcomment.tpl	(revision 866)
@@ -0,0 +1,6 @@
+{X_UNAME}さん、こんにちは
+
+投稿者[{XPRESS_AUTH_NAME}]さんの記事[{XPRESS_POST_TITLE}]に新しいコメントの投稿があります。
+
+この投稿を見るには下記URLにアクセスしてください：
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/mail_template/author_newpost.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/mail_template/author_newpost.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/mail_template/author_newpost.tpl	(revision 866)
@@ -0,0 +1,6 @@
+{X_UNAME}さん、こんにちは
+
+投稿者[{XPRESS_AUTH_NAME}]さんの記事[{XPRESS_POST_TITLE}]の投稿があります。
+
+この投稿を見るには下記URLにアクセスしてください：
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/mail_template/category_newcomment.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/mail_template/category_newcomment.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/mail_template/category_newcomment.tpl	(revision 866)
@@ -0,0 +1,6 @@
+{X_UNAME}さん、こんにちは
+
+カテゴリー[{XPRESS_CAT_TITLE}]内にある記事[{XPRESS_POST_TITLE}]に新しいコメントの投稿があります。
+
+この投稿を見るには下記URLにアクセスしてください：
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/mail_template/category_newpost.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/mail_template/category_newpost.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/mail_template/category_newpost.tpl	(revision 866)
@@ -0,0 +1,6 @@
+{X_UNAME}さん、こんにちは
+
+カテゴリー[{XPRESS_CAT_TITLE}]に記事"{XPRESS_POST_TITLE}"の投稿があります。
+
+この投稿を見るには下記URLにアクセスしてください：
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/mail_template/global_newcomment.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/mail_template/global_newcomment.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/mail_template/global_newcomment.tpl	(revision 866)
@@ -0,0 +1,6 @@
+{X_UNAME}さん、こんにちは
+
+{X_MODULE}モジュールにおいて記事「{XPRESS_POST_TITLE}」にコメントの投稿がありました。
+
+この投稿を見るには下記URLにアクセスしてください：
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/mail_template/global_newpost.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/mail_template/global_newpost.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/mail_template/global_newpost.tpl	(revision 866)
@@ -0,0 +1,6 @@
+{X_UNAME}さん、こんにちは
+
+{X_MODULE}モジュールにおいて新規投稿「{XPRESS_POST_TITLE}」がありました。
+
+この投稿を見るには下記URLにアクセスしてください：
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/mail_template/global_waiting.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/mail_template/global_waiting.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/mail_template/global_waiting.tpl	(revision 866)
@@ -0,0 +1,3 @@
+{X_UNAME}さん、こんにちは
+
+{X_MODULE}モジュールにおいて要承認の投稿がありました。
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/mail_template/post_editpost.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/mail_template/post_editpost.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/mail_template/post_editpost.tpl	(revision 866)
@@ -0,0 +1,6 @@
+{X_UNAME}さん、こんにちは
+{X_SITENAME}{X_MODULE}の
+「{POST_TITLE}」にて記事内容の変更が行われています。
+
+この記事を見るには下記URLにアクセスしてください：
+{POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/mail_template/post_newcomment.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/mail_template/post_newcomment.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/mail_template/post_newcomment.tpl	(revision 866)
@@ -0,0 +1,6 @@
+{X_UNAME}さん、こんにちは
+
+指定された記事[{XPRESS_POST_TITLE}]に新しいコメントの投稿があります。
+
+この投稿を見るには下記URLにアクセスしてください：
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/main.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/main.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/main.php	(revision 866)
@@ -0,0 +1,6 @@
+<?php
+if( ! defined( 'XP2_MAIN_LANG_INCLUDED' ) ) {
+	define( 'XP2_MAIN_LANG_INCLUDED' , 1 ) ;
+
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/modinfo.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/modinfo.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/ja_utf8/modinfo.php	(revision 866)
@@ -0,0 +1,104 @@
+<?php
+if( ! defined( 'XP2_MODINFO_LANG_INCLUDED' ) ) {
+	define( 'XP2_MODINFO_LANG_INCLUDED' , 1 ) ;
+
+	// The name of this module admin menu
+	define("_MI_XP2_MENU_SYS_INFO","システム情報");
+	define("_MI_XP2_MENU_BLOCK_ADMIN","ブロック権限");
+	define("_MI_XP2_MENU_BLOCK_CHECK","ブロックチェック");
+	define("_MI_XP2_MENU_WP_ADMIN","WordPress管理");
+	define("_MI_XP2_MOD_ADMIN","モジュール管理");
+
+	// The name of this module
+	define("_MI_XP2_NAME","ブログ");
+
+	// A brief description of this module
+	define("_MI_XP2_DESC","WordPressMEをXOOPSモジュール化したものです。");
+
+	// Sub menu titles
+	define("_MI_XP2_MENU_POST_NEW","新規投稿");
+	define("_MI_XP2_MENU_EDIT","編集");
+	define("_MI_XP2_MENU_ADMIN","WordPress管理");
+	define("_MI_XP2_MENU_XPRESS","XPressME設定");
+	define("_MI_XP2_MENU_TO_MODULE","モジュールへ");
+	define("_MI_XP2_TO_UPDATE","アップデート");
+
+	// Module Config
+	define("_MI_LIBXML_PATCH","ブロックでlibxml2 バグに対するパッチを強制適応する");
+	define("_MI_LIBXML_PATCH_DESC","libxml2 Ver 2.70-2.72には'<'と'>'が取り除かれるバグがあります。
+XPressMEはlibxml2のバージョンを自動的に取得し、必要であればパッチが適応されます。
+XPressMEがlibxml2のバージョンを取得できない場合、このオプションで強制的にパッチを適応させることができます。");
+	
+	define("_MI_MEMORY_LIMIT","モジュールに最低限必要なメモリ(MB)");
+	define("_MI_MEMORY_LIMIT_DESC","php.iniのmemory_limit値がこの値より小さいとき、可能であればini_set('memory_limit', Value);を実行しmemory_limitを再設定する");
+
+	// Block Name
+	define("_MI_XP2_BLOCK_COMMENTS","最近のコメント");
+	define("_MI_XP2_BLOCK_CONTENT","最近の記事内容");
+	define("_MI_XP2_BLOCK_POSTS","最近の記事");
+	define("_MI_XP2_BLOCK_CALENDER","カレンダー");
+	define("_MI_XP2_BLOCK_POPULAR","人気記事リスト");
+	define("_MI_XP2_BLOCK_ARCHIVE","アーカイブ");
+	define("_MI_XP2_BLOCK_AUTHORS","投稿者");
+	define("_MI_XP2_BLOCK_PAGE","ページ");
+	define("_MI_XP2_BLOCK_SEARCH","検索");
+	define("_MI_XP2_BLOCK_TAG","タグクラウド");
+	define("_MI_XP2_BLOCK_CATEGORY","カテゴリー");
+	define("_MI_XP2_BLOCK_META","メタ情報");
+	define("_MI_XP2_BLOCK_SIDEBAR","サイドバー");
+	define("_MI_XP2_BLOCK_WIDGET","ウィジェット");
+	define("_MI_XP2_BLOCK_ENHANCED","拡張ブロック");
+	define("_MI_XP2_BLOCK_BLOG_LIST","ブログリスト");
+	define("_MI_XP2_BLOCK_GLOBAL_POSTS","最近の記事(全ブログ)");
+	define("_MI_XP2_BLOCK_GLOBAL_COMM","最近のコメント(全ブログ)");
+	define("_MI_XP2_BLOCK_GLOBAL_POPU","人気記事リスト(全ブログ)");
+
+	// Notify Categories
+	define('_MI_XP2_NOTCAT_GLOBAL', 'ブログ全体');
+	define('_MI_XP2_NOTCAT_GLOBALDSC', 'ブログ全体における通知オプション');
+	define('_MI_XP2_NOTCAT_CAT', '選択中のカテゴリ');
+	define('_MI_XP2_NOTCAT_CATDSC', '選択中のカテゴリに対する通知オプション');
+	define('_MI_XP2_NOTCAT_AUTHOR', '選択中の投稿者'); 
+	define('_MI_XP2_NOTCAT_AUTHORDSC', '選択中の投稿者に対する通知オプション');
+	define('_MI_XP2_NOTCAT_POST', '表示中の記事'); 
+	define('_MI_XP2_NOTCAT_POSTDSC', '表示中の記事に対する通知オプション');
+
+	// Each Notifications
+	define('_MI_XP2_NOTIFY_GLOBAL_WAITING', '承認待ち');
+	define('_MI_XP2_NOTIFY_GLOBAL_WAITINGCAP', '承認を要する投稿・編集が行われた場合に通知します。管理者専用');
+	define('_MI_XP2_NOTIFY_GLOBAL_WAITINGSBJ', '[{X_SITENAME}] {X_MODULE}: 承認待ち');
+
+	define('_MI_XP2_NOTIFY_GLOBAL_NEWPOST', '記事投稿');
+	define('_MI_XP2_NOTIFY_GLOBAL_NEWPOSTCAP', 'このブログ全体のいずれかに記事の投稿があった場合に通知する');
+	define('_MI_XP2_NOTIFY_GLOBAL_NEWPOSTSBJ', '[{XPRESS_BLOG_NAME}]記事: "{XPRESS_POST_TITLE}"');
+
+	define('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENT', 'コメント投稿');
+	define('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENTCAP', 'このブログ全体のいずれかにコメントの投稿があった場合に通知する');
+	define('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENTSBJ', '[{XPRESS_BLOG_NAME}]コメント: "{XPRESS_POST_TITLE}"');
+
+	define('_MI_XP2_NOTIFY_CAT_NEWPOST', '選択カテゴリへの記事投稿');
+	define('_MI_XP2_NOTIFY_CAT_NEWPOSTCAP', 'このカテゴリに記事投稿があった場合に通知する');
+	define('_MI_XP2_NOTIFY_CAT_NEWPOSTSBJ', '[{XPRESS_BLOG_NAME}]記事: "{XPRESS_POST_TITLE}" (条件:カテゴリ="{XPRESS_CAT_TITLE}")');
+
+	define('_MI_XP2_NOTIFY_CAT_NEWCOMMENT', '選択カテゴリへのコメント投稿');
+	define('_MI_XP2_NOTIFY_CAT_NEWCOMMENTCAP', 'このカテゴリにコメント投稿があった場合に通知する');
+	define('_MI_XP2_NOTIFY_CAT_NEWCOMMENTSBJ', '[{XPRESS_BLOG_NAME}]コメント: (記事"{XPRESS_POST_TITLE}") (条件:カテゴリ="{XPRESS_CAT_TITLE}")');
+
+	define('_MI_XP2_NOTIFY_AUT_NEWPOST', '選択投稿者による記事投稿');
+	define('_MI_XP2_NOTIFY_AUT_NEWPOSTCAP', 'この投稿者から記事投稿があった場合に通知する');
+	define('_MI_XP2_NOTIFY_AUT_NEWPOSTSBJ', '[{XPRESS_BLOG_NAME}]記事: "{XPRESS_POST_TITLE}" (条件:投稿者="{XPRESS_AUTH_NAME}")');
+
+	define('_MI_XP2_NOTIFY_AUT_NEWCOMMENT', '選択投稿者記事へのコメント投稿');
+	define('_MI_XP2_NOTIFY_AUT_NEWCOMMENTCAP', 'この投稿者による記事へコメント投稿があった場合に通知する');
+	define('_MI_XP2_NOTIFY_AUT_NEWCOMMENTSBJ', '[{XPRESS_BLOG_NAME}]コメント: (記事"{XPRESS_POST_TITLE}") (条件:投稿者="{XPRESS_AUTH_NAME}")');
+
+	define('_MI_XP2_NOTIFY_POST_EDITPOST', '記事変更');
+	define('_MI_XP2_NOTIFY_POST_EDITPOSTCAP', '表示中の記事に変更があった場合に通知する');
+	define('_MI_XP2_NOTIFY_POST_EDITPOSTSBJ', '[{XPRESS_BLOG_NAME}]記事: "{XPRESS_POST_TITLE}"変更 (条件:記事指定)');
+
+	define('_MI_XP2_NOTIFY_POST_NEWCOMMENT', '記事へのコメント投稿');
+	define('_MI_XP2_NOTIFY_POST_NEWCOMMENTCAP', '表示中の記事にコメントの投稿があった場合に通知する');
+	define('_MI_XP2_NOTIFY_POST_NEWCOMMENTSBJ', '[{XPRESS_BLOG_NAME}]コメント: (記事"{XPRESS_POST_TITLE}") (条件:記事指定)');
+
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/admin.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/admin.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/admin.php	(revision 866)
@@ -0,0 +1,44 @@
+<?php
+if( ! defined( 'XP2_ADMIN_LANG_INCLUDED' ) ) {
+	define( 'XP2_ADMIN_LANG_INCLUDED' , 1 ) ;
+	
+// altsys
+	define('_MD_A_MYMENU_MYTPLSADMIN','¥Æ¥ó¥×¥ì¡¼¥È´ÉÍý');
+	define('_MD_A_MYMENU_MYBLOCKSADMIN','¥Ö¥í¥Ã¥¯´ÉÍý');
+	define('_MD_A_MYMENU_MYLANGADMIN','¸À¸ìÄê¿ô´ÉÍý');
+	define('_MD_A_MYMENU_MYPREFERENCES','°ìÈÌÀßÄê');
+
+	define("_AM_XP2_SYSTEM_INFO","¥·¥¹¥Æ¥à¾ðÊó");
+	define("_AM_XP2_XOOPS_CONFIG_INFO","XPressME¤¬XOOPS¤è¤ê¼èÆÀ¤·¤¿ÀßÄêÃÍ");
+	define("_AM_XP2_PLUGIN","WordPress¤Ç»ÈÍÑÃæ¤Î¥×¥é¥°¥¤¥ó");
+	define("_AM_XP2_BLOCK_STATS","¥Ö¥í¥Ã¥¯¥¹¥Æ¡¼¥¿¥¹");
+	define("_AM_XP2_STATS","Åý·×");
+	define("_AM_XP2_CATEGORIES","¥«¥Æ¥´¥ê¡¼¿ô");
+	define("_AM_XP2_ARTICLES","µ­»ö¿ô");
+	define("_AM_XP2_AUTHORS","Åê¹Æ¼Ô¿ô");
+	define("_AM_XP2_SYS_REPORT","¥ì¥Ý¡¼¥È·Á¼°¤ÇÉ½¼¨");
+	define("_AM_XP2_SYS_NORMAL","¥Î¡¼¥Þ¥ë·Á¼°¤ÇÉ½¼¨");
+	define("_AM_XP2_BLOCK_OPTIONS","¥Ö¥í¥Ã¥¯¥ª¥×¥·¥ç¥ó");
+	define("_AM_XP2_GROUP_ROLE","¥°¥ë¡¼¥×¸¢¸Â");
+
+// Block Check	
+	define("_AM_XP2_BLOCK_OK","¥Ö¥í¥Ã¥¯¤ÏÀµ¾ï¤Ç¤¹¡£");
+	define("_AM_XP2_BLOCK_NG","°Û¾ï¥Ö¥í¥Ã¥¯¤¬¤¢¤ê¤Þ¤¹¡£");
+	define("_AM_XP2_BLOCK_REPAIR_HOWTO","°Ê²¼¤Î¼ê½ç¤Ë½¾¤Ã¤Æ¥Ö¥í¥Ã¥¯¤ò½¤Àµ¤·¤Æ¤¯¤À¤µ¤¤¡£");
+	define("_AM_XP2_BLOCK_REPAIR_STEP1","¥¹¥Æ¥Ã¥× 1");
+	define("_AM_XP2_BLOCK_REMOVE","Á´¥Ö¥í¥Ã¥¯¤òºï½ü");
+	define("_AM_XP2_BLOCK_REMOVE_NOTE","Ãí°Õ: ¥â¥¸¥å¡¼¥ë¤Î¥Ö¥í¥Ã¥¯¤¬¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤é<b>ºï½ü</b>¤µ¤ì¤Þ¤¹¡£");
+	define("_AM_XP2_BLOCK_REPAIR_STEP2","¥¹¥Æ¥Ã¥× 2");
+	define("_AM_XP2_BLOCK_UPDATE","¥â¥¸¥å¡¼¥ë¤ò¥¢¥Ã¥×¥Ç¡¼¥È¤·¤Æ¡¢¥Ö¥í¥Ã¥¯¤òºÆ¹½ÃÛ¤·¤Þ¤¹¡£");
+	define("_AM_XP2_TO_MODELE_UPDATE","¥â¥¸¥å¡¼¥ë¥¢¥Ã¥×¥Ç¡¼¥È¤Ø");
+	define("_AM_XP2_BLOCK_REPAIR_STEP3","¥¹¥Æ¥Ã¥× 3");
+	define("_AM_XP2_BLOCK_ADMIN_SETTING","¥Ö¥í¥Ã¥¯¤ÎÇÛÃÖ¤È¥¢¥¯¥»¥¹¸¢¸Â¤òºÆÀßÄê¤·¤Þ¤¹¡£");
+	define("_AM_XP2_BLOCK_TO_SETTING","¥Ö¥í¥Ã¥¯¸¢¸Â¤ÎÀßÄê¤Ø");
+	define("_AM_XP2_USER_META_KEY","¥æ¡¼¥¶¡¼¥á¥¿¾ðÊó");
+	define("_AM_XP2_USER_META_NONE","¥æ¡¼¥¶¡¼¥ì¥Ù¥ë¤ËÉ¬Í×¤Ê¥á¥¿¥­¡¼¤¬¤¢¤ê¤Þ¤»¤ó");
+	define("_AM_XP2_USER_META_ERR","¥×¥ì¥Õ¥£¥Ã¥¯¥¹¤Î°Û¤Ê¤ë %s ¤È¤¤¤¦¥á¥¿¥­¡¼¤¬ %d ¤Ä¤¢¤ê¤Þ¤¹¡£");
+	define("_AM_XP2_USER_META_OK","¥æ¡¼¥¶¡¼¥á¥¿¥­¡¼¤ÏÀµ¾ï¤Ç¤¹");	
+	define("_AM_XP2_NG_BLOCK_REMOVE","NG¥Ö¥í¥Ã¥¯¤òºï½ü");
+	define("_AM_XP2_BLOCK_OR","¤Þ¤¿¤Ï");
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/blocks.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/blocks.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/blocks.php	(revision 866)
@@ -0,0 +1,157 @@
+<?php
+if( ! defined( 'XP2_BLOCK_LANG_INCLUDED' ) ) {
+	define( 'XP2_BLOCK_LANG_INCLUDED' , 1 ) ;
+// general	
+	define("_MB_XP2_COUNT",'É½¼¨¿ô');
+	define("_MB_XP2_COUNT_ZERO_ALL",'É½¼¨¿ô(0¤Î¾ì¹çÁ´¤Æ¤òÉ½¼¨)');
+	define("_MB_XP2_LENGTH","Ä¹¤µ");
+	define("_MB_XP2_ALL","¤¹¤Ù¤Æ");
+	define("_MB_XP2_BLOCK_CACHE_ERR","¥­¥ã¥Ã¥·¥å¤¬Â¸ºß¤·¤Þ¤»¤ó¡£<br />ºÇ½é¤Ë%s¥â¥¸¥å¡¼¥ë¤Ë¥¢¥¯¥»¥¹¤·¤Æ¤¯¤À¤µ¤¤¡£");
+	define("_MB_XP2_SHOW_NUM_OF_POST","¥¨¥ó¥È¥ê¡¼¿ô¤ÎÉ½¼¨");
+	define("_MB_XP2_SHOW_DROP_DOWN","¥É¥í¥Ã¥×¥À¥¦¥ó¥ê¥¹¥È¤ÇÉ½¼¨");
+	define("_MB_XP2_HIDE_EMPTY","¥¨¥ó¥È¥ê¡¼¤Î¤Ê¤¤¹àÌÜ¤ò¥ê¥¹¥È°ìÍ÷¤«¤é½ü¤¯");
+	define("_MB_XP2_TITLE","¥¿¥¤¥È¥ë");
+	define("_MB_XP2_PUBLISH_DATE","Åê¹ÆÆüÉÕ");
+	define("_MB_XP2_SORT_ORDER","ÊÂ¤ÓÂØ¤¨½ç½ø");
+	define("_MB_XP2_SORT_ASC","¾º½ç");
+	define("_MB_XP2_SORT_DESC","¹ß½ç");
+	define("_MB_XP2_SHOW_DATE_SELECT","ÆüÉÕ¤ÎÉ½¼¨");
+	define("_MB_XP2_SHOW_DATE_NONE","É½¼¨¤·¤Ê¤¤");
+	define("_MB_XP2_SHOW_POST_DATE","ºîÀ®Æü¤òÉ½¼¨");
+	define("_MB_XP2_SHOW_MODIFY_DATE","ºÇ½ª¹¹¿·Æü¤òÉ½¼¨");
+	define("_MB_XP2_SHOW_DATE","ÆüÉÕ¤òÉ½¼¨¤¹¤ë");
+	define("_MB_XP2_DATE_FORMAT","ÆüÉÕ¤Î¥Õ¥©¡¼¥Þ¥Ã¥È(¶õÇò¤Î¾ì¹çWordPress¤Ç¤ÎÀßÄê¤¬Å¬ÍÑ¤µ¤ì¤Þ¤¹)");
+	define("_MB_XP2_TIME_FORMAT","»þ¹ï¤Î¥Õ¥©¡¼¥Þ¥Ã¥È(¶õÇò¤Î¾ì¹çWordPress¤Ç¤ÎÀßÄê¤¬Å¬ÍÑ¤µ¤ì¤Þ¤¹)");
+	define("_MB_XP2_FLAT","¥Õ¥é¥Ã¥È");
+	define("_MB_XP2_LIST","¥ê¥¹¥È");
+	define("_MB_XP2_FILE_NAME","¥Õ¥¡¥¤¥ëÌ¾");
+	define("_MB_XP2_THISTEMPLATE","¤³¤Î¥Ö¥í¥Ã¥¯¤Î¥Æ¥ó¥×¥ì¡¼¥È");
+	define("_MB_XP2_NO_JSCRIPT","¥Ö¥é¥¦¥¶¤ÇJavascript¤òÍ­¸ú¤Ë¤¹¤ëÉ¬Í×¤¬¤¢¤ê¤Þ¤¹¡£");
+	define("_MB_XP2_CACHE_NOT_WRITABLE","¥­¥ã¥Ã¥·¥å¥Ç¥£¥ì¥¯¥È¥ê¤Ø¤Î½ñ¤­¹þ¤ß¤¬µö²Ä¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£");
+	
+// recent comment block	
+	define("_MB_XP2_COMM_DISP_AUTH","¥³¥á¥ó¥ÈÅê¹Æ¼Ô¤òÉ½¼¨¤¹¤ë");
+	define("_MB_XP2_COMM_DISP_TYPE","¥³¥á¥ó¥È¥¿¥¤¥×¤òÉ½¼¨¤¹¤ë");
+	define("_MB_XP2_COM_TYPE","É½¼¨¤¹¤ë¥³¥á¥ó¥È¤Î¥¿¥¤¥×¤òÁªÂò");
+	define("_MB_XP2_COMMENT","¥³¥á¥ó¥È");
+	define("_MB_XP2_TRUCKBACK","¥È¥é¥Ã¥¯¥Ð¥Ã¥¯");
+	define("_MB_XP2_PINGBACK","¥Ô¥ó¥Ð¥Ã¥¯");
+	
+// recent posts content
+	define("_MB_XP2_P_EXCERPT","µ­»ö¤ò³µÍ×¤ÇÉ½¼¨¤¹¤ë");
+	define("_MB_XP2_P_EXCERPT_SIZE","µ­»ö¤Î³µÍ×Ê¸»ú¿ô");
+	define("_MB_XP2_CATS_SELECT","ÂÐ¾Ý¤Î¥«¥Æ¥´¥ê¡¼ÁªÂò");
+	define("_MB_XP2_TAGS_SELECT","ÂÐ¾Ý¤Î¥¿¥°ÁªÂò(Ê£¿ô¤¢¤ë¾ì¹ç¤Ï¥«¥ó¥Þ¶èÀÚ¤ê¤ÇÆþÎÏ");
+	define("_MB_XP2_DAY_SELECT","ÆüÉÕ¤Ë¤è¤ëÃê½Ð");
+	define("_MB_XP2_NONE","¤Ê¤·");
+	define("_MB_XP2_TODAY","ËÜÆü¤ÎÅê¹Æ");
+	define("_MB_XP2_LATEST","ºÇ¿·¤ÎÅê¹Æ");
+	define("_MB_XP2_DAY_BETWEEN","");
+	define("_MB_XP2_DAYS_AND","¤«¤é");
+	define("_MB_XP2_DAYS_AGO","ÆüÁ°¤Þ¤Ç¤Î´Ö");
+	define("_MB_XP2_CATS_DIRECT_SELECT","ID¤òÄ¾ÀÜ»ØÄê(Ê£¿ô¤¢¤ë¾ì¹ç¤Ï¥«¥ó¥Þ¶èÀÚ¤ê¤ÇÆþÎÏ)");
+	
+// recent posts list	
+	define("_MB_XP2_REDNEW_DAYS","ÀÖ¤ÎNew¥Þ¡¼¥¯¤òÉ½¼¨¤¹¤ëÆü¿ô");
+	define("_MB_XP2_GREENNEW_DAYS","ÎÐ¤ÎNew¥Þ¡¼¥¯¤òÉ½¼¨¤¹¤ëÆü¿ô");	
+
+// calender		
+	define("_MB_XP2_SUN_COLOR","ÆüÍËÆü¤ÎÉ½¼¨¿§");
+	define("_MB_XP2_SAT_COLOR","ÅÚÍËÆü¤ÎÉ½¼¨¿§");
+	
+// popular		
+	define("_MB_XP2_MONTH_RANGE","»ØÄê·î¿ôÆâ¤Î¤â¤Î¤òÉ½¼¨(0;»ØÄê¤Ê¤·)");
+	
+// archives
+	define("_MB_XP2_ARC_TYPE","¥¢¡¼¥«¥¤¥Ö¥¿¥¤¥×");
+	define("_MB_XP2_ARC_YEAR","Ç¯ÊÌ¥¢¡¼¥«¥¤¥Ö");
+	define("_MB_XP2_ARC_MONTH","·îÊÌ¥¢¡¼¥«¥¤¥Ö");
+	define("_MB_XP2_ARC_WEEK","½µÊÌ¥¢¡¼¥«¥¤¥Ö");
+	define("_MB_XP2_ARC_DAY","ÆüÊÌ¥¢¡¼¥«¥¤¥Ö");
+	define("_MB_XP2_ARC_POST","¸ÄÊÌµ­»ö¥¢¡¼¥«¥¤¥Ö");
+
+// authors	
+	define("_MB_XP2_EXCLUEDEADMIN","¥ê¥¹¥È°ìÍ÷¤«¤é´ÉÍý¿Í¤ò½ü¤¯");
+	define("_MB_XP2_SHOW_FULLNAME","Ãø¼ÔÌ¾¤ò¥Õ¥ë¥Í¡¼¥à¤ÇÉ½¼¨");
+
+// page 	
+	define("_MB_XP2_PAGE_ORDERBY","¥Ú¡¼¥¸¥ê¥¹¥È¤Î¥½¡¼¥È¹àÌÜ");
+	define("_MB_XP2_PAGE_TITLE","¥¿¥¤¥È¥ëÌ¾½ç");
+	define("_MB_XP2_PAGE_MENU_ORDER","¥Ú¡¼¥¸½ç");
+	define("_MB_XP2_PAGE_POST_DATE","ºîÀ®Æü½ç");
+	define("_MB_XP2_PAGE_POST_MODIFY","ºÇ½ª¹¹¿·Æü½ç");
+	define("_MB_XP2_PAGE_ID","¥Ú¡¼¥¸ ID½ç");
+	define("_MB_XP2_PAGE_AUTHOR","ºîÀ®¼ÔID ½ç");
+	define("_MB_XP2_PAGE_SLUG","¥Ú¡¼¥¸¥¹¥é¥Ã¥°½ç");
+	define("_MB_XP2_PAGE_EXCLUDE","¥ê¥¹¥È¤«¤é½ü³°¤¹¤ë¥Ú¡¼¥¸ID ¤ò¥«¥ó¥Þ¶èÀÚ¤ê¤Ç¾º½ç¤Ë»ØÄê¡£");
+	define("_MB_XP2_PAGE_EXCLUDE_TREE","¥ê¥¹¥È¤«¤é½ü³°¤¹¤ë¥Ú¡¼¥¸ID ¤ò»ØÄê(»Ò¥Ú¡¼¥¸¤â½ü³°¤µ¤ì¤Þ¤¹)¡£");
+	define("_MB_XP2_PAGE_INCLUDE","»ØÄê¤·¤¿¥Ú¡¼¥¸ID ¤Î¤ß¥ê¥¹¥È¤ËÉ½¼¨¡£¥«¥ó¥Þ¶èÀÚ¤ê¤Ç¾º½ç¤Ë»ØÄê");
+	define("_MB_XP2_PAGE_DEPTH","¥Ú¡¼¥¸³¬ÁØ¤Î¤É¤Î¥ì¥Ù¥ë¤Þ¤Ç¤ò¥ê¥¹¥È¤Ë½ÐÎÏ¤¹¤ë¤«¤ò»ØÄê¡£ (0=Á´¿Æ»Ò¥Ú¡¼¥¸¤ò½ÐÎÏ¡Ë");
+	define("_MB_XP2_PAGE_CHILD_OF","»ØÄêID¤Î¥Ú¡¼¥¸¤ò¿Æ¤È¤¹¤ë³¬ÁØ¤Î¥Ú¡¼¥¸¤ò¥ê¥¹¥È¤ËÉ½¼¨¤·¤Þ¤¹¡£(0=Á´¿Æ»Ò¥Ú¡¼¥¸¤ò½ÐÎÏ¡Ë");
+	define("_MB_XP2_PAGE_HIERARCHICAL","»Ò¥Ú¡¼¥¸¤ò¥ê¥¹¥ÈÉ½¼¨¤¹¤ë¤È¤­¡¢¥¤¥ó¥Ç¥ó¥È¡Ê»ú²¼¤²¡Ë¤¹¤ë¡£");
+	define("_MB_XP2_PAGE_META_KEY","¤³¤³¤Ëµ­½Ò¤·¤¿¥«¥¹¥¿¥à¥Õ¥£¡¼¥ë¥É¥­¡¼¤ò»ý¤Ä¥Ú¡¼¥¸¤À¤±¤òÉ½¼¨¤·¤Þ¤¹¡£");
+	define("_MB_XP2_PAGE_META_VALUE","¤³¤³¤Ëµ­½Ò¤·¤¿¥«¥¹¥¿¥à¥Õ¥£¡¼¥ë¥ÉÃÍ¤ò»ý¤Ä¥Ú¡¼¥¸¤À¤±¤òÉ½¼¨¤·¤Þ¤¹¡£");
+	
+// Search
+	define("_MB_XP2_SEARCH_LENGTH","¸¡º÷BOX¤ÎÄ¹¤µ");
+	
+// tag cloud
+	define("_MB_XP2_CLOUD_SMALLEST",'ºÇ¾¯»ÈÍÑ¿ô¤Î¥¿¥°¤ÎÉ½¼¨¤Ë»È¤¦¥Õ¥©¥ó¥È¥µ¥¤¥º');
+	define("_MB_XP2_CLOUD_LARGEST",'ºÇÂ¿»ÈÍÑ¿ô¤Î¥¿¥°¤ÎÉ½¼¨¤Ë»È¤¦¥Õ¥©¥ó¥È¥µ¥¤¥º');
+	define("_MB_XP2_CLOUD_UNIT","¥Õ¥©¥ó¥È¥µ¥¤¥º¤ÎÃ±°Ì¡£pt, px, em, % Åù");
+	define("_MB_XP2_CLOUD_NUMBER","¥¯¥é¥¦¥É¤ËÉ½¼¨¤¹¤ë¥¿¥°¿ô¡£[0] ¤ò»ØÄê¤¹¤ë¤ÈÁ´¥¿¥°¤òÉ½¼¨");
+	define("_MB_XP2_CLOUD_FORMAT","¥¯¥é¥¦¥ÉÉ½¼¨¤Î¥Õ¥©¡¼¥Þ¥Ã¥È");
+	define("_MB_XP2_CLOUD_ORDERBY","¥¿¥°¤ÎÉ½¼¨½ç¤È¤¹¤ë¹àÌÜ");
+	define("_MB_XP2_CLOUD_ORDER","¥½¡¼¥È½ç¡Ê¥é¥ó¥À¥à¤ÏWordPress2.5°Ê¾å¤Ç»ØÄê²ÄÇ½¡Ë");
+	define("_MB_XP2_CLOUD_EXCLUDE","½ü³°¤¹¤ë¥¿¥°¤Î term_id ¤ò¥«¥ó¥Þ¶èÀÚ¤ê¤Ç»ØÄê");
+	define("_MB_XP2_CLOUD_INCLUDE","É½¼¨ÂÐ¾Ý¤È¤¹¤ë¥¿¥°¤Î term_id ¤ò¥«¥ó¥Þ¶èÀÚ¤ê¤Ç»ØÄê¡¢¶õÇò»þ¤ÏÁ´¥¿¥°ÂÐ¾Ý");
+	define("_MB_XP2_RAND","¥é¥ó¥À¥à");
+	define("_MB_XP2_TAG_NAME","¥¿¥°Ì¾");
+	define("_MB_XP2_TAG_COUNT","»ÈÍÑ²ó¿ô");
+	
+// Categorie
+	define("_MB_XP2_CAT_ALL_STR","Á´¥«¥Æ¥´¥ê¤Ø¤Î¥ê¥ó¥¯¤ò¼¨¤¹Ê¸»ú¤ò»ØÄê¤·¤Þ¤¹¡£(¶õÇò»þ¤ÏÉ½¼¨¤Ê¤·¡Ë");
+	define("_MB_XP2_CAT_ORDERBY","¥«¥Æ¥´¥ê¤Î¥½¡¼¥È¹àÌÜ");
+	define("_MB_XP2_CAT_NAME","¥«¥Æ¥´¥êÌ¾");
+	define("_MB_XP2_CAT_COUNT","¥«¥Æ¥´¥ê¤ÎÅê¹Æ¿ô");
+	define("_MB_XP2_CAT_ID","¥«¥Æ¥´¥êID");
+	define("_MB_XP2_SHOW_LAST_UPDATE","³Æ¥«¥Æ¥´¥ê¤ËÂ°¤¹¤ëÅê¹Æ¤ÎºÇ½ª¹¹¿·Æü¤òÉ½¼¨¤¹¤ë¡£");
+	define("_MB_XP2_CAT_HIDE_EMPTY","Åê¹Æ¤Î¤Ê¤¤¥«¥Æ¥´¥ê¤òÈóÉ½¼¨¤Ë¤¹¤ë¡£");
+	define("_MB_XP2_DESC_FOR_TITLE","¥«¥Æ¥´¥ê¤Î³µÍ×¤ò¥ê¥ó¥¯¤Î title Â°À­¤ËÁÞÆþ¤¹¤ë¡£");
+	define("_MB_XP2_CAT_EXCLUDE","¥ê¥¹¥È¤«¤é½ü³°¤¹¤ë¥«¥Æ¥´¥êID ¤ò¥«¥ó¥Þ¶èÀÚ¤ê¤Ç¾º½ç¤Ë»ØÄê¡£");
+	define("_MB_XP2_CAT_INCLUDE","»ØÄê¤·¤¿¥«¥Æ¥´¥êID ¤Î¤ß¥ê¥¹¥È¤ËÉ½¼¨¡£¥«¥ó¥Þ¶èÀÚ¤ê¤Ç¾º½ç¤Ë»ØÄê");
+	define("_MB_XP2_CAT_HIERARCHICAL","¥µ¥Ö¥«¥Æ¥´¥ê¡¼¤òÉ½¼¨¤¹¤ë¤È¤­¡¢¥¤¥ó¥Ç¥ó¥È¡Ê»ú²¼¤²¡Ë¤¹¤ë¡£");
+	define("_MB_XP2_CAT_DEPTH","¥«¥Æ¥´¥ê³¬ÁØ¤Î¤É¤Î¥ì¥Ù¥ë¤Þ¤Ç¤ò¥ê¥¹¥È¤Ë½ÐÎÏ¤¹¤ë¤«¤ò»ØÄê¡£ (0=Á´¿Æ»Ò¥«¥Æ¥´¥ê¤ò½ÐÎÏ¡Ë");
+	
+// meta 
+	define("_MB_XP2_META_WP_LINK","WordPress¥µ¥¤¥È¤Ø¤Î¥ê¥ó¥¯¤òÉ½¼¨");
+	define("_MB_XP2_META_XOOPS_LINK","Xoops¥µ¥¤¥È¤Ø¤Î¥ê¥ó¥¯¤òÉ½¼¨");
+	define("_MB_XP2_META_POST_RSS","Åê¹Æ¤ÎRSS¤òÉ½¼¨");
+	define("_MB_XP2_META_COMMENT_RSS","¥³¥á¥ó¥È¤ÎRSS¤òÉ½¼¨");
+	define("_MB_XP2_META_POST_NEW","¿·µ¬Åê¹Æ¤òÉ½¼¨");
+	define("_MB_XP2_META_ADMIN","¥µ¥¤¥È¤Î´ÉÍý¤òÉ½¼¨");
+	define("_MB_XP2_META_README","ReadMe¤òÉ½¼¨");
+	define("_MB_XP2_META_CH_STYLE","É½¼¨¥â¡¼¥ÉÀÚÂØ¤òÉ½¼¨");
+
+// widget 
+	define("_MB_XP2_SELECT_WIDGET","É½¼¨¤¹¤ë¥¦¥£¥¸¥§¥Ã¥È¤òÁªÂò (Ê£¿ôÁªÂò²Ä)");
+	define("_MB_XP2_NO_WIDGET","WordPressÂ¦¤ÇÉ½¼¨¤¹¤ë¥¦¥£¥¸¥§¥Ã¥È¤¬ÁªÂò¤µ¤ì¤Æ¤¤¤Þ¤»¤ó");
+	define("_MB_XP2_WIDGET_TITLE_SHOW","Ã±ÆÈ¥¦¥£¥¸¥§¥Ã¥ÈÁªÂò»þ¡¢¥¦¥£¥¸¥§¥Ã¥È¤Î¥¿¥¤¥È¥ë¤òÉ½¼¨");
+	
+// custom 
+	define("_MB_XP2_ENHACED_FILE","¥«¥¹¥¿¥à¥Ö¥í¥Ã¥¯¤òÉ½¼¨¤¹¤ë¥Õ¥¡¥¤¥ëÌ¾¤òÆþÎÏ¤·¤Æ¤¯¤À¤µ¤¤¡£");
+	define("_MB_XP2_MAKE_ENHACED_FILE","¤³¤³¤Ç»ØÄê¤·¤¿¥Õ¥¡¥¤¥ë¤ò¥Æ¡¼¥ÞÆâ¤Î¥Ö¥í¥Ã¥¯¥Ç¥£¥ì¥¯¥È¥ê¡¼¤ËºîÀ®¤·¤Æ¤¯¤À¤µ¤¤¡£");
+
+// blog_list
+	define("_MB_XP2_BLOG_ORDERBY","¥Ö¥í¥°¤Î¥½¡¼¥È¹àÌÜ");
+	define("_MB_XP2_BLOG_NAME","¥Ö¥í¥°Ì¾");
+	define("_MB_XP2_BLOG_COUNT","¥Ö¥í¥°¤ÎÅê¹Æ¿ô");
+	define("_MB_XP2_BLOG_ID","¥Ö¥í¥°ID");
+// global_blog_list
+	define("_MB_XP2_SHOW_BLOGS_SELECT","É½¼¨¥Ö¥í¥°¤ÎÁªÂò");
+	define("_MB_XP2_EXCLUSION_BLOGS_SELECT","½ü³°¥Ö¥í¥°¤ÎÁªÂò");
+	define("_MB_XP2_BLOGS_DIRECT_SELECT","¥Ö¥í¥°ID¤òÄ¾ÀÜ»ØÄê(Ê£¿ô¤¢¤ë¾ì¹ç¤Ï¥«¥ó¥Þ¶èÀÚ¤ê¤ÇÆþÎÏ)");
+	define("_MB_XP2_SHOWN_FOR_EACH_BLOG","¥Ö¥í¥°Ëè¤ËÉ½¼¨¤¹¤ë¡£");
+
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/index.html
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/index.html	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/index.html	(revision 866)
@@ -0,0 +1,1 @@
+ <script>history.go(-1);</script>
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/mail_template/author_newcomment.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/mail_template/author_newcomment.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/mail_template/author_newcomment.tpl	(revision 866)
@@ -0,0 +1,6 @@
+{X_UNAME}¤µ¤ó¡¢¤³¤ó¤Ë¤Á¤Ï
+
+Åê¹Æ¼Ô[{XPRESS_AUTH_NAME}]¤µ¤ó¤Îµ­»ö[{XPRESS_POST_TITLE}]¤Ë¿·¤·¤¤¥³¥á¥ó¥È¤ÎÅê¹Æ¤¬¤¢¤ê¤Þ¤¹¡£
+
+¤³¤ÎÅê¹Æ¤ò¸«¤ë¤Ë¤Ï²¼µ­URL¤Ë¥¢¥¯¥»¥¹¤·¤Æ¤¯¤À¤µ¤¤¡§
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/mail_template/author_newpost.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/mail_template/author_newpost.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/mail_template/author_newpost.tpl	(revision 866)
@@ -0,0 +1,6 @@
+{X_UNAME}¤µ¤ó¡¢¤³¤ó¤Ë¤Á¤Ï
+
+Åê¹Æ¼Ô[{XPRESS_AUTH_NAME}]¤µ¤ó¤Îµ­»ö[{XPRESS_POST_TITLE}]¤ÎÅê¹Æ¤¬¤¢¤ê¤Þ¤¹¡£
+
+¤³¤ÎÅê¹Æ¤ò¸«¤ë¤Ë¤Ï²¼µ­URL¤Ë¥¢¥¯¥»¥¹¤·¤Æ¤¯¤À¤µ¤¤¡§
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/mail_template/category_newcomment.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/mail_template/category_newcomment.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/mail_template/category_newcomment.tpl	(revision 866)
@@ -0,0 +1,6 @@
+{X_UNAME}¤µ¤ó¡¢¤³¤ó¤Ë¤Á¤Ï
+
+¥«¥Æ¥´¥ê¡¼[{XPRESS_CAT_TITLE}]Æâ¤Ë¤¢¤ëµ­»ö[{XPRESS_POST_TITLE}]¤Ë¿·¤·¤¤¥³¥á¥ó¥È¤ÎÅê¹Æ¤¬¤¢¤ê¤Þ¤¹¡£
+
+¤³¤ÎÅê¹Æ¤ò¸«¤ë¤Ë¤Ï²¼µ­URL¤Ë¥¢¥¯¥»¥¹¤·¤Æ¤¯¤À¤µ¤¤¡§
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/mail_template/category_newpost.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/mail_template/category_newpost.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/mail_template/category_newpost.tpl	(revision 866)
@@ -0,0 +1,6 @@
+{X_UNAME}¤µ¤ó¡¢¤³¤ó¤Ë¤Á¤Ï
+
+¥«¥Æ¥´¥ê¡¼[{XPRESS_CAT_TITLE}]¤Ëµ­»ö"{XPRESS_POST_TITLE}"¤ÎÅê¹Æ¤¬¤¢¤ê¤Þ¤¹¡£
+
+¤³¤ÎÅê¹Æ¤ò¸«¤ë¤Ë¤Ï²¼µ­URL¤Ë¥¢¥¯¥»¥¹¤·¤Æ¤¯¤À¤µ¤¤¡§
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/mail_template/global_newcomment.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/mail_template/global_newcomment.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/mail_template/global_newcomment.tpl	(revision 866)
@@ -0,0 +1,6 @@
+{X_UNAME}¤µ¤ó¡¢¤³¤ó¤Ë¤Á¤Ï
+
+{X_MODULE}¥â¥¸¥å¡¼¥ë¤Ë¤ª¤¤¤Æµ­»ö¡Ö{XPRESS_POST_TITLE}¡×¤Ë¥³¥á¥ó¥È¤ÎÅê¹Æ¤¬¤¢¤ê¤Þ¤·¤¿¡£
+
+¤³¤ÎÅê¹Æ¤ò¸«¤ë¤Ë¤Ï²¼µ­URL¤Ë¥¢¥¯¥»¥¹¤·¤Æ¤¯¤À¤µ¤¤¡§
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/mail_template/global_newpost.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/mail_template/global_newpost.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/mail_template/global_newpost.tpl	(revision 866)
@@ -0,0 +1,6 @@
+{X_UNAME}¤µ¤ó¡¢¤³¤ó¤Ë¤Á¤Ï
+
+{X_MODULE}¥â¥¸¥å¡¼¥ë¤Ë¤ª¤¤¤Æ¿·µ¬Åê¹Æ¡Ö{XPRESS_POST_TITLE}¡×¤¬¤¢¤ê¤Þ¤·¤¿¡£
+
+¤³¤ÎÅê¹Æ¤ò¸«¤ë¤Ë¤Ï²¼µ­URL¤Ë¥¢¥¯¥»¥¹¤·¤Æ¤¯¤À¤µ¤¤¡§
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/mail_template/global_waiting.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/mail_template/global_waiting.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/mail_template/global_waiting.tpl	(revision 866)
@@ -0,0 +1,3 @@
+{X_UNAME}¤µ¤ó¡¢¤³¤ó¤Ë¤Á¤Ï
+
+{X_MODULE}¥â¥¸¥å¡¼¥ë¤Ë¤ª¤¤¤ÆÍ×¾µÇ§¤ÎÅê¹Æ¤¬¤¢¤ê¤Þ¤·¤¿¡£
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/mail_template/post_editpost.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/mail_template/post_editpost.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/mail_template/post_editpost.tpl	(revision 866)
@@ -0,0 +1,6 @@
+{X_UNAME}¤µ¤ó¡¢¤³¤ó¤Ë¤Á¤Ï
+{X_SITENAME}{X_MODULE}¤Î
+¡Ö{POST_TITLE}¡×¤Ë¤Æµ­»öÆâÍÆ¤ÎÊÑ¹¹¤¬¹Ô¤ï¤ì¤Æ¤¤¤Þ¤¹¡£
+
+¤³¤Îµ­»ö¤ò¸«¤ë¤Ë¤Ï²¼µ­URL¤Ë¥¢¥¯¥»¥¹¤·¤Æ¤¯¤À¤µ¤¤¡§
+{POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/mail_template/post_newcomment.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/mail_template/post_newcomment.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/mail_template/post_newcomment.tpl	(revision 866)
@@ -0,0 +1,6 @@
+{X_UNAME}¤µ¤ó¡¢¤³¤ó¤Ë¤Á¤Ï
+
+»ØÄê¤µ¤ì¤¿µ­»ö[{XPRESS_POST_TITLE}]¤Ë¿·¤·¤¤¥³¥á¥ó¥È¤ÎÅê¹Æ¤¬¤¢¤ê¤Þ¤¹¡£
+
+¤³¤ÎÅê¹Æ¤ò¸«¤ë¤Ë¤Ï²¼µ­URL¤Ë¥¢¥¯¥»¥¹¤·¤Æ¤¯¤À¤µ¤¤¡§
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/main.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/main.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/main.php	(revision 866)
@@ -0,0 +1,6 @@
+<?php
+if( ! defined( 'XP2_MAIN_LANG_INCLUDED' ) ) {
+	define( 'XP2_MAIN_LANG_INCLUDED' , 1 ) ;
+
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/modinfo.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/modinfo.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/japanese/modinfo.php	(revision 866)
@@ -0,0 +1,104 @@
+<?php
+if( ! defined( 'XP2_MODINFO_LANG_INCLUDED' ) ) {
+	define( 'XP2_MODINFO_LANG_INCLUDED' , 1 ) ;
+
+	// The name of this module admin menu
+	define("_MI_XP2_MENU_SYS_INFO","¥·¥¹¥Æ¥à¾ðÊó");
+	define("_MI_XP2_MENU_BLOCK_ADMIN","¥Ö¥í¥Ã¥¯¸¢¸Â");
+	define("_MI_XP2_MENU_BLOCK_CHECK","¥Ö¥í¥Ã¥¯¥Á¥§¥Ã¥¯");
+	define("_MI_XP2_MENU_WP_ADMIN","WordPress´ÉÍý");
+	define("_MI_XP2_MOD_ADMIN","¥â¥¸¥å¡¼¥ë´ÉÍý");
+
+	// The name of this module
+	define("_MI_XP2_NAME","¥Ö¥í¥°");
+
+	// A brief description of this module
+	define("_MI_XP2_DESC","WordPressME¤òXOOPS¥â¥¸¥å¡¼¥ë²½¤·¤¿¤â¤Î¤Ç¤¹¡£");
+
+	// Sub menu titles
+	define("_MI_XP2_MENU_POST_NEW","¿·µ¬Åê¹Æ");
+	define("_MI_XP2_MENU_EDIT","ÊÔ½¸");
+	define("_MI_XP2_MENU_ADMIN","WordPress´ÉÍý");
+	define("_MI_XP2_MENU_XPRESS","XPressMEÀßÄê");
+	define("_MI_XP2_MENU_TO_MODULE","¥â¥¸¥å¡¼¥ë¤Ø");
+	define("_MI_XP2_TO_UPDATE","¥¢¥Ã¥×¥Ç¡¼¥È");
+
+	// Module Config
+	define("_MI_LIBXML_PATCH","¥Ö¥í¥Ã¥¯¤Çlibxml2 ¥Ð¥°¤ËÂÐ¤¹¤ë¥Ñ¥Ã¥Á¤ò¶¯À©Å¬±þ¤¹¤ë");
+	define("_MI_LIBXML_PATCH_DESC","libxml2 Ver 2.70-2.72¤Ë¤Ï'<'¤È'>'¤¬¼è¤ê½ü¤«¤ì¤ë¥Ð¥°¤¬¤¢¤ê¤Þ¤¹¡£
+XPressME¤Ïlibxml2¤Î¥Ð¡¼¥¸¥ç¥ó¤ò¼«Æ°Åª¤Ë¼èÆÀ¤·¡¢É¬Í×¤Ç¤¢¤ì¤Ð¥Ñ¥Ã¥Á¤¬Å¬±þ¤µ¤ì¤Þ¤¹¡£
+XPressME¤¬libxml2¤Î¥Ð¡¼¥¸¥ç¥ó¤ò¼èÆÀ¤Ç¤­¤Ê¤¤¾ì¹ç¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤Ç¶¯À©Åª¤Ë¥Ñ¥Ã¥Á¤òÅ¬±þ¤µ¤»¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£");
+	
+	define("_MI_MEMORY_LIMIT","¥â¥¸¥å¡¼¥ë¤ËºÇÄã¸ÂÉ¬Í×¤Ê¥á¥â¥ê(MB)");
+	define("_MI_MEMORY_LIMIT_DESC","php.ini¤Îmemory_limitÃÍ¤¬¤³¤ÎÃÍ¤è¤ê¾®¤µ¤¤¤È¤­¡¢²ÄÇ½¤Ç¤¢¤ì¤Ðini_set('memory_limit', Value);¤ò¼Â¹Ô¤·memory_limit¤òºÆÀßÄê¤¹¤ë");
+
+	// Block Name
+	define("_MI_XP2_BLOCK_COMMENTS","ºÇ¶á¤Î¥³¥á¥ó¥È");
+	define("_MI_XP2_BLOCK_CONTENT","ºÇ¶á¤Îµ­»öÆâÍÆ");
+	define("_MI_XP2_BLOCK_POSTS","ºÇ¶á¤Îµ­»ö");
+	define("_MI_XP2_BLOCK_CALENDER","¥«¥ì¥ó¥À¡¼");
+	define("_MI_XP2_BLOCK_POPULAR","¿Íµ¤µ­»ö¥ê¥¹¥È");
+	define("_MI_XP2_BLOCK_ARCHIVE","¥¢¡¼¥«¥¤¥Ö");
+	define("_MI_XP2_BLOCK_AUTHORS","Åê¹Æ¼Ô");
+	define("_MI_XP2_BLOCK_PAGE","¥Ú¡¼¥¸");
+	define("_MI_XP2_BLOCK_SEARCH","¸¡º÷");
+	define("_MI_XP2_BLOCK_TAG","¥¿¥°¥¯¥é¥¦¥É");
+	define("_MI_XP2_BLOCK_CATEGORY","¥«¥Æ¥´¥ê¡¼");
+	define("_MI_XP2_BLOCK_META","¥á¥¿¾ðÊó");
+	define("_MI_XP2_BLOCK_SIDEBAR","¥µ¥¤¥É¥Ð¡¼");
+	define("_MI_XP2_BLOCK_WIDGET","¥¦¥£¥¸¥§¥Ã¥È");
+	define("_MI_XP2_BLOCK_ENHANCED","³ÈÄ¥¥Ö¥í¥Ã¥¯");
+	define("_MI_XP2_BLOCK_BLOG_LIST","¥Ö¥í¥°¥ê¥¹¥È");
+	define("_MI_XP2_BLOCK_GLOBAL_POSTS","ºÇ¶á¤Îµ­»ö(Á´¥Ö¥í¥°)");
+	define("_MI_XP2_BLOCK_GLOBAL_COMM","ºÇ¶á¤Î¥³¥á¥ó¥È(Á´¥Ö¥í¥°)");
+	define("_MI_XP2_BLOCK_GLOBAL_POPU","¿Íµ¤µ­»ö¥ê¥¹¥È(Á´¥Ö¥í¥°)");
+
+	// Notify Categories
+	define('_MI_XP2_NOTCAT_GLOBAL', '¥Ö¥í¥°Á´ÂÎ');
+	define('_MI_XP2_NOTCAT_GLOBALDSC', '¥Ö¥í¥°Á´ÂÎ¤Ë¤ª¤±¤ëÄÌÃÎ¥ª¥×¥·¥ç¥ó');
+	define('_MI_XP2_NOTCAT_CAT', 'ÁªÂòÃæ¤Î¥«¥Æ¥´¥ê');
+	define('_MI_XP2_NOTCAT_CATDSC', 'ÁªÂòÃæ¤Î¥«¥Æ¥´¥ê¤ËÂÐ¤¹¤ëÄÌÃÎ¥ª¥×¥·¥ç¥ó');
+	define('_MI_XP2_NOTCAT_AUTHOR', 'ÁªÂòÃæ¤ÎÅê¹Æ¼Ô'); 
+	define('_MI_XP2_NOTCAT_AUTHORDSC', 'ÁªÂòÃæ¤ÎÅê¹Æ¼Ô¤ËÂÐ¤¹¤ëÄÌÃÎ¥ª¥×¥·¥ç¥ó');
+	define('_MI_XP2_NOTCAT_POST', 'É½¼¨Ãæ¤Îµ­»ö'); 
+	define('_MI_XP2_NOTCAT_POSTDSC', 'É½¼¨Ãæ¤Îµ­»ö¤ËÂÐ¤¹¤ëÄÌÃÎ¥ª¥×¥·¥ç¥ó');
+
+	// Each Notifications
+	define('_MI_XP2_NOTIFY_GLOBAL_WAITING', '¾µÇ§ÂÔ¤Á');
+	define('_MI_XP2_NOTIFY_GLOBAL_WAITINGCAP', '¾µÇ§¤òÍ×¤¹¤ëÅê¹Æ¡¦ÊÔ½¸¤¬¹Ô¤ï¤ì¤¿¾ì¹ç¤ËÄÌÃÎ¤·¤Þ¤¹¡£´ÉÍý¼ÔÀìÍÑ');
+	define('_MI_XP2_NOTIFY_GLOBAL_WAITINGSBJ', '[{X_SITENAME}] {X_MODULE}: ¾µÇ§ÂÔ¤Á');
+
+	define('_MI_XP2_NOTIFY_GLOBAL_NEWPOST', 'µ­»öÅê¹Æ');
+	define('_MI_XP2_NOTIFY_GLOBAL_NEWPOSTCAP', '¤³¤Î¥Ö¥í¥°Á´ÂÎ¤Î¤¤¤º¤ì¤«¤Ëµ­»ö¤ÎÅê¹Æ¤¬¤¢¤Ã¤¿¾ì¹ç¤ËÄÌÃÎ¤¹¤ë');
+	define('_MI_XP2_NOTIFY_GLOBAL_NEWPOSTSBJ', '[{XPRESS_BLOG_NAME}]µ­»ö: "{XPRESS_POST_TITLE}"');
+
+	define('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENT', '¥³¥á¥ó¥ÈÅê¹Æ');
+	define('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENTCAP', '¤³¤Î¥Ö¥í¥°Á´ÂÎ¤Î¤¤¤º¤ì¤«¤Ë¥³¥á¥ó¥È¤ÎÅê¹Æ¤¬¤¢¤Ã¤¿¾ì¹ç¤ËÄÌÃÎ¤¹¤ë');
+	define('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENTSBJ', '[{XPRESS_BLOG_NAME}]¥³¥á¥ó¥È: "{XPRESS_POST_TITLE}"');
+
+	define('_MI_XP2_NOTIFY_CAT_NEWPOST', 'ÁªÂò¥«¥Æ¥´¥ê¤Ø¤Îµ­»öÅê¹Æ');
+	define('_MI_XP2_NOTIFY_CAT_NEWPOSTCAP', '¤³¤Î¥«¥Æ¥´¥ê¤Ëµ­»öÅê¹Æ¤¬¤¢¤Ã¤¿¾ì¹ç¤ËÄÌÃÎ¤¹¤ë');
+	define('_MI_XP2_NOTIFY_CAT_NEWPOSTSBJ', '[{XPRESS_BLOG_NAME}]µ­»ö: "{XPRESS_POST_TITLE}" (¾ò·ï:¥«¥Æ¥´¥ê="{XPRESS_CAT_TITLE}")');
+
+	define('_MI_XP2_NOTIFY_CAT_NEWCOMMENT', 'ÁªÂò¥«¥Æ¥´¥ê¤Ø¤Î¥³¥á¥ó¥ÈÅê¹Æ');
+	define('_MI_XP2_NOTIFY_CAT_NEWCOMMENTCAP', '¤³¤Î¥«¥Æ¥´¥ê¤Ë¥³¥á¥ó¥ÈÅê¹Æ¤¬¤¢¤Ã¤¿¾ì¹ç¤ËÄÌÃÎ¤¹¤ë');
+	define('_MI_XP2_NOTIFY_CAT_NEWCOMMENTSBJ', '[{XPRESS_BLOG_NAME}]¥³¥á¥ó¥È: (µ­»ö"{XPRESS_POST_TITLE}") (¾ò·ï:¥«¥Æ¥´¥ê="{XPRESS_CAT_TITLE}")');
+
+	define('_MI_XP2_NOTIFY_AUT_NEWPOST', 'ÁªÂòÅê¹Æ¼Ô¤Ë¤è¤ëµ­»öÅê¹Æ');
+	define('_MI_XP2_NOTIFY_AUT_NEWPOSTCAP', '¤³¤ÎÅê¹Æ¼Ô¤«¤éµ­»öÅê¹Æ¤¬¤¢¤Ã¤¿¾ì¹ç¤ËÄÌÃÎ¤¹¤ë');
+	define('_MI_XP2_NOTIFY_AUT_NEWPOSTSBJ', '[{XPRESS_BLOG_NAME}]µ­»ö: "{XPRESS_POST_TITLE}" (¾ò·ï:Åê¹Æ¼Ô="{XPRESS_AUTH_NAME}")');
+
+	define('_MI_XP2_NOTIFY_AUT_NEWCOMMENT', 'ÁªÂòÅê¹Æ¼Ôµ­»ö¤Ø¤Î¥³¥á¥ó¥ÈÅê¹Æ');
+	define('_MI_XP2_NOTIFY_AUT_NEWCOMMENTCAP', '¤³¤ÎÅê¹Æ¼Ô¤Ë¤è¤ëµ­»ö¤Ø¥³¥á¥ó¥ÈÅê¹Æ¤¬¤¢¤Ã¤¿¾ì¹ç¤ËÄÌÃÎ¤¹¤ë');
+	define('_MI_XP2_NOTIFY_AUT_NEWCOMMENTSBJ', '[{XPRESS_BLOG_NAME}]¥³¥á¥ó¥È: (µ­»ö"{XPRESS_POST_TITLE}") (¾ò·ï:Åê¹Æ¼Ô="{XPRESS_AUTH_NAME}")');
+
+	define('_MI_XP2_NOTIFY_POST_EDITPOST', 'µ­»öÊÑ¹¹');
+	define('_MI_XP2_NOTIFY_POST_EDITPOSTCAP', 'É½¼¨Ãæ¤Îµ­»ö¤ËÊÑ¹¹¤¬¤¢¤Ã¤¿¾ì¹ç¤ËÄÌÃÎ¤¹¤ë');
+	define('_MI_XP2_NOTIFY_POST_EDITPOSTSBJ', '[{XPRESS_BLOG_NAME}]µ­»ö: "{XPRESS_POST_TITLE}"ÊÑ¹¹ (¾ò·ï:µ­»ö»ØÄê)');
+
+	define('_MI_XP2_NOTIFY_POST_NEWCOMMENT', 'µ­»ö¤Ø¤Î¥³¥á¥ó¥ÈÅê¹Æ');
+	define('_MI_XP2_NOTIFY_POST_NEWCOMMENTCAP', 'É½¼¨Ãæ¤Îµ­»ö¤Ë¥³¥á¥ó¥È¤ÎÅê¹Æ¤¬¤¢¤Ã¤¿¾ì¹ç¤ËÄÌÃÎ¤¹¤ë');
+	define('_MI_XP2_NOTIFY_POST_NEWCOMMENTSBJ', '[{XPRESS_BLOG_NAME}]¥³¥á¥ó¥È: (µ­»ö"{XPRESS_POST_TITLE}") (¾ò·ï:µ­»ö»ØÄê)');
+
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/admin.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/admin.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/admin.php	(revision 866)
@@ -0,0 +1,44 @@
+<?php /* Brazilian Portuguese Translation by Marcelo Yuji Himoro <http://yuji.ws> */
+if( ! defined( 'XP2_ADMIN_LANG_INCLUDED' ) ) {
+	define( 'XP2_ADMIN_LANG_INCLUDED' , 1 ) ;
+	
+// altsys
+	define('_MD_A_MYMENU_MYTPLSADMIN','Templates');
+	define('_MD_A_MYMENU_MYBLOCKSADMIN','Blocos');
+	define('_MD_A_MYMENU_MYLANGADMIN','Idiomas');
+	define('_MD_A_MYMENU_MYPREFERENCES','Preferências');
+
+	define("_AM_XP2_SYSTEM_INFO","Informações de sistema");
+	define("_AM_XP2_XOOPS_CONFIG_INFO","Valores do XOOPS obtidos pelo XPressME");
+	define("_AM_XP2_PLUGIN","Plug-ins ativos no WordPress");
+	define("_AM_XP2_BLOCK_STATS","Estado dos blocos");
+	define("_AM_XP2_STATS","Estatísticas");
+	define("_AM_XP2_CATEGORIES","N° de categorias");
+	define("_AM_XP2_ARTICLES","N° de posts");
+	define("_AM_XP2_AUTHORS","N° de autores");
+	define("_AM_XP2_SYS_REPORT","Exibir em forma de relatório");
+	define("_AM_XP2_SYS_NORMAL","Exibir em formato normal");
+	define("_AM_XP2_BLOCK_OPTIONS","Bloqueie Opções");
+	define("_AM_XP2_GROUP_ROLE","Se agrupe Papel");
+
+// Block Check	
+	define("_AM_XP2_BLOCK_OK","Blocos funcionando corretamente.");
+	define("_AM_XP2_BLOCK_NG","Há blocos com problemas.");
+	define("_AM_XP2_BLOCK_REPAIR_HOWTO","Siga os procedimentos abaixo para consertar os blocos.");
+	define("_AM_XP2_BLOCK_REPAIR_STEP1","1° passo");
+	define("_AM_XP2_BLOCK_REMOVE","Excluir blocos");
+	define("_AM_XP2_BLOCK_REMOVE_NOTE","ATENÇÃO: os blocos serão <b>excluídos</b> do banco de dados.");
+	define("_AM_XP2_BLOCK_REPAIR_STEP2","2° passo");
+	define("_AM_XP2_BLOCK_UPDATE","Atualize o módulo para que eles sejam reconstruídos.");
+	define("_AM_XP2_TO_MODELE_UPDATE","Atualizar módulo");
+	define("_AM_XP2_BLOCK_REPAIR_STEP3","3° passo");
+	define("_AM_XP2_BLOCK_ADMIN_SETTING","Reconfigure a ordem e as permissões de acesso dos blocos.");
+	define("_AM_XP2_BLOCK_TO_SETTING","Ir para as configurações dos blocos");
+	define("_AM_XP2_USER_META_KEY","Meta-dados do usuário");
+	define("_AM_XP2_USER_META_NONE","Não há meta-chave para este nível de usuário.");
+	define("_AM_XP2_USER_META_ERR","Há %d meta-chaves com o prefixo %s.");
+	define("_AM_XP2_USER_META_OK","Meta-dados do usuário funcionando corretamente.");	
+	define("_AM_XP2_NG_BLOCK_REMOVE","Excluir bloco anormal mesa");
+	define("_AM_XP2_BLOCK_OR","OU");
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/blocks.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/blocks.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/blocks.php	(revision 866)
@@ -0,0 +1,158 @@
+<?php /* Brazilian Portuguese Translation by Marcelo Yuji Himoro <http://yuji.ws> */
+if( ! defined( 'XP2_BLOCK_LANG_INCLUDED' ) ) {
+	define( 'XP2_BLOCK_LANG_INCLUDED' , 1 ) ;
+// general	
+	define("_MB_XP2_COUNT",'N° de leituras');
+	define("_MB_XP2_COUNT_ZERO_ALL",'N° de leituras (0 = exibir tudo)');
+	define("_MB_XP2_LENGTH","Tamanho");
+	define("_MB_XP2_ALL","Tudo");
+	define("_MB_XP2_BLOCK_CACHE_ERR","O cache ainda não existe.<br />Acesse o módulo %s primeiro.");
+	define("_MB_XP2_SHOW_NUM_OF_POST","N° de posts a exibir");
+	define("_MB_XP2_SHOW_DROP_DOWN","Exibir lista selecionável");
+	define("_MB_XP2_HIDE_EMPTY","Excluir da lista categorias vazias");
+	define("_MB_XP2_TITLE","Título");
+	define("_MB_XP2_PUBLISH_DATE","Data de publicação");
+	define("_MB_XP2_SORT_ORDER","Ordem de exibição");
+	define("_MB_XP2_SORT_ASC","Crescente");
+	define("_MB_XP2_SORT_DESC","Decrescente");
+	define("_MB_XP2_SHOW_DATE_SELECT","Exibir data");
+	define("_MB_XP2_SHOW_DATE_NONE","Não exibir");
+	define("_MB_XP2_SHOW_POST_DATE","Exibir data de publicação");
+	define("_MB_XP2_SHOW_MODIFY_DATE","Exibir data de atualização");
+	define("_MB_XP2_SHOW_DATE","Exibir data");
+	define("_MB_XP2_DATE_FORMAT","Formato da data (deixe em branco para utilizar configurações do WordPress)");
+	define("_MB_XP2_TIME_FORMAT","Formato da hora (deixe em branco para utilizar configurações do WordPress)");
+	define("_MB_XP2_FLAT","Plano");
+	define("_MB_XP2_LIST","Lista");
+	define("_MB_XP2_FILE_NAME","Nome do arquivo");
+	define("_MB_XP2_THISTEMPLATE","Modelo");
+	define("_MB_XP2_NO_JSCRIPT","Javascript deveria ser habilite por um browser.");
+	define("_MB_XP2_CACHE_NOT_WRITABLE","Diretório de Cache não é nenhum writable.");
+	
+// recent comment block	
+	define("_MB_XP2_COMM_DISP_AUTH","Exibir autor do comentário");
+	define("_MB_XP2_COMM_DISP_TYPE","Exibir tipo de comentário");
+	define("_MB_XP2_COM_TYPE","Selecione o tipo de comentário a ser exibido");
+	define("_MB_XP2_COMMENT","Comentário");
+	define("_MB_XP2_TRUCKBACK","Trackback");
+	define("_MB_XP2_PINGBACK","Pingback");
+	
+// recent posts content
+	define("_MB_XP2_P_EXCERPT","Exibir post pelo excerto.");
+	define("_MB_XP2_P_EXCERPT_SIZE","N° máx. de caracteres do post");
+	define("_MB_XP2_CATS_SELECT","Selecionar a(s) categoria(s)");
+	define("_MB_XP2_TAGS_SELECT","Selecionar a(s) tag(s) (separadas por ,)");
+	define("_MB_XP2_DAY_SELECT","Select Post Date");
+	define("_MB_XP2_NONE","None");
+	define("_MB_XP2_TODAY","Hoje");
+	define("_MB_XP2_LATEST","Latest");
+	define("_MB_XP2_DAY_BETWEEN","Entre");
+	define("_MB_XP2_DAYS_AND","e");
+	define("_MB_XP2_DAYS_AGO","dias atrás");
+	define("_MB_XP2_CATS_DIRECT_SELECT","Contribuição direta de ID(Vírgula separou lista de categorie ID)");
+	
+// recent posts list	
+	define("_MB_XP2_REDNEW_DAYS","N° de dias para exibir sinal vermelho de \"NOVO\"");
+	define("_MB_XP2_GREENNEW_DAYS","N° de dias para exibir sinal verde de \"NOVO\"");	
+
+// calender		
+	define("_MB_XP2_SUN_COLOR","Cor do domingo");
+	define("_MB_XP2_SAT_COLOR","Cor do sábado");
+	
+// popular		
+	define("_MB_XP2_MONTH_RANGE","Exibir posts de um mês específico (0 = mostrar tudo)");
+	
+// archives
+	define("_MB_XP2_ARC_TYPE","Tipos de arquivo");
+	define("_MB_XP2_ARC_YEAR","Arquivo por ano");
+	define("_MB_XP2_ARC_MONTH","Arquivo por mês");
+	define("_MB_XP2_ARC_WEEK","Arquivo por semana");
+	define("_MB_XP2_ARC_DAY","Arquivo por dia");
+	define("_MB_XP2_ARC_POST","Arquivo por post");
+
+// authors	
+	define("_MB_XP2_EXCLUEDEADMIN","Excluir administrador da lista");
+	define("_MB_XP2_SHOW_FULLNAME","Exibir nome completo do autor");
+
+// page 	
+	define("_MB_XP2_PAGE_ORDERBY","Ordenar páginas por");
+	define("_MB_XP2_PAGE_TITLE","Título");
+	define("_MB_XP2_PAGE_MENU_ORDER","Páginas");
+	define("_MB_XP2_PAGE_POST_DATE","Data de criação");
+	define("_MB_XP2_PAGE_POST_MODIFY","Data de atualização");
+	define("_MB_XP2_PAGE_ID","ID da página");
+	define("_MB_XP2_PAGE_AUTHOR","ID do autor");
+	define("_MB_XP2_PAGE_SLUG","Slug da página");
+	define("_MB_XP2_PAGE_EXCLUDE","Excluir páginas por ID (separados por ,)");
+	define("_MB_XP2_PAGE_EXCLUDE_TREE","Excluir páginas por ID e todas as suas sub-páginas (separados por ,)");
+	define("_MB_XP2_PAGE_INCLUDE","Exibir apenas as páginas indicadas por ID (separados por ,)");
+	define("_MB_XP2_PAGE_DEPTH","Nível máx. de sub-páginas a serem exibidas na lista (0 = todos os níveis)");
+	define("_MB_XP2_PAGE_CHILD_OF","Nível máx. de sub-páginas a serem exibidas para páginas indicadas por ID (0 = todos os níveis)");
+	define("_MB_XP2_PAGE_HIERARCHICAL","Identar quando mostrar sub-páginas.");
+	define("_MB_XP2_PAGE_META_KEY","Exibir apenas páginas contendo a seguinte chave de campo personalizado");
+	define("_MB_XP2_PAGE_META_VALUE","Exibir apenas páginas contendo o seguinte valor de campo personalizad");
+	
+// Search
+	define("_MB_XP2_SEARCH_LENGTH","Tamanho da caixa de pesquisa");
+	
+// tag cloud
+	define("_MB_XP2_CLOUD_SMALLEST",'Tamanho mínimo da fonte utilizada para exibir as tags');
+	define("_MB_XP2_CLOUD_LARGEST",'Tamanho máximo da fonte utilizada para exibir as tag');
+	define("_MB_XP2_CLOUD_UNIT","Unidades: pt, px, em, %, etc.");
+	define("_MB_XP2_CLOUD_NUMBER","N° máx. de tags a serem exibidas na nuvem. (0 = mostrar tudo)");
+	define("_MB_XP2_CLOUD_FORMAT","Formato de exibição da nuvem");
+	define("_MB_XP2_CLOUD_ORDERBY","Ordenar tags por");
+	define("_MB_XP2_CLOUD_ORDER","Ordem de exibição (randômico apenas para WordPress 2.5 ou superior)");
+	define("_MB_XP2_CLOUD_EXCLUDE","Excluir tags pelo term_id (separado por ,)");
+	define("_MB_XP2_CLOUD_INCLUDE","Exibir apenas as tags indicadas por term_id (separados por ,; deixe em branco para todas)");
+	define("_MB_XP2_RAND","randômico");
+	define("_MB_XP2_TAG_NAME","nome");
+	define("_MB_XP2_TAG_COUNT","n° de posts");
+	
+// Categorie
+	define("_MB_XP2_CAT_ALL_STR","Texto do link para todas as categorias (deixe em branco para não exibir)");
+	define("_MB_XP2_CAT_ORDERBY","Ordenar categorias por");
+	define("_MB_XP2_CAT_NAME","nome");
+	define("_MB_XP2_CAT_COUNT","n° de posts");
+	define("_MB_XP2_CAT_ID","ID");
+	define("_MB_XP2_SHOW_LAST_UPDATE","Exibir para cada categoria data de último post atuaizado");
+	define("_MB_XP2_CAT_HIDE_EMPTY","Ocultar categorias vazias");
+	define("_MB_XP2_DESC_FOR_TITLE","Exibir descrição da categoria no título");
+	define("_MB_XP2_CAT_EXCLUDE","Excluir categorias por ID (seaparadas por ,)");
+	define("_MB_XP2_CAT_INCLUDE","Exibir apenas as categorias indicdas por ID (separadas por ,)");
+	define("_MB_XP2_CAT_HIERARCHICAL","Identar quando exibir sub-categorias.");
+	define("_MB_XP2_CAT_DEPTH","Nível max. de sub-categorias a seerem exibidas na lista (0 = todos os níveis）");
+	
+// meta 
+	define("_MB_XP2_META_WP_LINK","Exibir link para o site do WordPress");
+	define("_MB_XP2_META_XOOPS_LINK","Exibir link para o site do XOOPS");
+	define("_MB_XP2_META_POST_RSS","Exibir RSS dos posts");
+	define("_MB_XP2_META_COMMENT_RSS","Exibir RSS dos comentários");
+	define("_MB_XP2_META_POST_NEW","Exibir \"Novo post\"");
+	define("_MB_XP2_META_ADMIN","Exibir \"Administração do site\"");
+	define("_MB_XP2_META_README","Exibir leia-me");
+	define("_MB_XP2_META_CH_STYLE","Exibir seleção de modo de exibição");
+
+// widget 
+	define("_MB_XP2_SELECT_WIDGET","Selecione os widgets a serem exibidos");
+	define("_MB_XP2_NO_WIDGET","Nenhum widget selecionado no WordPress.");
+	define("_MB_XP2_WIDGET_TITLE_SHOW","Caso apenas um widget seja selecionado, exibir título do widget");
+	
+	
+// custom 
+	define("_MB_XP2_ENHACED_FILE","Nome do rquivo a ser exibido no bloco personalizado.");
+	define("_MB_XP2_MAKE_ENHACED_FILE","Crie o arquivo no diretório de blocos dentro do diretório do tema.");
+
+// blog_list
+	define("_MB_XP2_BLOG_ORDERBY","Ordenar blogs por");
+	define("_MB_XP2_BLOG_NAME","nome");
+	define("_MB_XP2_BLOG_COUNT","n° de posts");
+	define("_MB_XP2_BLOG_ID","ID");
+// global_blog_list
+	define("_MB_XP2_SHOW_BLOGS_SELECT","Selecione Exibir Blogs");
+	define("_MB_XP2_EXCLUSION_BLOGS_SELECT","Selecione Blogs Exclusão");
+	define("_MB_XP2_BLOGS_DIRECT_SELECT","Entrada direta de ID (lista separada por vírgulas de ID blog)");
+	define("_MB_XP2_SHOWN_FOR_EACH_BLOG","Mostrados para cada blog");
+
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/index.html
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/index.html	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/index.html	(revision 866)
@@ -0,0 +1,1 @@
+ <script>history.go(-1);</script>
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/mail_template/author_newcomment.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/mail_template/author_newcomment.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/mail_template/author_newcomment.tpl	(revision 866)
@@ -0,0 +1,6 @@
+Olá, {X_UNAME}.
+
+Um novo comentário foi enviado no post {XPRESS_POST_TITLE} de {XPRESS_AUTH_NAME}.
+
+Clique no link abaixo para ver o comentário:
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/mail_template/author_newpost.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/mail_template/author_newpost.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/mail_template/author_newpost.tpl	(revision 866)
@@ -0,0 +1,6 @@
+Olá, {X_UNAME}.
+
+Um novo post ({XPRESS_POST_TITLE}) foi publicado por {XPRESS_AUTH_NAME}.
+
+Clique no link abaixo para ver o post:
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/mail_template/category_newcomment.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/mail_template/category_newcomment.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/mail_template/category_newcomment.tpl	(revision 866)
@@ -0,0 +1,6 @@
+Olá, {X_UNAME}.
+
+Um novo comentário foi enviado no post {XPRESS_POST_TITLE}, categoria {XPRESS_CAT_TITLE}.
+
+Clique no link abaixo para ver o post:
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/mail_template/category_newpost.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/mail_template/category_newpost.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/mail_template/category_newpost.tpl	(revision 866)
@@ -0,0 +1,6 @@
+Olá, {X_UNAME}.
+
+Um novo post "{XPRESS_POST_TITLE}" foi publicado na categoria {XPRESS_CAT_TITLE}.
+
+Clique no link abaixo para ver o post:
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/mail_template/global_newcomment.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/mail_template/global_newcomment.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/mail_template/global_newcomment.tpl	(revision 866)
@@ -0,0 +1,6 @@
+Olá, {X_UNAME}.
+
+Um novo comentário foi enviado no post {XPRESS_POST_TITLE} em {X_MODULE}.
+
+Clique no link abaixo para ver o post:
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/mail_template/global_newpost.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/mail_template/global_newpost.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/mail_template/global_newpost.tpl	(revision 866)
@@ -0,0 +1,6 @@
+Olá, {X_UNAME}.
+
+Um novo post foi publicado em {X_MODULE}.
+
+Clique no link abaixo para ver o post:
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/mail_template/global_waiting.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/mail_template/global_waiting.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/mail_template/global_waiting.tpl	(revision 866)
@@ -0,0 +1,3 @@
+Olá, {X_UNAME}.
+
+Há itens aguardando moderação no módulo {X_MODULE}.
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/mail_template/index.html
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/mail_template/index.html	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/mail_template/index.html	(revision 866)
@@ -0,0 +1,1 @@
+ <script>history.go(-1);</script>
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/mail_template/post_editpost.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/mail_template/post_editpost.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/mail_template/post_editpost.tpl	(revision 866)
@@ -0,0 +1,6 @@
+Olá, {X_UNAME}.
+
+O post "{POST_TITLE}" em {X_SITENAME} foi atualizado.
+
+Clique no link abaixo para ver o post:
+{POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/mail_template/post_newcomment.tpl
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/mail_template/post_newcomment.tpl	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/mail_template/post_newcomment.tpl	(revision 866)
@@ -0,0 +1,6 @@
+Olá, {X_UNAME}.
+
+Um novo comentário foi publicado no post [{XPRESS_POST_TITLE}].
+
+Clique no link abaixo para ver o post:
+{XPRESS_POST_URL}
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/main.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/main.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/main.php	(revision 866)
@@ -0,0 +1,6 @@
+<?php
+if( ! defined( 'XP2_MAIN_LANG_INCLUDED' ) ) {
+	define( 'XP2_MAIN_LANG_INCLUDED' , 1 ) ;
+
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/modinfo.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/modinfo.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/language/pt-br_utf8/modinfo.php	(revision 866)
@@ -0,0 +1,104 @@
+<?php /* Brazilian Portuguese Translation by Marcelo Yuji Himoro <http://yuji.ws> */
+if( ! defined( 'XP2_MODINFO_LANG_INCLUDED' ) ) {
+	define( 'XP2_MODINFO_LANG_INCLUDED' , 1 ) ;
+
+	// The name of this module admin menu
+	define("_MI_XP2_MENU_SYS_INFO","Informações de sistema");
+	define("_MI_XP2_MENU_BLOCK_ADMIN","Blocos/permissões");
+	define("_MI_XP2_MENU_BLOCK_CHECK","Checar blocos");
+	define("_MI_XP2_MENU_WP_ADMIN","Administração do WordPress");
+	define("_MI_XP2_MOD_ADMIN","Administração do módulo");
+
+	// The name of this module
+	define("_MI_XP2_NAME","Blog");
+
+	// A brief description of this module
+	define("_MI_XP2_DESC","Port do WordPressME para o XOOPS.");
+
+	// Sub menu titles
+	define("_MI_XP2_MENU_POST_NEW","Novo post");
+	define("_MI_XP2_MENU_EDIT","Editar post");
+	define("_MI_XP2_MENU_ADMIN","Administração do WordPress");
+	define("_MI_XP2_MENU_XPRESS","Configurações do XPressME");
+	define("_MI_XP2_MENU_TO_MODULE","Ir para o módulo");
+	define("_MI_XP2_TO_UPDATE","atualização");
+
+	// Module Config
+	define("_MI_LIBXML_PATCH","Force um remendo para o bicho de libxml2 em um bloco");
+	define("_MI_LIBXML_PATCH_DESC","libxml2 Ver 2.70-2.72 têm o bicho que' < ' e' > ' é afastado. 
+XPressME adquire uma versão de libxml2 automaticamente, e é adaptado um remendo se for necessário. 
+Quando XPressME não puder adquirir uma versão de libxml2, o senhor pode deixar um remendo isto ajustar violentamente com esta opção.");
+	
+	define("_MI_MEMORY_LIMIT","Tamanho de memória (MB) pelo menos necessário para módulo");
+	define("_MI_MEMORY_LIMIT_DESC","php.iniのmemory_limit値がこの値より小さいとき、可能であればini_set('memory_limit', Value);を実行しmemory_limitを再設定する");
+
+	// Block Name
+	define("_MI_XP2_BLOCK_COMMENTS","Comentários recentes");
+	define("_MI_XP2_BLOCK_CONTENT","Posts recentes com conteúdo");
+	define("_MI_XP2_BLOCK_POSTS","Posts recentes");
+	define("_MI_XP2_BLOCK_CALENDER","Calendário");
+	define("_MI_XP2_BLOCK_POPULAR","Posts mais lidos");
+	define("_MI_XP2_BLOCK_ARCHIVE","Arquivo");
+	define("_MI_XP2_BLOCK_AUTHORS","Autores");
+	define("_MI_XP2_BLOCK_PAGE","Páginas");
+	define("_MI_XP2_BLOCK_SEARCH","Pesquisa");
+	define("_MI_XP2_BLOCK_TAG","Nuvem de tags");
+	define("_MI_XP2_BLOCK_CATEGORY","Categorias");
+	define("_MI_XP2_BLOCK_META","Meta");
+	define("_MI_XP2_BLOCK_SIDEBAR","Barra lateral");
+	define("_MI_XP2_BLOCK_WIDGET","Widgets");
+	define("_MI_XP2_BLOCK_ENHANCED","Bloco avançado");
+	define("_MI_XP2_BLOCK_BLOG_LIST","Blogs Lista");
+	define("_MI_XP2_BLOCK_GLOBAL_POSTS","Posts recentes(Todo o blog)");
+	define("_MI_XP2_BLOCK_GLOBAL_COMM","Comentários recentes(Todo o blog)");
+	define("_MI_XP2_BLOCK_GLOBAL_POPU","Posts mais lidos(Todo o blog)");
+
+	// Notify Categories
+	define('_MI_XP2_NOTCAT_GLOBAL', 'TUDO');
+	define('_MI_XP2_NOTCAT_GLOBALDSC', 'Opções de aviso para o blog inteiro.');
+	define('_MI_XP2_NOTCAT_CAT', 'Categoria selecionada');
+	define('_MI_XP2_NOTCAT_CATDSC', 'Opções de aviso para a categoria selecionada.');
+	define('_MI_XP2_NOTCAT_AUTHOR', 'Autor selecionado'); 
+	define('_MI_XP2_NOTCAT_AUTHORDSC', 'Opções de aviso para o autor selecionado.');
+	define('_MI_XP2_NOTCAT_POST', 'Post atual'); 
+	define('_MI_XP2_NOTCAT_POSTDSC', 'Opções de aviso para o post atual.');
+
+	// Each Notifications
+	define('_MI_XP2_NOTIFY_GLOBAL_WAITING', 'Aguardando moderação');
+	define('_MI_XP2_NOTIFY_GLOBAL_WAITINGCAP', 'Avisos sobre posts e edições que necessitam moderação (para administradores).');
+	define('_MI_XP2_NOTIFY_GLOBAL_WAITINGSBJ', '[{X_SITENAME}] {X_MODULE}: aguardando moderação');
+
+	define('_MI_XP2_NOTIFY_GLOBAL_NEWPOST', 'Novo post');
+	define('_MI_XP2_NOTIFY_GLOBAL_NEWPOSTCAP', 'Aviso sobre novo post publicados no blog.');
+	define('_MI_XP2_NOTIFY_GLOBAL_NEWPOSTSBJ', '[Post em {XPRESS_BLOG_NAME}]: "{XPRESS_POST_TITLE}"');
+
+	define('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENT', 'Novo comentário');
+	define('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENTCAP', 'Aviso sobre novo comentário postado no blog.');
+	define('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENTSBJ', '[{XPRESS_BLOG_NAME}]コメント: "{XPRESS_POST_TITLE}"');
+
+	define('_MI_XP2_NOTIFY_CAT_NEWPOST', 'Novo post em categoria');
+	define('_MI_XP2_NOTIFY_CAT_NEWPOSTCAP', 'Aviso sobre novo post publicados nesta categoria.');
+	define('_MI_XP2_NOTIFY_CAT_NEWPOSTSBJ', '[Post em {XPRESS_BLOG_NAME}]: "{XPRESS_POST_TITLE}" (CATEGORIA="{XPRESS_CAT_TITLE}")');
+
+	define('_MI_XP2_NOTIFY_CAT_NEWCOMMENT', 'Novo comentário em categoria');
+	define('_MI_XP2_NOTIFY_CAT_NEWCOMMENTCAP', 'Aviso sobre novo comentário nesta categoria.');
+	define('_MI_XP2_NOTIFY_CAT_NEWCOMMENTSBJ', '[Comentário em {XPRESS_BLOG_NAME}]: "{XPRESS_POST_TITLE}" (CATEGORIA="{XPRESS_CAT_TITLE}")');
+
+	define('_MI_XP2_NOTIFY_AUT_NEWPOST', 'Novo post de autor');
+	define('_MI_XP2_NOTIFY_AUT_NEWPOSTCAP', 'Aviso sobre novo post deste autor.');
+	define('_MI_XP2_NOTIFY_AUT_NEWPOSTSBJ', '[Post em {XPRESS_BLOG_NAME}]: "{XPRESS_POST_TITLE}" (AUTOR="{XPRESS_AUTH_NAME}")');
+
+	define('_MI_XP2_NOTIFY_AUT_NEWCOMMENT', 'Novo comentário para autor');
+	define('_MI_XP2_NOTIFY_AUT_NEWCOMMENTCAP', 'Aviso sobre novo comentário em post deste autor.');
+	define('_MI_XP2_NOTIFY_AUT_NEWCOMMENTSBJ', '[Comentário em {XPRESS_BLOG_NAME}]: "{XPRESS_POST_TITLE}" (AUTOR="{XPRESS_AUTH_NAME}")');
+
+	define('_MI_XP2_NOTIFY_POST_EDITPOST', 'Atualização de post');
+	define('_MI_XP2_NOTIFY_POST_EDITPOSTCAP', 'Aviso sobre atualização no post atual.');
+	define('_MI_XP2_NOTIFY_POST_EDITPOSTSBJ', '[Post em {XPRESS_BLOG_NAME}]: Atualização de "{XPRESS_POST_TITLE}" (ACOMPANHANDO)');
+
+	define('_MI_XP2_NOTIFY_POST_NEWCOMMENT', 'Comentário em post');
+	define('_MI_XP2_NOTIFY_POST_NEWCOMMENTCAP', 'Aviso sobre comentário no post atual.');
+	define('_MI_XP2_NOTIFY_POST_NEWCOMMENTSBJ', '[Comentário em {XPRESS_BLOG_NAME}]: "{XPRESS_POST_TITLE}" (ACOMPANHANDO)');
+
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/module_icon.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/module_icon.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/module_icon.php	(revision 866)
@@ -0,0 +1,30 @@
+<?php
+$mydirpath = dirname(__FILE__);
+$mydirname = basename($mydirpath);
+$icon_cache_limit = 3600 ; // default 3600sec == 1hour
+
+session_cache_limiter('public');
+header("Expires: ".date('r',intval(time()/$icon_cache_limit)*$icon_cache_limit+$icon_cache_limit));
+header("Cache-Control: public, max-age=$icon_cache_limit");
+header("Last-Modified: ".date('r',intval(time()/$icon_cache_limit)*$icon_cache_limit));
+header("Content-type: image/png");
+
+$icon_fullpath = $mydirpath.'/module_icon.png' ;
+
+if(function_exists( 'imagecreatefrompng' ) && function_exists( 'imagecolorallocate' ) && function_exists( 'imagestring' ) && function_exists( 'imagepng' ) ) {
+
+	$im = imagecreatefrompng( $icon_fullpath ) ;
+
+	$color = imagecolorallocate( $im , 0 , 0 , 0 ) ; // black
+	$px = ( 92 - 6 * strlen( $mydirname ) ) / 2 ;
+	imagestring( $im , 3 , $px , 34 , $mydirname , $color ) ;
+	imagepng( $im ) ;
+	imagedestroy( $im ) ;
+
+} else {
+
+	readfile( $icon_fullpath ) ;
+
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/notification_update.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/notification_update.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/notification_update.php	(revision 866)
@@ -0,0 +1,4 @@
+<?php
+include '../../mainfile.php';
+require_once XOOPS_ROOT_PATH.'/include/notification_update.php';
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/templates/index.html
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/templates/index.html	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/templates/index.html	(revision 866)
@@ -0,0 +1,3 @@
+<{$xpress_body_contents}>
+
+<{include file='db:system_notification_select.html'}>
Index: /tags/Ver2.5.4/xpressme_integration_kit/templates/source/archives_block.html
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/templates/source/archives_block.html	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/templates/source/archives_block.html	(revision 866)
@@ -0,0 +1,13 @@
+<{* **************************  usage ****************************
+ 	The template tag of the following list can be used. 
+ 		<{$block.err_message}> 					// When the block cannot be displayed, this outputs the reason. Please do not delete it.
+		<{$block.archive}>						// Displays Archives from wp_get_archives() function
+************************* End of usage ************************ *}>
+<{* Start Template *}>
+
+<div class="xpress_block">
+	<{$block.err_message}>
+	<div class="xpress_archive_block">
+		<{$block.archive}>
+	</div>
+</div>
Index: /tags/Ver2.5.4/xpressme_integration_kit/templates/source/authors_block.html
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/templates/source/authors_block.html	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/templates/source/authors_block.html	(revision 866)
@@ -0,0 +1,13 @@
+<{* **************************  usage ****************************
+ 	The template tag of the following list can be used. 
+ 		<{$block.err_message}> 					// When the block cannot be displayed, this outputs the reason. Please do not delete it.
+		<{$block.authors}>						// Displays Authors from wp_list_authors() function
+************************* End of usage ************************ *}>
+<{* Start Template *}>
+
+<div class="xpress_block">
+	<{$block.err_message}>
+	<div class="xpress_authors_block">
+		<{$block.authors}>
+	</div>
+</div>
Index: /tags/Ver2.5.4/xpressme_integration_kit/templates/source/blog_list_block.html
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/templates/source/blog_list_block.html	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/templates/source/blog_list_block.html	(revision 866)
@@ -0,0 +1,26 @@
+<{* **************************  usage ****************************
+ 	The template tag of the following list can be used. 
+ 		<{$block.err_message}> 					// When the block cannot be displayed, this outputs the reason. Please do not delete it.
+		<{$block.data_count}>					// The number of contents is displayed. 
+		<{$block.contents}>						// Data array of contents. 
+		// Examples of <{$block.contents}>
+		<{foreach from=$block.contents item=content}>	// Loop
+		<{$content.blog_id}>					// Displays the numeric ID of the blog.
+		<{$content.blog_name}>					// Displays the blog's link, where the link text value is the blog name.
+		<{$content.post_count}>			// Displays the modified date of a post. Format at date set by general setting of Wordpress.
+		<{/foreach}>							// End of Loop
+************************* End of usage ************************ *}>
+<{* Start Template *}>
+
+<div class="xpress_block">
+	<{$block.err_message}>
+	<div class="xpress_blog_list_block">
+		<ul>
+		<{foreach from=$block.contents item=content}>
+			<li>
+			<{$content.blog_name}>&nbsp;(<{$content.post_count}>)
+			</li>
+		<{/foreach}>
+		</ul>
+	</div>
+</div>
Index: /tags/Ver2.5.4/xpressme_integration_kit/templates/source/calender_block.html
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/templates/source/calender_block.html	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/templates/source/calender_block.html	(revision 866)
@@ -0,0 +1,13 @@
+<{* **************************  usage ****************************
+ 	The template tag of the following list can be used. 
+		<{$block.err_message}> 					// When the block cannot be displayed, this outputs the reason. Please do not delete it.
+ 		<{$block.calender}>						// Displays Calender
+   ************************* End of usage ************************ *}>
+<{* Start Template *}>
+
+<div class="xpress_block">
+	<{$block.err_message}>
+	<div class="xpress_calender_block">
+		<{$block.calender}>
+	</div>
+</div>
Index: /tags/Ver2.5.4/xpressme_integration_kit/templates/source/category_block.html
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/templates/source/category_block.html	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/templates/source/category_block.html	(revision 866)
@@ -0,0 +1,15 @@
+<{* **************************  usage ****************************
+ 	The template tag of the following list can be used. 
+		<{$block.err_message}> 					// When the block cannot be displayed, this outputs the reason. Please do not delete it.
+ 		<{$block.categories}>					// Displays Categories from wp_list_categories() function
+   ************************* End of usage ************************ *}>
+<{* Start Template *}>
+
+<div class="xpress_block">
+	<{$block.err_message}>
+	<div class="xpress_category_block">
+		<ul>
+		<{$block.categories}>
+		</ul>
+	</div>
+</div>
Index: /tags/Ver2.5.4/xpressme_integration_kit/templates/source/enhanced_block.html
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/templates/source/enhanced_block.html	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/templates/source/enhanced_block.html	(revision 866)
@@ -0,0 +1,13 @@
+<{* **************************  usage ****************************
+ 	The template tag of the following list can be used. 
+		<{$block.err_message}> 					// When the block cannot be displayed, this outputs the reason. Please do not delete it.
+ 		<{$block.enhanced}>					// Displays from Custom php code
+   ************************* End of usage ************************ *}>
+<{* Start Template *}>
+
+<div class="xpress_block">
+	<{$block.err_message}>
+	<div class="xpress_enhanced_block">
+		<{$block.enhanced}>
+	</div>
+</div>
Index: /tags/Ver2.5.4/xpressme_integration_kit/templates/source/global_popular_posts_block.html
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/templates/source/global_popular_posts_block.html	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/templates/source/global_popular_posts_block.html	(revision 866)
@@ -0,0 +1,40 @@
+<{* **************************  usage ****************************
+ 	The template tag of the following list can be used. 
+ 		<{$block.err_message}> 					// When the block cannot be displayed, this outputs the reason. Please do not delete it.
+		<{$block.data_count}>					// The number of contents is displayed. 
+		<{$block.contents}>						// Data array of contents. 
+		// Examples of <{$block.contents}>
+		<{foreach from=$block.contents item=content}>	// Loop
+		<{$content.post_id}>					// Displays the numeric ID of the post.
+		<{$content.post_title}>					// Displays the post's permalink, where the link text value is the posts title name.
+		<{$content.post_date}>					// Displays the published date of a post. Format at date set by general setting of Wordpress.
+		<{$content.post_time}>					// Displays the published time of a post. Format at time set by general setting of Wordpress.
+		<{$content.post_date_time}>				// Displays the published date-time of a post.
+		<{$content.post_modified_date}>			// Displays the modified date of a post. Format at date set by general setting of Wordpress.
+		<{$content.post_modified_time}>			// Displays the modified date of a post. Format at date set by general setting of Wordpress.
+		<{$content.post_modified_date_time}>	// Displays the modified date-time of a post.
+		<{$content.post_author}>				// Displays the author's archive link, where the link text value is the user's Display name. 
+		<{$content.post_category}>				// Displays a link to the category or categories a post belongs to.
+		<{$content.post_tags}>					// Displays a link to the tag or tags a post belongs to.
+		<{$content.post_views}>					// Displays the number of posts viewer.
+		<{$content.comment_link}>				// Displays a link to the comments popup window if comments_popup_script() is used, otherwise it displays a normal link to comments. 
+		<{$content.trackback_url}>				// Displays the trackback URL for the current post.
+		<{$content.blog_link}>					// Displays a permalink to the blog a comment belongs to.
+		<{$content.blog_title}>					// Displays a title to the blog a comment belongs to.
+		<{$content.blog_title_link}>			// Displays the blog's permalink, where the link text value is the posts title name.
+		<{/foreach}>							// End of Loop
+************************* End of usage ************************ *}>
+<{* Start Template *}>
+
+<div class="xpress_block">
+	<{$block.err_message}>
+	<div class="xpress_global_popular_post_block">
+		<ul>
+		<{foreach from=$block.contents item=content}>
+			<li>
+			<{$content.post_title}>&nbsp;(<{$content.post_views}>)
+			</li>
+		<{/foreach}>
+		</ul>
+	</div>
+</div>
Index: /tags/Ver2.5.4/xpressme_integration_kit/templates/source/global_recent_comments_block.html
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/templates/source/global_recent_comments_block.html	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/templates/source/global_recent_comments_block.html	(revision 866)
@@ -0,0 +1,44 @@
+<{* **************************  usage ****************************
+ 	The template tag of the following list can be used. 
+ 		<{$block.err_message}> 					// When the block cannot be displayed, this outputs the reason. Please do not delete it.
+		<{$block.data_count}>					// The number of contents is displayed. 
+		<{$block.contents}>						// Data array of contents. 
+		// Examples of <{$block.contents}>
+		<{foreach from=$block.contents item=content}>	// Loop
+		<{$content.from_auther_to_post}>		// It is displayed by "Author of the comment on the post" format. Each link is included in it. 
+		<{$content.comment_ID}>					// Displays the numeric ID of a comment.
+		<{$content.comment_post_ID}>			// Displays the numeric ID of the target post for the comment is displayed. 
+		<{$content.comment_date}>				// Displays the published date of a comment. Format at date set by general setting of Wordpress.
+		<{$content.comment_date_time}>			// Displays the published date-time of a comment. Format at date-time set by general setting of Wordpress.
+		<{$content.comment_content}>			// Displays the contents of a comment.
+		<{$content.comment_excerpt}>			// Displays the excerpt contents of a comment.
+		<{$content.comment_link}>				// Displays the comment link.
+		<{$content.comment_title}>				// Displays the title of a comment.
+		<{$content.comment_title_link}>			// Displays the comment link, where the link text value is the comment's title name.
+		<{$content.post_link}>					// Displays a link to the post a comment belongs to.
+		<{$content.post_title}>					// Displays a title to the post a comment belongs to.
+		<{$content.post_title_link}>			// Displays the post's permalink, where the link text value is the posts title name.
+		<{$content.author_link}>				// Displays the link of comment author's web homepages.
+		<{$content.author_name}>				// Displays the comment author's name.
+		<{$content.author_name_link}>			// Displays the link of comment author's web homepages, where the link text value is the author's name.
+		<{$content.comment_type}>				// Displays the comment type. (type is comment,truckback or pingback)
+		<{$content.blog_link}>					// Displays a permalink to the blog a comment belongs to.
+		<{$content.blog_title}>					// Displays a title to the blog a comment belongs to.
+		<{$content.blog_title_link}>			// Displays the blog's permalink, where the link text value is the posts title name.
+		<{/foreach}>							// End of Loop
+   ************************* End of usage ************************ *}>
+<{* Start Template *}>
+
+<div class="xpress_block">
+	<{$block.err_message}>
+	<div class="xpress_recent_comments_block">
+		<ul>
+		<{foreach from=$block.contents item=content}>
+			<li>
+				<{$content.from_auther_to_post}><br />
+				<{$content.comment_date_time}>
+			</li>
+		<{/foreach}>
+		</ul>
+	</div>
+</div>
Index: /tags/Ver2.5.4/xpressme_integration_kit/templates/source/global_recent_posts_list_block.html
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/templates/source/global_recent_posts_list_block.html	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/templates/source/global_recent_posts_list_block.html	(revision 866)
@@ -0,0 +1,68 @@
+<{* **************************  usage ****************************
+ 	The template tag of the following list can be used. 
+ 		<{$block.err_message}>					// When the block cannot be displayed, this outputs the reason. Please do not delete it. 
+ 		<{$block.shown_for_each_blog}>			// Shown for each blog
+ 		<{$block.data_count}>					// The number of contents is displayed.
+		<{$block.contents}>						// Data array of contents. 
+		// Examples of <{$block.contents}>
+		<{foreach from=$block.contents item=content}>	// Loop
+		<{$content.post_id}>					// Displays the numeric ID of the post.
+		<{$content.blog_id}>					// Displays the numeric ID of the blog.
+		<{$content.post_permalink}>				// Displays the post's permalink.
+		<{$content.title_link}>					// Displays the post's permalink, where the link text value is the posts title name.
+		<{$content.the_content}>				// Displays the contents of the post.
+		<{$content.the_full_content}>				// Displays the contents of the post.
+		<{$content.post_modified_date}>			// Displays the modified date of a post. Format at date set by general setting of Wordpress.
+		<{$content.post_modified_time}>			// Displays the modified date of a post. Format at date set by general setting of Wordpress.
+		<{$content.post_modified_date_time}>	// Displays the modified date-time of a post.
+		<{$content.post_unix_time}>				// Displays the published unix time stanp of a post.
+		<{$content.post_date}>					// Displays the published date of a post. Format at date set by general setting of Wordpress.
+		<{$content.post_time}>					// Displays the published time of a post. Format at time set by general setting of Wordpress.
+		<{$content.post_date_time}>				// Displays the published date-time of a post. Format at time set by general setting of Wordpress.
+		<{$content.comments_link}>				// Displays a link to the comments popup window if comments_popup_script() is used, otherwise it displays a normal link to comments. 
+		<{$content.post_author}>				// Displays the author's archive link, where the link text value is the user's Display name. 
+		<{$content.post_category}>				// Displays a link to the category or categories a post belongs to.
+		<{$content.post_tags}>					// Displays a link to the tag or tags a post belongs to.
+		<{$content.post_views}>					// Displays the number of posts viewer.
+		<{$content.new_mark}>					// The mark is displayed. The mark is different according to lapsed days from the release date. 
+		<{/foreach}>							// End of Loop
+************************* End of usage ************************ *}>
+<{* Start Template *}>
+<div class="xpress_block">
+	<{$block.err_message}>
+	<div class="xpress_global_recent_post_list_block">
+		<ul>
+		<{if $block.shown_for_each_blog}>
+			<{ assign var="b_id" value=0 }>
+			<{foreach from=$block.contents item=content}>
+				<{if $b_id != $content.blog_id}>
+					<{if $b_id != 0}>
+							</ul>
+						</li>
+					<{/if}>
+						<li><{$content.blog_link}>
+							<ul>
+					<{ assign var="b_id" value=$content.blog_id }>
+				<{/if}>
+								<li>
+									<{$content.new_mark}> <{$content.title_link}><br />
+									<{$content.post_thumbnail}><br />
+									<{$content.post_date_time}><br />
+									<{$content.author_avatar}><{$content.post_author}><br />
+								</li>
+			<{/foreach}>
+							</ul>
+						</li>
+		<{else}>
+			<{foreach from=$block.contents item=content}>
+				<li>
+				<{$content.new_mark}> <{$content.title_link}><br />
+				<{$content.post_date_time}><br />
+				<{$content.blog_link}><br />
+				<{$content.post_author}><br />
+				</li>
+			<{/foreach}>
+		<{/if}>
+		</ul>
+	</div>
+</div>
Index: /tags/Ver2.5.4/xpressme_integration_kit/templates/source/index.html
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/templates/source/index.html	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/templates/source/index.html	(revision 866)
@@ -0,0 +1,2 @@
+<{$xpress.body_contents}>
+<{include file='db:system_notification_select.html'}>
Index: /tags/Ver2.5.4/xpressme_integration_kit/templates/source/meta_block.html
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/templates/source/meta_block.html	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/templates/source/meta_block.html	(revision 866)
@@ -0,0 +1,13 @@
+<{* **************************  usage ****************************
+ 	The template tag of the following list can be used. 
+		<{$block.err_message}> 					// When the block cannot be displayed, this outputs the reason. Please do not delete it.
+ 		<{$block.meta_info}>					// Displays Meta Info. 
+   ************************* End of usage ************************ *}>
+<{* Start Template *}>
+
+<div class="xpress_block">
+	<{$block.err_message}>
+	<div class="xpress_meta_block">
+		<{$block.meta_info}>
+	</div>
+</div>
Index: /tags/Ver2.5.4/xpressme_integration_kit/templates/source/page_block.html
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/templates/source/page_block.html	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/templates/source/page_block.html	(revision 866)
@@ -0,0 +1,13 @@
+<{* **************************  usage ****************************
+ 	The template tag of the following list can be used. 
+ 		<{$block.err_message}> 					// When the block cannot be displayed, this outputs the reason. Please do not delete it.
+		<{$block.list_pages}>					// Displays Pages List from wp_list_pages() function
+************************* End of usage ************************ *}>
+<{* Start Template *}>
+
+<div class="xpress_block">
+	<{$block.err_message}>
+	<div class='xpress_page_block'>
+		<{$block.list_pages}>
+	</div>
+</div>
Index: /tags/Ver2.5.4/xpressme_integration_kit/templates/source/popular_posts_block.html
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/templates/source/popular_posts_block.html	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/templates/source/popular_posts_block.html	(revision 866)
@@ -0,0 +1,37 @@
+<{* **************************  usage ****************************
+ 	The template tag of the following list can be used. 
+ 		<{$block.err_message}> 					// When the block cannot be displayed, this outputs the reason. Please do not delete it.
+		<{$block.data_count}>					// The number of contents is displayed. 
+		<{$block.contents}>						// Data array of contents. 
+		// Examples of <{$block.contents}>
+		<{foreach from=$block.contents item=content}>	// Loop
+		<{$content.post_id}>					// Displays the numeric ID of the post.
+		<{$content.post_title}>					// Displays the post's permalink, where the link text value is the posts title name.
+		<{$content.post_date}>					// Displays the published date of a post. Format at date set by general setting of Wordpress.
+		<{$content.post_time}>					// Displays the published time of a post. Format at time set by general setting of Wordpress.
+		<{$content.post_date_time}>				// Displays the published date-time of a post.
+		<{$content.post_modified_date}>			// Displays the modified date of a post. Format at date set by general setting of Wordpress.
+		<{$content.post_modified_time}>			// Displays the modified date of a post. Format at date set by general setting of Wordpress.
+		<{$content.post_modified_date_time}>	// Displays the modified date-time of a post.
+		<{$content.post_author}>				// Displays the author's archive link, where the link text value is the user's Display name. 
+		<{$content.post_category}>				// Displays a link to the category or categories a post belongs to.
+		<{$content.post_tags}>					// Displays a link to the tag or tags a post belongs to.
+		<{$content.post_views}>					// Displays the number of posts viewer.
+		<{$content.comment_link}>				// Displays a link to the comments popup window if comments_popup_script() is used, otherwise it displays a normal link to comments. 
+		<{$content.trackback_url}>				// Displays the trackback URL for the current post.
+		<{/foreach}>							// End of Loop
+************************* End of usage ************************ *}>
+<{* Start Template *}>
+
+<div class="xpress_block">
+	<{$block.err_message}>
+	<div class="xpress_popular_post_block">
+		<ul>
+		<{foreach from=$block.contents item=content}>
+			<li>
+			<{$content.post_title}>&nbsp;(<{$content.post_views}>)
+			</li>
+		<{/foreach}>
+		</ul>
+	</div>
+</div>
Index: /tags/Ver2.5.4/xpressme_integration_kit/templates/source/recent_comments_block.html
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/templates/source/recent_comments_block.html	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/templates/source/recent_comments_block.html	(revision 866)
@@ -0,0 +1,41 @@
+<{* **************************  usage ****************************
+ 	The template tag of the following list can be used. 
+ 		<{$block.err_message}> 					// When the block cannot be displayed, this outputs the reason. Please do not delete it.
+		<{$block.data_count}>					// The number of contents is displayed. 
+		<{$block.contents}>						// Data array of contents. 
+		// Examples of <{$block.contents}>
+		<{foreach from=$block.contents item=content}>	// Loop
+		<{$content.from_auther_to_post}>		// It is displayed by "Author of the comment on the post" format. Each link is included in it. 
+		<{$content.comment_ID}>					// Displays the numeric ID of a comment.
+		<{$content.comment_post_ID}>			// Displays the numeric ID of the target post for the comment is displayed. 
+		<{$content.comment_date}>				// Displays the published date of a comment. Format at date set by general setting of Wordpress.
+		<{$content.comment_date_time}>			// Displays the published date-time of a comment. Format at date-time set by general setting of Wordpress.
+		<{$content.comment_content}>			// Displays the contents of a comment.
+		<{$content.comment_excerpt}>			// Displays the excerpt contents of a comment.
+		<{$content.comment_link}>				// Displays the comment link.
+		<{$content.comment_title}>				// Displays the title of a comment.
+		<{$content.comment_title_link}>			// Displays the comment link, where the link text value is the comment's title name.
+		<{$content.post_link}>					// Displays a link to the post a comment belongs to.
+		<{$content.post_title}>					// Displays a title to the post a comment belongs to.
+		<{$content.post_title_link}>			// Displays the post's permalink, where the link text value is the posts title name.
+		<{$content.author_link}>				// Displays the link of comment author's web homepages.
+		<{$content.author_name}>				// Displays the comment author's name.
+		<{$content.author_name_link}>			// Displays the link of comment author's web homepages, where the link text value is the author's name.
+		<{$content.comment_type}>				// Displays the comment type. (type is comment,truckback or pingback)
+		<{/foreach}>							// End of Loop
+   ************************* End of usage ************************ *}>
+<{* Start Template *}>
+
+<div class="xpress_block">
+	<{$block.err_message}>
+	<div class="xpress_recent_comments_block">
+		<ul>
+		<{foreach from=$block.contents item=content}>
+			<li>
+				<{$content.from_auther_to_post}><br />
+				<{$content.comment_date_time}>
+			</li>
+		<{/foreach}>
+		</ul>
+	</div>
+</div>
Index: /tags/Ver2.5.4/xpressme_integration_kit/templates/source/recent_posts_content_block.html
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/templates/source/recent_posts_content_block.html	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/templates/source/recent_posts_content_block.html	(revision 866)
@@ -0,0 +1,37 @@
+<{* **************************  usage ****************************
+ 	The template tag of the following list can be used. 
+ 		<{$block.err_message}> 					// When the block cannot be displayed, this outputs the reason. Please do not delete it.
+		<{$block.data_count}>					// The number of contents is displayed. 
+		<{$block.contents}>						// Data array of contents. 
+		// Examples of <{$block.contents}>
+		<{foreach from=$block.contents item=content}>	// Loop
+		<{$content.post_id}>					// Displays the numeric ID of the post.
+		<{$content.post_title}>					// Displays the post's permalink, where the link text value is the posts title name.
+		<{$content.post_content}>				// Displays the contents of the post.
+		<{$content.post_date}>					// Displays the published date of a post. Format at date set by general setting of Wordpress.
+		<{$content.post_time}>					// Displays the published time of a post. Format at time set by general setting of Wordpress.
+		<{$content.post_date_time}>				// Displays the published date-time of a post.
+		<{$content.post_modified_date}>			// Displays the modified date of a post. Format at date set by general setting of Wordpress.
+		<{$content.post_modified_time}>			// Displays the modified date of a post. Format at date set by general setting of Wordpress.
+		<{$content.post_modified_date_time}>	// Displays the modified date-time of a post.
+		<{$content.post_author}>				// Displays the author's archive link, where the link text value is the user's Display name. 
+		<{$content.post_category}>				// Displays a link to the category or categories a post belongs to.
+		<{$content.post_tags}>					// Displays a link to the tag or tags a post belongs to.
+		<{$content.post_views}>					// Displays the number of posts viewer.
+		<{$content.comment_link}>				// Displays a link to the comments popup window if comments_popup_script() is used, otherwise it displays a normal link to comments. 
+		<{$content.trackback_url}>				// Displays the trackback URL for the current post.
+		<{$content.all_in_one}>					// Displays the xpress_default theme render.
+		<{/foreach}>							// End of Loop
+************************* End of usage ************************ *}>
+<{* Start Template *}>
+
+<div class="xpress_block">
+	<{$block.err_message}>
+	<div class="xpress_recent_post_content_block">
+		<ul>
+		<{foreach from=$block.contents item=content}>
+			<{$content.all_in_one}>
+		<{/foreach}>
+		</ul>
+	</div>
+</div>
Index: /tags/Ver2.5.4/xpressme_integration_kit/templates/source/recent_posts_list_block.html
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/templates/source/recent_posts_list_block.html	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/templates/source/recent_posts_list_block.html	(revision 866)
@@ -0,0 +1,40 @@
+<{* **************************  usage ****************************
+ 	The template tag of the following list can be used. 
+ 		<{$block.err_message}>					// When the block cannot be displayed, this outputs the reason. Please do not delete it. 
+ 		<{$block.data_count}>					// The number of contents is displayed.
+		<{$block.contents}>						// Data array of contents. 
+		// Examples of <{$block.contents}>
+		<{foreach from=$block.contents item=content}>	// Loop
+		<{$content.post_id}>					// Displays the numeric ID of the post.
+		<{$content.new_mark}>					// The mark is displayed. The mark is different according to lapsed days from the release date. 
+		<{$content.post_title}>					// Displays the post's permalink, where the link text value is the posts title name.
+		<{$content.post_date}>					// Displays the published date of a post. Format at date set by general setting of Wordpress.
+		<{$content.post_time}>					// Displays the published time of a post. Format at time set by general setting of Wordpress.
+		<{$content.post_date_time}>				// Displays the published date-time of a post.
+		<{$content.post_modified_date}>			// Displays the modified date of a post. Format at date set by general setting of Wordpress.
+		<{$content.post_modified_time}>			// Displays the modified date of a post. Format at date set by general setting of Wordpress.
+		<{$content.post_modified_date_time}>	// Displays the modified date-time of a post.
+		<{$content.post_author}>				// Displays the author's archive link, where the link text value is the user's Display name. 
+		<{$content.post_category}>				// Displays a link to the category or categories a post belongs to.
+		<{$content.post_tags}>					// Displays a link to the tag or tags a post belongs to.
+		<{$content.post_views}>					// Displays the number of posts viewer.
+		<{$content.comment_link}>				// Displays a link to the comments popup window if comments_popup_script() is used, otherwise it displays a normal link to comments. 
+		<{$content.trackback_url}>				// Displays the trackback URL for the current post.
+		<{/foreach}>							// End of Loop
+************************* End of usage ************************ *}>
+<{* Start Template *}>
+
+<div class="xpress_block">
+	<{$block.err_message}>
+	<div class="xpress_recent_post_list_block">
+		<ul>
+		<{foreach from=$block.contents item=content}>
+			<li>
+			<{$content.new_mark}><{$content.post_title}><br />
+			<{$content.post_date_time}><br />
+			<{$content.post_author}><br />
+			</li>
+		<{/foreach}>
+		</ul>
+	</div>
+</div>
Index: /tags/Ver2.5.4/xpressme_integration_kit/templates/source/search_block.html
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/templates/source/search_block.html	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/templates/source/search_block.html	(revision 866)
@@ -0,0 +1,13 @@
+<{* **************************  usage ****************************
+ 	The template tag of the following list can be used. 
+		<{$block.err_message}> 					// When the block cannot be displayed, this outputs the reason. Please do not delete it.
+ 		<{$block.search}>						// Displays Search BOX
+   ************************* End of usage ************************ *}>
+<{* Start Template *}>
+
+<div class="xpress_block">
+	<{$block.err_message}>
+	<div class="xpress_search_block">
+		<{$block.search}>
+	</div>
+</div>
Index: /tags/Ver2.5.4/xpressme_integration_kit/templates/source/sidebar_block.html
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/templates/source/sidebar_block.html	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/templates/source/sidebar_block.html	(revision 866)
@@ -0,0 +1,11 @@
+<{* **************************  usage ****************************
+ 	The template tag of the following list can be used. 
+		<{$block.err_message}> 					// When the block cannot be displayed, this outputs the reason. Please do not delete it.
+ 		<{$block.tag_cloud}>					// Displays sidebar from get_sidebar() function
+   ************************* End of usage ************************ *}>
+<{* Start Template *}>
+
+<div class="xpress_block">
+	<{$block.err_message}>
+	<{$block.sidebar}>
+</div>
Index: /tags/Ver2.5.4/xpressme_integration_kit/templates/source/tag_cloud_block.html
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/templates/source/tag_cloud_block.html	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/templates/source/tag_cloud_block.html	(revision 866)
@@ -0,0 +1,13 @@
+<{* **************************  usage ****************************
+ 	The template tag of the following list can be used. 
+		<{$block.err_message}> 					// When the block cannot be displayed, this outputs the reason. Please do not delete it.
+ 		<{$block.tag_cloud}>					// Displays Tag Cloud from wp_tag_cloud() function
+   ************************* End of usage ************************ *}>
+<{* Start Template *}>
+
+<div class="xpress_block">
+	<{$block.err_message}>
+	<div class="xpress_tag_cloud_block">
+		<{$block.tag_cloud}>
+	</div>
+</div>
Index: /tags/Ver2.5.4/xpressme_integration_kit/templates/source/widget_block.html
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/templates/source/widget_block.html	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/templates/source/widget_block.html	(revision 866)
@@ -0,0 +1,13 @@
+<{* **************************  usage ****************************
+ 	The template tag of the following list can be used. 
+		<{$block.err_message}> 					// When the block cannot be displayed, this outputs the reason. Please do not delete it.
+ 		<{$block.widget}>					// Displays Sidebar widget
+   ************************* End of usage ************************ *}>
+<{* Start Template *}>
+
+<div class="xpress_block">
+	<{$block.err_message}>
+	<div class="xpress_widget_block">
+		<{$block.widget}>
+	</div>
+</div>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-config.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-config.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-config.php	(revision 866)
@@ -0,0 +1,88 @@
+<?php
+/** It is an additional loading for XPressME. */
+require_once dirname( __FILE__ ).'/include/add_xpress_config.php' ;
+
+/**
+ * mb_language() sets language. If language  is omitted, it returns current language as string.
+ * language setting is used for encoding e-mail messages. 
+ * Valid languages are "Japanese", "ja","English","en" and "uni" (UTF-8). 
+ * mb_send_mail() uses this setting to encode e-mail.
+ * Language and its setting is ISO-2022-JP/Base64 for Japanese, UTF-8/Base64 for uni, ISO-8859-1/quoted printable for English. 
+ */
+ if (function_exists("mb_language")) mb_language('uni');
+
+
+// ** MySQL settings - You can get this info from your web host ** //
+// Do not change  'DB_NAME','DB_USER','DB_PASSWORD' & 'DB_HOST'
+// because copies a set value of XOOPS. 
+
+/** Do not change. The name of the database for WordPress */
+define('DB_NAME', $xoops_config->xoops_db_name);
+
+/** Do not change. MySQL database username */
+define('DB_USER', $xoops_config->xoops_db_user);
+
+/** Do not change. MySQL database password */
+define('DB_PASSWORD', $xoops_config->xoops_db_pass);
+
+/** Do not change. MySQL hostname */
+define('DB_HOST', $xoops_config->xoops_db_host);
+	
+/** Database Charset to use in creating database tables. */
+define('DB_CHARSET', 'utf8');
+
+/** The Database Collate type. Don't change this if in doubt. */
+define('DB_COLLATE', '');
+
+//define('WP_DEBUG' ,true);
+
+/**#@+
+ * Authentication Unique Keys.
+ *
+ * Change these to different unique phrases!
+ * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/ WordPress.org secret-key service}
+ *
+ * @since 2.6.0
+ */
+define('AUTH_KEY', 'put your unique phrase here');
+define('SECURE_AUTH_KEY', 'put your unique phrase here');
+define('LOGGED_IN_KEY', 'put your unique phrase here');
+define('NONCE_KEY', 'put your unique phrase here');
+define('AUTH_SALT',        'put your unique phrase here');
+define('SECURE_AUTH_SALT', 'put your unique phrase here');
+define('LOGGED_IN_SALT',   'put your unique phrase here');
+define('NONCE_SALT',       'put your unique phrase here');
+
+/**
+ * WordPress Database Table prefix.
+ *
+ * You can have multiple installations in one database if you give each a unique
+ * prefix. Only numbers, letters, and underscores please!
+ */
+// Do not change. $table_prefix is generated from XOOPS DB Priefix and the module directory name. 
+$table_prefix  = $xoops_config->module_db_prefix;
+
+/**
+ * WordPress Localized Language, defaults to Japanese.
+ *
+ * Change this to localize WordPress.  A corresponding MO file for the chosen
+ * language must be installed to wp-content/languages. For example, install
+ * de.mo to wp-content/languages and set WPLANG to 'de' to enable German
+ * language support.
+ *
+ * Example:
+ * define ('WPLANG', '');		// language support to English
+ */
+define ('WPLANG', 'ja');		// language support to Japanese
+
+/* That's all, stop editing! Happy blogging. */
+
+/** WordPress absolute path to the Wordpress directory. */
+if ( !defined('ABSPATH') )
+	define('ABSPATH', dirname(__FILE__).'/');
+
+/** Processing for XPressME is done.*/
+require_once( ABSPATH .'/include/add_xpress_process.php');
+
+require_once(ABSPATH.'wp-settings.php');
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/class-xpress-upgrader.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/class-xpress-upgrader.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/class-xpress-upgrader.php	(revision 866)
@@ -0,0 +1,70 @@
+<?php
+include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
+
+class Xpress_Upgrader extends WP_Upgrader {
+
+	function upgrade_strings() {
+		$this->strings['up_to_date'] = __('XPressME Integration Kit is at the latest version.', 'xpressme');
+		$this->strings['no_package'] = __('Upgrade package not available.', 'xpressme');
+		$this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>&#8230;', 'xpressme');
+		$this->strings['unpack_package'] = __('Unpacking the update&#8230;', 'xpressme');
+		$this->strings['copy_failed'] = __('Could not copy files.', 'xpressme');
+		$this->strings['make_config'] = __('Delete source wp-config.php.', 'xpressme');
+		$this->strings['delete_failed'] = __('Could not delete files.', 'xpressme');
+		$this->strings['package_wrong'] = __('The structure of the package is wrong. ', 'xpressme');
+	}
+
+	function upgrade($current) {
+		global $wp_filesystem;
+
+		$this->init();
+		$this->upgrade_strings();
+
+		if ( !empty($feedback) )
+			add_filter('update_feedback', $feedback);
+
+		// Is an update available?
+		if ( !isset( $current->response ) || $current->response == 'latest' )
+			return new WP_Error('up_to_date', $this->strings['up_to_date']);
+
+		$res = $this->fs_connect( array(ABSPATH, WP_CONTENT_DIR) );
+		if ( is_wp_error($res) )
+			return $res;
+
+		$wp_dir = trailingslashit($wp_filesystem->abspath());
+
+		$download = $this->download_package( $current->package );
+		if ( is_wp_error($download) )
+			return $download;
+
+		$working_dir = $this->unpack_package( $download );
+		if ( is_wp_error($working_dir) )
+			return $working_dir;
+		$kit_dir = $working_dir .'/xpressme_integration_kit/';
+		if (!$wp_filesystem->exists($kit_dir)){	// search sub dir.
+			$kit_dir = '';
+			$subdirs = $wp_filesystem->dirlist($working_dir,false);
+			foreach($subdirs as $subdir){
+				if ($wp_filesystem->exists($working_dir .'/' .$subdir['name'] .'/xpressme_integration_kit/')){
+					$kit_dir = $working_dir .'/' .$subdir['name'] .'/xpressme_integration_kit/';
+					continue;
+				}
+			}
+			if (empty($kit_dir)){
+				$wp_filesystem->delete($working_dir, true);
+				return new WP_Error('package_wrong', $this->strings['package_wrong']);
+			}
+		}
+		// Copy update-core.php from the new version into place.
+		$update_xpress_file = 'wp-content/plugins/xpressme/include/update_xpress.php';
+		if ( !$wp_filesystem->copy($kit_dir . $update_xpress_file, $wp_dir . $update_xpress_file, true) ) {
+			$wp_filesystem->delete($working_dir, true);
+			return new WP_Error('copy_failed', $this->strings['copy_failed']);
+		}
+		$wp_filesystem->chmod($wp_dir . $update_xpress_file, FS_CHMOD_FILE);
+
+		require(ABSPATH . $update_xpress_file);
+		return update_xpress($kit_dir, $wp_dir);
+	}
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/custom_functions.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/custom_functions.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/custom_functions.php	(revision 866)
@@ -0,0 +1,1117 @@
+<?php
+function xpress_user_access_level(){
+	global $current_user;
+	
+	$level = @$current_user->user_level;
+	$role = @$current_user->roles[0];
+	switch ($role){
+		case 'administrator':
+			$role_level = 10;
+			break;
+		case 'editor':
+			$role_level = 7;
+			break;
+		case 'author':
+			$role_level = 2;
+			break;		
+		case 'contributor':
+			$role_level = 1;
+			break;
+		default:
+			$role_level = 0;
+	}
+	
+	if ($level > $role_level){
+		return $level;
+	} else {
+		return $role_level;
+	}
+}
+
+function xpress_is_contributor()
+{
+	global $current_user;
+	xpress_get_current_user();
+	if (xpress_user_access_level() > 3)
+		return true;
+	else
+		return false;
+}
+
+function xpress_is_multiblog() {
+	global $xoops_config;
+	
+	if (function_exists('is_multisite') && is_multisite()) return true;
+	return false;
+}
+
+function xpress_is_multiblog_root() {
+	global $blog_id;
+	if ( xpress_is_multiblog() && $blog_id == BLOG_ID_CURRENT_SITE){
+		return true;
+	} else {
+		return false;
+	}
+}
+
+function xpress_is_wp_version($operator='==',$comp_version){
+	global $xoops_config;
+ 	return version_compare($xoops_config->wp_version, $comp_version, $operator);
+}
+
+function xpress_is_theme_sidebar_disp(){
+	global $xpress_config;
+	if (is_wordpress_style()) return true;
+	return $xpress_config->is_theme_sidebar_disp;
+}	
+
+function xpress_is_author_view_count(){
+	global $xpress_config;
+	return $xpress_config->is_author_view_count;
+}
+
+function xpress_is_multi_user(){
+	global $xpress_config;
+	return $xpress_config->is_multi_user;
+}
+
+
+function xpress_the_title($args = '')
+{
+	$defaults = array(
+		'echo' => 1
+	);
+	$r = wp_parse_args( $args, $defaults );
+
+	extract( $r );
+
+	$output = '<div class ="xpress-post-header">' . "\n";
+	
+	if (function_exists('hotDates')) {
+		ob_start();
+			hotDates();
+			$output .= ob_get_contents();
+		ob_end_clean();
+	}
+	$output .= '<div class ="xpress-post-title">' . "\n";
+	$output .= '<h2><a href="';
+	ob_start();
+		the_permalink();
+		$output .= ob_get_contents();
+	ob_end_clean();
+	
+	if(function_exists('the_title_attribute')){
+		$title = the_title_attribute('echo=0');	
+	} else {
+		ob_start();
+			the_title();
+			$title = ob_get_contents();
+		ob_end_clean();
+	}
+						
+	$output .= '" rel="bookmark" title="';
+	$output .= sprintf(__('Permanent Link to %s', 'xpress'), $title);
+	$output .= '">';
+	$output .= $title;
+	$output .= '</a></h2>' . "\n";
+	$output .= '</div>' . "\n";
+	$output .= '</div>' . "\n";
+	
+	if ($echo)
+		echo $output;
+	else
+		return $output;
+
+}
+
+function xpress_selected_author($args ='' ) {
+	$defaults = array(
+		'echo' => 1
+	);
+	$r = wp_parse_args( $args, $defaults );
+
+	extract( $r );
+
+	$output = '';
+  	$author_cookie = 'select_' . get_xpress_dir_name() . "_author" ;
+  	if (!empty($_COOKIE[$author_cookie])){
+  		$uid = intval($_COOKIE[$author_cookie]);
+  		$user_info = get_userdata($uid);
+  		$output = $user_info->display_name;
+  	}
+	if ($echo)
+		echo $output;
+	else
+		return $output;
+		
+}
+function xpress_selected_author_id($args ='' ) {
+	$defaults = array(
+		'echo' => 1
+	);
+	$r = wp_parse_args( $args, $defaults );
+
+	extract( $r );
+	$output = '';
+  	$author_cookie = 'select_' . get_xpress_dir_name() . "_author" ;
+  	if (!empty($_COOKIE[$author_cookie])){
+  		$output = intval($_COOKIE[$author_cookie]);
+  	} else {
+  		$output = '';
+  	}
+	if ($echo)
+		echo $output;
+	else
+		return $output;		
+}
+
+function xpress_now_user_level($args ='' ) {
+	global $current_user;
+	$defaults = array(
+		'echo' => 1
+	);
+	$r = wp_parse_args( $args, $defaults );
+
+	extract( $r );
+	
+	$output = xpress_user_access_level();
+	if ($echo)
+		echo $output;
+	else
+		return $output;
+}
+	
+function xpress_credit($args ='')
+{
+	global $wp_version , $xoops_config;
+	if ($xoops_config->is_wpmu) {
+		global $wpmu_version;
+	}
+	
+	$defaults = array(
+		'echo' => 1,
+		'no_link' => 0
+	);
+	$r = wp_parse_args( $args, $defaults );
+
+	extract( $r );
+	
+	$xpress_version = $xoops_config->module_version;
+	$xpress_codename = $xoops_config->module_codename;
+	if ($no_link){
+		if ($xoops_config->is_wpmu) {
+			$output = 'XPressMU Ver.' . sprintf('%.2f %s',$xpress_version,$xpress_codename);
+			$output .= '(included WordPress MU ' . $wpmu_version. ')';
+		} else {
+			$output = 'XPressME Ver.' . sprintf('%.2f %s',$xpress_version,$xpress_codename);
+			if (strstr($wp_version,'ME')){
+				$output .= '(included WordPress ' . $wp_version . ')';
+			} else {
+				$output .= '(included WordPress ' . $wp_version . ')';
+			}
+		}
+	} else {
+		if ($xoops_config->is_wpmu) {
+			$output = '<a href="http://ja.xpressme.info"'. " target='_blank'" . '>XPressMU Ver.' . sprintf('%.2f %s',$xpress_version,$xpress_codename) .'</a>';
+			$output .= '(included <a href="http://mu.wordpress.org/" title="Powered by WordPress"'." target='_blank'". '>WordPress MU ' . $wpmu_version . '</a>)';
+		} else {
+			$output = '<a href="http://ja.xpressme.info"'. " target='_blank'" . '>XPressME Ver.' . sprintf('%.2f %s',$xpress_version,$xpress_codename) .'</a>';
+			if (strstr($wp_version,'ME')){
+				$output .= '(included <a href="http://wpme.sourceforge.jp/" title="Powered by WordPress"'." target='_blank'". '>WordPress ' . $wp_version . '</a>)';
+			} else {
+				$output .= '(included <a href="http://wordpress.org/" title="Powered by WordPress"'." target='_blank'". '>WordPress ' . $wp_version . '</a>)';
+			}
+		}
+	}		
+	if ($echo)
+		echo $output;
+	else
+		return $output;
+}
+
+function xpress_convert_time($args ='')
+{
+	$defaults = array(
+		'echo' => 1,
+		'format' => '(%.3f sec.)'		
+	);
+	$r = wp_parse_args( $args, $defaults );
+
+	extract( $r );
+	
+	$output =  sprintf($format,timer_stop(0));
+	if ($echo)
+		echo $output;
+	else
+		return $output;
+}
+
+function xpress_left_arrow_post_link($args ='')
+{
+	global $xpress_config;
+	$defaults = array(
+		'echo' => 1
+	);
+	$r = wp_parse_args( $args, $defaults );
+
+	extract( $r );
+	
+	$ret = '';
+		
+	$link_str = '&laquo; %link';
+
+	if($xpress_config->is_left_postnavi_old){
+		$link_title = $xpress_config->old_post_link_text;
+		ob_start();
+		if ($xpress_config->is_postnavi_title_disp)
+			previous_post_link($link_str);
+		else 
+			previous_post_link($link_str,$link_title);
+		$ret = ob_get_contents();
+		ob_end_clean();
+		ob_start();
+			previous_post_link('%link',$link_title);
+			$GLOBALS['left_arrow_post_link'] = ob_get_contents();
+		ob_end_clean();
+
+	} else {
+		$link_title = $xpress_config->newer_post_link_text;
+		ob_start();
+		if ($xpress_config->is_postnavi_title_disp)
+			next_post_link($link_str);
+		else
+			next_post_link($link_str,$link_title);
+		$ret = ob_get_contents();
+		ob_end_clean();
+		ob_start();
+			next_post_link('%link',$link_title);
+			$GLOBALS['left_arrow_post_link'] = ob_get_contents();
+		ob_end_clean();
+
+	}
+	
+	if ($xpress_config->is_postnavi_title_disp){
+		$on_mouse_show = $link_title;
+	} else  {
+		if($xpress_config->is_left_postnavi_old){
+			ob_start();
+				previous_post_link('%link');
+				$on_mouse_show = ob_get_contents();
+			ob_end_clean();
+		} else {
+			ob_start();
+				next_post_link('%link');
+				$on_mouse_show = ob_get_contents();
+			ob_end_clean();
+		}
+		$pattern = "<a[^>]*?>(.*)<\/a>";
+		preg_match("/".$pattern."/s",  $on_mouse_show, $body_matches);
+		$on_mouse_show = $body_matches[1];
+	}
+	$output = str_replace('">','" title="'.$on_mouse_show . '">' , $ret);
+
+	if (icon_exists($xpress_config->post_left_arrow_image_link)){
+		$img_link = str_replace($link_title,"<img src=\"$xpress_config->post_left_arrow_image_link\" alt=\"\" style=\"vertical-align:middle\"/>",$GLOBALS['left_arrow_post_link']);
+		$img_link = str_replace('rel=','title="'.$on_mouse_show.'" rel=',$img_link);
+		$output = str_replace('&laquo;',$img_link , $output);
+	}
+
+	if ($echo)
+		echo $output;
+	else
+		return $output;
+}
+
+function xpress_right_arrow_post_link($args ='')
+{
+	global $xpress_config;
+	$defaults = array(
+		'echo' => 1
+	);
+	$r = wp_parse_args( $args, $defaults );
+
+	extract( $r );
+
+	$ret = '';
+	
+	$link_str = '%link &raquo;';
+	
+	if($xpress_config->is_left_postnavi_old){
+		$link_title = $xpress_config->newer_post_link_text;
+		ob_start();
+		if ($xpress_config->is_postnavi_title_disp)
+			next_post_link($link_str);
+		else
+			next_post_link($link_str,$link_title);
+		$ret = ob_get_contents();
+		ob_end_clean();
+		ob_start();
+			next_post_link('%link',$link_title);
+			$GLOBALS['right_arrow_post_link'] = ob_get_contents();
+		ob_end_clean();
+
+	} else {
+		$link_title = $xpress_config->old_post_link_text;
+		ob_start();
+		if ($xpress_config->is_postnavi_title_disp)
+			previous_post_link($link_str);
+		else 
+			previous_post_link($link_str,$link_title);
+		$ret = ob_get_contents();
+		ob_end_clean();
+		ob_start();
+			previous_post_link('%link',$link_title);
+			$GLOBALS['right_arrow_post_link'] = ob_get_contents();
+		ob_end_clean();
+
+	}
+	
+	if ($xpress_config->is_postnavi_title_disp){
+		$on_mouse_show = $link_title;
+	} else  {
+		if($xpress_config->is_left_postnavi_old){
+			ob_start();
+				next_post_link('%link');
+				$on_mouse_show = ob_get_contents();
+			ob_end_clean();
+		} else {
+			ob_start();
+				previous_post_link('%link');
+				$on_mouse_show = ob_get_contents();
+			ob_end_clean();
+		}
+		$pattern = "<a[^>]*?>(.*)<\/a>";
+		preg_match("/".$pattern."/s",  $on_mouse_show, $body_matches);
+		$on_mouse_show = $body_matches[1];
+	}
+	$output = str_replace('">','" title="'.$on_mouse_show . '">' , $ret);
+
+	if (icon_exists($xpress_config->post_right_arrow_image_link)){
+		$img_link = str_replace($link_title,"<img src=\"$xpress_config->post_right_arrow_image_link\" alt=\"\" style=\"vertical-align:middle\"/>",$GLOBALS['right_arrow_post_link']);
+		$img_link = str_replace('rel=','title="'.$on_mouse_show.'" rel=',$img_link);
+		$output = str_replace('&raquo;',$img_link , $output);
+	}
+
+	if ($echo)
+		echo $output;
+	else
+		return $output;
+}
+// page link
+function xpress_left_arrow_posts_link($args ='')
+{
+	global $xpress_config;
+	$defaults = array(
+		'echo' => 1
+	);
+	$r = wp_parse_args( $args, $defaults );
+
+	extract( $r );
+
+	$output = '';
+		
+	if($xpress_config->is_left_page_navi_old){
+		$link_title = $xpress_config->old_page_link_text;
+		ob_start();
+		next_posts_link("&laquo; $link_title");
+		$output = ob_get_contents();
+		ob_end_clean();
+	} else {
+		$link_title = $xpress_config->newer_page_link_text;
+		ob_start();
+		previous_posts_link("&laquo; $link_title");
+		$output = ob_get_contents();
+		ob_end_clean();
+	}
+	
+	if (icon_exists($xpress_config->page_left_arrow_image_link)){
+		$output = $img_link . str_replace('&laquo;','' , $output);
+		$img_link = str_replace($link_title,"<img src=\"$xpress_config->page_left_arrow_image_link\" alt=\"\" style=\"vertical-align:middle\"/>",$output);
+		$output = $img_link . $output;
+	}
+
+	if ($echo)
+		echo $output;
+	else
+		return $output;
+}
+
+
+function xpress_right_arrow_posts_link($args ='')
+{
+	global $xpress_config;
+	$defaults = array(
+		'echo' => 1
+	);
+	$r = wp_parse_args( $args, $defaults );
+
+	extract( $r );
+
+	$output = '';		
+	
+	if($xpress_config->is_left_page_navi_old){
+		$link_title = $xpress_config->newer_page_link_text;
+		ob_start();
+		previous_posts_link("$link_title &raquo;");
+		$output = ob_get_contents();
+		ob_end_clean();
+	} else {
+		$link_title = $xpress_config->old_page_link_text;
+		ob_start();
+		next_posts_link("$link_title &raquo;");
+		$output = ob_get_contents();
+		ob_end_clean();
+	}
+	
+	if (icon_exists($xpress_config->page_right_arrow_image_link)){
+		$output = $img_link . str_replace('&raquo;','' , $output);
+		$img_link = str_replace($link_title,"<img src=\"$xpress_config->page_right_arrow_image_link\" alt=\"\" style=\"vertical-align:middle\"/>",$output);
+		$output = $output . $img_link;
+	}
+	if ($echo)
+		echo $output;
+	else
+		return $output;
+}
+
+function xpress_substr($str, $start, $length, $trimmarker = '...')
+{
+    if (function_exists('mb_substr') && function_exists('mb_strlen')){
+        $str2 = mb_substr( $str , $start , $length);
+        return $str2 . ( mb_strlen($str)!=mb_strlen($str2) ? $trimmarker : '' );
+    } else {
+        return ( strlen($str) - $start <= $length ) ? substr( $str, $start, $length ) : substr( $str, $start, $length - strlen($trimmarker) ) . $trimmarker;
+    }
+}
+
+
+// views count
+// Set and retrieves post views given a post ID or post object. 
+// Retrieves post views given a post ID or post object. 
+function xpress_post_views_count($args ='') {
+	global $xoops_db,$wpdb;
+	global $blog_id;
+	static $post_cache_views;
+
+	$defaults = array(
+		'post_id' => 0,
+		'format'=> __('views :%d','xpressme'),
+		'echo' => 1
+	);
+	$r = wp_parse_args( $args, $defaults );
+
+	extract( $r );
+
+	if ( empty($post_id) ) {
+		if ( isset($GLOBALS['post']) )
+			$post_id = $GLOBALS['post']->ID;
+	}
+	if ( empty($blogid) ) {
+		$blogid = $blog_id;
+	}
+
+	$post_id = intval($post_id);
+	if($post_id==0) return null;
+	if(!isset($post_cache_views[$post_id])){
+		if (is_null($blogid)){
+			$blog_where = '';
+		} else {
+			$blog_where = ' AND blog_id = '. $blogid;
+		}
+		$sql = "SELECT post_views FROM " . get_wp_prefix() . "views" . " WHERE post_id=$post_id " .  $blog_where;
+       $post_views = $xoops_db->get_var($sql);
+        if (!$post_views) {
+	        $post_cache_views[$post_id] = 0;
+        }else{
+	        $post_cache_views[$post_id] = $post_views;
+        }
+	}
+	$v_count = intval($post_cache_views[$post_id]);
+	
+	if (empty($format)) $format = __('views :%d','xpressme');
+	
+	$output = sprintf($format,$v_count);
+
+	if ($echo)
+		echo $output;
+	else
+		return $output;
+}
+
+function set_post_views_count($content) {
+	if ( empty($_GET["feed"]) &&  empty($GLOBALS["feed"]) && empty($GLOBALS["doing_trackback"]) && empty($GLOBALS["doing_rss"]) && empty($_POST) && is_single() ){
+		post_views_counting();
+	}
+	return $content;
+}
+
+// Set post views given a post ID or post object. 
+function post_views_counting($post_id = 0) {
+	global $xoops_db,$wpdb;
+	global $table_prefix;
+	global $blog_id;
+	static $views;
+	
+	$post_id = intval($post_id);
+	if ( empty($post_id) && isset($GLOBALS['post']) ){
+		$post_id = $GLOBALS['post']->ID;
+	}
+
+	$views_db = get_wp_prefix() . 'views';
+	if (is_null($blog_id)) $blog_id = 0;
+
+	if($post_id==0 || !empty($views[$post_id])) return null;
+	
+	if(!xpress_is_author_view_count()){
+		$current_user_id = $GLOBALS['current_user']->ID;
+		$post_author_id = $GLOBALS['post']->post_author;
+		if ($current_user_id ==$post_author_id) return null;
+	}
+	if (is_null($blog_id)){
+		$blog_where = '';
+	} else {
+		$blog_where = ' AND blog_id = ' . $blog_id;
+	}
+	$sql = "SELECT post_views FROM " . $views_db . " WHERE post_id=$post_id" . $blog_where;
+	$post_views_found = $xoops_db->get_var($sql);
+	if($post_views_found){
+        $sql = "UPDATE " . $views_db . " SET post_views=post_views+1 WHERE post_id=$post_id" . $blog_where;
+    }else{
+    	if (is_null($blog_id)){
+			$sql = "INSERT INTO " . $views_db . " (post_id, post_views) VALUES ($post_id, 1)";
+		} else {
+			$sql = "INSERT INTO " . $views_db . " (blog_id, post_id, post_views) VALUES ($blog_id, $post_id, 1)";
+		}
+    }
+    $xoops_db->query($sql);
+	return true;
+}
+
+function get_xpress_excerpt_contents($excerpt_length_word,$excerpt_length_character,$more_link_text = '') {
+	global $post,$xpress_config;
+	
+	$blog_encoding = get_option('blog_charset');
+	$text = get_the_content('');
+	if (function_exists('strip_shortcodes')){ //@since WP2.5
+		$text = strip_shortcodes( $text );
+	}
+	$text = apply_filters('the_content', $text);
+	$text = str_replace(']]>', ']]&gt;', $text);
+	$text = strip_tags($text);
+	if (function_exists('mb_strlen') && function_exists('mb_substr')){
+		$is_almost_ascii = ($xpress_config->ascii_judged_rate < round(@(mb_strlen($text, $blog_encoding) / strlen($text)) * 100)) ? true : false;
+	} else {
+		$is_almost_ascii = true;
+	}
+	if($is_almost_ascii) {
+		$words = explode(' ', $text, $excerpt_length_word + 1);
+
+		if(count($words) > $excerpt_length_word) {
+			array_pop($words);
+			array_push($words, ' ... ');
+			$text = implode(' ', $words);
+			if (!empty($more_link_text)) $text .= '<div class="xpress-more-link"><a href="'. get_permalink() . "\">".$more_link_text .'</a></div>';
+
+		}
+	}
+	elseif(mb_strlen($text, $blog_encoding) > $excerpt_length_character) {
+		$text = mb_substr($text, 0, $xpress_config->excerpt_length_character, $blog_encoding) . ' ... ';
+		if (!empty($more_link_text)) $text .= '<div class="xpress-more-link"><a href="'. get_permalink() . "\">".$more_link_text .'</a></div>';
+	}
+
+	return $text;
+}
+
+function xpress_the_content($args ='')
+{
+	global $post,$xpress_config;
+	
+	$defaults = array(
+		'more_link_text'=> $xpress_config->more_link_text,
+		'stripteaser' => 0,
+		'more_file' => '',
+		'configration_select' => 1,
+		'do_excerpt' => 0,
+		'excerpt_length_word' => $xpress_config->excerpt_length_word ,
+		'excerpt_length_character' => $xpress_config->excerpt_length_character ,
+		'excerpt_more_link_text' => $xpress_config->excerpt_more_link_text ,
+		'echo' => 1
+	);
+	$r = wp_parse_args( $args, $defaults );
+
+	extract( $r );
+	
+	if ($configration_select){
+		if ($xpress_config->is_content_excerpt)
+			$do_excerpt = 1;
+		else
+			$do_excerpt = 0;
+	}
+	
+	if ($do_excerpt){
+		$content = get_xpress_excerpt_contents($excerpt_length_word,$excerpt_length_character,$excerpt_more_link_text);
+	} else {
+		$content = get_the_content($more_link_text,$stripteaser,$more_file);
+		$content = apply_filters('the_content', $content);
+		$content = str_replace(']]>', ']]&gt;', $content);
+	}	
+	if ($echo)
+		echo $content;
+	else
+		return $content;
+}
+
+function xpress_post_new_link($args ='')
+{
+	global $xoops_config;
+	
+	$defaults = array(
+		'link_title'=> 'Post New',
+		'echo' => 1
+	);
+	$r = wp_parse_args( $args, $defaults );
+
+	extract( $r );
+
+	
+	if (xpress_is_wp_version('>=','2.1')){
+		$output = '<a href="'. get_bloginfo('url') . '/wp-admin/post-new.php' . '">' . $link_title . '</a>';
+	} else {
+		$output = '<a href="'. get_bloginfo('url') . '/wp-admin/post.php' . '">' . $link_title . '</a>';
+	}	
+	if ($echo)
+		echo $output;
+	else
+		return $output;
+}
+
+function xpress_conditional_title($args ='')
+{
+	$defaults = array(
+		'echo' => 1
+	);
+	$r = wp_parse_args( $args, $defaults );
+
+	extract( $r );
+	
+	$selected_author = xpress_selected_author('echo=0');
+	
+	$output = __('Main', 'xpressme');
+	$output = '';
+	if (is_category())
+		$output = sprintf(__('Archive for the &#8216;%s&#8217; Category', 'xpressme'), single_cat_title('', false));
+	if (function_exists( 'is_tag' )){
+		if (is_tag())
+			$output = sprintf(__('Posts Tagged &#8216;%s&#8217;', 'xpressme'), single_tag_title('', false) );
+	}
+	if (is_day())
+		$output = sprintf(__('Archive for %s|Daily archive page', 'xpressme'), get_the_time(__('F jS, Y', 'xpressme')));
+	if (is_month())
+		$output = sprintf(__('Archive for %s|Monthly archive page', 'xpressme'), get_the_time(__('F, Y', 'xpressme')));
+	if (is_year())
+		$output = sprintf(__('Archive for %s|Yearly archive page', 'xpressme'), get_the_time(__('Y', 'xpressme')));
+	if (is_author()){
+		if (empty($selected_author))
+			$output = sprintf(__('Archive for the &#8216;%s&#8217; Author', 'xpressme'), get_author_name( get_query_var('author')));
+	}
+	if (is_search())
+		$output = sprintf(__('Search Results of word &#8216;%s&#8217;', 'xpressme'), get_search_query());
+	
+	if (!empty($selected_author)){
+		$selected_id = xpress_selected_author_id('echo=0');
+//		$output = get_avatar($selected_id,$size = '32') . sprintf(__('Article of %s', 'xpressme'), $selected_author) . ' - ' . $output;
+		if (empty($output))
+			$output = sprintf(__('Article of %s', 'xpressme'), $selected_author) ;
+		else
+			$output = sprintf(__('Article of %s', 'xpressme'), $selected_author) . ' - ' . $output;
+	}	
+	if ($echo)
+		echo $output;
+	else
+		return $output;
+}
+
+// The content of the trackback/pingback to the post is returned by the list. 
+function xpress_pings_list($args =''){
+	$defaults = array(
+		'echo' => 1
+	);
+	$r = wp_parse_args( $args, $defaults );
+
+	extract( $r );
+	
+	$trackbacks = xpress_get_pings();
+	if (! empty($trackbacks)) {
+		$output = '<ol id="xpress_pingslist"> ';
+
+		foreach ($trackbacks as $trackback){
+			$list = date(get_settings('date_format'),$trackback['date']) . ' <a target="_blank" href="' . $trackback['site_url'] . '" rel="external nofollow">' . sprintf(__('From %1$s on site %2$s','xpressme'),$trackback['title'],$trackback['site_name']) . "</a>\n" ;
+
+			$output .=  '<li>';
+			$output .=  $list ;
+			$output .=  '</li>';
+
+		}
+		$output .= '</ol>' ;
+	} else {
+		$output = '';
+	}
+	
+	if ($echo)
+		echo $output;
+	else
+		return $output;
+}
+
+// The amount of the trackback/pingback to the post is returned.
+function xpress_pings_number( $args ='' ) {
+	$defaults = array(
+		'zero' => __('No Trackback/Pingback', 'xpressme'),
+		'one' => __('One Trackback/Pingback', 'xpressme'),
+		'more' => __('% TrackBack/Pingback', 'xpressme'),
+		'deprecated' => '',
+		'echo' => 1
+	);
+	$r = wp_parse_args( $args, $defaults );
+
+	extract( $r );
+
+	$pings = xpress_get_pings();
+	if (empty($pings)){
+		$number = 0;
+	}else {
+		$number = count($pings);
+	}
+	if ( $number > 1 )
+		$output = str_replace('%', number_format_i18n($number), $more);
+	elseif ( $number == 0 )
+		$output = $zero;
+	else // must be one
+		$output = $one;
+
+	if ($echo)
+		echo $output;
+	else
+		return $output;
+}
+
+// xpress_get_pings() is a subfunction used with xpress_pings_number() and xpress_pings_list(). 
+function xpress_get_pings()
+{
+	global $withcomments, $post, $wpdb, $id, $trackback, $user_login, $user_ID, $user_identity;
+
+	if ( ! (is_single() || is_page() || $withcomments) )
+		return;
+
+	/** @todo Use API instead of SELECTs. */
+	if ( $user_ID) {
+		$trackbacks = $wpdb->get_results(sprintf("SELECT * , UNIX_TIMESTAMP(comment_date) AS comment_timestamp ,UNIX_TIMESTAMP(comment_date_gmt) AS comment_timestamp_gmt FROM $wpdb->comments WHERE comment_post_ID = %d AND (comment_approved = '1' OR ( user_id = %d AND comment_approved = '0' ) ) AND ( comment_type = 'trackback' OR comment_type = 'pingback' ) ORDER BY comment_date", $post->ID, $user_ID));
+	} else if ( empty($trackback_author) ) {
+		$trackbacks = $wpdb->get_results(sprintf("SELECT * , UNIX_TIMESTAMP(comment_date) AS comment_timestamp ,UNIX_TIMESTAMP(comment_date_gmt) AS comment_timestamp_gmt FROM $wpdb->comments WHERE comment_post_ID = %d AND comment_approved = '1' AND ( comment_type = 'trackback' OR comment_type = 'pingback' ) ORDER BY comment_date", $post->ID));
+	} else {
+		$trackbacks = $wpdb->get_results(sprintf("SELECT * , UNIX_TIMESTAMP(comment_date) AS comment_timestamp ,UNIX_TIMESTAMP(comment_date_gmt) AS comment_timestamp_gmt FROM $wpdb->comments WHERE comment_post_ID = %d AND ( comment_approved = '1' OR ( comment_author = %s AND comment_author_email = %s AND comment_approved = '0' ) ) AND ( comment_type = 'trackback' OR comment_type = 'pingback' ) ORDER BY comment_date", $post->ID, $trackback_author, $trackback_author_email));
+	}
+
+	if ($trackbacks){
+		$ret = array();
+		foreach ($trackbacks as $trackback){
+
+			$pattern = '<strong>(.*)<\/strong>(.*)';
+			if ( preg_match ( "/".$pattern."/i", $trackback->comment_content , $match ) ){
+				$title = $match[1];
+				$content = $match[2];
+			}
+			if (empty($title)) $title = $trackback->comment_author;
+
+
+			$row_data = array(
+				'ID'		=> $trackback->comment_ID ,
+				'post_ID'	=> $trackback->comment_post_ID ,
+				'site_name' => $trackback->comment_author ,
+				'site_url' => $trackback->comment_author_url ,
+				'title' => $title ,
+				'content' => $content ,
+				'date'		=> $trackback->comment_timestamp ,
+				'date_gmt'		=> $trackback->comment_timestamp_gmt ,
+				'agent'		=> $trackback->comment_agent ,
+				'type'		=> $trackback->comment_type ,
+				'IP'		=> $trackback->comment_author_IP ,
+			);
+			array_push($ret,$row_data);
+		}
+		return $ret;
+	}
+			return false;
+}
+
+function xpress_get_calendar($args = '') {
+	global $wpdb, $m, $monthnum, $year, $wp_locale, $posts , $xoops_config;
+
+	$defaults = array(
+		sun_color => '#DB0000',
+		sat_color => '#004D99',
+		initial => true
+	);
+	$r = wp_parse_args( $args, $defaults );
+
+	extract( $r );
+	
+	ob_start();
+		get_calendar(true);
+		$calendar = ob_get_contents();
+	ob_end_clean();
+	$calendar = preg_replace('/<th abbr=/', '<th align="center"  abbr=', $calendar); //week name align center
+	$calendar = preg_replace('/<td>/', '<td align="center">', $calendar); //days align center
+	$calendar = preg_replace('/<td id="today">/', '<td id="today" align="center">', $calendar); //today align center
+	$calendar = preg_replace('/<span style="color:[^>]*>/', '', $calendar); //wp2011 color delete
+	$calendar = preg_replace('/<\/span>/', '', $calendar); //wp2011 color delete
+
+	$week_begins = intval(get_option('start_of_week'));
+	$head_pattrn = '<thead>\s*<tr>\s*(<th[^>]*>[^<]*<\/th>)\s*(<th[^>]*>[^<]*<\/th>)\s*(<th[^>]*>[^<]*<\/th>)\s*(<th[^>]*>[^<]*<\/th>)\s*(<th[^>]*>[^<]*<\/th>)\s*(<th[^>]*>[^<]*<\/th>)\s*(<th[^>]*>[^<]*<\/th>)\s*<\/tr>\s*<\/thead>';
+	if(preg_match('/'. $head_pattrn . '/s' ,$calendar,$head_match)){
+		$sun_index = 1 - $week_begins;
+		if ($sun_index < 1) $sun_index = $sun_index +7;
+		$sat_index = 7 - $week_begins;
+		if ($sat_index < 1) $sat_index = $sat_index +7;
+		
+		$sun_head = $head_match[$sun_index];
+		$sat_head = $head_match[$sat_index];
+		
+		$pattrn = '(<th[^>]*>)(.*)(<\/th>)';
+		if(preg_match('/'. $pattrn . '/' ,$sun_head,$sun_match)){
+			$sun_head_after = $sun_match[1] . '<span style="color: ' . $sun_color . '">' . $sun_match[2] . '</span>'. $sun_match[3];
+			$calendar = str_replace($sun_head,$sun_head_after,$calendar);
+		}
+		if(preg_match('/'. $pattrn . '/' ,$sat_head,$sat_match)){
+			$sat_head_after = $sat_match[1] . '<span style="color: ' . $sat_color . '">' . $sat_match[2] . '</span>'. $sat_match[3];
+			$calendar = str_replace($sat_head,$sat_head_after,$calendar);
+		}
+	}
+	return $calendar;
+}
+
+function xpress_grobal_recent_posts($num = 10,$exclusion_blog = 0, $shown_for_each_blog = false)
+{
+	global $wpdb, $wp_rewrite , $switched , $blog_id;
+	if (empty($date_format)) $date_format = get_settings('date_format');
+	if (empty($time_format)) $time_format = get_settings('time_format');
+	$exclusion = explode(',' , $exclusion_blog);
+
+
+	$first_blogid = $blog_id;
+	$num = (int)$num;
+//	$wp_query->in_the_loop = true;		//for use the_tags() in multi lopp 
+	$data_array = array();
+	if (xpress_is_multiblog()){
+		$blogs = get_blog_list(0,'all');
+		foreach ($blogs AS $blog) {
+			if (!in_array(0, $exclusion) && in_array($blog['blog_id'], $exclusion)) continue;
+			switch_to_blog($blog['blog_id']);
+			$wp_rewrite->init();  // http://core.trac.wordpress.org/ticket/12040 is solved, it is unnecessary.
+
+				if (empty($num)){
+					query_posts("post_status=publish");
+				} else {
+					query_posts("showposts=$num&post_status=publish");
+				}
+				if (have_posts()){
+					while(have_posts()){
+						$data = new stdClass();
+						
+						the_post();
+						ob_start();
+							the_ID();
+							$data->post_id = ob_get_contents();
+						ob_end_clean();
+						
+						$data->blog_id = $blog['blog_id'];
+						$data->blog_name = get_bloginfo('name');
+						$data->blog_url = get_bloginfo('url');
+						$data->blog_link = '<a href="' . $data->blog_url . '">' . $data->blog_name . '</a>' ;
+
+
+						ob_start();
+							the_title();
+							$data->title = ob_get_contents();
+						ob_end_clean();
+						$data->post_permalink = get_blog_permalink($data->brog_id, $data->post_id);
+						$data->title_link = '<a href="' . $data->post_permalink . '">' . $data->title . '</a>' ;
+
+						ob_start();
+							the_author_posts_link();
+							$data->post_author = ob_get_contents();
+						ob_end_clean();
+
+						ob_start();
+							the_category(' &bull; ');
+							$data->post_category = ob_get_contents();
+						ob_end_clean();	
+						
+						if (function_exists('the_tags')){
+							ob_start();
+								the_tags(__('Tags:', 'xpress') . ' ',' &bull; ','');
+								$data->post_tags = ob_get_contents();
+							ob_end_clean();	
+						} else {
+							$data->tags = '';
+						}
+
+						$data->the_content = xpress_the_content('echo=0');
+						
+						ob_start();
+							the_content();
+							$data->the_full_content = ob_get_contents();
+						ob_end_clean();
+						
+						ob_start();
+							the_modified_date($date_format);
+							$data->post_modified_date = ob_get_contents();
+						ob_end_clean();
+							
+						ob_start();
+							the_modified_date($time_format);
+							$data->post_modified_time = ob_get_contents();
+						ob_end_clean();
+						$data->post_modified_date_time = $data->post_modified_date . ' ' . $data->post_modified_time;
+						
+						ob_start();
+							the_time('U');
+							$data->post_unix_time = ob_get_contents();
+						ob_end_clean();
+						
+						ob_start();
+							the_time($date_format);
+							$data->post_date = ob_get_contents();
+						ob_end_clean();
+						
+						ob_start();
+							the_time($time_format);
+							$data->post_time = ob_get_contents();
+						ob_end_clean();
+						
+						$data->post_date_time = $data->post_date . ' ' . $data->post_time;
+
+						ob_start();
+							comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)'));
+							$data->comments_link = ob_get_contents();
+						ob_end_clean();
+						
+						$data->post_views = xpress_post_views_count('post_id=' . $data->post_id . '&blogid=' . $data->brog_id . '&format=' . __('Views :%d', 'xpress'). '&echo=0');
+						if (function_exists('the_qf_get_thumb_one')){
+							$data->post_thumbnail = the_qf_get_thumb_one("num=0&width=120&tag=1","",$data->the_full_content);
+						} else {
+							$data->post_thumbnail = get_the_post_thumbnail(null,'thumbnail');
+						}
+						$data->author_avatar =get_avatar(get_the_author_meta('ID'),$size = '32');
+
+						$data_array[] = $data;
+	        		}  // end whilwe
+				} // end if
+			restore_current_blog();
+//			$wp_rewrite->init();
+		} // end foreach
+//		switch_to_blog($first_blogid);
+		$wp_rewrite->init(); // http://core.trac.wordpress.org/ticket/12040 is solved, it is unnecessary.
+
+		restore_current_blog();
+	}
+	if (!$shown_for_each_blog){
+		usort($data_array, "the_time_cmp");
+		if (!empty($num)){
+			$data_array = array_slice($data_array,0,$num);
+		}
+	}
+	return $data_array;
+}
+function the_time_cmp($a, $b)
+{
+    return - strcasecmp($a->post_unix_time, $b->post_unix_time);
+}
+
+function xpress_get_blog_option($option_name,$b_id = 1)
+{
+	global $wpdb;
+	$db_prefix = get_wp_prefix();
+	
+	if (empty($b_id)) $b_id =1;
+	$blog_prefix = '';
+	if ($b_id >1) $blog_prefix = $b_id . '_';
+	$options_tb = $db_prefix . $blog_prefix .'options';
+
+	$sql = "SELECT option_value FROM $options_tb WHERE option_name = $option_name";
+	$ret_val = $wpdb->get_var($sql);
+	return $ret_val;
+}
+
+function xpress_create_new_blog_link($args ='' ) {
+	global $xoops_config;
+
+	global $current_user;
+	$defaults = array(
+		'echo' => 1
+	);
+	$r = wp_parse_args( $args, $defaults );
+
+	extract( $r );
+	$result = xpress_create_new_blog();
+	if (!empty($result)){
+		$output = $result['link'];
+	} else {
+		$output = '';
+	}
+	
+	if ($echo)
+		echo $output;
+	else
+		return $output;
+}
+
+function xpress_create_new_blog() {
+	global $xoops_config;
+	global $current_user;
+	$ret = array();
+
+	if (xpress_is_multiblog() && is_user_logged_in()){
+		$primary_blog_id = @$current_user->primary_blog;
+		if (!empty($primary_blog_id)) return $ret;
+		$active_signup = get_site_option( 'registration' );
+		if ( !$active_signup ) $active_signup = 'none';
+		switch ($active_signup){
+			case 'all':
+			case 'blog':
+				$ret['url'] = $xoops_config->module_url . '/wp-signup.php';
+				$ret['menu_url'] = 'wp-signup.php';
+				$ret['title'] = __('Create New Blog','xpressme');
+				$ret['link'] = '<a href="' . $ret['url'] . '">' . $ret['title'] . '</a>';
+				break;
+			case 'user':
+			case 'none':
+			default:
+		}
+	}
+	return $ret;
+}
+function xpress_primary_blog_link() {
+	global $xoops_config;
+	global $current_user;
+	global $blog_id;
+	$ret = array();
+
+	if (xpress_is_multiblog() && is_user_logged_in()){
+		$blog_list = get_blog_list();
+		$root_path = get_blog_status(1,'path');
+		$primary_blog_id = @$current_user->primary_blog;
+		if(empty($primary_blog_id)) return $ret;
+		$primary_path = get_blog_status($primary_blog_id,'path');
+		$script = str_replace($root_path, "", $primary_path);
+		if ($primary_blog_id !== $blog_id){
+			$ret['url'] = get_blogaddress_by_id($primary_blog_id);
+			$ret['menu_url'] = $script;
+			$ret['title'] = __('Your Primary Blog','xpressme');
+			$ret['link'] = '<a href="' . $ret['url'] . '">' . $ret['title'] . '</a>';
+		}
+	}
+	return $ret;
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/d3forum_comment_disp.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/d3forum_comment_disp.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/d3forum_comment_disp.php	(revision 866)
@@ -0,0 +1,62 @@
+<?php
+		global $xoops_db,$xpress_config;
+		$xoops_trust_path = get_xoops_trust_path();
+		$xoops_root_path = get_xoops_root_path();
+		$inc_path = $xoops_trust_path . '/modules/d3forum/include/comment_functions.php';
+		include_once( $inc_path);
+		$xpress_dir = get_xpress_dir_path();
+		$xpress_dirname = get_xpress_dir_name();
+		
+		include_once($xpress_dir . '/class/xpressD3commentContent.class.php');
+		
+		$dir_name = $xpress_config->d3forum_module_dir;
+		$forum_id = $xpress_config->d3forum_forum_id;
+		$external_link_format = $xpress_config->d3forum_external_link_format;
+		if ($xpress_config->is_d3forum_desc){
+			$order = 'desc';
+		} else {
+			$order = 'asc';
+		}
+		if ($xpress_config->is_d3forum_desc){
+			$order = 'desc';
+		} else {
+			$order = 'asc';
+		}
+
+		if ($xpress_config->is_d3forum_flat){
+			$view = 'listposts_flat';
+		} else {
+			$view = 'listtopics';
+		}
+		$posts_num = $xpress_config->d3forum_views_num;
+		
+	// force UPDATE forums.forum_external_link_format "(dirname)::(classname)::(trustdirname)"
+		$xoops_db->query( "UPDATE ".get_xoops_prefix() . $dir_name."_forums SET forum_external_link_format='".$external_link_format."' WHERE forum_id= $forum_id" ) ;
+		
+		$d3comment = new xpressD3commentContent( $dir_name , $xpress_dirname ) ;
+
+		$post_title = get_the_title();
+        if (function_exists('get_the_ID')){        // upper wordpress 2.1
+            $post_id=get_the_ID();
+        } else {        // lower wordpress 2.1
+            ob_start();
+                the_ID();
+                $post_id=ob_get_contents();
+            ob_end_clean();
+        }
+        if (empty($_GET['p'])){
+            $_GET['p']= $post_id;
+        } 	
+//		$params = array("dirname" => $dir_name, "forum_id" => $forum_id, "itemname" => "p", "id" => $post_id , "subject" => $post_title);
+		$params = array("forum_id" => $forum_id,  "id" => $post_id , "subject" => $post_title , "order" => $order , "view" => $view , "posts_num" => $posts_num);
+		if(file_exists($xoops_trust_path .'/modules/d3forum/')) {
+			if(file_exists($xoops_root_path .'/modules/' . $dir_name . '/')) {
+				$d3comment->displayCommentsInline($params ) ;
+			} else {
+				echo ('<h3>' . $dir_name . 'is not found </h3>') ;
+			}
+		} else {
+		echo '<h3> d3forum is not install </h3>';
+		}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/d3forum_comment_synchro.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/d3forum_comment_synchro.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/d3forum_comment_synchro.php	(revision 866)
@@ -0,0 +1,1059 @@
+<?PHP
+// $Id: xoops_version.php,v 0.4 2007/07/21 01:35:02 toemon $
+//  ------------------------------------------------------------------------ //
+//                XOOPS - PHP Content Management System                      //
+//                    Copyright (c) 2000 XOOPS.org                           //
+//                       <http://www.xoops.org/>                             //
+//  ------------------------------------------------------------------------ //
+//  This program is free software; you can redistribute it and/or modify     //
+//  it under the terms of the GNU General Public License as published by     //
+//  the Free Software Foundation; either version 2 of the License, or        //
+//  (at your option) any later version.                                      //
+//                                                                           //
+//  You may not change or alter any portion of this comment or credits       //
+//  of supporting developers from this source code or any supporting         //
+//  source code which is considered copyrighted (c) material of the          //
+//  original comment or credit authors.                                      //
+//                                                                           //
+//  This program is distributed in the hope that it will be useful,          //
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
+//  GNU General Public License for more details.                             //
+//                                                                           //
+//  You should have received a copy of the GNU General Public License        //
+//  along with this program; if not, write to the Free Software              //
+//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
+//  ------------------------------------------------------------------------ //
+// Author: toemon                                                      //
+// URL:http://www.toemon.com                           //
+// ------------------------------------------------------------------------- //
+function onaction_comment_post($comment_ID  = "")
+{
+	global $wpdb;
+	$comment_type = $wpdb->get_var("SELECT comment_type FROM $wpdb->comments WHERE comment_ID = $comment_ID");
+	if (!empty($comment_type)) return ;	
+	return wp_comment_sync_to_d3forum($comment_ID,'post');
+}
+function onaction_edit_comment($comment_ID  = "")
+{
+	global $wpdb;
+	$comment_type = $wpdb->get_var("SELECT comment_type FROM $wpdb->comments WHERE comment_ID = $comment_ID");
+	if (!empty($comment_type)) return ;	
+	return wp_comment_sync_to_d3forum($comment_ID,'edit');
+}
+function onaction_delete_comment($comment_ID  = "")
+{
+	global $wpdb;
+	$comment_type = $wpdb->get_var("SELECT comment_type FROM $wpdb->comments WHERE comment_ID = $comment_ID");
+	if (!empty($comment_type)) return ;	
+	return wp_comment_sync_to_d3forum($comment_ID,'delete');
+}
+function onaction_delete_post($post_id)
+{
+	wp_post_delete_sync($post_id);
+}
+
+function onaction_comment_close($post_id)
+{
+	global $wpdb;
+	$status = $wpdb->get_var("SELECT comment_status FROM $wpdb->posts WHERE ID = $post_id");
+	
+	if ($status =='open') 
+		$lock = 0; 
+	else
+		$lock = 1;
+	d3forum_topic_rock($post_id,$lock);
+}
+
+function onaction_comment_apobe($comment_ID){
+	global $wpdb;
+	$comment_type = $wpdb->get_var("SELECT comment_type FROM $wpdb->comments WHERE comment_ID = $comment_ID");
+	$status = $wpdb->get_var("SELECT comment_approved FROM $wpdb->comments WHERE comment_ID = $comment_ID");
+	if(is_null($status)) return;
+	//	$status = wp_get_comment_status($comment_ID);
+	switch($status){
+		case 'approved':
+		case 1:
+			if (empty($comment_type)) onaction_edit_comment($comment_ID);
+			break;
+		case 'unapproved':
+		case 0:
+			if (empty($comment_type)) onaction_edit_comment($comment_ID);
+			break;
+		default:
+			break;
+	}
+}
+
+function onaction_trashed_post_comments($post_id){
+	global $wpdb;
+	set_d3f_topic_invisible($post_id,1);
+}
+function onaction_untrashed_post_comments($post_id){
+	global $wpdb;
+	set_d3f_topic_invisible($post_id,0);
+}
+function onaction_trashed_comment($comment_ID  = ""){
+	global $wpdb;
+	$comment_type = $wpdb->get_var("SELECT comment_type FROM $wpdb->comments WHERE comment_ID = $comment_ID");
+	if (!empty($comment_type)) return ;	
+	set_d3f_post_invisible($comment_ID,1);
+}
+function onaction_untrashed_comment($comment_ID  = ""){
+	global $wpdb;
+	$comment_type = $wpdb->get_var("SELECT comment_type FROM $wpdb->comments WHERE comment_ID = $comment_ID");
+	if (!empty($comment_type)) return ;	
+	set_d3f_post_invisible($comment_ID,0);
+}
+
+function set_d3f_topic_invisible($topic_external_link_id,$invisible){
+	global $wpdb,$xoops_db,$blog_id,$xpress_config;
+	
+	if (empty($blog_id)) $blog_id =1;
+	$d3forum_prefix = get_xoops_prefix() . $xpress_config->d3forum_module_dir . '_';
+	$d3f_topic = $d3forum_prefix . 'topics';
+	$d3f_forum_id = $xpress_config->d3forum_forum_id;
+	//xdb_d3forum_posts  where topic_external_link_id = topic_external_link_id update topic_invisible
+	
+	$sql  = "UPDATE $d3f_topic ";
+	$sql .= "SET topic_invisible = $invisible ";
+	$sql .= "WHERE topic_external_link_id = $topic_external_link_id AND forum_id = $d3f_forum_id" ;
+	$xoops_db->query($sql);
+}
+
+function set_d3f_post_invisible($wp_comment_ID, $invisible){
+	global $wpdb,$xoops_db,$blog_id,$xpress_config;
+	
+	if (empty($blog_id)) $blog_id =1;
+	$d3forum_prefix = get_xoops_prefix() . $xpress_config->d3forum_module_dir . '_';
+	$d3f_posts = $d3forum_prefix . 'posts';	// delete key topic_id
+
+	$d3f_post_id = get_d3forum_post_ID($wp_comment_ID);
+	//xdb_d3forum_posts  where post_id update invisible
+	if ($d3f_post_id){
+		$sql  =	"UPDATE  $d3f_posts SET invisible = $invisible WHERE post_id =$d3f_post_id";
+		$xoops_db->query($sql);
+	}
+}
+
+function disp_d3forum_comments($template_dir="", $file_name="")
+{
+	if (is_xpress_mobile()) return $file_path;
+	$file_path = dirname(__FILE__) . '/d3forum_comment_disp.php';
+	return $file_path;
+}
+
+function d3f_module_found($forum_dir ='d3forum'){		//use admin/admin_enhanced.php
+	return file_exists( get_xoops_root_path() . '/modules/' . $forum_dir);
+}
+
+function d3f_forum_id_found($forum_id = 1 , $forum_dir ='d3forum'){  //use admin/admin_enhanced.php
+	global $xoops_db;
+
+	$d3f_forums = get_xoops_prefix() . $forum_dir . '_forums';
+
+	$sql  = "SELECT forum_id ";
+	$sql .= "FROM $d3f_forums ";
+	$sql .= "WHERE ( forum_id = $forum_id )";
+
+	$forum_id =  $xoops_db->get_var($sql);
+	if (empty($forum_id)){
+		return false;
+	}
+	return $forum_id;
+}
+
+function get_d3forum_post_ID($wp_comment_ID){
+	global $xoops_db,$blog_id;
+	
+	if (empty($blog_id)) $blog_id =1;
+
+	$wp_d3forum_link = get_wp_prefix() . 'd3forum_link';
+	
+	$sql  =	"SELECT post_id FROM $wp_d3forum_link WHERE comment_ID = $wp_comment_ID AND blog_id = $blog_id";
+	$post_id = $xoops_db->get_var($sql);
+	return $post_id;
+}		
+
+function get_wp_comment_ID($d3forum_post_ID){
+	global $xoops_db,$blog_id;
+	
+	if (empty($blog_id)) $blog_id =1;
+
+	$wp_d3forum_link = get_wp_prefix() . 'd3forum_link';
+	
+	$sql  =	"SELECT comment_ID FROM $wp_d3forum_link WHERE post_id = $d3forum_post_ID AND blog_id = $blog_id";
+	$comment_ID = $xoops_db->get_var($sql);
+	return $comment_ID;
+}				
+
+// Next, auto increment ID value used is acquired. 
+function get_next_auto_increment_id($table_name,$id_name){
+	global $xoops_db;
+		$sql = "SELECT MAX($id_name) as last_id FROM $table_name";
+		$get_id = $xoops_db->get_var($sql);
+		if (empty($get_id)){
+			return 1;
+		} else {
+			return  $get_id + 1;
+		}
+}
+
+function is_d3forum_setting(){
+	global $xpress_config,$xoops_db;
+
+	$use_d3f = $xpress_config->is_use_d3forum;
+	if (empty($use_d3f)) {
+		return false;
+	}
+	$d3f_forum_id = $xpress_config->d3forum_forum_id;
+	$d3f_forum_dir  = $xpress_config->d3forum_module_dir;
+	if (! d3f_module_found($d3f_forum_dir)) die( "D3Forum Directory ($d3f_forum_dir) not found" ) ;	
+	if (! d3f_forum_id_found($d3f_forum_id , $d3f_forum_dir)) die( "D3Forum ForumID($d3f_forum_id) not found" ) ;
+	
+	$xoops_db->query( "UPDATE ".get_xoops_prefix() . $d3f_forum_dir."_forums" ." SET forum_external_link_format='".addslashes($xpress_config->d3forum_external_link_format)."' WHERE forum_id= $d3f_forum_id" ) ;
+	
+	return true;
+}
+
+function d3forum_topic_rock($wp_post_id,$lock = '0')
+{
+	global $xpress_config,$xoops_db;
+	
+	$d3f_forum_id = $xpress_config->d3forum_forum_id;
+	
+	if (!is_d3forum_setting()) die('The setting of the D3Forum comment integration is wrong. ');
+	$d3f_forum_dir  = $xpress_config->d3forum_module_dir;
+	
+	$d3f_topic = get_xoops_prefix() . $d3f_forum_dir . '_topics';
+
+		$sql  = "UPDATE $d3f_topic ";
+		$sql .= "SET topic_locked = $lock ";
+		$sql .= "WHERE topic_external_link_id = $wp_post_id AND forum_id = $d3f_forum_id" ;
+		$xoops_db->query($sql);
+}
+
+// All comments of WordPress are exported to the D3Forum comment. 
+function wp_to_d3forum($forum_id = 1, $d3f_prefix = 'd3forum'){
+	global $xpress_config,$xoops_db,$wpdb;
+	global $blog_id;
+	if (empty($blog_id)) $blog_id =1;
+
+	if (!is_d3forum_setting()) die('The setting of the D3Forum comment integration is wrong. ');
+	
+	$d3forum_prefix = get_xoops_prefix() . $d3f_prefix . '_';
+	$xpress_prefix = get_wp_prefix();
+	
+	$wp_comments = $wpdb->comments;
+	$wp_d3forum_link = $xpress_prefix . 'd3forum_link';
+	$wp_posts = $wpdb->posts;
+	$d3f_topic = $d3forum_prefix . 'topics';	// delete key forum_id
+	$d3f_forums = $d3forum_prefix . 'forums';	// delete key forum_id
+	$d3f_posts = $d3forum_prefix . 'posts';	// delete key topic_id
+	$d3f_users2topics = $d3forum_prefix . 'users2topics';	// delete key topic_id
+	$d3f_post_histories = $d3forum_prefix . 'post_histories';	// delete key post_id
+	$d3f_post_post_votes = $d3forum_prefix . 'post_votes';	// delete key post_id
+
+	//DELETE D3FORUM_TOPIC & D3FORUM_POSTS
+	$topics = $xoops_db->get_results("SELECT topic_id FROM $d3f_topic WHERE forum_id = $forum_id");
+	foreach($topics as $topic){
+		$now_topic_id = $topic->topic_id;
+		$posts = $xoops_db->get_results("SELECT post_id FROM $d3f_posts WHERE topic_id = $now_topic_id");
+		foreach($posts as $post){
+			$now_post_id = $post->post_id;
+			$xoops_db->query("DELETE FROM $d3f_post_histories WHERE post_id = $now_post_id");
+			$xoops_db->query("DELETE FROM $d3f_post_post_votes WHERE post_id = $now_post_id");
+		}
+		$xoops_db->query("DELETE FROM $d3f_posts WHERE topic_id = $now_topic_id");
+		$xoops_db->query("DELETE FROM $d3f_users2topics WHERE topic_id = $now_topic_id");
+	}
+	$sql  = "UPDATE $d3f_forums ";
+	$sql .= "SET forum_topics_count = 0,forum_posts_count = 0,forum_last_post_id = 0,forum_last_post_time = 0 ";
+	$sql .= "WHERE forum_id = $forum_id" ;
+	$xoops_db->query($sql);
+	
+	$xoops_db->query("DELETE FROM $d3f_topic WHERE forum_id = $forum_id");
+	
+	$next_id = get_next_auto_increment_id($d3f_topic,'topic_id');
+	$xoops_db->query("ALTER TABLE $d3f_topic AUTO_INCREMENT = $next_id");
+	
+	$next_id = get_next_auto_increment_id($d3f_posts,'post_id');
+	$xoops_db->query("ALTER TABLE $d3f_posts AUTO_INCREMENT = $next_id");
+	
+	$next_id = get_next_auto_increment_id($d3f_post_histories,'history_id');
+	$xoops_db->query("ALTER TABLE $d3f_post_histories AUTO_INCREMENT = $next_id");
+
+	$next_id = get_next_auto_increment_id($d3f_post_post_votes,'vote_id');
+	$xoops_db->query("ALTER TABLE $d3f_post_post_votes AUTO_INCREMENT = $next_id");
+	
+	//All the records in the wp_d3forum_link table are deleted.  
+	$xoops_db->query("DELETE FROM $wp_d3forum_link WHERE blog_id = $blog_id");
+
+	//The comment is copied from the wordpress comment.
+	$sql  = "SELECT comment_ID ";
+	$sql .= "FROM $wp_comments ";
+	$sql .=	"WHERE (comment_approved NOT LIKE 'spam') AND (comment_type = '') ";
+	$sql .= "ORDER BY comment_ID";
+
+	$comment_count = 0;
+	$comments = $wpdb->get_results($sql);
+	foreach($comments as $comment){
+		$comment_ID = $comment->comment_ID;
+		wp_comment_sync_to_d3forum($comment_ID ,'insert');
+		$comment_count++;
+	}
+
+	$return_str = "...Export $comment_count Comment OK ";
+
+	return $return_str;
+}
+
+
+// All comments of D3Forum are import to the WordPress comment. 
+function d3forum_to_wp($forum_id = 1, $d3f_prefix = 'd3forum'){
+	global $xpress_config,$xoops_db,$wpdb;
+	global $blog_id;
+	if (empty($blog_id)) $blog_id =1;
+	if (!is_d3forum_setting()) die('The setting of the D3Forum comment integration is wrong. ');
+	
+	$d3forum_prefix = get_xoops_prefix() . $d3f_prefix . '_';
+	$xpress_prefix = get_wp_prefix() ;
+	
+	$wp_comments = $wpdb->comments;
+	$wp_d3forum_link = $xpress_prefix . 'd3forum_link';
+	$wp_dummy = $xpress_prefix . 'dummy';
+	
+	$d3f_topic = $d3forum_prefix . 'topics';
+	$d3f_posts = $d3forum_prefix . 'posts';
+	
+	$db_xoops_users = get_xoops_prefix() . 'users';
+
+	// The track back data is taken out of the comment table, and it returns it to the initialized comment table. 	
+	//copies it in the dummy table excluding a usual comment. 
+	$xoops_db->query("CREATE TABLE $wp_dummy SELECT * FROM $wp_comments WHERE comment_type != ''");
+	//comment_ID of the dummy table is adjusted to all 0.
+	$xoops_db->query("UPDATE $wp_dummy SET `comment_ID` = 0");
+	//All the records in the comment table are deleted.  
+	$xoops_db->query("DELETE FROM $wp_comments WHERE 1");
+	//The auto increment value of the comment table is reset in '1'.
+	$xoops_db->query("ALTER TABLE $wp_comments AUTO_INCREMENT =1");
+	//The content of dummy table is returned to the comment table. 
+	$xoops_db->query("INSERT INTO $wp_comments SELECT * FROM $wp_dummy");;
+	//The dummy table is deleted. 
+	$xoops_db->query("DROP TABLE $wp_dummy");
+	//All the records in the wp_d3forum_link table are deleted.  
+	$xoops_db->query("DELETE FROM $wp_d3forum_link WHERE  blog_id = $blog_id");
+
+	//All wp post comment count clear
+	$wp_posts = $wpdb->posts;
+	$xoops_db->query("UPDATE $wp_posts SET  comment_count = 0 WHERE 1 ");
+		
+//The comment is copied from the d3forum comment.
+	$d3f_sql  =	"SELECT $d3f_topic.forum_id, $d3f_topic.topic_external_link_id, $d3f_topic.topic_id, $d3f_posts.post_id, $d3f_posts.pid ";
+	$d3f_sql .=	"FROM $d3f_topic LEFT JOIN $d3f_posts ON $d3f_topic.topic_id = $d3f_posts.topic_id ";
+	$d3f_sql .=	"WHERE $d3f_topic.forum_id=$forum_id ";
+	$d3f_sql .= "ORDER BY $d3f_posts.post_id";
+
+	$d3f_res = $xoops_db->get_results($d3f_sql);
+	$import_count = 0;
+	foreach($d3f_res as $d3f_row){
+		$link_id = $d3f_row->topic_external_link_id;
+		$forum_id = $d3f_row->forum_id;
+		$topic_id = $d3f_row->topic_id;
+		$post_id = $d3f_row->post_id;
+					
+		if(empty($link_id)){ echo "<p><font color='#FF0000'>PASS: empty topic.topic_external_link_id in topic_id($topic_id)</font></p>" ; continue;}
+		if(empty($post_id)){ echo "<p><font color='#FF0000'>PASS: empty topic_id=$topic_id in $d3f_posts</font></p>" ; continue;}
+		
+		if ($d3f_row->pid == 0){
+			$mode = 'newtopic';
+		}else{
+			$mode = 'reply';
+		}
+		d3forum_sync_to_wp_comment( $mode , $link_id , $forum_id , $topic_id , $post_id);
+		$import_count++;
+	}
+	$return_str = "...Import $import_count Comment OK ";
+	return $return_str;
+}
+
+//When post of wordpress is deleted, the comment on relating d3forum is deleted. 
+
+function wp_post_delete_sync($post_id){
+	global $xpress_config,$xoops_db;
+
+	if (!is_d3forum_setting()) die('The setting of the D3Forum comment integration is wrong. ');
+	$d3forum_dirname = $xpress_config->d3forum_module_dir;
+	$d3forum_prefix = get_xoops_prefix() . $d3forum_dirname . '_';
+	$d3forum_forum_id = $xpress_config->d3forum_forum_id;
+
+	$post_id = intval( $post_id ) ;
+
+	$d3f_topics = $d3forum_prefix . 'topics';
+	
+	$sql = "SELECT topic_id,topic_first_post_id FROM $d3f_topics WHERE topic_external_link_id = $post_id AND forum_id = $d3forum_forum_id";
+	$row = $xoops_db->get_row($sql) ;
+	
+	if(empty($row)) return ;
+	$topic_id = $row->topic_id;
+	$topic_first_post_id = $row->topic_first_post_id;
+	wp_d3forum_delete_post_recursive( $d3forum_dirname , $topic_first_post_id ,true);
+//	wp_d3forum_delete_topic( $d3forum_dirname , $topic_id );
+	wp_d3forum_sync_topic( $d3forum_dirname , $topic_id ) ;
+}
+
+//  The content is reflected in the WordPress comment when there is a change in the D3Forum comment. 
+
+function d3forum_sync_to_wp_comment( $mode , $link_id , $forum_id , $topic_id , $post_id = 0 ){
+	global $xpress_config,$xoops_db,$wpdb,$blog_id;
+
+	if (!is_d3forum_setting()) die('The setting of the D3Forum comment integration is wrong. ');
+
+	if (empty($blog_id)) $blog_id =1;
+	$d3f_forum_id = $xpress_config->d3forum_forum_id;
+
+	$d3forum_prefix = get_xoops_prefix() . $xpress_config->d3forum_module_dir . '_';
+	$xpress_prefix = get_wp_prefix();
+	
+	$wp_comments = $wpdb->comments;
+	$wp_posts = $wpdb->posts;
+	$wp_d3forum_link = $xpress_prefix . 'd3forum_link';
+	
+	$d3f_posts = $d3forum_prefix . 'posts';
+	$d3f_topics = $d3forum_prefix . 'topics';
+	$d3f_users2topics  = $d3forum_prefix . 'users2topics';
+	$d3f_post_votes = $d3forum_prefix . 'post_votes';
+
+	$db_xoops_users = get_xoops_prefix() . 'users';
+	
+	$comment_post_ID = $link_id;
+
+	$d3f_sql  =	"SELECT $d3f_posts.guest_name, ";
+	$d3f_sql .=	"$d3f_posts.guest_email, $d3f_posts.guest_url, $d3f_posts.poster_ip, $d3f_posts.post_time, ";
+	$d3f_sql .=	"$d3f_posts.post_text, $d3f_posts.approval, $d3f_posts.uid ,$d3f_posts.pid ";
+	$d3f_sql .=	"FROM $d3f_posts ";
+	$d3f_sql .=	"WHERE $d3f_posts.post_id = $post_id";
+
+	$d3f_row = $xoops_db->get_row($d3f_sql) ;
+	if (empty($d3f_row)) die('...Err. OPEN D3Forum Data (' .  $d3f_sql . ')');
+	$uid = $d3f_row->uid;
+	if (!empty($uid)) {
+		$xu_sql  = "SELECT uid ,name ,uname ,email , url FROM $db_xoops_users WHERE uid = $uid";
+		$xu_row =  $xoops_db->get_row($xu_sql);
+		if (empty($xu_row)){
+			$user_display_name = '';
+		}else {
+			if (empty($xu_row->name)){
+				$user_display_name = $xu_row->uname;
+			} else {
+				$user_display_name = $xu_row->name;
+			}
+			$comment_author_email = "'" . $xu_row->email . "'";
+			$comment_author_url = "'" . $xu_row->url . "'";
+		}
+		$comment_author = "'" . addSlashes($user_display_name) . "'";
+	} else {						
+		$comment_author = "'" . addSlashes($d3f_row->guest_name) . "'";
+		$comment_author_email = "'" . $d3f_row->guest_email . "'";
+		$comment_author_url = "'" . $d3f_row->guest_url . "'";
+	}
+	$comment_author_IP = "'" . $d3f_row->poster_ip . "'";
+	$gmt_offset = get_option('gmt_offset');
+	$local_timestamp = $d3f_row->post_time + ($gmt_offset * 3600);
+	$comment_date = "'" . date('Y-m-d H:i:s' , $local_timestamp) . "'";
+	$comment_content = "'" . addSlashes($d3f_row->post_text) . "'";
+	$comment_approved = "'" . $d3f_row->approval . "'";
+	$user_ID = $d3f_row->uid;
+	$comment_date_gmt = "'" . gmdate('Y-m-d H:i:s' , $d3f_row->post_time) . "'";
+	$comment_type = '';
+	if ($d3f_row->pid > 0) {
+		$comment_parent = get_wp_comment_ID($d3f_row->pid);
+	} else {
+		$comment_parent = 0 ;
+	}
+
+
+		switch($mode){				
+			case 'reply':
+			case 'newtopic' :				
+				$wp_sql  = "INSERT INTO $wp_comments ";
+				$wp_sql .=    "(comment_post_ID , comment_author , comment_author_email , comment_author_url , comment_author_IP , ";
+				$wp_sql .=    "comment_date , comment_content , comment_approved , user_id , comment_date_gmt, comment_parent) ";
+				$wp_sql .=  "VALUES ";
+				$wp_sql .=    "($comment_post_ID, $comment_author, $comment_author_email, $comment_author_url, $comment_author_IP, ";
+				$wp_sql .=    "$comment_date, $comment_content, $comment_approved, $user_ID, $comment_date_gmt, $comment_parent)";
+
+				$wp_res = 	$xoops_db->query($wp_sql);
+				if ($wp_res === false) die( '...Err. INSERT' . $wp_comments . '(' . $wp_sql . ')');
+				$comment_ID = $xoops_db->insert_id;
+				$wp_sql  = "UPDATE $wp_posts SET  comment_count = comment_count +1 WHERE ID = $comment_post_ID";
+				$xoops_db->query($wp_sql);
+				$wp_sql  = "INSERT INTO $wp_d3forum_link ";
+				$wp_sql .=    "(comment_ID , post_id, wp_post_ID, forum_id, blog_id) ";
+				$wp_sql .=  "VALUES ";
+				$wp_sql .=    "($comment_ID, $post_id, $link_id, $d3f_forum_id, $blog_id)";		
+				$xoops_db->query($wp_sql);				
+				if ($comment_approved ==0)	do_CommentWaiting($comment_ID, $post_id);
+				break;
+			case 'edit':
+				$comment_ID = "SELECT comment_ID FROM $wp_d3forum_link WHERE post_id = $post_id";
+				$comment_ID = $xoops_db->get_var("SELECT comment_ID FROM $wp_d3forum_link WHERE post_id = $post_id");
+				if (empty($comment_ID)) die('...Err. EDIT' . $wp_comments . '(' . $wp_sql . ')');
+				$wp_sql  = "UPDATE $wp_comments SET comment_content = $comment_content , comment_date_gmt = $comment_date_gmt WHERE comment_ID = $comment_ID";
+				$wp_res = $xoops_db->query($wp_sql);
+				if (empty($wp_res)) die( '...Err. UPDATE' . $wp_comments . '(' . $wp_sql . ')');
+				break;
+			case 'delete':
+				// wordpress comments delete
+				$comment_ID = get_wp_comment_ID($post_id);
+				if ($comment_ID > 0){
+					$sql= "SELECT comment_type FROM $wp_comments WHERE comment_ID = $comment_ID";
+					$comment_type= $xoops_db->get_var("SELECT comment_type FROM $wp_comments WHERE comment_ID = $comment_ID");
+					if (!empty($comment_type)) break;
+					$xoops_db->query("DELETE FROM $wp_comments WHERE comment_ID = $comment_ID");				
+					$xoops_db->query("DELETE FROM $wp_d3forum_link WHERE post_id = $post_id");				
+					$xoops_db->query("UPDATE $wp_posts SET  comment_count = comment_count -1 WHERE ID = $comment_post_ID");				
+				}
+				break;
+			default :
+		}				
+		
+	return true ;
+}
+
+//  The content is reflected in the D3Forum comment when there is a change in the WordPress comment. 
+function wp_comment_sync_to_d3forum($comment_ID = 0,$sync_mode){
+	global $xpress_config,$xoops_db,$xoops_config,$wpdb,$blog_id;
+	
+	if (empty($blog_id)) $blog_id =1;
+	
+	if (!is_d3forum_setting()) die('The setting of the D3Forum comment integration is wrong. ');
+	$mydirname = $xoops_config->module_name;
+
+	$d3f_forum_id = $xpress_config->d3forum_forum_id;
+	$d3f_forum_dir  = $xpress_config->d3forum_module_dir;
+	
+	$d3forum_prefix = get_xoops_prefix() . $d3f_forum_dir . '_';
+	$xpress_prefix = get_wp_prefix();
+	$wp_comments =  $wpdb->comments;
+//	$wp_comments = $xpress_prefix . 'comments';
+	$wp_posts = $wpdb->posts;
+//	$wp_posts = $xpress_prefix . 'posts';
+	$wp_d3forum_link = $xpress_prefix . 'd3forum_link';
+	$d3f_topic = $d3forum_prefix . 'topics';
+	$d3f_posts = $d3forum_prefix . 'posts';
+
+	$sql  =	"SELECT $wp_comments.comment_ID,$wp_comments.comment_post_ID, ";
+	$sql .=		"$wp_comments.comment_author, $wp_comments.comment_author_email,  $wp_comments.comment_date, $wp_comments.comment_date_gmt, ";
+	$sql .=		"$wp_comments.comment_author_url, $wp_comments.comment_author_IP, ";
+	$sql .=		"$wp_comments.comment_content, $wp_comments.comment_karma, ";
+	$sql .=		"$wp_comments.comment_approved, $wp_comments.comment_agent, ";
+	$sql .=		"$wp_comments.comment_type, $wp_comments.comment_parent, $wp_comments.user_id, ";
+	$sql .=		"$wp_posts.post_title ,$wp_posts.comment_count ";
+	$sql .=	"FROM $wp_comments INNER JOIN  $wp_posts ON $wp_comments.comment_post_ID = $wp_posts.ID ";
+	$sql .=	"WHERE (comment_ID = $comment_ID) AND ($wp_comments.comment_approved NOT LIKE 'spam') ";
+
+//	$row = $xoops_db->get_row($sql) ;
+	$row = $wpdb->get_row($sql) ;
+	if(empty($row)) die( 'READ ' . $wp_comments . '_NG...' .$sql);
+	if (! empty($row->comment_type)) return;
+	
+	$forum_id = $d3f_forum_id;
+	$d3forum_dirname =$d3f_forum_dir;
+	$topic_external_link_id = $row->comment_post_ID; //There is information on WP post_ID in topic_external_link_id of D3Forum
+	$topic_title = 'Re.' . addSlashes($row->post_title);
+	$post_time = strtotime($row->comment_date_gmt);	
+	$modified_time = strtotime($row->comment_date_gmt);
+	require_once (get_xpress_dir_path() . 'include/general_functions.php');
+	if (empty($row->user_id)){
+		$uid = wp_comment_author_to_xoops_uid($row->comment_author,$row->comment_author_email);
+	} else {
+		$uid = wp_uid_to_xoops_uid($row->user_id,$mydirname);
+	}
+	$poster_ip = "'" . addslashes($row->comment_author_IP ). "'";
+	$modifier_ip = "'" . addslashes($row->comment_author_IP) . "'";
+	$subject = "'" . $topic_title . "'";
+    $post_text = "'" . addSlashes($row->comment_content) . "'";
+	$guest_name = "'" . addSlashes($row->comment_author) . "'";
+    $guest_email = "'" . $row->comment_author_email . "'";
+    $guest_url = "'" . $row->comment_author_url . "'";
+    $approval = $row->comment_approved;
+    $comment_count = $row->comment_count;
+    $comment_parent = $row->comment_parent;
+    
+	if ($sync_mode == 'delete'){
+		$mode = 'delete';
+		$delete_post_id = $xoops_db->get_var("SELECT post_id FROM $wp_d3forum_link WHERE comment_ID = $comment_ID AND  blog_id = $blog_id");
+		if (empty($delete_post_id)) return;
+		$topic_id = $xoops_db->get_var("SELECT topic_id FROM $d3f_topic WHERE topic_external_link_id = $topic_external_link_id AND forum_id = $forum_id");
+		if (empty($topic_id)) return;
+	}else{
+		// Does the first comment (= topic) on the post exist?
+		$sql  =	"SELECT * FROM $d3f_topic WHERE topic_external_link_id = $topic_external_link_id AND forum_id = $forum_id";
+		$row = $xoops_db->get_row($sql) ;
+		$topic_first_post_id = $row->topic_first_post_id;
+		if (empty($row)){
+			$mode = $mode = 'newtopic';
+		} else {
+			$topic_id = $row->topic_id;
+			
+			// if comment on same ID exists then edits comment else reply comment
+			$row = $xoops_db->get_row("SELECT * FROM $wp_d3forum_link WHERE comment_ID = $comment_ID AND blog_id = $blog_id" ) ;
+			
+			if (!empty($row)){
+				$mode = $mode = 'edit';
+				$edit_post_id = $row->post_id;
+			} else {
+				$mode = $mode = 'reply';
+				$reply_pid = 0;
+				if ($comment_parent > 0) {
+					$reply_pid = get_d3forum_post_ID($comment_parent);
+				}
+				if ($reply_pid == 0) {
+					$reply_pid = $topic_first_post_id; //reply_first_comment
+				}
+			}
+		}
+	}
+	$modified_time = $post_time;
+	
+	// make set part of INSERT or UPDATE (refalence d3forum main/post.php)
+	$set4sql = "modified_time= $modified_time , modifier_ip= $modifier_ip " ;
+	$set4sql .= ",subject= $subject " ;
+	$set4sql .= ",post_text= $post_text " ;
+    	
+	if($uid == 0) {
+		@list( $guest_name , $trip_base ) = explode( '#' , $guest_name , 2 ) ;
+		if( ! trim( @$guest_name ) ) $guest_name = get_xoops_config('anonymous_name',$d3f_forum_dir) ;
+		if( ! empty( $trip_base ) && function_exists( 'crypt' ) ) {
+			$salt = strtr( preg_replace( '/[^\.-z]/' , '.' , substr( $trip_base . 'H.' , 1 , 2 ) ) , ':;<=>?@[\]^_`' , 'ABCDEFGabcdef' ) ;
+			$guest_trip = substr( crypt( $trip_base , $salt ) , -10 ) ;
+		} else {
+			$guest_trip = '' ;
+		}
+		$guest_url = preg_match( '#^https?\://#' , $guest_url ) ? $guest_url : '' ;
+		foreach( array('guest_name','guest_email','guest_url','guest_trip') as $key ) {
+			$set4sql .= ",$key='".addslashes($$key)."'" ;
+		}
+		if( ! empty( $guest_pass ) ) {
+			$set4sql .= ",guest_pass_md5='".md5($guest_pass.'d3forum')."'" ;
+		}
+	}
+
+	$hide_uid = get_xoops_config('allow_hideuid',$d3f_forum_dir);
+	
+	switch($mode){
+		case 'edit':
+			$edit_post = $xoops_db->get_row("SELECT * FROM $d3f_posts WHERE post_id= $edit_post_id ");
+			if(empty($edit_post)) die( 'READ ' . $d3forum_comments . '_NG...' .$sql);
+			// approval
+			if( $approval ) {
+				$set4sql .= ',approval=1' ;
+				$topic_invisible = 0 ;
+				$need_notify = true ;
+			} else {
+				$set4sql .= ',approval=0' ;
+				$topic_invisible = 0 ;
+				$need_admin_notify = true ;
+			}
+			// hide_uid
+			if( $hide_uid ) {
+				$set4sql .= ",uid=0,uid_hidden='$uid'" ;
+			} else {
+				$set4sql .= ",uid='$uid',uid_hidden=0" ;
+			}
+
+			// update post specified post_id
+			wp_d3forum_transact_make_post_history( $d3forum_dirname , $edit_post_id ) ;
+			$sql = "UPDATE ".$d3f_posts." SET $set4sql WHERE post_id=$edit_post_id";
+			$xoops_db->query($sql);
+			$xoops_db->query($sql) ;
+			if ($edit_post_pid == 0){
+				$sql = "UPDATE ".$d3f_topic." SET topic_invisible=$topic_invisible WHERE topic_id=$topic_id";
+				$xoops_db->query($sql);
+			}
+			wp_d3forum_sync_topic( $d3forum_dirname , $topic_id , true , ! $edit_post_pid ) ;
+			break;
+			
+		case 'reply' :
+			// approval
+			if( $approval ) {
+				$set4sql .= ',approval=1' ;
+				$need_notify = true ;
+			} else {
+				$set4sql .= ',approval=0' ;
+				$need_admin_notify = true ;
+			}
+
+			// hide_uid
+			if( $hide_uid ) {
+				$set4sql .= ",uid=0,uid_hidden='$uid'" ;
+			} else {
+				$set4sql .= ",uid='$uid',uid_hidden=0" ;
+			}
+
+			// create post under specified post_id
+			$sql = "INSERT INTO ".$d3f_posts." SET $set4sql,pid=$reply_pid,topic_id=$topic_id,post_time=$post_time,poster_ip=$poster_ip";
+			$xoops_db->query($sql) ;
+			$post_id = $xoops_db->insert_id;
+			wp_d3forum_sync_topic( $d3forum_dirname , $topic_id ) ;
+			
+			$wp_sql  = "INSERT INTO $wp_d3forum_link ";
+			$wp_sql .=    "(comment_ID , post_id, wp_post_ID, forum_id, blog_id) ";
+			$wp_sql .=  "VALUES ";
+			$wp_sql .=    "($comment_ID, $post_id, $topic_external_link_id, $d3f_forum_id, $blog_id)";		
+			$xoops_db->query($wp_sql);
+			
+			break;
+
+		case 'newtopic':
+			// approval
+			if( $approval ) {
+				$set4sql .= ',approval=1' ;
+				$topic_invisible = 0 ;
+				$need_notify = true ;
+			} else {
+				$set4sql .= ',approval=0' ;
+				$topic_invisible = 0 ;
+				$need_admin_notify = true ;
+			}
+
+			// hide_uid
+			if( $hide_uid ) {
+				$set4sql .= ",uid=0,uid_hidden='$uid'" ;
+			} else {
+				$set4sql .= ",uid='$uid',uid_hidden=0" ;
+			}
+
+			// create topic and get a new topic_id
+			$sql = "INSERT INTO ".$d3f_topic." SET forum_id=$forum_id,topic_invisible=$topic_invisible,topic_external_link_id='".addslashes($topic_external_link_id)."'";
+			$xoops_db->query($sql) ;
+			$topic_id = $xoops_db->insert_id;
+			// create post in the topic
+			$sql = "INSERT INTO ".$d3f_posts." SET $set4sql,topic_id=$topic_id,post_time=$post_time,poster_ip=$poster_ip";
+			$xoops_db->query($sql) ;
+			$post_id = $xoops_db->insert_id;
+			wp_d3forum_sync_topic( $d3forum_dirname , $topic_id , true , true ) ;
+			
+			$wp_sql  = "INSERT INTO $wp_d3forum_link ";
+			$wp_sql .=    "(comment_ID , post_id , wp_post_ID, forum_id, blog_id) ";
+			$wp_sql .=  "VALUES ";
+			$wp_sql .=    "($comment_ID, $post_id, $topic_external_link_id, $d3f_forum_id, $blog_id)";		
+			$xoops_db->query($wp_sql);
+
+			break;
+		case 'delete':
+			wp_d3forum_delete_post_recursive( $d3forum_dirname , $delete_post_id );
+			wp_d3forum_sync_topic( $d3forum_dirname , $topic_id ) ;
+			break;
+		default:				
+	}
+	
+	// increment post
+	if( is_object( @$xoopsUser ) && $mode != 'edit' ) {
+		$xoopsUser->incrementPost() ;
+	}
+	// set u2t_marked
+	$allow_mark = get_xoops_config('allow_mark',$d3f_forum_dir);
+
+	if( $uid && $allow_mark) {
+		$u2t_marked = empty( $_POST['u2t_marked'] ) ? 0 : 1 ;
+		$sql = "UPDATE ".$d3forum_prefix."users2topics"." SET u2t_marked=$u2t_marked,u2t_time=UNIX_TIMESTAMP() WHERE uid=$uid AND topic_id=$topic_id" ;
+		if( ! $xoops_db->query($sql)){
+			$sql = "INSERT INTO ".$d3forum_prefix."users2topics"." SET uid=$uid,topic_id=$topic_id,u2t_marked=$u2t_marked,u2t_time=UNIX_TIMESTAMP()" ;
+			$xoops_db->query($sql);
+		}
+	}
+}
+
+
+// ********************** refrence by d3forum *********************************************
+// delete posts recursively
+function wp_d3forum_delete_post_recursive( $d3forum_dirname , $post_id ,$isChild = false)
+{
+	global $wpdb,$blog_id;
+	global $xpress_config,$xoops_db;
+	$post_id = intval( $post_id ) ; // post_id is d3forum post(comments) id.
+	if (empty($blog_id)) $blog_id =1;
+
+	
+	$d3forum_prefix = get_xoops_prefix() . $d3forum_dirname . '_';
+	$xpress_prefix = get_wp_prefix();
+	
+	$topic_id = $xoops_db->get_var("SELECT topic_id FROM ".$d3forum_prefix."posts WHERE post_id=$post_id");
+	
+	//It deletes it if there is a child comment. 
+	$sql = "SELECT post_id FROM ".$d3forum_prefix ."posts"." WHERE pid=$post_id" ;
+	$child_comments = $xoops_db->get_results("SELECT post_id FROM ".$d3forum_prefix ."posts"." WHERE pid=$post_id"); 
+	foreach($child_comments as $child_comment){
+			wp_d3forum_delete_post_recursive( $d3forum_dirname , $child_comment->post_id ,true) ;
+	}
+	wp_d3forum_transact_make_post_history( $d3forum_dirname , $post_id , true ) ;
+	$xoops_db->query( "DELETE FROM ".$d3forum_prefix."posts WHERE post_id=$post_id" ) ;
+	$xoops_db->query( "DELETE FROM ".$d3forum_prefix."post_votes WHERE post_id=$post_id" ) ;
+	
+	$wp_comments = $wpdb->comments;
+	$wp_posts = $wpdb->posts;
+	$wp_d3forum_link = $xpress_prefix . 'd3forum_link';
+
+	$comment_ID = get_wp_comment_ID($post_id);  // get wordpress comment ID
+	if ($comment_ID > 0){
+		$comment_post_ID = $wpdb->get_var("SELECT comment_post_ID FROM $wp_comments WHERE comment_ID = $comment_ID");
+		if ($isChild){		//The first comment is deleted on the WordPress side. 
+			$wpdb->query("DELETE FROM $wp_comments WHERE comment_ID = $comment_ID");
+			if (!empty($comment_post_ID)){
+				$wpdb->query("UPDATE $wp_posts SET  comment_count = comment_count -1 WHERE ID = $comment_post_ID");
+			}
+		}	
+		$xoops_db->query("DELETE FROM $wp_d3forum_link WHERE post_id = $post_id AND blog_id = $blog_id");
+	}
+}
+
+
+// delete a topic 
+function wp_d3forum_delete_topic( $d3forum_dirname , $topic_id , $delete_also_posts = true )
+{
+	global $xpress_config,$xoops_db;
+	$d3forum_prefix = get_xoops_prefix() . $d3forum_dirname . '_';
+
+	$topic_id = intval( $topic_id ) ;
+
+	// delete posts
+	if( $delete_also_posts ) {
+		$posts = $xoops_db->query("SELECT post_id FROM ".$d3forum_prefix."posts WHERE topic_id=$topic_id");
+		if( !empty($posts)) {
+			foreach($posts as $post){
+				wp_d3forum_delete_post_recursive( $d3forum_dirname , $post->post_id ) ;
+			}
+		}
+	}
+
+	// delete notifications about this topic
+
+	// delete topic
+	$xoops_db->query( "DELETE FROM ".$d3forum_prefix."topics WHERE topic_id=$topic_id" );
+	// delete u2t
+	$xoops_db->query( "DELETE FROM ".$d3forum_prefix."users2topics WHERE topic_id=$topic_id" );
+}
+
+
+// store redundant informations to a topic from its posts
+// and rebuild tree informations (depth, order_in_tree)
+function wp_d3forum_sync_topic( $d3forum_dirname , $topic_id , $sync_also_forum = true , $sync_topic_title = false )
+{
+	global $xpress_config,$xoops_db;
+	$d3forum_prefix = get_xoops_prefix() . $d3forum_dirname . '_';
+	$xpress_prefix = get_wp_prefix();
+
+	$topic_id = intval( $topic_id ) ;
+
+	$forum_id = $xoops_db->get_var("SELECT forum_id FROM ".$d3forum_prefix."topics WHERE topic_id=$topic_id");
+
+	// get first_post_id
+	$first_post_id = $xoops_db->get_var("SELECT post_id FROM ".$d3forum_prefix."posts WHERE topic_id=$topic_id AND pid=0");
+
+	// get last_post_id and total_posts
+	$sql = "SELECT MAX(post_id) as last_post_id,COUNT(post_id) as total_posts FROM ".$d3forum_prefix."posts WHERE topic_id=$topic_id" ;
+	$row = $xoops_db->get_row($sql);
+	$last_post_id = $row->last_post_id;
+	$total_posts = $row->total_posts;
+
+	if( empty( $total_posts ) ) {
+		// this is empty topic should be removed
+		wp_d3forum_delete_topic( $d3forum_dirname , $topic_id ,0) ;
+
+	} else {
+
+		// update redundant columns in topics table
+		$row = $xoops_db->get_row( "SELECT post_time,uid,subject,unique_path FROM ".$d3forum_prefix."posts WHERE post_id=$first_post_id" ) ;
+		$first_post_time = $row->post_time;
+		$first_uid = $row->uid;
+		$first_subject = $row->subject;
+		$unique_path = $row->unique_path;
+		$row = $xoops_db->get_row( "SELECT post_time,uid FROM ".$d3forum_prefix."posts WHERE post_id=$last_post_id" ) ;
+		$last_post_time = $row->post_time;
+		$last_uid = $row->uid;
+		// sync topic_title same as first post's subject if specified
+		$topictitle4set = $sync_topic_title ? "topic_title='".addslashes($first_subject)."'," : "" ;
+
+		$xoops_db->query( "UPDATE ".$d3forum_prefix."topics SET {$topictitle4set} topic_posts_count=$total_posts, topic_first_uid=$first_uid, topic_first_post_id=$first_post_id, topic_first_post_time=$first_post_time, topic_last_uid=$last_uid, topic_last_post_id=$last_post_id, topic_last_post_time=$last_post_time WHERE topic_id=$topic_id" );
+
+		// rebuild tree informations
+		$tree_array = wp_d3forum_maketree_recursive( $d3forum_prefix."posts" , intval( $first_post_id ) , 'post_id' , array() , 0 , empty( $unique_path ) ? '.1' : $unique_path ) ;
+		if( ! empty( $tree_array ) ) {
+			foreach( $tree_array as $key => $val ) {
+				$xoops_db->query( "UPDATE ".$d3forum_prefix."posts SET depth_in_tree=".$val['depth'].", order_in_tree=".($key+1).", unique_path='".addslashes($val['unique_path'])."' WHERE post_id=".$val['post_id'] ) ;
+			}
+		}
+	}
+
+	if( $sync_also_forum ) 
+		return wp_d3forum_sync_forum( $d3forum_dirname , $forum_id ) ;
+	else 
+		return true ;
+}
+
+function wp_d3forum_maketree_recursive( $tablename , $post_id , $order = 'post_id' , $parray = array() , $depth = 0 , $unique_path = '.1' )
+{
+	global $xpress_config,$xoops_db;
+
+	$parray[] = array( 'post_id' => $post_id , 'depth' => $depth , 'unique_path' => $unique_path ) ;
+
+	$sql = "SELECT post_id,unique_path FROM $tablename WHERE pid=$post_id ORDER BY $order" ;
+	if( ! $result = $xoops_db->get_results( $sql )) {
+		return $parray ;
+	}
+	$new_post_ids = array() ;
+	$max_count_of_last_level = 0 ;
+	foreach($result as $row){
+		$new_post_id = $row->post_id;
+		$new_unique_path = $row->unique_path;
+		$new_post_ids[ intval( $new_post_id ) ] = $new_unique_path ;
+		if( ! empty( $new_unique_path ) ) {
+			$count_of_last_level = intval( substr( strrchr( $new_unique_path , '.' ) , 1 ) ) ;
+			if( $max_count_of_last_level < $count_of_last_level ) {
+				$max_count_of_last_level = $count_of_last_level ;
+			}
+		}
+	}
+	foreach( $new_post_ids as $new_post_id => $new_unique_path ) {
+		if( empty( $new_unique_path ) ) {
+			$new_unique_path = $unique_path . '.' . ++ $max_count_of_last_level ;
+		}
+		$parray = wp_d3forum_maketree_recursive( $tablename , $new_post_id , $order , $parray , $depth + 1 , $new_unique_path ) ;
+	}
+	return $parray ;
+}
+
+function wp_d3forum_makecattree_recursive( $tablename , $cat_id , $order = 'cat_weight' , $parray = array() , $depth = 0 , $cat_title = '' )
+{
+	global $xoops_db;
+
+	$parray[] = array( 'cat_id' => $cat_id , 'depth' => $depth , 'cat_title' => $cat_title ) ;
+
+	$sql = "SELECT cat_id,cat_title FROM $tablename WHERE pid=$cat_id ORDER BY $order" ;
+	$results = $xoops_db->get_results( $sql ) ;
+	if( empty($results) ) {
+		return $parray ;
+	}
+	foreach($result as $row){
+		$new_cat_id = $row->cat_id;
+		$new_cat_title = $row->cat_title;
+		$parray = wp_d3forum_makecattree_recursive( $tablename , $new_cat_id , $order , $parray , $depth + 1 , $new_cat_title ) ;
+	}
+	return $parray ;
+}
+
+
+// store redundant informations to a forum from its topics
+function wp_d3forum_sync_forum( $d3forum_dirname , $forum_id , $sync_also_category = true )
+{
+	global $xoops_db;
+	$d3forum_prefix = get_xoops_prefix() . $d3forum_dirname . '_';
+
+	$forum_id = intval( $forum_id ) ;
+
+	$sql = "SELECT cat_id FROM ".$d3forum_prefix."forums WHERE forum_id=$forum_id" ;
+	if( ! $cat_id = $xoops_db->get_var( $sql ) ) die( "ERROR SELECT forum in sync forum" ) ;
+
+	$sql = "SELECT MAX(topic_last_post_id) as last_post_id ,MAX(topic_last_post_time) as last_post_time ,COUNT(topic_id) as topics_count,SUM(topic_posts_count) as posts_count FROM ".$d3forum_prefix."topics WHERE forum_id=$forum_id" ;
+	if( ! $row = $xoops_db->get_row( $sql ) ) die( "ERROR SELECT topics in sync forum" ) ;
+	$last_post_id = $row->last_post_id;
+	$last_post_time = $row->last_post_time;
+	$topics_count = $row->topics_count;
+	$posts_count = $row->posts_count;
+
+	$xoops_db->query( "UPDATE ".$d3forum_prefix."forums SET forum_topics_count=".intval($topics_count).",forum_posts_count=".intval($posts_count).", forum_last_post_id=".intval($last_post_id).", forum_last_post_time=".intval($last_post_time)." WHERE forum_id=$forum_id" ) ;
+
+	if( $sync_also_category ) return wp_d3forum_sync_category( $d3forum_dirname , $cat_id ) ;
+	else return true ;
+}
+
+function get_d3forum_all_child_catid($d3forum_prefix,$sel_id, $order="", $idarray = array())
+{
+	global $xoops_db;
+	$sql = "SELECT * FROM ".$d3forum_prefix."categories WHERE pid =".$sel_id."";
+	if ( $order != "" ) {
+		$sql .= " ORDER BY $order";
+	}
+	$categories =$xoops_db->get_results($sql);
+	if ( empty($cat_ids)) {
+		return $idarray;
+	}
+	foreach( categories as $categorie ) {
+		$r_id = $categorie->cat_id;
+		array_push($idarray, $r_id);
+		$idarray = get_d3forum_all_child_catid($d3forum_prefix, $r_id,$order,$idarray);
+	}
+	return $idarray;
+}
+
+// store redundant informations to a category from its forums
+function wp_d3forum_sync_category( $d3forum_dirname , $cat_id )
+{
+	global $xoops_db;
+	$d3forum_prefix = get_xoops_prefix() . $d3forum_dirname . '_';
+
+	$cat_id = intval( $cat_id ) ;
+
+	// get children
+	$children = get_d3forum_all_child_catid( $d3forum_prefix."categories" , $cat_id ) ;
+	$children[] = $cat_id ;
+	$children = array_map( 'intval' , $children ) ;
+
+	// topics/posts information belonging this category directly
+	$sql = "SELECT MAX(forum_last_post_id) as last_post_id,MAX(forum_last_post_time) as last_post_time,SUM(forum_topics_count) as topics_count,SUM(forum_posts_count) as posts_count FROM ".$d3forum_prefix."forums WHERE cat_id=$cat_id" ;
+	if( ! $row = $xoops_db->get_row( $sql ) ) die( "ERROR SELECT forum in sync category" ) ;
+	$last_post_id = $row->last_post_id ;
+	$last_post_time = $row->last_post_time ;
+	$topics_count = $row->topics_count ;
+	$posts_count = $row->posts_count ;
+
+	// topics/posts information belonging this category and/or subcategories
+	$sql = "SELECT MAX(forum_last_post_id) as last_post_id_in_tree,MAX(forum_last_post_time) as last_post_time_in_tree,SUM(forum_topics_count) as topics_count_in_tree,SUM(forum_posts_count) as posts_count_in_tree FROM ".$d3forum_prefix."forums WHERE cat_id IN (".implode(",",$children).")" ;
+	if( ! $row = $xoops_db->get_row( $sql ) ) die( "ERROR SELECT forum in sync category" ) ;
+	$last_post_id_in_tree = $row->last_post_id_in_tree ;
+	$last_post_time_in_tree = $row->last_post_time_in_tree ;
+	$topics_count_in_tree = $row->topics_count_in_tree ;
+	$posts_count_in_tree = $row->posts_count_in_tree ;
+
+	// update query
+	$xoops_db->query( "UPDATE ".$d3forum_prefix."categories SET cat_topics_count=".intval($topics_count).",cat_posts_count=".intval($posts_count).", cat_last_post_id=".intval($last_post_id).", cat_last_post_time=".intval($last_post_time).",cat_topics_count_in_tree=".intval($topics_count_in_tree).",cat_posts_count_in_tree=".intval($posts_count_in_tree).", cat_last_post_id_in_tree=".intval($last_post_id_in_tree).", cat_last_post_time_in_tree=".intval($last_post_time_in_tree)." WHERE cat_id=$cat_id" );
+
+	// do sync parents
+	$pid = $xoops_db->get_var( "SELECT pid FROM ".$d3forum_prefix."categories WHERE cat_id=$cat_id" )  ;
+	if( $pid != $cat_id && $pid > 0 ) {
+		wp_d3forum_sync_category( $d3forum_dirname , $pid ) ;
+	}
+
+	return true ;
+}
+
+// make a new history entry for a post
+function wp_d3forum_transact_make_post_history( $d3forum_dirname , $post_id , $full_backup = false )
+{
+	global $xoops_db;
+	$d3forum_prefix = get_xoops_prefix() . $d3forum_dirname . '_';
+
+	$post_id = intval( $post_id ) ;
+
+	$results = $xoops_db->get_results( "SELECT * FROM ".$d3forum_prefix."posts WHERE post_id=$post_id" ) ;
+	if(empty($results)) return ;
+	$post_row = $results ;
+	$data = array() ;
+	$indexes = $full_backup ? array_keys( $post_row ) : array( 'subject' , 'post_text' ) ;
+	foreach( $indexes as $index ) {
+		$data[ $index ] = $post_row[ $index ] ;
+	}
+
+	// check the latest data in history
+	$old_data_serialized = $xoops_db->get_var( "SELECT data FROM ".$d3forum_prefix."post_histories WHERE post_id=$post_id ORDER BY history_time DESC" ) ;
+	if( !empty( $old_data_serialized ) ) {
+		$old_data = unserialize( $old_data_serialized ) ;
+		if( $old_data == $data ) return ;
+	}
+
+	$xoops_db->query( $xoops_db->prepare( "INSERT INTO ".$d3forum_prefix."post_histories SET post_id=$post_id, history_time=UNIX_TIMESTAMP(), data=%s", serialize( $data ) ) ) ;
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/dashboard_feed.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/dashboard_feed.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/dashboard_feed.php	(revision 866)
@@ -0,0 +1,113 @@
+<?php
+
+// Register Dashboard Widget
+add_action('wp_dashboard_setup', 'xpress_register_dashboard_widget');
+
+function xpress_register_dashboard_widget() {
+	global $wp_registered_widgets, $wp_registered_widget_controls, $wp_dashboard_control_callbacks;
+	global $xpress_config;
+
+	$widget_options = get_option( 'xpress_dashboard_widget_options' );
+	if ( !$widget_options || !is_array($widget_options) )
+		$widget_options = array();
+	
+	$blog_link = 'http://ja.xpressme.info/blog/';
+	$blog_url = 'http://ja.xpressme.info/feed/';
+	if ( !isset( $widget_options['xpress_dashboard_primary'] ) ) {
+		$update = true;
+		$widget_options['xpress_dashboard_primary'] = array(
+			'link' => $blog_link ,
+			'url' => $blog_url,
+			'title' =>  __( 'XPressME Integration Kit Blog' , 'xpressme') ,
+			'items' => 2,
+			'show_summary' => 1,
+			'show_author' => 0,
+			'show_date' => 1
+		);
+	}
+	// Override Setting
+	$widget_options['xpress_dashboard_primary']['link'] = $blog_link;
+	$widget_options['xpress_dashboard_primary']['url'] = $blog_url;
+	
+
+	$forums_link = 'http://ja.xpressme.info/forums/';
+	$forums_url = 'http://ja.xpressme.info/forums/feed/';	
+	if ( !isset( $widget_options['xpress_dashboard_secondary'] ) ) {
+		$update = true;
+		$widget_options['xpress_dashboard_secondary'] = array(
+			'link' => $forums_link ,
+			'url' => $forums_url,
+			'title' =>  __( 'XPressME Integration Kit Folum' , 'xpressme') ,
+			'items' => 5,
+			'show_summary' => 0,
+			'show_author' => 0,
+			'show_date' => 0
+		);
+	}
+	// Override Setting
+    $widget_options['xpress_dashboard_secondary']['link'] = $forums_link;
+    $widget_options['xpress_dashboard_secondary']['url'] = $forums_url;
+
+
+	update_option( 'xpress_dashboard_widget_options', $widget_options );
+	if ($xpress_config->is_dashboard_blog_disp){
+		wp_add_dashboard_widget( 'xpress_dashboard_primary', $widget_options['xpress_dashboard_primary']['title'], 'xpress_dashboard_primary', 'xpress_dashboard_primary_control' );
+	}
+	if ($xpress_config->is_dashboard_forum_disp){
+		wp_add_dashboard_widget( 'xpress_dashboard_secondary', $widget_options['xpress_dashboard_secondary']['title'], 'xpress_dashboard_secondary', 'xpress_dashboard_secondary_control');
+	}
+}
+
+
+
+function xpress_dashboard_primary() {
+	xpress_dashboard_rss_output('xpress_dashboard_primary');
+}
+
+function xpress_dashboard_primary_control() {
+	xpress_dashboard_rss_control( 'xpress_dashboard_primary' );
+}
+
+function xpress_dashboard_secondary() {
+	xpress_dashboard_rss_output('xpress_dashboard_secondary');
+}
+
+function xpress_dashboard_secondary_control() {
+	xpress_dashboard_rss_control( 'xpress_dashboard_secondary' );
+}
+
+function xpress_dashboard_rss_output( $widget_id ) {
+	$widgets = get_option( 'xpress_dashboard_widget_options' );
+	echo "<div class='rss-widget'>";
+	wp_widget_rss_output( $widgets[$widget_id] );
+	echo "</div>";
+}
+
+function xpress_dashboard_rss_control( $widget_id, $form_inputs = array() ) {
+	if ( !$widget_options = get_option( 'xpress_dashboard_widget_options' ) )
+		$widget_options = array();
+
+	if ( !isset($widget_options[$widget_id]) )
+		$widget_options[$widget_id] = array();
+
+	$number = 1; // Hack to use wp_widget_rss_form()
+	$widget_options[$widget_id]['number'] = $number;
+
+	if ( 'POST' == $_SERVER['REQUEST_METHOD'] && isset($_POST['widget-rss'][$number]) ) {
+		$_POST['widget-rss'][$number] = stripslashes_deep( $_POST['widget-rss'][$number] );
+		$widget_options[$widget_id] = wp_widget_rss_process( $_POST['widget-rss'][$number] );
+		// title is optional.  If black, fill it if possible
+		if ( !$widget_options[$widget_id]['title'] && isset($_POST['widget-rss'][$number]['title']) ) {
+			$rss = fetch_feed($widget_options[$widget_id]['url']);
+			if ( ! is_wp_error($rss) )
+				$widget_options[$widget_id]['title'] = htmlentities(strip_tags($rss->get_title()));
+			else
+				$widget_options[$widget_id]['title'] = htmlentities(__('Unknown Feed'));
+		}
+		update_option( 'xpress_dashboard_widget_options', $widget_options );
+	}
+
+	wp_widget_rss_form( $widget_options[$widget_id], $form_inputs );
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/functions_for_wp_old.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/functions_for_wp_old.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/functions_for_wp_old.php	(revision 866)
@@ -0,0 +1,552 @@
+<?php
+// wp_login override for wp2.3 under
+if ( !function_exists('wp_login') && version_compare($xoops_config->wp_version,'2.3', '<')) :
+	function wp_login($username, $password, $already_md5 = false) {
+		global $wpdb, $error;
+
+
+		if(is_object($GLOBALS["xoopsModule"]) && WP_BLOG_DIRNAME == $GLOBALS["xoopsModule"]->getVar("dirname")){
+			if(!is_object($GLOBALS["xoopsUser"])){
+				wp_clearcookie();
+				return false;
+			}
+		}			
+
+		$username = sanitize_user($username);
+
+		if ( '' == $username )
+			return false;
+
+		if ( '' == $password ) {
+			$error = __('<strong>ERROR</strong>: The password field is empty.');
+			return false;
+		}
+
+		$login = get_userdatabylogin($username);
+		//$login = $wpdb->get_row("SELECT ID, user_login, user_pass FROM $wpdb->users WHERE user_login = '$username'");
+
+		if (!$login) {
+			$error = __('<strong>ERROR</strong>: Invalid username.');
+			return false;
+		} else {
+			if ($login->user_login == $username) {
+					if ($login->user_pass == $password) return true;
+					if ($login->user_pass == md5($password)) return true;
+			}
+
+			$error = __('<strong>ERROR</strong>: Incorrect password.');
+			$pwd = '';
+			return false;
+		}
+	}
+endif;
+
+// Under WP2.1
+if (version_compare($xoops_config->wp_version,'2.1', '<')) :
+	// ADD WP 2.1.0
+	function the_modified_date($d = '') {
+		echo apply_filters('the_modified_date', get_the_modified_date($d), $d);
+	}
+
+	// ADD WP 2.1.0
+	function get_the_modified_date($d = '') {
+		if ( '' == $d )
+			$the_time = get_post_modified_time(get_option('date_format'));
+		else
+			$the_time = get_post_modified_time($d);
+		return apply_filters('get_the_modified_date', $the_time, $d);
+	}
+endif;	// Under WP2.1
+
+// Under WP2.2
+if (version_compare($xoops_config->wp_version,'2.2', '<')):
+	// Added WP2.2 wp_parse_args()
+	function wp_parse_args( $args, $defaults = '' ) {
+		if ( is_object( $args ) )
+			$r = get_object_vars( $args );
+		elseif ( is_array( $args ) )
+			$r =& $args;
+		else
+			wp_parse_str( $args, $r );
+
+		if ( is_array( $defaults ) )
+			return array_merge( $defaults, $r );
+		return $r;
+	}
+	// Added WP2.2 translate()
+	function translate($text, $domain = 'default') {
+		global $l10n;
+
+		if (isset($l10n[$domain]))
+			return apply_filters('gettext', $l10n[$domain]->translate($text), $text, $domain);
+		else
+			return apply_filters('gettext', $text, $text, $domain);
+	}
+
+	// Added WP2.2 translate_with_context()
+	function before_last_bar( $string ) {
+		$last_bar = strrpos( $string, '|' );
+		if ( false == $last_bar )
+			return $string;
+		else
+			return substr( $string, 0, $last_bar );
+	}
+endif;	// Under WP2.2
+
+// Under WP2.2.1
+if (version_compare($xoops_config->wp_version,'2.2.1', '<')) :
+	// Added WP2.2.1 wp_parse_str()
+	function wp_parse_str( $string, &$array ) {
+		parse_str( $string, $array );
+		if ( get_magic_quotes_gpc() )
+			$array = stripslashes_deep( $array );
+		$array = apply_filters( 'wp_parse_str', $array );
+	}
+
+endif;	// Under WP2.2.1
+
+// Under WP2.3
+if (version_compare($xoops_config->wp_version,'2.3', '<')) :
+	if ( !function_exists('wp_sanitize_redirect') ) :
+	/**
+	 * Sanitizes a URL for use in a redirect.
+	 *
+	 * @since 2.3
+	 *
+	 * @return string redirect-sanitized URL
+	 **/
+	function wp_sanitize_redirect($location) {
+		$location = preg_replace('|[^a-z0-9-~+_.?#=&;,/:%]|i', '', $location);
+		$location = wp_kses_no_null($location);
+
+		// remove %0d and %0a from location
+		$strip = array('%0d', '%0a');
+		$found = true;
+		while($found) {
+			$found = false;
+			foreach( (array) $strip as $val ) {
+				while(strpos($location, $val) !== false) {
+					$found = true;
+					$location = str_replace($val, '', $location);
+				}
+			}
+		}
+		return $location;
+	}
+	endif;
+	
+	if ( !function_exists('wp_sanitize_redirect') ) :
+	/**
+	 * Sanitizes a URL for use in a redirect.
+	 *
+	 * @since 2.3
+	 *
+	 * @return string redirect-sanitized URL
+	 **/
+	function wp_sanitize_redirect($location) {
+		$location = preg_replace('|[^a-z0-9-~+_.?#=&;,/:%]|i', '', $location);
+		$location = wp_kses_no_null($location);
+
+		// remove %0d and %0a from location
+		$strip = array('%0d', '%0a');
+		$found = true;
+		while($found) {
+			$found = false;
+			foreach( (array) $strip as $val ) {
+				while(strpos($location, $val) !== false) {
+					$found = true;
+					$location = str_replace($val, '', $location);
+				}
+			}
+		}
+		return $location;
+	}
+	endif;
+
+endif;	// Under WP2.3
+
+// Under WP2.5
+if (version_compare($xoops_config->wp_version,'2.5', '<')) :
+	// Added WP2.5 absint()
+	function absint( $maybeint ) {
+		return abs( intval( $maybeint ) );
+	}
+	// Added WP2.5 translate_with_context()
+	function translate_with_context( $text, $domain = 'default' ) {
+		return before_last_bar(translate( $text, $domain ) );
+	}
+	/**
+	 * @ignore
+	 */
+	function _c() {}
+	
+	if ( !function_exists('wp_logout') ) {
+		function wp_logout() {
+			wp_clear_auth_cookie();
+			do_action('wp_logout');
+		}
+	}
+
+
+endif;	// Under WP2.5
+
+// Under WP2.7
+if (version_compare($xoops_config->wp_version,'2.6', '<')) :
+	/**
+	 * Guess the URL for the site.
+	 *
+	 * Will remove wp-admin links to retrieve only return URLs not in the wp-admin
+	 * directory.
+	 *
+	 * @since 2.6.0
+	 *
+	 * @return string
+	 */
+	function wp_guess_url() {
+	if ( defined('WP_SITEURL') && '' != WP_SITEURL ) {
+		$url = WP_SITEURL;
+	} else {
+		$schema = ( isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on' ) ? 'https://' : 'http://';
+		$url = preg_replace('|/wp-admin/.*|i', '', $schema . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
+	}
+	return $url;
+}
+endif;	// Under WP2.6
+
+// Under WP2.7
+if (version_compare($xoops_config->wp_version,'2.7', '<')) :
+	// Added WP2.7 separate_comments()
+	function &separate_comments(&$comments) {
+		$comments_by_type = array('comment' => array(), 'trackback' => array(), 'pingback' => array(), 'pings' => array());
+		$count = count($comments);
+		for ( $i = 0; $i < $count; $i++ ) {
+			$type = $comments[$i]->comment_type;
+			if ( empty($type) )
+				$type = 'comment';
+			$comments_by_type[$type][] = &$comments[$i];
+			if ( 'trackback' == $type || 'pingback' == $type )
+				$comments_by_type['pings'][] = &$comments[$i];
+		}
+
+		return $comments_by_type;
+	}
+
+	// Added WP2.7 get_comments()
+	function get_comments( $args = '' ) {
+		global $wpdb;
+
+		$defaults = array('status' => '', 'orderby' => 'comment_date_gmt', 'order' => 'DESC', 'number' => '', 'offset' => '', 'post_id' => 0);
+
+		$args = wp_parse_args( $args, $defaults );
+		extract( $args, EXTR_SKIP );
+
+		// $args can be whatever, only use the args defined in defaults to compute the key
+		$key = md5( serialize( compact(array_keys($defaults)) )  );
+		$last_changed = wp_cache_get('last_changed', 'comment');
+		if ( !$last_changed ) {
+			$last_changed = time();
+			wp_cache_set('last_changed', $last_changed, 'comment');
+		}
+		$cache_key = "get_comments:$key:$last_changed";
+
+		if ( $cache = wp_cache_get( $cache_key, 'comment' ) ) {
+			return $cache;
+		}
+
+		$post_id = absint($post_id);
+
+		if ( 'hold' == $status )
+			$approved = "comment_approved = '0'";
+		elseif ( 'approve' == $status )
+			$approved = "comment_approved = '1'";
+		elseif ( 'spam' == $status )
+			$approved = "comment_approved = 'spam'";
+		else
+			$approved = "( comment_approved = '0' OR comment_approved = '1' )";
+
+		$order = ( 'ASC' == $order ) ? 'ASC' : 'DESC';
+
+		$orderby = 'comment_date_gmt';  // Hard code for now
+
+		$number = absint($number);
+		$offset = absint($offset);
+
+		if ( !empty($number) ) {
+			if ( $offset )
+				$number = 'LIMIT ' . $offset . ',' . $number;
+			else
+				$number = 'LIMIT ' . $number;
+
+		} else {
+			$number = '';
+		}
+
+		if ( ! empty($post_id) )
+			$post_where = "comment_post_ID = $post_id AND" ;
+		else
+			$post_where = '';
+
+		$comments = $wpdb->get_results( "SELECT * FROM $wpdb->comments WHERE $post_where $approved ORDER BY $orderby $order $number" );
+		wp_cache_add( $cache_key, $comments, 'comment' );
+
+		return $comments;
+	}
+
+	// Added WP2.7 absint()
+	function locate_template($template_names, $load = false) {
+		if (!is_array($template_names))
+			return '';
+
+		$located = '';
+		foreach($template_names as $template_name) {
+			if ( file_exists(STYLESHEETPATH . '/' . $template_name)) {
+				$located = STYLESHEETPATH . '/' . $template_name;
+				break;
+			} else if ( file_exists(TEMPLATEPATH . '/' . $template_name) ) {
+				$located = TEMPLATEPATH . '/' . $template_name;
+				break;
+			}
+		}
+
+		if ($load && '' != $located)
+			load_template($located);
+
+		return $located;
+	}
+	// Added WP2.7 post_password_required()
+	function post_password_required( $post = null ) {
+		$post = get_post($post);
+
+		if ( empty($post->post_password) )
+			return false;
+
+		if ( !isset($_COOKIE['wp-postpass_' . COOKIEHASH]) )
+			return true;
+
+		if ( $_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password )
+			return true;
+
+		return false;
+	}
+	// Added WP2.7 comment_form_title()
+	function comment_form_title( $noreplytext = 'Leave a Reply', $replytext = 'Leave a Reply to %s', $linktoparent = TRUE ) {
+		global $comment;
+
+		$replytoid = isset($_GET['replytocom']) ? (int) $_GET['replytocom'] : 0;
+
+		if ( 0 == $replytoid )
+			echo $noreplytext;
+		else {
+			$comment = get_comment($replytoid);
+			$author = ( $linktoparent ) ? '<a href="#comment-' . get_comment_ID() . '">' . get_comment_author() . '</a>' : get_comment_author();
+			printf( $replytext, $author );
+		}
+	}
+endif;	// Under WP2.7
+
+// Under WP2.8
+if (version_compare($xoops_config->wp_version,'2.8', '<')) :
+	function _wp_specialchars( $string, $quote_style = ENT_NOQUOTES, $charset = false, $double_encode = false ) {
+		$string = (string) $string;
+
+		if ( 0 === strlen( $string ) ) {
+			return '';
+		}
+
+		// Don't bother if there are no specialchars - saves some processing
+		if ( !preg_match( '/[&<>"\']/', $string ) ) {
+			return $string;
+		}
+
+		// Account for the previous behaviour of the function when the $quote_style is not an accepted value
+		if ( empty( $quote_style ) ) {
+			$quote_style = ENT_NOQUOTES;
+		} elseif ( !in_array( $quote_style, array( 0, 2, 3, 'single', 'double' ), true ) ) {
+			$quote_style = ENT_QUOTES;
+		}
+
+		// Store the site charset as a static to avoid multiple calls to wp_load_alloptions()
+		if ( !$charset ) {
+			static $_charset;
+			if ( !isset( $_charset ) ) {
+				$alloptions = wp_load_alloptions();
+				$_charset = isset( $alloptions['blog_charset'] ) ? $alloptions['blog_charset'] : '';
+			}
+			$charset = $_charset;
+		}
+		if ( in_array( $charset, array( 'utf8', 'utf-8', 'UTF8' ) ) ) {
+			$charset = 'UTF-8';
+		}
+
+		$_quote_style = $quote_style;
+
+		if ( $quote_style === 'double' ) {
+			$quote_style = ENT_COMPAT;
+			$_quote_style = ENT_COMPAT;
+		} elseif ( $quote_style === 'single' ) {
+			$quote_style = ENT_NOQUOTES;
+		}
+
+		// Handle double encoding ourselves
+		if ( !$double_encode ) {
+			$string = wp_specialchars_decode( $string, $_quote_style );
+
+			/* Critical */
+			// The previous line decodes &amp;phrase; into &phrase;  We must guarantee that &phrase; is valid before proceeding.
+			$string = wp_kses_normalize_entities($string);
+
+			// Now proceed with custom double-encoding silliness
+			$string = preg_replace( '/&(#?x?[0-9a-z]+);/i', '|wp_entity|$1|/wp_entity|', $string );
+		}
+
+		$string = @htmlspecialchars( $string, $quote_style, $charset );
+
+		// Handle double encoding ourselves
+		if ( !$double_encode ) {
+			$string = str_replace( array( '|wp_entity|', '|/wp_entity|' ), array( '&', ';' ), $string );
+		}
+
+		// Backwards compatibility
+		if ( 'single' === $_quote_style ) {
+			$string = str_replace( "'", '&#039;', $string );
+		}
+
+		return $string;
+	}
+	
+	/**
+	 * Checks for invalid UTF8 in a string.
+	 *
+	 * @since 2.8
+	 *
+	 * @param string $string The text which is to be checked.
+	 * @param boolean $strip Optional. Whether to attempt to strip out invalid UTF8. Default is false.
+	 * @return string The checked text.
+	 */
+	function wp_check_invalid_utf8( $string, $strip = false ) {
+		$string = (string) $string;
+
+		if ( 0 === strlen( $string ) ) {
+			return '';
+		}
+
+		// Store the site charset as a static to avoid multiple calls to get_option()
+		static $is_utf8;
+		if ( !isset( $is_utf8 ) ) {
+			$is_utf8 = in_array( get_option( 'blog_charset' ), array( 'utf8', 'utf-8', 'UTF8', 'UTF-8' ) );
+		}
+		if ( !$is_utf8 ) {
+			return $string;
+		}
+
+		// Check for support for utf8 in the installed PCRE library once and store the result in a static
+		static $utf8_pcre;
+		if ( !isset( $utf8_pcre ) ) {
+			$utf8_pcre = @preg_match( '/^./u', 'a' );
+		}
+		// We can't demand utf8 in the PCRE installation, so just return the string in those cases
+		if ( !$utf8_pcre ) {
+			return $string;
+		}
+
+		// preg_match fails when it encounters invalid UTF8 in $string
+		if ( 1 === @preg_match( '/^./us', $string ) ) {
+			return $string;
+		}
+
+		// Attempt to strip the bad chars if requested (not recommended)
+		if ( $strip && function_exists( 'iconv' ) ) {
+			return iconv( 'utf-8', 'utf-8', $string );
+		}
+
+		return '';
+	}
+
+	/**
+	 * Perform a deep string replace operation to ensure the values in $search are no longer present
+	 *
+	 * Repeats the replacement operation until it no longer replaces anything so as to remove "nested" values
+	 * e.g. $subject = '%0%0%0DDD', $search ='%0D', $result ='' rather than the '%0%0DD' that
+	 * str_replace would return
+	 *
+	 * @since 2.8.1
+	 * @access private
+	 *
+	 * @param string|array $search
+	 * @param string $subject
+	 * @return string The processed string
+	 */
+	function _deep_replace( $search, $subject ) {
+		$found = true;
+		$subject = (string) $subject;
+		while ( $found ) {
+			$found = false;
+			foreach ( (array) $search as $val ) {
+				while ( strpos( $subject, $val ) !== false ) {
+					$found = true;
+					$subject = str_replace( $val, '', $subject );
+				}
+			}
+		}
+
+		return $subject;
+	}
+
+	
+	/* @since 2.8.0
+	 * @uses wp_kses_bad_protocol() To only permit protocols in the URL set
+	 *		via $protocols or the common ones set in the function.
+	 *
+	 * @param string $url The URL to be cleaned.
+	 * @param array $protocols Optional. An array of acceptable protocols.
+	 *		Defaults to 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet' if not set.
+	 * @param string $_context Private. Use esc_url_raw() for database usage.
+	 * @return string The cleaned $url after the 'clean_url' filter is applied.
+	 */
+	function esc_url( $url, $protocols = null, $_context = 'display' ) {
+		$original_url = $url;
+
+		if ( '' == $url )
+			return $url;
+		$url = preg_replace('|[^a-z0-9-~+_.?#=!&;,/:%@$\|*\'()\\x80-\\xff]|i', '', $url);
+		$strip = array('%0d', '%0a', '%0D', '%0A');
+		$url = _deep_replace($strip, $url);
+		$url = str_replace(';//', '://', $url);
+		/* If the URL doesn't appear to contain a scheme, we
+		 * presume it needs http:// appended (unless a relative
+		 * link starting with / or a php file).
+		 */
+		if ( strpos($url, ':') === false &&
+			substr( $url, 0, 1 ) != '/' && substr( $url, 0, 1 ) != '#' && !preg_match('/^[a-z0-9-]+?\.php/i', $url) )
+			$url = 'http://' . $url;
+
+		// Replace ampersands and single quotes only when displaying.
+		if ( 'display' == $_context ) {
+			$url = wp_kses_normalize_entities( $url );
+			$url = str_replace( '&amp;', '&#038;', $url );
+			$url = str_replace( "'", '&#039;', $url );
+		}
+
+		if ( !is_array($protocols) )
+			$protocols = array ('http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn');
+		if ( wp_kses_bad_protocol( $url, $protocols ) != $url )
+			return '';
+
+		return apply_filters('clean_url', $url, $original_url, $_context);
+	}
+	/**
+	 * Escaping for HTML attributes.
+	 *
+	 * @since 2.8.0
+	 *
+	 * @param string $text
+	 * @return string
+	 */
+	function esc_attr( $text ) {
+		$safe_text = wp_check_invalid_utf8( $text );
+		$safe_text = _wp_specialchars( $safe_text, ENT_QUOTES );
+		return apply_filters( 'attribute_escape', $safe_text, $text );
+	}
+
+endif;	// Under WP2.8
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/notify_functions.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/notify_functions.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/notify_functions.php	(revision 866)
@@ -0,0 +1,261 @@
+<?php
+
+function onaction_publish_post_notify($new_status, $old_status, $post)
+{
+	if ($new_status == 'publish'){
+		do_PostNotifications($post->ID,'newpost');
+	}
+}
+
+function onaction_edit_post_notify($post_id)
+{
+	do_PostNotifications($post_id,'editpost');
+}
+
+function onaction_comment_notify($commentID){
+	global $wpdb;
+	$status = $wpdb->get_var("SELECT comment_approved FROM $wpdb->comments WHERE comment_ID = $commentID");
+	$post_id = $wpdb->get_var("SELECT comment_post_ID FROM $wpdb->comments WHERE comment_ID = $commentID");
+
+	if ($status ==1){
+		do_CommentNotifications($commentID, $post_id);
+	} else {
+		do_CommentWaiting($commentID, $post_id);
+	}
+}
+
+function onaction_comment_apobe_notify($commentID){
+	global $wpdb;
+	$comment_type = $wpdb->get_var("SELECT comment_type FROM $wpdb->comments WHERE comment_ID = $commentID");
+	$status = $wpdb->get_var("SELECT comment_approved FROM $wpdb->comments WHERE comment_ID = $commentID");
+	if(is_null($status)) return;
+	if ($status == 1){
+			onaction_comment_notify($commentID);
+	}
+}
+
+function Notification_triggerEvent($force_reserve = false,$category, $item_id, $event, $extra_tags=array(), $user_list=array(), $omit_user_id=null)
+{
+	global $xoops_db,$xoops_config;
+	global $xoopsModule,$xoopsUser,$xoopsUserIsAdmin;
+
+	//When notifying by a private message, 
+	//it is evaded that the data base becomes read-only as a result of the check on the referrer and the method. 
+	if ( defined("XPRESS_EVENT_DEBUG")) xpress_debug_message($message = 'call $notification_handler->triggerEvent');
+	if (is_wp_cron_page_call() ){
+		$_SERVER['HTTP_REFERER'] = 'http://'. $_SERVER[HTTP_HOST]  . $_SERVER['PHP_SELF'];
+		$_SERVER['REQUEST_METHOD'] = 'POST';
+		if (function_exists('xpress_debug')) xpress_debug($title = 'wp_cron_page_call',true);
+	}
+	if (is_xmlrpc_call() ){
+		$_SERVER['HTTP_REFERER'] = 'http://'. $_SERVER[HTTP_HOST]  . $_SERVER['PHP_SELF'];
+		$_SERVER['REQUEST_METHOD'] = 'POST';
+	}
+//	set_error_handler("xpress_error_handler");
+//	if ($xoops_config->is_impress != true){  // impress cms is error
+//		if ( !defined("XOOPS_MAINFILE_INCLUDED")) {
+//			require_once $xoops_config->xoops_mainfile_path;	// load XOOPS System
+//		}
+//	}
+	if (!$force_reserve && defined("XOOPS_MAINFILE_INCLUDED") ) {
+		if ( defined("XPRESS_EVENT_DEBUG")) xpress_debug_message($message = 'call $notification_handler->triggerEvent');
+		$module_id = get_xpress_modid() ;
+		$notification_handler =& xoops_gethandler( 'notification' ) ;
+		$notification_handler->triggerEvent($category, $item_id, $event, $extra_tags, $user_list, $module_id, $omit_user_id);
+	} else {
+		if ( defined("XPRESS_EVENT_DEBUG")) xpress_debug_message($message = 'not call $notification_handler->triggerEvent');
+		$module_id = get_xpress_modid() ;
+		Notification_reserve($category, $item_id, $event, $extra_tags, $user_list, $module_id, $omit_user_id);
+	}
+}
+
+function do_CommentWaiting($commentID, $comment_post_ID)
+{
+//	require_once XOOPS_ROOT_PATH . '/include/notification_functions.php' ;
+//	$notification_handler =& xoops_gethandler( 'notification' ) ;
+
+	// Fixed Compile Error : /wp-includes/class-phpmailer.php - Cannot redeclare class PHPMailer
+	$comments_notify = get_option('comments_notify');
+	if($comments_notify) $force_reserve = true; else $force_reserve = false;
+	
+	Notification_triggerEvent($force_reserve,'global' , 0 , 'waiting') ;
+}
+
+
+function do_CommentNotifications($commentID, $comment_post_ID)
+{
+	global $wpdb, $xoops_config , $xoops_db;
+
+	$table_term_relationships = $wpdb->term_relationships;
+	$table_term_taxonomy = $wpdb->term_taxonomy;
+	$table_terms = $wpdb->terms;
+	$table_categories = $wpdb->categories;
+	$wp_post = $wpdb->posts;
+	$wp_options = $wpdb->options;
+	$wp_users  = $wpdb->users;
+	$wp_comments  = $wpdb->comments;
+	
+	$post_id = $comment_post_ID;
+
+	$post_title = get_the_title($post_id);
+	$post_url = get_permalink($post_id). '#comment';
+	$blog_name = get_bloginfo('name');
+
+	// query
+	$sql = "SELECT post_author FROM ".$wp_post." WHERE ID=$comment_post_ID ";
+	$post_author = $xoops_db->get_var($sql);
+
+	$sql = "SELECT display_name  FROM $wp_users WHERE ID ='$post_author'";
+	$user_name = $xoops_db->get_var($sql);
+
+	$comment_tags = array( 'XPRESS_AUTH_NAME' =>$user_name,'XPRESS_BLOG_NAME' =>$blog_name,'XPRESS_POST_TITLE' => $post_title , 'XPRESS_POST_URL' => $post_url ) ;
+
+	// Fixed Compile Error : /wp-includes/class-phpmailer.php - Cannot redeclare class PHPMailer
+	$moderation_notify = get_option('moderation_notify');
+	if($moderation_notify) $force_reserve = true; else $force_reserve = false;
+
+	Notification_triggerEvent($force_reserve, 'global' , 0 , 'comment' , $comment_tags , false);
+	Notification_triggerEvent($force_reserve, 'author' , $post_author , 'comment' , $comment_tags , false);
+	Notification_triggerEvent($force_reserve, 'post' , $comment_post_ID , 'comment' , $comment_tags , false);
+
+	// categorie notification
+	if (get_xpress_db_version() < 6124){
+		$sql2 = "SELECT c.cat_ID, c.cat_name FROM ".$table_categories." c, ".$table_post2cat." p2c WHERE c.cat_ID = p2c.category_id AND p2c.post_id=".$comment_post_ID;
+	} else {
+		$sql2  = "SELECT $table_term_relationships.object_id, $table_terms.term_id AS cat_ID, $table_terms.name AS cat_name ";
+		$sql2 .= "FROM $table_term_relationships INNER JOIN ($table_term_taxonomy INNER JOIN $table_terms ON $table_term_taxonomy.term_id = $table_terms.term_id) ON $table_term_relationships.term_taxonomy_id = $table_term_taxonomy.term_taxonomy_id ";
+		$sql2 .= "WHERE ($table_term_relationships.object_id =" . $comment_post_ID.") AND ($table_term_taxonomy.taxonomy='category')";		
+	}
+	$categories = $xoops_db->get_results($sql2);
+	foreach($categories as $categorie){
+		$cat_id = $categorie->cat_ID;
+		$cat_name = $categorie->cat_name;
+		$comment_tags = array( 'XPRESS_AUTH_NAME' =>$user_name,'XPRESS_BLOG_NAME' =>$blog_name,'XPRESS_CAT_TITLE' => $cat_name,'XPRESS_POST_TITLE' => $post_title , 'XPRESS_POST_URL' => $post_url ) ;
+		Notification_triggerEvent($force_reserve, 'category' , $cat_id , 'comment' , $comment_tags , false);
+
+	}
+}
+
+function do_PostNotifications($post_id,$not_event)
+{
+	global $wpdb, $xoops_config, $xoops_db;
+
+	 // $not_event:		newpost,editpost ; $commentID, $comment_post_ID)
+	
+	$table_term_relationships = $wpdb->term_relationships;
+	$table_term_taxonomy = $wpdb->term_taxonomy;
+	$table_terms = $wpdb->terms;
+	$table_categories = $wpdb->categories;
+	$wp_post = $wpdb->posts;
+	$wp_options = $wpdb->options;
+	$wp_users  = $wpdb->users;
+	$wp_comments  = $wpdb->comments;
+
+	$post_title = get_the_title($post_id);
+	$post_url = get_permalink($post_id);
+	$blog_name = get_bloginfo('name');
+
+	// query
+	$sql = "SELECT post_author FROM ".$wp_post." WHERE ID=$post_id ";
+	$post_author = $xoops_db->get_var($sql);
+
+	$sql = "SELECT display_name  FROM $wp_users WHERE ID ='$post_author'";
+	$user_name = $xoops_db->get_var($sql);
+
+	$posts_tags = array( 'XPRESS_AUTH_NAME' =>$user_name,'XPRESS_BLOG_NAME' =>$blog_name,'XPRESS_POST_TITLE' => $post_title , 'XPRESS_POST_URL' => $post_url ) ;
+	$force_reserve = false;
+	switch ($not_event) {
+		case 'newpost' :
+			Notification_triggerEvent($force_reserve, 'global' , 0 , 'newpost' , $posts_tags , false);
+			Notification_triggerEvent($force_reserve, 'author' , $post_author , 'newpost' , $posts_tags , false);
+
+			// categorie notification
+			if (get_xpress_db_version() < 6124){
+				$sql2 = "SELECT c.cat_ID, c.cat_name FROM ".$table_categories." c, ".$table_post2cat." p2c WHERE c.cat_ID = p2c.category_id AND p2c.post_id=".$post_id;
+			} else {
+				$sql2  = "SELECT $table_term_relationships.object_id, $table_terms.term_id AS cat_ID, $table_terms.name AS cat_name ";
+				$sql2 .= "FROM $table_term_relationships INNER JOIN ($table_term_taxonomy INNER JOIN $table_terms ON $table_term_taxonomy.term_id = $table_terms.term_id) ON $table_term_relationships.term_taxonomy_id = $table_term_taxonomy.term_taxonomy_id ";
+				$sql2 .= "WHERE ($table_term_relationships.object_id =" . $post_id.") AND ($table_term_taxonomy.taxonomy='category')";		
+			}
+			$categories = $xoops_db->get_results($sql2);
+			foreach($categories as $categorie){
+				$cat_id = $categorie->cat_ID;
+				$cat_name = $categorie->cat_name;
+				$posts_tags = array( 'XPRESS_AUTH_NAME' =>$user_name,'XPRESS_BLOG_NAME' =>$blog_name,'XPRESS_CAT_TITLE' => $cat_name,'XPRESS_POST_TITLE' => $post_title , 'XPRESS_POST_URL' => $post_url ) ;
+				Notification_triggerEvent($force_reserve, 'category' , $cat_id , 'newpost' , $posts_tags , false);
+			}
+			break;
+		case 'editpost' :
+			Notification_triggerEvent($force_reserve, 'post' , $post_id , 'editpost' , $posts_tags , false);
+			break;
+		default :
+	}
+}
+
+//When the event cannot notify because the XOOPS system is not loaded, the event is stacked. 
+function Notification_reserve($category, $item_id=0, $event, $extra_tags=array(), $user_list=array(), $module_id=0, $omit_user_id=null)
+{
+	global $xpress_config,$xoops_db;
+	
+	$xpress_prefix = get_wp_prefix();
+	$notfiy_reserve = $xpress_prefix . 'notify_reserve';
+
+	$extra_tags_arry = addslashes(serialize($extra_tags));
+	$user_list_arry = addslashes(serialize($user_list));
+//	$extra_tags_arry = mysql_real_escape_string(serialize($extra_tags));
+//	$user_list_arry = mysql_real_escape_string(serialize($user_list));
+	
+	$notify_reserve_status = 'reserve';
+
+	$sql  = "INSERT INTO $notfiy_reserve ";
+	$sql .=    "(notify_reserve_status , category , item_id , event , extra_tags_arry , user_list_arry , module_id , omit_user_id)";
+	$sql .=  "VALUES ";
+	$sql .=    "('$notify_reserve_status' , '$category' , $item_id , '$event' , '$extra_tags_arry' , '$user_list_arry' , $module_id , '$omit_user_id')";
+	if ( defined("XPRESS_EVENT_DEBUG")) xpress_debug_message($message = $sql);
+
+	$xoops_db->query($sql);
+}
+
+//It calls when the XOOPS system is loaded, and the stacked event notification processing is done. 
+function Notification_reserve_send()
+{
+	global $xpress_config,$xoops_db;
+	if ( ! defined("XOOPS_MAINFILE_INCLUDED")) return;
+	
+	$notification_handler =& xoops_gethandler( 'notification' ) ;
+	
+	$xpress_prefix = get_wp_prefix();
+	$notfiy_reserve_db = $xpress_prefix . 'notify_reserve';
+
+	$extra_tags_arry = addslashes(serialize($extra_tags));
+	$user_list_arry = addslashes(serialize($user_list));
+	
+	$sql  = "SELECT * ";
+	$sql .= "FROM $notfiy_reserve_db ";
+	$sql .= "WHERE  notify_reserve_status = 'reserve'";
+
+	$notify_reserves = $xoops_db->get_results($sql);
+
+	//So as not to process it by other sessions while processing it, status is changed. 
+	foreach($notify_reserves as $notify){
+		$notify_reserve_id = $notify->notify_reserve_id;
+		$sql  = "UPDATE $notfiy_reserve_db SET  notify_reserve_status = 'sending' WHERE notify_reserve_id = $notify_reserve_id";
+		$xoops_db->query($sql);
+	}
+
+	foreach($notify_reserves as $notify){
+		$notify_reserve_id = $notify->notify_reserve_id;
+		$category = $notify->category;
+		$item_id = $notify->item_id;
+		$event = $notify->event;
+		$extra_tags = unserialize($notify->extra_tags_arry);
+		$user_list = unserialize($notify->user_list_arry);
+		$module_id = $notify->module_id;
+		$omit_user_id = $notify->omit_user_id;
+		$notification_handler->triggerEvent($category, $item_id, $event, $extra_tags, $user_list, $module_id, $omit_user_id);
+		$sql  = "DELETE FROM  $notfiy_reserve_db WHERE notify_reserve_id = $notify_reserve_id";
+		$xoops_db->query($sql);
+	}
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/pluggable-override.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/pluggable-override.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/pluggable-override.php	(revision 866)
@@ -0,0 +1,363 @@
+<?php
+/**
+ * XPress - WordPress for XOOPS
+ *
+ * Adding multi-author features to XPressME
+ *
+ * @copyright	The XPressME project
+ * @license		http://www.fsf.org/copyleft/gpl.html GNU public license
+ * @author		toemon
+ * @since		2.05
+ * @version		$Id$
+ * @package		module::xpress
+ */
+
+// ***********************************  Start Pluggable Function Edit (wp-include/pluggable.php) ************************************
+
+if ( !function_exists('get_currentuserinfo') ) :
+function get_currentuserinfo() {
+    global $current_user;
+    global $xoopsModule,$xoopsUser,$xoopsUserIsAdmin;
+    xpress_get_current_user();    
+}
+endif;
+
+if ( !function_exists('wp_get_current_user') ) :
+function wp_get_current_user() {
+    global $current_user;
+    global $xoopsModule,$xoopsUser,$xoopsUserIsAdmin;
+    xpress_get_current_user();
+    return $current_user;
+}
+endif;
+
+
+if ( !function_exists('xpress_get_current_user') ) :
+function xpress_get_current_user() {
+	global $current_user;
+	global $xoopsModule,$xoopsUser,$xoopsUserIsAdmin;
+
+
+	if ($xoopsModule){
+		if ( defined('XMLRPC_REQUEST') && XMLRPC_REQUEST )
+			return false;
+
+		if (is_object($xoopsUser)){			// When the user is logging in xoops
+			if ( ! empty($current_user) ){
+				$xoops_user = $xoopsUser->getVar("uname");
+				if ($current_user->user_login == $xoops_user){	// If xoops login user and wordpress current user are the same
+					return;
+				}
+			}
+			if (check_xpress_auth_cookie()){	//The cookie is login user's or it checks it
+				if (function_exists('wp_validate_auth_cookie')){
+					if ( $user = wp_validate_auth_cookie() ) {
+						// When the user meta prefix is different according to the change in the xoops data base prefix, it restores it.
+						if (!check_user_meta_prefix($user)){
+							repair_user_meta_prefix();
+						}
+						wp_set_current_user($user);
+						return ;
+					}
+				} else { // for WP2.0
+					if ( !empty($_COOKIE[USER_COOKIE]) && !empty($_COOKIE[PASS_COOKIE])){
+						if(wp_login($_COOKIE[USER_COOKIE], $_COOKIE[PASS_COOKIE], true) ) {
+							$user_login = $_COOKIE[USER_COOKIE];
+							wp_set_current_user(0, $user_login);
+							return;
+						}
+					}
+				}
+			}
+			return xpress_login();
+		} else {							// For the xoops guest
+			wp_set_current_user(0);
+			return false;
+		}
+	} else {
+		// WP original
+		if ( defined('XMLRPC_REQUEST') && XMLRPC_REQUEST )
+			return false;
+
+		if ( ! empty($current_user) )
+			return;
+
+		if (function_exists('wp_validate_auth_cookie')){
+			if ( ! $user = wp_validate_auth_cookie() ) {
+				 if ( empty($_COOKIE[LOGGED_IN_COOKIE]) || !$user = wp_validate_auth_cookie($_COOKIE[LOGGED_IN_COOKIE], 'logged_in') ) {
+				 	wp_set_current_user(0);
+				 	return false;
+				 }
+			}
+			$user_id = apply_filters( 'determine_current_user', false );
+			if ( ! $user_id ) {
+			    wp_set_current_user( 0 );
+			    return false;
+			}
+
+			wp_set_current_user( $user_id );
+
+//			wp_set_current_user($user);
+		} else { // for WP2.0
+			if ( empty($_COOKIE[USER_COOKIE]) || empty($_COOKIE[PASS_COOKIE]) ||
+				!wp_login($_COOKIE[USER_COOKIE], $_COOKIE[PASS_COOKIE], true) ) {
+				wp_set_current_user(0);
+				return false;
+			}
+			$user_login = $_COOKIE[USER_COOKIE];
+			wp_set_current_user(0, $user_login);
+		}
+	}
+}
+endif;
+
+if ( !function_exists('xpress_login') ) :
+function xpress_login(){
+	global $current_user;
+	global $xoopsModule,$xoopsUser,$xoopsUserIsAdmin;
+
+	if(is_object($xoopsUser)){
+		$u_name = $xoopsUser->getVar("uname");
+		$u_pass_md5 = $xoopsUser->getVar("pass");
+		if ( ! empty($u_name) && ! empty($u_pass_md5) ) {
+			include_once dirname( __FILE__ ).'/user_sync_xoops.php';
+			repair_user_meta_prefix();  //Repair when data base prefix is changed on XOOPS side
+			$messege = '';
+			$ret = user_sync_to_wordpress($xoopsUser->getVar("uid"),$messege);
+			if ($ret){
+				$user = new WP_User(0, $u_name);
+				if ( wp_login($u_name, $u_pass_md5) ) {
+					wp_setcookie($u_name, $u_pass_md5, true, '', '', false);
+					do_action('wp_login', $u_name);
+					wp_set_current_user($user->ID);
+					return  true;
+				}
+			}
+		}
+	}
+	if ( ! empty($current_user) ){
+		wp_set_current_user(0);
+		wp_logout();
+		wp_clear_auth_cookie();
+	}
+	return false;
+}
+endif;
+
+if ( !function_exists('check_xpress_auth_cookie') ) :
+function check_xpress_auth_cookie() {		// for wp2.5
+	if ( empty($_COOKIE[AUTH_COOKIE]) ){
+		return false;
+	}
+	$cookie = $_COOKIE[AUTH_COOKIE];
+
+	$cookie_elements = explode('|', $cookie);
+	if ( count($cookie_elements) < 3 ){
+			return false;
+	}
+
+	if(is_object($GLOBALS["xoopsModule"])){
+//		&& WP_BLOG_DIRNAME == $GLOBALS["xoopsModule"]->getVar("dirname")){
+		if(is_object($GLOBALS["xoopsUser"])){
+			$u_name = $GLOBALS["xoopsUser"]->getVar("uname");
+			list($username, $expiration, $hmac) = $cookie_elements;
+			if ($u_name == $username) {
+				return true;
+			}
+		}
+	} else {
+		$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+		$org_url = $_SERVER['REQUEST_URI'];
+		$needle = '/modules/' . $mydirname . '/wp-admin/';
+		if (strstr($org_url , $needle)){
+			return true;
+		}
+	}
+	return false;
+}
+endif;
+
+if ( !function_exists('wp_check_password') ) :
+// for wordpress2.5
+function wp_check_password($password, $hash, $user_id = '') {
+	global $wp_hasher;
+	global $xoops_config,$xoops_db;
+
+	// For attestation when password has been sent as hash value. (When having logged it in from Xoops and ImpressCMS)
+	if ($hash == $password){
+		return apply_filters('check_password', true, $password, $hash, $user_id);
+	}
+
+	// Password authentication for Xoops
+	if ( strlen($hash) <= 32 ) {
+		$check = ( $hash == md5($password) );
+		return apply_filters('check_password', $check, $password, $hash, $user_id);
+	}
+
+	// Password authentication for ImpressCMS
+	if($xoops_config->is_impress && function_exists('hash')){
+		$mainSalt = $xoops_config->xoops_db_salt;
+		// get user salt
+		$xpress_user_db = $xoops_config->module_db_prefix . 'users';
+		$xoops_user_db = $xoops_config->xoops_db_prefix . '_users';
+		$login_name = $xoops_db->get_var("SELECT user_login FROM $xpress_user_db WHERE ID = $user_id");
+		$user_salt = $xoops_db->get_var("SELECT salt FROM $xoops_user_db WHERE uname = '$login_name'");
+		$enc_type = intval( $xoops_db->get_var("SELECT enc_type FROM $xoops_user_db WHERE uname = '$login_name'") );
+
+		// Make Impress hash
+		if($enc_type == 0) {$impress_hash = md5($password);} // no salt used for compatibility with external scripts such as ipb/phpbb etc.
+		elseif($enc_type == 1) {$impress_hash = hash('sha256', $user_salt.md5($password).$mainSalt);}
+		elseif($enc_type == 2) {$impress_hash = hash('sha384', $user_salt.md5($password).$mainSalt);}
+		elseif($enc_type == 3) {$impress_hash = hash('sha512', $user_salt.md5($password).$mainSalt);}
+		elseif($enc_type == 4) {$impress_hash = hash('ripemd128', $user_salt.md5($password).$mainSalt);}
+		elseif($enc_type == 5) {$impress_hash = hash('ripemd160', $user_salt.md5($password).$mainSalt);}
+		elseif($enc_type == 6) {$impress_hash = hash('whirlpool', $user_salt.md5($password).$mainSalt);}
+		elseif($enc_type == 7) {$impress_hash = hash('haval128,4', $user_salt.md5($password).$mainSalt);}
+		elseif($enc_type == 8) {$impress_hash = hash('haval160,4', $user_salt.md5($password).$mainSalt);}
+		elseif($enc_type == 9) {$impress_hash = hash('haval192,4', $user_salt.md5($password).$mainSalt);}
+		elseif($enc_type == 10) {$impress_hash = hash('haval224,4', $user_salt.md5($password).$mainSalt);}
+		elseif($enc_type == 11) {$impress_hash = hash('haval256,4', $user_salt.md5($password).$mainSalt);}
+		elseif($enc_type == 12) {$impress_hash = hash('haval128,5', $user_salt.md5($password).$mainSalt);}
+		elseif($enc_type == 13) {$impress_hash = hash('haval160,5', $user_salt.md5($password).$mainSalt);}
+		elseif($enc_type == 14) {$impress_hash = hash('haval192,5', $user_salt.md5($password).$mainSalt);}
+		elseif($enc_type == 15) {$impress_hash = hash('haval224,5', $user_salt.md5($password).$mainSalt);}
+		elseif($enc_type == 16) {$impress_hash = hash('haval256,5', $user_salt.md5($password).$mainSalt);}
+
+		if ($hash == $impress_hash){
+			return apply_filters('check_password', true, $password, $hash, $user_id);
+		}
+	}
+
+	// If the hash is still md5...
+	if ( strlen($hash) <= 32 ) {
+		$check = ( $hash == md5($password) );
+/* A new hash is not used because it differs from the hash on the XOOPS password.
+ *		if ( $check && $user_id ) {
+ *			// Rehash using new hash.
+ *			wp_set_password($password, $user_id);
+ *			$hash = wp_hash_password($password);
+ *		}
+ */
+		return apply_filters('check_password', $check, $password, $hash, $user_id);
+	}
+
+	// If the stored hash is longer than an MD5, presume the
+	// new style phpass portable hash.
+	if ( empty($wp_hasher) ) {
+		require_once( ABSPATH . 'wp-includes/class-phpass.php');
+		// By default, use the portable hash from phpass
+		$wp_hasher = new PasswordHash(8, TRUE);
+	}
+
+	$check = $wp_hasher->CheckPassword($password, $hash);
+
+	return apply_filters('check_password', $check, $password, $hash, $user_id);
+}
+endif;
+
+if ( !function_exists('wp_redirect') ) :
+function wp_redirect($location, $status = 302) {
+	global $is_IIS,$xoops_config,$action;
+
+	if ($location == 'wp-login.php?loggedout=true') $location = $xoops_config->xoops_url.'/user.php?op=logout'; //xoops logout at wp logout
+	if ($location == 'wp-login.php?action=register') $location = $xoops_config->xoops_url."/register.php";  //wp-register to xoops register
+	if ($action == 'logout') $location = $xoops_config->xoops_url.'/user.php?op=logout'; //xoops logout at comment logout
+
+	$location = apply_filters('wp_redirect', $location, $status);
+	$status = apply_filters('wp_redirect_status', $status, $location);
+
+	if ( !$location ) // allows the wp_redirect filter to cancel a redirect
+		return false;
+
+	$location = wp_sanitize_redirect($location);
+
+	if (!headers_sent()) {
+		ob_end_clean();
+		if ( $is_IIS ) {
+			header("Refresh: 0;url=$location");
+		} else {
+			if ( php_sapi_name() != 'cgi-fcgi' )
+				status_header($status); // This causes problems on IIS and some FastCGI setups
+			header("Location: $location");
+		}
+	} else {  // force redirect
+		echo ("<HTML>");
+		echo("<META http-equiv=\"Refresh\" content=\"0;url=$location\">");
+		echo ("<BODY onload=\"try {self.location.href='$location' } catch(e) {}\">");
+		printf(__("If the page does not automatically reload, please click <a href='%s'>here</a>","xpressme"),$location);
+		echo ("</BODY>");
+		echo ("</HTML>");
+	}
+}
+endif;
+
+if ( !function_exists('wp_hash_password') ) :
+function wp_hash_password($password) {
+	global $wp_hasher;
+	return md5($password); // A new hash is not used because it differs from the hash on the XOOPS password.
+/*
+	if ( empty($wp_hasher) ) {
+		require_once( ABSPATH . 'wp-includes/class-phpass.php');
+		// By default, use the portable hash from phpass
+		$wp_hasher = new PasswordHash(8, TRUE);
+	}
+
+	return $wp_hasher->HashPassword($password);
+*/
+}
+endif;
+
+if ( !function_exists('wp_clear_auth_cookie') ) :
+/**
+ * Removes all of the cookies associated with authentication.
+ *
+ * @since 2.5
+ */
+function wp_clear_auth_cookie() {
+	do_action('clear_auth_cookie');
+
+	@setcookie(AUTH_COOKIE, ' ', time() - 31536000, ADMIN_COOKIE_PATH, COOKIE_DOMAIN);
+	@setcookie(SECURE_AUTH_COOKIE, ' ', time() - 31536000, ADMIN_COOKIE_PATH, COOKIE_DOMAIN);
+	@setcookie(AUTH_COOKIE, ' ', time() - 31536000, PLUGINS_COOKIE_PATH, COOKIE_DOMAIN);
+	@setcookie(SECURE_AUTH_COOKIE, ' ', time() - 31536000, PLUGINS_COOKIE_PATH, COOKIE_DOMAIN);
+	@setcookie(LOGGED_IN_COOKIE, ' ', time() - 31536000, COOKIEPATH, COOKIE_DOMAIN);
+	@setcookie(LOGGED_IN_COOKIE, ' ', time() - 31536000, SITECOOKIEPATH, COOKIE_DOMAIN);
+
+	// Old cookies
+	@setcookie(AUTH_COOKIE, ' ', time() - 31536000, COOKIEPATH, COOKIE_DOMAIN);
+	@setcookie(AUTH_COOKIE, ' ', time() - 31536000, SITECOOKIEPATH, COOKIE_DOMAIN);
+	@setcookie(SECURE_AUTH_COOKIE, ' ', time() - 31536000, COOKIEPATH, COOKIE_DOMAIN);
+	@setcookie(SECURE_AUTH_COOKIE, ' ', time() - 31536000, SITECOOKIEPATH, COOKIE_DOMAIN);
+
+	// Even older cookies
+	@setcookie(USER_COOKIE, ' ', time() - 31536000, COOKIEPATH, COOKIE_DOMAIN);
+	@setcookie(PASS_COOKIE, ' ', time() - 31536000, COOKIEPATH, COOKIE_DOMAIN);
+	@setcookie(USER_COOKIE, ' ', time() - 31536000, SITECOOKIEPATH, COOKIE_DOMAIN);
+	@setcookie(PASS_COOKIE, ' ', time() - 31536000, SITECOOKIEPATH, COOKIE_DOMAIN);
+
+}
+endif;
+
+if ( !function_exists('is_user_logged_in') ) :
+/**
+ * Checks if the current visitor is a logged in user.
+ *
+ * @since 2.0.0
+ *
+ * @return bool True if user is logged in, false if not logged in.
+ */
+function is_user_logged_in() {
+	$user = wp_get_current_user();
+	if (method_exists($user, 'exists')) {
+		if ( ! $user->exists() ) return false;
+	} else {
+		if ( empty( $user->ID ) ) return false;
+	}
+	return true;
+}
+endif;
+
+
+// ***********************************  End Of Pluggable Function Edit (wp-include/pluggable.php) ************************************
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/update_xpress.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/update_xpress.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/update_xpress.php	(revision 866)
@@ -0,0 +1,66 @@
+<?php
+/**
+ * XPressME Integration Kit upgrade functionality.
+ */
+
+/**
+ * Stores files to be deleted.
+ */
+global $_old_xpress_files;
+
+$_old_xpress_files = array(
+// 2.03	
+'wp-content/themes/xpress_default/images/titleline.jpg',
+'wp-content/themes/xpress_default/ja.mo',
+'wp-content/themes/xpress_default/ja.po',
+// 2.3.0
+'wp-content/themes/xpress_default/ja_EUC.mo',
+'wp-content/themes/xpress_default/ja_EUC.po',
+'wp-content/themes/xpress_default/ja_UTF.mo',
+'wp-content/themes/xpress_default/ja_UTF.po',
+);
+
+/**
+ * Upgrade the XPressME .
+ *
+ * @param string $from New release unzipped path.
+ * @param string $to Path to old WordPress installation.
+ * @return WP_Error|null WP_Error on failure, null on success.
+ */
+function update_xpress($from, $to) {
+	global $wp_filesystem, $_old_xpress_files, $wpdb;
+	show_message( __('Disable overwrite of wp-config.php...', 'xpressme') );
+	// remove wp-config.php from the new version into place.
+	$wp_config = $from . 'wp-config.php';
+	if ( !$wp_filesystem->delete($wp_config, true)){
+		return new WP_Error('delete_failed', $this->strings['delete_failed']);
+	}
+
+	// Copy new versions of XPressME Integration Kit files into place.
+	show_message( __('Copy new versions of XPressME Integration Kit files into place...', 'xpressme') );
+	$result = copy_dir($from . $distro, $to);
+	if ( is_wp_error($result) ) {
+		$wp_filesystem->delete($maintenance_file);
+		$wp_filesystem->delete($from, true);
+		return $result;
+	}
+
+	// Remove old files
+	show_message( __('Remove an unnecessary, old file...', 'xpressme') );
+	foreach ( $_old_xpress_files as $old_file ) {
+		$old_file = $to . $old_file;
+		if ( !$wp_filesystem->exists($old_file) )
+			continue;
+		$wp_filesystem->delete($old_file, true);
+	}
+	show_message( __('Set templates directory chmod 777', 'xpressme') );
+	$wp_filesystem->chmod($to . 'templates/', 0777);
+
+	// Remove working directory
+	$working_dir = dirname(dirname($from));
+	show_message( sprintf(__('Remove working directory(%s)...', 'xpressme'),$working_dir) );
+	$wp_filesystem->delete($working_dir, true);
+
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/user_sync_xoops.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/user_sync_xoops.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/user_sync_xoops.php	(revision 866)
@@ -0,0 +1,441 @@
+<?php
+/*
+ * Get The level from the capabillities name.
+ */
+function get_role_level($capabillities){
+	if ($capabillities == 'default') $capabillities = get_option('default_role');;
+	switch($capabillities) {
+		case 'administrator':
+			return 5;
+		case 'editor':
+			return 4;
+		case 'author':
+			return 3;
+		case 'contributor':
+			return 2;
+		case 'subscriber':
+			return 1;
+		default:
+			return 0;
+	}
+}
+
+/*
+ * The highest authority and the accompanying data
+ * in the WordPress authority given to the group to which the user belongs are obtained. 
+*/
+function get_xoops_group_role($uid=0){
+	if ($uid == 0){
+		return '';
+	}
+	
+	global $xoops_db;
+	
+	$db_groups_users_link = get_xoops_prefix() . 'groups_users_link';
+	$db_group_role = get_wp_prefix() . 'group_role';
+	$db_groups = get_xoops_prefix() . 'groups';
+
+	$blog_id_list = array();
+	
+	if (function_exists('is_multisite') && is_multisite()){
+		$blog_id_sql = "SELECT blog_id FROM $db_group_role GROUP BY blog_id";
+		$blog_id_list = $xoops_db->get_results($blog_id_sql);
+	} else {
+		$std = new stdClass();
+		$std->blog_id = 1;
+		$blog_id_list[] = $std;
+	}
+	
+	$is_multiblog = xpress_is_multiblog();
+	if (defined('BLOG_ID_CURRENT_SITE')){
+		$root_blog_id = BLOG_ID_CURRENT_SITE;
+	} else {
+		$root_blog_id = 1;
+	}
+	
+	$ans_array = array();
+	foreach($blog_id_list as $blog_id){
+		$ans = array();
+		$sql  = "SELECT * ";
+		$sql .= "FROM $db_groups_users_link ";
+		$sql .= "LEFT JOIN $db_group_role ON $db_groups_users_link.groupid = $db_group_role.groupid ";
+		$sql .= "LEFT JOIN $db_groups ON $db_groups_users_link.groupid = $db_groups.groupid ";
+		$sql .= "WHERE  uid = $uid AND $db_group_role.blog_id = $blog_id->blog_id";
+		$user_groups = $xoops_db->get_results($sql);
+		
+		//default value set
+		$ans['blog_id'] = $blog_id->blog_id;
+		$ans['capabillities'] = '';
+		$ans['allway_update'] = 0;
+		
+		//get maximum role
+		foreach($user_groups as $user_group){
+			$is_blog_root = (!$is_multiblog || ($user_group->blog_id == $root_blog_id));
+			if ($user_group->group_type == 'Admin' && $is_blog_root){
+				$ans['capabillities'] = 'administrator';
+				if ($user_group->groupid =1){
+					//It always rewrites it as WordPress adninistrator for an initial admin group of XOOPS.	
+					$ans['allway_update'] = 1;
+				} else {
+					// admin groups other than initial admin group of XOOPS 
+					// It group rewrites group_type of the data base in Admin.
+					$ans['allway_update'] = $user_group->login_all; 
+				}
+				break;
+			}
+			$before_level = get_role_level($ans['capabillities']);
+			
+			$now_level = get_role_level($user_group->role);
+			if ($now_level > $before_level){
+				$ans['capabillities'] = $user_group->role;
+				$ans['allway_update'] = $user_group->login_all;
+			}
+		}
+		$ans_array[] = $ans;
+	}
+	return $ans_array;
+}
+
+// for Multi Blog group_role delete
+function blog_group_role_delete($blog_id,$drop = false) {
+	global $xoops_db;
+	
+	$db_group_role = get_wp_prefix() . 'group_role';
+	if ($drop){
+		$delsql = "DELETE FROM $db_group_role WHERE blog_id = $blog_id";
+		$xoops_db->query($delsql);
+	}
+}
+
+// for Multi Blog group_role add
+function blog_group_role_add($blog_id,$uid = 0) {
+	global $xoops_db,$xpress_config;
+	$xpress_config->GroupeRoleCheck($blog_id);
+}
+
+// check user has groupe role
+function has_group_role($uid = 0) {
+	if (empty($uid)) return false;
+	$user_roles = get_xoops_group_role($uid);
+	foreach ($user_roles as $user_role){
+		if (!empty($user_role['capabillities']))
+			return true;
+	}
+	return false;
+}
+
+/*
+ * WP User ID exists is checked.. 
+*/
+function set_user_role($uid=0,$roles,$new_user = false){
+	
+	foreach($roles as $role){
+		$b_id = $role['blog_id'];
+		$capabillities_name = $role['capabillities'];
+		$allway_update = $role['allway_update'];
+		if ($allway_update || $new_user ){
+			$sycc_user = new WP_User($uid);
+			if (function_exists('is_multisite') && is_multisite()){
+				$sycc_user->for_blog($b_id);	// for Multi blog
+			}
+			// check user role is admin
+			$is_blog_admin = false;
+			$user_roles = $sycc_user->roles;
+			foreach ($user_roles as $user_role){
+				if (strcmp($user_role , 'administrator') == 0){
+					$is_blog_admin = true;
+					break;
+				}
+			}
+			if (!$is_blog_admin){	// admin not change role
+				$sycc_user->set_role($capabillities_name);
+			}
+		}
+//		$message .= '...UPDATE ' . $xoops_user->uname . '(' . $capabillities_name . ')';
+//		$message .= '...INSERT ' . $user_login_name . '(' . $capabillities_name . ')';
+	}
+
+}
+
+/*
+ * Get User ID of WordPress from the login name. 
+*/
+function get_wp_user_id($login_name){
+	global $xoops_db;
+	$sql = "SELECT ID FROM " . get_wp_prefix() . "users WHERE user_login = '$login_name'";
+	$uid = $xoops_db->get_var($sql);
+	return $uid;
+}
+
+/*
+ * WP User ID exists is checked.. 
+*/
+function is_used_wp_user_id($uid){
+	global $xoops_db;
+	$sql = "SELECT ID FROM " . get_wp_prefix() . "users WHERE ID = $uid";
+	$uid = $xoops_db->get_var($sql);
+	if (empty($uid))
+		return false;
+	else
+		return true;
+}
+
+/*
+ * The user data of XOOPS is written in the WordPress user data. 
+ * If $sync_uid is 0, all users are written. 
+*/
+function user_sync_to_wordpress($sync_uid = 0, &$message){
+	global $xoops_db;
+
+	$db_xoops_users = get_xoops_prefix() . 'users';
+	$db_xpress_users = get_wp_prefix() . 'users';
+
+	$message = 'Do Sync';
+
+	if ($sync_uid == 0) {
+		$xu_sql  = "SELECT uid ,name ,uname ,pass ,email, url, user_regdate, user_aim, user_yim FROM $db_xoops_users";
+	} else {
+		$xu_sql  = "SELECT uid ,name ,uname ,pass ,email, url, user_regdate, user_aim, user_yim FROM $db_xoops_users WHERE uid = $sync_uid";
+	}
+
+	$xoops_users = $xoops_db->get_results($xu_sql);
+	
+	if (empty($xoops_users)){
+		$message .= '...ERR ('. $xu_sql . ')';
+		return false;
+	}
+
+	foreach($xoops_users as $xoops_user){
+		
+		$wp_user_id = get_wp_user_id($xoops_user->uname) ;
+
+		$roles = get_xoops_group_role($xoops_user->uid);
+
+		$has_role = has_group_role($xoops_user->uid);
+		if (!$has_role){
+			if ($sync_uid != 0){
+				if ($wp_user_id) {
+					if ($allway_update){
+						$message .= '...NOT XPRESS USER ' . $xoops_user->uname;
+						return false;
+					}
+				} else {
+					$message .= '...NOT XPRESS USER ' . $xoops_user->uname;
+					return false;
+				}
+			} else {
+				$message .= "...PASS '" . $xoops_user->uname ."'[uid=".$xoops_user->uid ."](not xpress user)";
+				continue;
+			}
+		}
+
+		$user_regist_time = date('Y-m-d H:i:s' , $xoops_user->user_regdate);
+		$user_status = 0;
+		$user_display_name =empty($xoops_user->name) ? $xoops_user->uname :$xoops_user->name ;
+
+		$is_update = false;
+		
+		if ($wp_user_id){	
+			$new_user =  false;
+			$wu_sql  = 	"UPDATE $db_xpress_users ";
+			$wu_sql .= 	'SET ';
+			$wu_sql .=		"user_pass  = '$xoops_user->pass', ";
+			$wu_sql .=		"user_email = '$xoops_user->email', ";
+			$wu_sql .=		"user_url = '$xoops_user->url', ";
+			$wu_sql .=		"user_nicename = '$xoops_user->uname', ";
+			$wu_sql .=		"user_registered = '$user_regist_time', ";
+			$wu_sql .=		"user_status = 0 ";
+			$wu_sql .=	"WHERE (user_login = '$xoops_user->uname' )";
+
+			$xoops_db->query($wu_sql);
+			
+			$message .= set_user_role($wp_user_id,$roles,$new_user);
+
+			if (!check_user_meta_prefix($wp_user_id)){
+				repair_user_meta_prefix();
+			}
+
+			$is_update = true;
+		}else{
+			$new_user =  true;
+			if (is_used_wp_user_id($xoops_user->uid) ) { // WP User ID has already been used. 
+				$wu_sql  =	"INSERT INTO $db_xpress_users ";
+				$wu_sql .=  	"(user_login , user_pass ,user_email , user_url , user_nicename " ;
+				$wu_sql .=		" , user_registered , user_status , display_name) ";
+				$wu_sql .=	"VALUES ";
+				$wu_sql .=		"('$xoops_user->uname', '$xoops_user->pass', '$xoops_user->email', '$xoops_user->url', '$xoops_user->uname' ";
+				$wu_sql .=		" , '$user_regist_time', $user_status, '$user_display_name')";
+				$xoops_db->query($wu_sql);
+				$wp_user_id = $xoops_db->insert_id;
+			} else {	 // WP User ID has not been used yet. 
+				$wu_sql  =	"INSERT INTO $db_xpress_users ";
+				$wu_sql .=  	"(ID , user_login , user_pass ,user_email , user_url , user_nicename " ;
+				$wu_sql .=		" , user_registered , user_status , display_name) ";
+				$wu_sql .=	"VALUES ";
+				$wu_sql .=		"('$xoops_user->uid', '$xoops_user->uname', '$xoops_user->pass', '$xoops_user->email', '$xoops_user->url', '$xoops_user->uname' ";
+				$wu_sql .=		" , '$user_regist_time', $user_status, '$user_display_name')";
+				$xoops_db->query($wu_sql);
+				$wp_user_id = $xoops_user->uid;
+			}
+			$message .= set_user_role($wp_user_id,$roles,$new_user);
+		}
+		
+		$user_nickname =	empty($xoops_user->name) ? $xoops_user->uname :$xoops_user->name ;
+		$user_rich_editing = 'true';
+		$user_first_name = 	$xoops_user->uname;
+		$user_last_name = 	'';
+		$user_description = '';
+		$user_jabber = 		'';
+
+		update_usermeta( $wp_user_id,'nickname',$user_nickname);
+		update_usermeta( $wp_user_id,'first_name',$user_first_name);
+		update_usermeta( $wp_user_id,'last_name',$user_last_name);
+		update_usermeta( $wp_user_id,'description',$user_description);
+		update_usermeta( $wp_user_id,'jabber',$user_jabber);
+		update_usermeta( $wp_user_id,'aim',$xoops_user->user_aim);
+		update_usermeta( $wp_user_id,'yim',$xoops_user->user_yim);
+		if ($is_update === false ) {
+			update_usermeta( $wp_user_id,'rich_editing',$user_rich_editing);
+		} 
+					
+	}
+	$message .= "...END";
+	return true;
+}
+
+/*
+ * Get User ID of XOOPS from the login name. 
+*/
+function get_xoops_user_id($login_name){
+	global $xoops_db;
+	$sql = "SELECT uid FROM " . get_xoops_prefix() . "users WHERE uname = '$login_name'";
+	$uid = $xoops_db->get_var($sql);
+	return $uid;	
+}
+
+/*
+ *The user data of wordpress is written in the xoops user data. 
+*/
+function user_sync_to_xoops($user_ID){
+	global $xoops_db;
+	
+	$user_info = get_userdata($user_ID);
+	$xoops_uid = get_xoops_user_id($user_info->user_login);
+	$db_xoops_users = get_xoops_prefix() . "users";
+	$user_regdate  = strtotime($user_info->user_registered);
+	$aim = get_usermeta($user_ID,'aim');
+	$yim = get_usermeta($user_ID,'yim');	
+	
+	if ($xoops_uid){
+		$wu_sql  = 	"UPDATE $db_xoops_users ";
+		$wu_sql .= 	'SET ';
+		$wu_sql .=		"uname  = '$user_info->user_login', ";
+		$wu_sql .=		"pass = '$user_info->user_pass', ";
+		$wu_sql .=		"email = '$user_info->user_email', ";
+		$wu_sql .=		"url = '$user_info->user_url', ";
+		$wu_sql .=		"name = '$user_info->display_name', ";
+		$wu_sql .=		"user_aim = '$aim', ";
+		$wu_sql .=		"user_yim = '$yim', ";
+		$wu_sql .=		"user_regdate = $user_regdate ";
+		$wu_sql .=	"WHERE (uid = $xoops_uid )";
+		$xoops_db->query($wu_sql);
+	}else{
+		$wu_sql  =	"INSERT INTO $db_xoops_users ";
+		$wu_sql .=  	"(uname , pass ,email , url , name , user_aim , user_yim , user_regdate) " ;
+		$wu_sql .=	"VALUES ";
+		$wu_sql .=		"('$user_info->user_login', '$user_info->user_pass', '$user_info->user_email', '$user_info->user_url', '$user_info->display_name' ";
+		$wu_sql .=		" , '$aim' , '$yim' , $user_regdate )";
+		$xoops_db->query($wu_sql);
+		// get xoops users default groupe ID
+		$db_xoops_group = get_xoops_prefix() . 'groups';
+		$default_xoops_group_id = $xoops_db->get_var("SELECT groupid FROM $db_xoops_group WHERE group_type = 'User'");
+		// get insert users  ID
+		$db_xoops_group = get_xoops_prefix() . 'users';
+		$user_id = $xoops_db->get_var("SELECT uid FROM $db_xoops_group WHERE uname = '$user_info->user_login'");
+		// insert groups_users_link 
+		$db_xoops_group_users_link = get_xoops_prefix() . 'groups_users_link';
+		$default_xoops_group_id = $xoops_db->get_var("INSERT INTO $db_xoops_group_users_link (groupid , uid ) VALUES ($default_xoops_group_id , $user_id)");
+	}
+}
+
+
+/*
+ * When I changed the pre-fix of the database in XOOPS Protector Module, user authority data of WordPress read it and cannot do it. 
+ * This is because a meta_key pre-fix of the usermeta table of WordPress is not changed.
+ * and  user_roles option_name pre-fix of the option table of WordPress is not changed.
+*/
+function check_user_meta_prefix($uid){
+	global $xoops_db;
+	$db_xpress_usermeta = get_wp_prefix() . 'usermeta';
+	$user_meta_prefix = get_wp_prefix();
+
+	$sql = "SELECT * FROM $db_xpress_usermeta WHERE user_id = $uid AND meta_key = '" . $user_meta_prefix ."user_level'" ;
+
+	$user_level = $xoops_db->get_results($sql);
+	if (empty($user_level)) return false ;
+
+	$sql = "SELECT * FROM $db_xpress_usermeta WHERE user_id = $uid AND meta_key = '" . $user_meta_prefix ."capabilities'" ;
+	$capabilities = $xoops_db->get_results($sql);
+	if (empty($capabilities)) return false ;
+	
+	return true;	
+}
+
+function repair_user_meta_prefix(){
+	global $xoops_db;
+	// repair usermeta db
+	$db_xpress_usermeta = get_wp_prefix() . 'usermeta';
+	$wp_prefix_only = get_wp_prefix_only();
+	$user_meta_prefix = get_wp_prefix();
+	$sql = "SELECT * FROM $db_xpress_usermeta WHERE meta_key LIKE '%_" . $wp_prefix_only . "%'" ;
+	$user_metas = $xoops_db->get_results($sql);
+	if(!empty($user_metas)){
+		foreach($user_metas as $user_meta){
+			if (strpos($user_meta->meta_key,$user_meta_prefix) === false) {
+				$new_meta_key = '';
+				if (strpos($user_meta->meta_key,$wp_prefix_only.'user_level'))
+					$new_meta_key = $user_meta_prefix . 'user_level';
+				if (strpos($user_meta->meta_key,$wp_prefix_only.'capabilities'))
+					$new_meta_key = $user_meta_prefix . 'capabilities';
+				if (strpos($user_meta->meta_key,$wp_prefix_only.'autosave_draft_ids'))
+					$new_meta_key = $user_meta_prefix . 'autosave_draft_ids';
+				if (strpos($user_meta->meta_key,$wp_prefix_only.'usersettings')){
+					if (strpos($user_meta->meta_key,$wp_prefix_only.'usersettingstime'))
+						$new_meta_key = $user_meta_prefix . 'usersettingstime';
+					else
+						$new_meta_key = $user_meta_prefix . 'usersettings';
+				}
+				if (!empty($new_meta_key)){
+					$repair_sql  = 	"UPDATE $db_xpress_usermeta ";
+					$repair_sql .= 	'SET ';
+					$repair_sql .=	"meta_key = '$new_meta_key' ";
+					$repair_sql .=	"WHERE (umeta_id = $user_meta->umeta_id )";
+					$xoops_db->query($repair_sql);
+				}
+			}
+		}
+	}
+	
+	// repair option db user_roles
+	include_once (ABSPATH . '/include/general_functions.php');
+
+	$prefix = get_wp_prefix();
+	$option_tables = get_table_list($prefix,'options');
+	if(!empty($option_tables)){
+		foreach( $option_tables as $option_table){
+			$mid_prefix = get_multi_mid_prefix($prefix,'options' , $option_table);
+
+			$new_option_name = $prefix .$mid_prefix . 'user_roles';
+			$sql = "SELECT option_id , option_name FROM $option_table WHERE option_name LIKE '%_user_roles'" ;
+			$option= $xoops_db->get_row($sql);
+			if ($option->option_name != $new_option_name){
+				$repair_sql  = 	"UPDATE $db_wp_option ";
+				$repair_sql .= 	'SET ';
+				$repair_sql .=	"option_name = '$new_option_name' ";
+				$repair_sql .=	"WHERE (option_id = $option->option_id )";
+				$xoops_db->query($repair_sql);
+			}
+		}
+	}
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/xpress_common_functions.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/xpress_common_functions.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/xpress_common_functions.php	(revision 866)
@@ -0,0 +1,447 @@
+<?php
+global $xoops_config;
+if (!is_object($xoops_config)){ // is call other modules
+	require_once dirname(dirname(dirname(dirname(dirname( __FILE__ ))))) .'/class/config_from_xoops.class.php' ;
+	$xoops_config = new ConfigFromXoops;
+}
+
+$dummy = __('After Blog address (URL) is set, it is necessary to set the permalink again.','xpressme');
+$dummy = __('Can not access WordPress address (URL).','xpressme');
+$dummy = __('WordPress Blog address (URL) is different from access URL.','xpressme');
+
+
+function get_xoops_config($config_name,$module_dir){
+	global $xoops_db;
+	
+	$modules_db = get_xoops_prefix() . 'modules';
+	$config_db = get_xoops_prefix() . 'config';
+
+	$moduleID = $xoops_db->get_var("SELECT mid FROM $modules_db WHERE dirname = '$module_dir'");
+	if (empty($moduleID)) return null;
+	$conf_value = $xoops_db->get_var("SELECT conf_value FROM $config_db WHERE (conf_modid = $moduleID) AND (conf_name = '$config_name')");
+	if (empty($conf_value)) return null;
+	return  $conf_value;
+}
+
+// xoops db
+function get_xpress_dir_path()
+{
+	return ABSPATH;
+}
+
+function get_xpress_dir_name()
+{
+	return basename(ABSPATH);
+}
+
+function get_wp_prefix_only()
+{
+	$dir_name = get_xpress_dir_name();
+	$prefix = preg_replace('/wordpress/','wp',$dir_name);
+	
+	$prefix = $prefix . '_';
+	return $prefix;
+}
+
+function get_xoops_prefix()
+{
+	global $xoops_config;
+	$ret =$xoops_config->xoops_db_prefix . '_';
+	return $ret;
+}
+
+function get_xoops_trust_path()
+{
+	global $xoops_config;
+	$ret =$xoops_config->xoops_trust_path;
+	return $ret;
+}
+
+function get_xoops_root_path()
+{
+	global $xoops_config;
+	$ret =$xoops_config->xoops_root_path;
+	return $ret;
+}
+
+function get_wp_prefix()
+{
+	$prefix = get_xoops_prefix() . get_wp_prefix_only();
+	return $prefix;
+}
+function get_xoops_url()
+{
+	global $xoops_config;
+	$ret =$xoops_config->xoops_url ;
+	return $ret;
+}
+
+function get_xpress_url()
+{
+	global $xoops_config;
+	$ret =$xoops_config->module_url ;
+	return $ret;
+}
+
+function get_xpress_modid()
+{
+	global $xoops_db;
+	
+	$modulename = get_xpress_dir_name();	
+	$sql = "SELECT mid FROM " . get_xoops_prefix() . "modules WHERE dirname = '$modulename'";
+	$mid = $xoops_db->get_var($sql);
+	return $mid;	
+}
+
+function get_xpress_db_version()
+{
+	include get_xpress_dir_path() . '/wp-includes/version.php';
+	return $wp_db_version;
+}
+
+function is_xpress_mobile()
+{
+	//ktai_style
+ 	if (function_exists('is_ktai')){
+ 		if (is_ktai()) {
+ //			$file_path = $GLOBALS['xoopsModuleConfig']["ktai_style_tmpdir"] . '/comments.php';
+			return true;
+		}
+	}
+	
+	//mobg
+	if (function_exists('is_mobile')) {
+		if (is_mobile()){
+			return true;
+		}
+	}
+	if (
+	  preg_match("/DoCoMo/", $_SERVER['HTTP_USER_AGENT']) ||
+	  preg_match("/softbank/", $_SERVER['HTTP_USER_AGENT']) ||
+	  preg_match("/vodafone/", $_SERVER['HTTP_USER_AGENT']) ||
+	  preg_match("/J-PHONE/", $_SERVER['HTTP_USER_AGENT']) ||
+	  preg_match("/UP\.Browser/", $_SERVER['HTTP_USER_AGENT']) ||
+	  preg_match("/ASTEL/", $_SERVER['HTTP_USER_AGENT']) ||
+	  preg_match("/PDXGW/", $_SERVER['HTTP_USER_AGENT'])
+	) 
+	{
+		return true;
+	} else {
+		return false;
+	}
+}
+
+function block_cache_refresh() 
+{ 
+	global $xoops_db; 
+	$mid = get_xpress_modid(); 
+	$sql = "SELECT bid,options,func_file FROM " . get_xoops_prefix() . "newblocks WHERE mid = $mid"; 
+	$blocks = $xoops_db->get_results($sql); 
+	$mydirname = get_xpress_dir_name(); 
+	require_once get_xpress_dir_path() . '/include/xpress_block_render.php'; 
+
+	foreach($blocks as $block){ 
+		$func_file = $block->func_file; 
+		
+		// Avoid the failure of the operation when switch_to_blog() and other plugin code is called on the admin page.
+		$excludes = 'global_recent_posts_list_block\.php|enhanced_block\.php|global_recent_comments_block\.php|global_popular_posts_block\.php';
+		if (preg_match('/' . $excludes . '/' , $func_file)){
+			continue;
+		}
+		
+		$call_theme_function_name = str_replace(".php", "", $func_file); 
+		$inc_theme_file_name = str_replace(".php", "", $func_file) . '_theme.php'; 
+		$cache_title = str_replace(".php", "", $func_file); 
+		$blockID = $block->bid; 
+		$options = explode("|", $block->options); 
+
+		$block_theme_file = get_block_file_path($mydirname,$inc_theme_file_name); 
+		require_once $block_theme_file['file_path']; 
+		$block_render = $call_theme_function_name($options);            //The block name and the called function name should be assumed to be the same name.                     
+		$xml['block'] = $block_render; 
+		$xml['block']['options'] = $block->options; 
+		xpress_block_cache_write($mydirname,$cache_title. $blockID, $xml); 
+	} 
+}
+function is_wordpress_style()
+{
+	global $xpress_config;
+	
+	if ($xpress_config->viewer_type == 'wordpress') return true;
+	if ($xpress_config->viewer_type == 'xoops') return false;
+	
+	// user select
+	$get_style = isset($_GET["style"]) ? $_GET["style"] : '';
+	$cookie_style = isset($_COOKIE["xpress_style"]) ? $_COOKIE["xpress_style"] : '';
+	
+	// set style
+	if (!empty($get_style)){
+		$style = $get_style;
+	} else {
+		if (!empty($cookie_style)){
+			$style = $cookie_style;
+		} else {
+			$style = 'x';
+		}
+	}
+	
+	// set cookie
+	if (empty($cookie_style)){
+		setcookie("xpress_style", $style);
+		$_COOKIE["xpress_style"] = $style;
+	} else {
+		if ($style != $cookie_style) {
+			setcookie("xpress_style", $style);
+			$_COOKIE["xpress_style"] = $style;
+		}
+	}
+	if ($style == 'w') {
+		return true;
+	} else { 
+		return false;
+	}
+}
+
+function wp_meta_add_xpress_menu()
+{
+	global $xpress_config;
+	if ($xpress_config->viewer_type == 'user_select'){
+		echo disp_mode_set();
+	}
+	if (function_exists('wp_theme_switcher') ) {	
+		echo '<li>' . __('Themes') . ':';
+		wp_theme_switcher('dropdown');
+	 	echo '</li>';
+	}
+}
+
+function disp_mode_set(){
+	global $xpress_config;
+	
+	$select ="";
+	if ($xpress_config->viewer_type == 'user_select'){
+		$style = isset($_GET["style"]) ? $_GET["style"] : (isset($_COOKIE["xpress_style"]) ? $_COOKIE["xpress_style"] : "");
+
+		switch($style) {
+		case 'w':
+			$select ='<li><a href="'.get_settings('siteurl').'/?style=x" title="'. __('Switch to XOOPS mode','xpressme').'">'.__('Switch to XOOPS mode','xpressme').'</a></li>';
+//			$select.='<img src="'. get_settings('siteurl').'/images/external.png" alt="'.__('Switch to XOOPS mode','xpressme') . '"></a></li>';
+			break;
+		case 'x':
+			$select='<li><a href="'.get_settings('siteurl').'/?style=w" title="'.__('Switch to WordPress mode','xpressme').'">'.__('Switch to WordPress mode','xpressme').'</a></li>';
+			break;
+		default:
+			$select='<li><a href="'.get_settings('siteurl').'/?style=w" title="'.__('Switch to WordPress mode','xpressme').'">'.__('Switch to WordPress mode','xpressme').'</a></li>';
+			break;
+		}
+	}
+	return $select;
+}
+
+function xpress_comment_count( $count ) {
+        global $id;
+        $post_comments =get_comments('status=approve&post_id=' . $id);
+        $comments_by_type = &separate_comments($post_comments);
+        return count($comments_by_type['comment']);
+}
+
+function xpress_set_author_cookie($query_vars)
+{
+	global $wp , $wpdb;
+	
+	if (is_admin()) return $query_vars;
+	
+	$author_cookie = 'select_' . get_xpress_dir_name() . "_author" ;
+	if(xpress_is_multi_user()){
+		if (!empty($_GET)){
+			$auth = intval( @$_GET["author"] );
+			if ($auth > 0){
+				setcookie($author_cookie, $auth, time()+3600, COOKIEPATH);
+				$_COOKIE[$author_cookie] = $auth;
+			}
+		} else {
+			if(xpress_is_wp_version('<','2.1')){  // Maybe, I think that it is ver2.1 or less.
+				if (!empty($wp->matched_query) ){
+					if (strpos($wp->matched_query,'author_name') !== false ){
+						$pattern = "author_name\s*=\s*(.*)\s*";
+						if ( preg_match ( "/".$pattern."/i", $wp->matched_query, $match ) ){
+							$author_name = "$match[1]";
+							$auth = $wpdb->get_var("SELECT ID FROM $wpdb->users WHERE user_login = '$author_name'");
+
+							setcookie($author_cookie, $auth, time()+3600, COOKIEPATH);
+							$_COOKIE[$author_cookie] = $auth;
+						}
+					}
+				} else {
+					setcookie($author_cookie, 0, time()+3600, COOKIEPATH);
+					$_COOKIE[$author_cookie] = 0;
+				}
+			} else {
+				if (!empty($wp->query_vars) ){
+					if (!empty($wp->query_vars['author_name']) ){
+						$author_name = $wp->query_vars['author_name'];
+						$auth = $wpdb->get_var("SELECT ID FROM $wpdb->users WHERE user_login = '$author_name'");
+
+						setcookie($author_cookie, $auth, time()+3600, COOKIEPATH);
+						$_COOKIE[$author_cookie] = $auth;
+					}
+				} else {
+					setcookie($author_cookie, 0, time()+3600, COOKIEPATH);
+					$_COOKIE[$author_cookie] = 0;
+				}
+			}
+		}
+	}else{
+	//	$GLOBALS["wp_xoops_author"] = null;
+		setcookie($author_cookie, 0, time()+3600, COOKIEPATH);
+		$_COOKIE[$author_cookie] = 0;
+	}
+	return $query_vars;
+}
+
+function xpress_query_filter($query)
+{
+	if (is_admin()) return $query;
+
+	$author_cookie = 'select_' . get_xpress_dir_name() . "_author" ;
+	
+	if (strpos($query,'SELECT') === false)  return $query;
+
+	$select_pattern = "SELECT(.*)post_author(.*)FROM";
+	if (preg_match ( "/".$select_pattern."/i", $query, $select_match ))
+		return $query;
+
+	$query = preg_replace('/\s\s+/', ' ', $query);
+	if (!empty($_COOKIE[$author_cookie])){
+		if(xpress_is_wp_version('<','2.1')){
+			$pattern = "WHERE.*AND\s?\(*post_author\s*=";
+			if ( preg_match ( "/".$pattern."/i", $query, $match ) ){
+				return $query;
+			}
+			$pattern = "WHERE\s?post_author\s*="; // get_usernumposts()
+			if ( preg_match ( "/".$pattern."/i", $query, $match ) ){
+				return $query;
+			}
+			$pattern = "WHERE.*post_status\s*=\s*'publish'\s*\)?";
+			if ( preg_match ( "/".$pattern."/i", $query, $match ) ){
+				
+				$where_str = "$match[0]";
+				$where_arry = explode(' ',$where_str);
+				$post_prefix = '';
+				foreach ($where_arry as $p){
+					if ( preg_match ( "/post_status/", $p, $match3 ) ){
+						$post_prefix = preg_replace("/post_status/", "", $p);
+						$post_prefix = preg_replace("/\(/", "", $post_prefix);
+						break;
+					}
+				}
+				$patern = 'WHERE';				
+				$replace = "WHERE {$post_prefix}post_author = " . intval($_COOKIE[$author_cookie]) . " AND ";
+				$query = preg_replace("/$patern/", $replace, $query);
+			}
+		} else {
+			$pattern = "WHERE.*post_type\s*=\s*'post'\s*\)?";			
+			if ( preg_match ( "/".$pattern."/i", $query, $match ) ){
+				$where_str = "$match[0]";
+				$where_arry = explode(' ',$where_str);
+				$post_prefix = '';
+				foreach ($where_arry as $p){
+					if ( preg_match ( "/post_type/", $p, $match3 ) ){
+						$post_prefix = preg_replace("/post_type/", "", $p);
+						$post_prefix = preg_replace("/\(/", "", $post_prefix);
+						break;
+					}
+				}
+				preg_match ( "/post_type(.*)/", $where_str, $p_match );
+				$patern_s = $p_match[0];
+				$patern = preg_replace('/\)/', '\)', $patern_s);
+				
+				$replace = $patern_s . " AND {$post_prefix}post_author = " . intval($_COOKIE[$author_cookie]) . " ";
+
+				$query = preg_replace("/$patern/", $replace, $query);
+			}
+		}
+	}
+//	xpress_show_sql_quary($query);
+	return $query;
+}
+
+function get_block_file_path($mydirname,$file_name)
+{
+	global $xoops_config, $xpress_config;
+	$mydirpath = $xoops_config->xoops_root_path . '/modules/' . $mydirname;
+	$select_theme = xpress_ThemeTemplate(get_xpress_theme_name($mydirname));
+	$xpress_default_theme = 'xpress_default';
+	$select_block = '/wp-content/themes/' . $select_theme . '/blocks/' . $file_name;
+	$default_block = '/wp-content/themes/xpress_default/blocks/' . $file_name;
+	$select_block_path = $mydirpath . $select_block;
+	$default_block_path =  $mydirpath . $default_block;
+
+	$block_file_data = array();
+	$block_file_data['file_path'] = $default_block_path;
+	$block_file_data['error'] = '';
+
+	if($select_theme != $xpress_default_theme){
+		if (file_exists($select_block_path)){
+			$select_block_version = get_block_version($select_block_path);
+			$default_block_version = get_block_version($default_block_path);
+			if (version_compare($select_block_version,$default_block_version, "<")){
+				$block_file_data['file_path'] = $default_block_path;
+				if ($xpress_config->is_block_error_display){
+					$error_str = '<div style="color:red">';
+					$error_str .= sprintf(__('Block file %1$s is an old version %2$s.<br />used block file %3$s of new version %4$s.','xpressme'),$select_block,$select_block_version,$default_block,$default_block_version);
+					$error_str .= '</div>';
+					$block_file_data['error'] = $error_str;
+				}
+			} else {
+				$block_file_data['file_path'] = $select_block_path;
+				$block_file_data['error'] = '';
+			}
+		}
+	}
+	return $block_file_data;
+}
+
+function get_block_version($file_path = ''){
+	$array_file = file($file_path);
+	$pattern = '^[\s|\/]*[B|b]lock\s+[V|v]ersion\s*[:|;]\s*([0-9|.]*)';
+	$version = '0.1';
+	if (empty($file_path)) return $version;
+	if (!file_exists($file_path)) return $version;
+	if (count($array_file) > 5) $file_count = 5; else $file_count = count($array_file);
+	for ($i = 0 ; $i < $file_count ; $i++){
+		if (preg_match('/' . $pattern . '/' ,$array_file[$i],$matchs)){
+			$version = $matchs[1];
+			break;
+		}
+	}
+	return $version;
+}
+
+function icon_exists($str = '')
+{
+	global $xpress_config;
+	if (empty($str)) return false;
+	$root_path = $_SERVER['DOCUMENT_ROOT'];
+	$root_pattern = str_replace(".","\.",$root_path);
+	$root_pattern = '/'. str_replace("/","\/",$root_pattern) . '/';
+	$host = str_replace(".","\.",$_SERVER['SERVER_NAME']);
+	$pattern = "/https?:\/\/{$host}/";
+	if (preg_match($pattern,$str)){
+		$str = preg_replace($pattern,$root_path,$str);
+	} else if (!preg_match($root_pattern,$str)){
+		$str = $root_path.$str;
+	}
+	return file_exists($str);
+}
+
+function is_buddypress_active(){
+	$active_plugins = get_option('active_plugins');
+	foreach($active_plugins as $active_plugin_path){
+		if (strpos($active_plugin_path,'buddypress')!==false) return true;
+		if (strpos($active_plugin_path,'bp-loader.php')!==false) return true;
+	}
+	return false;
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/xpress_upgrade.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/xpress_upgrade.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/xpress_upgrade.php	(revision 866)
@@ -0,0 +1,377 @@
+<?php
+function  find_xpress_update( $version, $locale ){
+		$latest_version = get_option('xpressme_latest_version');
+		return (object)$latest_version;
+}
+
+function list_xpress_update( $update=null ) {
+	global $xoops_config,$xpress_config;
+	
+	$xpress_version = $xoops_config->module_version . $xoops_config->module_codename;
+	$lang = WPLANG;
+	
+	$automatically_enable = file_exists(ABSPATH .'wp-admin/includes/class-wp-upgrader.php');
+
+	$check_url = "http://ja.xpressme.info/version_check/index.php?version=$xpress_version&lang=$lang";
+
+	echo	'<div class="wrap">'."\n";
+	echo		'<div id="icon-options-general" class="icon32"><br /></div>'."\n";
+	echo		'<h2>' . __('XPressME Upgrade', 'xpressme') . "</h2><br>\n";
+	if( get_xpress_latest_version($check_url)){
+		$latest = get_option('xpressme_latest_version');
+		if ($latest) {
+			$site_url=$latest['url'];
+			$package=$latest['package'];
+			$latest_version=$latest['latest_version'];
+			$check_time=$latest['check_time'];
+		}
+
+		$show_buttons = false;
+		if (version_compare($xpress_version, $latest_version, '>')){ 
+				echo '<h3 class="response">';
+				printf(__('You are using a XPressME Integration Kit development version (%s). Cool! Please stay updated.', 'xpressme') , $xpress_version);
+				echo '</h3>';
+		} else if (version_compare($xpress_version, $latest_version, '<')) {
+			echo '<h3 class="response">';
+			_e( 'An updated version of XPressME Integration Kit is available.', 'xpressme' );
+			echo '</h3>';
+
+			if ($latest['diff_response'] == 'diff_exists'){
+				$download_diff  ='<a class="button" href="' . $latest['diff_package'] . '">';
+				$download_diff .=	sprintf(__('Download differential file for %s', 'xpressme') , $xpress_version);
+				$download_diff .='</a>';
+			}
+			if($automatically_enable){
+				$message = 	sprintf(__('You can update to XPressME Integration Kit Ver %s</a> automatically or download the package and install it manually:', 'xpressme'), $latest_version);
+			} else {
+				$message = 	sprintf(__('You can upgrade to version %s download the package and install it manually:', 'xpressme'),$latest_version);
+			}
+			$submit = __('Update Automatically', 'xpressme');
+			$form_action = 'admin.php?page=upgrade_page&action=do-xpress-upgrade';
+			$download = sprintf(__('Download %s', 'xpressme') , $latest_version);
+			$show_buttons = true;
+
+		} else {
+			echo '<h3>';
+			printf(__('You have the latest version of XPressME Integration Kit Ver.%s.', 'xpressme'),$xpress_version);
+			echo '</h3>';
+
+			$message = __('You have the latest version of XPressME Integration Kit. You do not need to upgrade', 'xpressme');
+			$submit = __('Re-install Automatically', 'xpressme');
+			$form_action = 'update-core.php?action=do-core-reinstall';
+
+		}
+		
+		// develop
+		$develop_show = false;
+		if ($latest['develop_response'] == 'development_exists'
+			&& !empty($latest['develop_package'])
+			)
+		{
+			$develop_latest_version=$latest['develop_latest_version'];
+			$develop_form_action = 'admin.php?page=upgrade_page&action=do-xpress-develop_upgrade';
+			if($automatically_enable){
+				$develop_message = 	sprintf(__('You can update to  XPressME Integration Kit development version %s automatically or download the package and install it manually:', 'xpressme'), $develop_latest_version);
+			} else {
+				$develop_message = 	sprintf(__('You can use the development version %s download the package and install it manually:', 'xpressme'),$develop_latest_version);
+			}
+			$develop_show = true;
+			$develop_package=$latest['develop_package'];
+			$develop_submit = __('Update Automatically', 'xpressme');
+			$develop_download = sprintf(__('Download %s', 'xpressme') , $develop_latest_version);
+			$develop_download_diff = '';
+			// develop diff
+			if ($latest['diff_develop_response'] == 'diff_develop_exists'
+				&& !empty($latest['diff_develop_package'])
+				)
+			{
+					$develop_download_diff  = '<a class="button" href="' . $latest['diff_develop_package'] . '">';
+					$develop_download_difff .= sprintf(__('Download differential file for %s', 'xpressme') , $latest['diff_develop_latest_version']);
+					$develop_download_diff .= '</a>';
+			}
+		}
+
+		echo '<p>';
+		echo $message;
+		echo '</p>';
+		echo '<form method="post" action="' . $form_action . '" name="upgrade" class="upgrade">';
+	//	wp_nonce_field('upgrade-core');
+		echo '<p>';
+		echo '<input name="version" value="'. esc_attr($update->current) .'" type="hidden"/>';
+		echo '<input name="locale" value="'. esc_attr($update->locale) .'" type="hidden"/>';
+		if ( $show_buttons ) {
+			if($automatically_enable){
+				echo '<input id="upgrade" class="button" type="submit" value="' . esc_attr($submit) . '" name="upgrade" />&nbsp;';
+			}
+			echo '<a href="' . esc_url($package) . '" class="button">' . $download . '</a>&nbsp;';
+			echo $download_diff;
+		}
+		echo '</form>';
+		
+		if ($develop_show){
+			echo '<p>';
+			echo $develop_message;
+			echo '</p>';
+			echo '<form method="post" action="' . $develop_form_action . '" name="develop_upgrade" class="develop_upgrade">';
+			echo '<p>';
+			echo '<input name="version" value="'. esc_attr($update->current) .'" type="hidden"/>';
+			echo '<input name="locale" value="'. esc_attr($update->locale) .'" type="hidden"/>';
+				if($automatically_enable){
+					echo '<input id="upgrade" class="button" type="submit" value="' . esc_attr($develop_submit) . '" name="develop_upgrade" />&nbsp;';
+				}
+				echo '<a href="' . esc_url($develop_package) . '" class="button">' . $develop_download . '</a>&nbsp;';
+				echo $develop_download_diff;
+			echo '</form>';
+		}
+	} else {
+		echo '<h3 class="response">';
+		printf(__('There is no response from <a href="%s">version check API</a> now. sorry, please confirm it after.', 'xpressme'),$check_url);
+		echo	"</div>\n";
+	}
+}
+
+
+function xpress_update_core($current) {
+	include_once ABSPATH . 'wp-content/plugins/xpressme/include/class-xpress-upgrader.php';
+	$upgrader = new Xpress_Upgrader();
+	return $upgrader->upgrade($current);
+}
+
+function do_xpress_upgrade( $develop = false,$reinstall = false ) {
+	global $wp_filesystem,$xoops_config;
+
+	if ( $reinstall )
+		$url = 'admin.php?page=upgrade_page&action=do-xpress-reinstall';
+	else {
+		if(!$develop)
+			$url = 'admin.php?page=upgrade_page&action=do-xpress-upgrade';
+		else
+			$url = 'admin.php?page=upgrade_page&action=do-xpress-develop_upgrade';
+		$url = wp_nonce_url($url, 'upgrade-xpress');
+	}
+	if ( false === ($credentials = request_filesystem_credentials($url, '', false, ABSPATH)) )
+		return;
+
+	$version = isset( $_POST['version'] )? $_POST['version'] : false;
+	$locale = isset( $_POST['locale'] )? $_POST['locale'] : 'en_US';
+	$update = find_xpress_update( $version, $locale );
+//	$update = true;
+	if ( !$update )
+		return;
+	if ( $develop )
+		$update->package = $update->develop_package;
+
+	if ( ! WP_Filesystem($credentials, ABSPATH) ) {
+		request_filesystem_credentials($url, '', true, ABSPATH); //Failed to connect, Error and request again
+		return;
+	}
+?>
+	<div class="wrap">
+	<?php screen_icon(); ?>
+	<h2><?php _e('Update XPressME Integration Kit', 'xpressme'); ?></h2>
+<?php
+	if ( $wp_filesystem->errors->get_error_code() ) {
+		foreach ( $wp_filesystem->errors->get_error_messages() as $message )
+			show_message($message);
+		echo '</div>';
+		return;
+	}
+
+	if ( $reinstall )
+		$update->response = 'reinstall';
+
+	$result = xpress_update_core($update, 'show_message');
+
+	if ( is_wp_error($result) ) {
+		show_message($result);
+		if ('up_to_date' != $result->get_error_code() )
+			show_message( __('Installation Failed', 'xpressme') );
+	} else {
+		show_message( __('XPressME Integration Kit files updated successfully', 'xpressme') );
+		show_message( __('Please update the module. ', 'xpressme') );
+		
+		$update_url = $xoops_config->module_url .'/admin/update.php';
+		show_message( '<strong>' . __('Actions:', 'xpressme') . '</strong> <a href="' . esc_url( $update_url ) . '">' . __('Go to Module Update', 'xpressme') . '</a>' );
+	}
+	echo '</div>';
+}
+
+
+
+
+function upgrade_page()
+{
+	$action = isset($_GET['action']) ? $_GET['action'] : 'upgrade-xpress';
+	$upgrade_error = false;
+	if ( 'upgrade-xpress' == $action ) {
+		list_xpress_update();
+	} elseif ( 'do-xpress-upgrade' == $action) {
+		$update_develop = false;
+		do_xpress_upgrade($update_develop);
+	} else if  ( 'do-xpress-develop_upgrade' == $action) {
+		$update_develop = true;
+		do_xpress_upgrade($update_develop);
+	}
+}
+
+function xp_remote_get($url, $headers = ""){
+	global $xoops_config;
+	$xpress_version = $xoops_config->module_version . $xoops_config->module_codename;
+
+	require_once( $xoops_config->module_path . '/wp-includes/class-snoopy.php');
+
+	// Snoopy is an HTTP client in PHP
+	$client = new Snoopy();
+	$client->agent = 'XPressME/' . $xpress_version;
+	$client->read_timeout = 2;
+	if (is_array($headers) ) {
+		$client->rawheaders = $headers;
+	}
+
+	@$client->fetch($url);
+	$response['response']['code'] = $client->status;
+	$response['body'] = $client->results;
+	return $response;
+	return $client;
+
+}
+
+function get_xpress_latest_version($check_url=null){
+	global $wp_version, $wpdb, $wp_local_package;
+	global $xoops_config;
+	
+	$xpress_version = $xoops_config->module_version . $xoops_config->module_codename;
+	$lang = WPLANG;
+	if(is_null($check_url))
+		$check_url = "http://ja.xpressme.info/version_check/index.php?version=$xpress_version&lang=$lang";
+	$request_options = array(
+	'timeout' => 3,
+	'user-agent' => 'WordPress/' . $wp_version . '; ' . get_bloginfo( 'url' )
+	);
+
+	if (! function_exists('wp_remote_get')) {
+		$response = xp_remote_get($check_url);
+		
+		if (empty($response['body'])) return false;
+	} else {
+	
+		$response = wp_remote_get($check_url, $request_options);
+		
+		if ( is_wp_error( $response ) )
+			return false;
+	}
+	if ( 200 != $response['response']['code'] )
+		return false;
+	$body = trim( $response['body'] );
+	$body = str_replace(array("\r\n", "\r"), "\n", $body);
+	$returns = explode("\n", $body);
+
+	if ( isset( $returns[0] ) ) $response = $returns[0]; else $response = '';
+	if ( isset( $returns[1] ) ) $url = clean_url( $returns[1] ); else $url = '';
+	if ( isset( $returns[2] ) ) $package = clean_url( $returns[2] ); else $package = '';
+	if ( isset( $returns[3] ) ) $latest_version = $returns[3]; else  $latest_version = '';
+	if ( isset( $returns[4] ) ) $lang = $returns[4]; else $lang = '';
+	
+	// diff 
+	if ( isset( $returns[6] ) ) $diff_response = $returns[6]; else $diff_response = '';
+	if ( isset( $returns[7] ) ) $diff_url = clean_url( $returns[7] ); else $diff_url = '';
+	if ( isset( $returns[8] ) ) $diff_package = clean_url( $returns[8] ); else $diff_package = '';
+	if ( isset( $returns[9] ) ) $diff_latest_version = $returns[9]; else  $diff_latest_version = '';
+	if ( isset( $returns[10] ) ) $diff_lang = $returns[10]; else $diff_lang = '';
+
+	// developer 
+	if ( isset( $returns[12] ) ) $develop_response = $returns[12]; else $develop_response = '';
+	if ( isset( $returns[13] ) ) $develop_url = clean_url( $returns[13] ); else $develop_url = '';
+	if ( isset( $returns[14] ) ) $develop_package = clean_url( $returns[14] ); else $develop_package = '';
+	if ( isset( $returns[15] ) ) $develop_latest_version = $returns[15]; else  $develop_latest_version = '';
+	if ( isset( $returns[16] ) ) $develop_lang = $returns[16]; else $develop_lang = '';
+	
+	// developer diff
+	if ( isset( $returns[18] ) ) $diff_develop_response = $returns[18]; else $diff_develop_response = '';
+	if ( isset( $returns[19] ) ) $diff_develop_url = clean_url( $returns[19] ); else $diff_develop_url = '';
+	if ( isset( $returns[20] ) ) $diff_develop_package = clean_url( $returns[20] ); else $diff_develop_package = '';
+	if ( isset( $returns[21] ) ) $diff_develop_latest_version = $returns[21]; else  $diff_develop_latest_version = '';
+	if ( isset( $returns[22] ) ) $diff_develop_lang = $returns[22]; else $diff_develop_lang = '';
+
+	$write_options = array (
+		'response' => $response ,
+		'url' => $url ,
+		'package' => $package ,
+		'latest_version' => $latest_version ,
+		'lang' => $lang ,
+		'diff_response' => $diff_response ,
+		'diff_url' => $diff_url ,
+		'diff_package' => $diff_package ,
+		'diff_latest_version' => $diff_latest_version ,
+		'diff_lang' => $diff_lang ,
+		'develop_response' => $develop_response ,
+		'develop_url' => $develop_url ,
+		'develop_package' => $develop_package ,
+		'develop_latest_version' => $develop_latest_version ,
+		'develop_lang' => $develop_lang ,
+		'diff_develop_response' => $diff_develop_response ,
+		'diff_develop_url' => $diff_develop_url ,
+		'diff_develop_package' => $diff_develop_package ,
+		'diff_develop_latest_version' => $diff_develop_latest_version ,
+		'diff_develop_lang' => $diff_develop_lang ,
+		'check_time' => time()
+	);
+	
+	$latest_version = get_option('xpressme_latest_version');
+	if (!$latest_version) {
+		add_option('xpressme_latest_version', $write_options);
+	} else {
+		update_option('xpressme_latest_version', $write_options);
+	}
+	return true;
+}
+
+function xpress_update_check() {
+	if ( defined('WP_INSTALLING') )
+		return;
+	global $pagenow;
+
+	$php_query_string = $_SERVER['QUERY_STRING'];
+
+	if ( 'admin.php' == $pagenow && 'page=upgrade_page' == $php_query_string)
+		return;
+
+	global $wp_version, $wpdb, $wp_local_package;
+	global $xoops_config;
+
+	$php_query_string = $_SERVER['QUERY_STRING'];
+	$xpress_version = $xoops_config->module_version . $xoops_config->module_codename;
+
+	$latest = get_option('xpressme_latest_version');
+	if (!$latest ) {
+		get_xpress_latest_version();
+		$latest = get_option('xpressme_latest_version');
+	}
+
+	if ($latest) {
+		$next_check = $latest['check_time'] + (60*60*24);
+		$now_time = time();
+		if ($next_check < $now_time ){
+			get_xpress_latest_version();
+			$latest = get_option('xpressme_latest_version');
+		}
+	}
+
+	if ($latest) {
+		$url=$latest['url'];
+		$package=$latest['package'];
+		$latest_version=$latest['latest_version'];
+		$check_time=$latest['check_time'];
+		$upgrade_page = $xoops_config->module_url . "/wp-admin/admin.php?page=upgrade_page";
+
+		if (version_compare($xpress_version, $latest_version, '<')) {
+			if ( current_user_can('manage_options') ){
+				$msg = sprintf( __('XPressME Integration Kit Version %1$s is available! <a href="%2$s">Please update now</a>.', 'xpressme'), $latest_version, $upgrade_page );
+			} else {
+				$msg = sprintf( __('XPressME Integration Kit Version %1$s is available! Please notify the site administrator.', 'xpressme'), $latest_version );
+			}
+			echo "<div id='update-nag'>$msg </div>";
+		}
+	}
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/language/xpressme-ja.po
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/language/xpressme-ja.po	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/language/xpressme-ja.po	(revision 866)
@@ -0,0 +1,889 @@
+# Japanese (UTF-8) translation for XPressME Plugin
+# Copyright (c) 2005-2008 XPressME
+# This file is distributed under the same license as the XPressME package.
+# toemon <info@toemon.com>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: XPressME Plugin\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2011-04-29 14:11+0900\n"
+"PO-Revision-Date: 2011-04-29 14:12+0900\n"
+"Last-Translator: toemon <info@toemon.com>\n"
+"Language-Team: toemon <info@toemon.com>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Japanese\n"
+"X-Poedit-Country: JAPAN\n"
+"X-Poedit-KeywordsList: __;_e;_c\n"
+"X-Poedit-Basepath: D:\\XPressME_Project\\XPressME_SVN_Trunk\\xpressme_integration_kit\\wp-content\\plugins\\xpressme\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Poedit-SourceCharset: utf-8\n"
+"X-Poedit-SearchPath-0: .\n"
+
+#: xpressme.php:59
+msgid "Display Settings"
+msgstr "表示設定"
+
+#: xpressme.php:60
+msgid "Integration Settings"
+msgstr "統合設定"
+
+#: xpressme.php:61
+msgid "Other Settings"
+msgstr "その他の設定"
+
+#: xpressme.php:64
+msgid "Upgrade"
+msgstr "アップグレード"
+
+#: xpressme.php:65
+msgid "to Modules Admin"
+msgstr "モジュール管理へ"
+
+#: xpressme.php:196
+msgid "XPressME Display Setting"
+msgstr "XPressME 表示設定"
+
+#: xpressme.php:202
+msgid "Thema Sidebar Display"
+msgstr "テーマ表示時にサイドバー表示する。"
+
+#: xpressme.php:203
+#: xpressme.php:296
+#: xpressme.php:302
+#: xpressme.php:307
+#: xpressme.php:313
+#: xpressme_class.php:470
+#: xpressme_class.php:488
+#: xpressme_class.php:675
+#: xpressme_class.php:686
+#: xpressme_class.php:710
+msgid "YES"
+msgstr "はい"
+
+#: xpressme.php:204
+#: xpressme.php:297
+#: xpressme.php:303
+#: xpressme.php:308
+#: xpressme.php:314
+#: xpressme_class.php:471
+#: xpressme_class.php:489
+#: xpressme_class.php:676
+#: xpressme_class.php:687
+#: xpressme_class.php:711
+msgid "NO"
+msgstr "いいえ"
+
+#: xpressme.php:213
+#: xpressme.php:265
+#: xpressme.php:324
+msgid "Update Config"
+msgstr "更新"
+
+#: xpressme.php:214
+#: xpressme.php:266
+#: xpressme.php:325
+msgid "Preset Config"
+msgstr "プリセット"
+
+#: xpressme.php:247
+msgid "XPressME Integration Setting"
+msgstr "XPressME 統合設定"
+
+#: xpressme.php:251
+msgid "Media Upload Base Path"
+msgstr "メディアアップロードのベースパス設定"
+
+#: xpressme.php:254
+msgid "Use XOOPS UPLOAD PATH"
+msgstr "XOOPSのアップロードパスを使用する。"
+
+#: xpressme.php:255
+msgid "USE WordPress BASE_PATH"
+msgstr "WordPressのベースパスを使用する。"
+
+#: xpressme.php:290
+msgid "XPressME Other Setting"
+msgstr "XPressME その他の設定"
+
+#: xpressme.php:295
+msgid "The change tracking of the post is preserved"
+msgstr "投稿の変更履歴を有効にする。"
+
+#: xpressme.php:301
+msgid "Select Multi user mode"
+msgstr "マルチユーザーモードを選択"
+
+#: xpressme.php:306
+msgid "Is the posts author views counted?"
+msgstr "投稿者の閲覧をカウントしますか？"
+
+#: xpressme.php:312
+msgid "Is SQL debugging window displayed?"
+msgstr "SQLデバッグウィンドを表示しますか？"
+
+#: xpressme.php:317
+msgid "Select warning display of block file version check"
+msgstr "ブロックファイルのバージョンチェック時における警告表示"
+
+#: xpressme.php:318
+msgid "Do display"
+msgstr "表示する"
+
+#: xpressme.php:319
+msgid "Do not display"
+msgstr "表示しない"
+
+#: xpressme_class.php:64
+#: xpressme_class.php:418
+msgid "Older Post"
+msgstr "前の投稿へ"
+
+#: xpressme_class.php:65
+#: xpressme_class.php:421
+msgid "Newer Post"
+msgstr "次の投稿へ"
+
+#: xpressme_class.php:67
+#: xpressme_class.php:424
+msgid "Older Entries"
+msgstr "前ページへ"
+
+#: xpressme_class.php:68
+#: xpressme_class.php:427
+msgid "Newer Entries"
+msgstr "次ページへ"
+
+#: xpressme_class.php:82
+#: xpressme_class.php:83
+#: xpressme_class.php:430
+msgid "Read the rest of this entry &raquo;"
+msgstr "この投稿の続きを読む &raquo;"
+
+#: xpressme_class.php:530
+msgid "Single Post Navi Setting"
+msgstr "シングルポストナビの設定"
+
+#: xpressme_class.php:535
+#: xpressme_class.php:610
+msgid "Adjustment of Navi link display position"
+msgstr "リンクの表示位置設定"
+
+#: xpressme_class.php:538
+msgid "'Old Post Link' is displayed in the left, and 'Newer Post Link' is displayed in the right"
+msgstr "以前の記事へのリンクを左に、より新しい記事へのリンクを右に表示"
+
+#: xpressme_class.php:539
+msgid "'Newer Post Link' is displayed in the left, and 'Old Post Link' is displayed in the right"
+msgstr "より新しい記事へのリンクを左に、古い記事へのリンクを右に表示"
+
+#: xpressme_class.php:545
+msgid "Select Display name of PostNavi Link"
+msgstr "表示するリンクテキストを選択"
+
+#: xpressme_class.php:548
+msgid "Title of post"
+msgstr "投稿記事のタイトルを表示"
+
+#: xpressme_class.php:549
+msgid "Title of Navi"
+msgstr "ナビタイトルを表示"
+
+#: xpressme_class.php:555
+msgid "Display Navi Title of Old Post Link"
+msgstr "古い記事へのナビタイトルを設定"
+
+#: xpressme_class.php:562
+msgid "Display Navi Title of Newer Post Link"
+msgstr "より新しい記事へのナビタイトルを設定"
+
+#: xpressme_class.php:569
+#: xpressme_class.php:634
+msgid "Left arrow image src"
+msgstr "左矢印イメージSRC"
+
+#: xpressme_class.php:574
+#: xpressme_class.php:589
+#: xpressme_class.php:639
+#: xpressme_class.php:652
+msgid "Not Found"
+msgstr "見つかりません"
+
+#: xpressme_class.php:584
+#: xpressme_class.php:647
+msgid "Right arrow image src"
+msgstr "右矢印イメージSRC"
+
+#: xpressme_class.php:605
+msgid "Posts List Page Navi Setting"
+msgstr "ポストリストページナビの設定"
+
+#: xpressme_class.php:613
+msgid "'Old Page Link' is displayed in the left, and 'Newer Page Link' is displayed in the right"
+msgstr "古いページへのリンクを左に、より新しいページへのリンクを右に表示"
+
+#: xpressme_class.php:614
+msgid "'Newer Page Link' is displayed in the left, and 'Old Page Link' is displayed in the right"
+msgstr "より新しいページへのリンクを左に、古いページへのリンクを右に表示"
+
+#: xpressme_class.php:620
+msgid "Display Navi Title of Old Page Link"
+msgstr "古いページへのナビタイトルを設定"
+
+#: xpressme_class.php:627
+msgid "Display Navi Title of Newer Page Link"
+msgstr "より新しいページへのナビタイトルを設定"
+
+#: xpressme_class.php:666
+msgid "Dashboard feed Display Setting"
+msgstr "ダッシュボード　フィード表示設定"
+
+#: xpressme_class.php:672
+msgid "Display XPressMe Integration Kit Blog"
+msgstr "XPressME Integration Kit ブログを表示する。"
+
+#: xpressme_class.php:683
+msgid "Display XPressMe Integration Kit Forum"
+msgstr "XPressME Integration Kit フォーラムを表示する。"
+
+#: xpressme_class.php:701
+msgid "Role Setting at Login"
+msgstr "ログイン時の権限設定"
+
+#: xpressme_class.php:707
+msgid "XOOPS administrators role is set as all blog administrators."
+msgstr "XOOPSの管理者をすべてのブログの管理者に設定します。"
+
+#: xpressme_class.php:716
+msgid "XOOPS Groupe"
+msgstr "XOOPSグループ名"
+
+#: xpressme_class.php:716
+msgid "WordPress Role"
+msgstr "WordPressでの権限"
+
+#: xpressme_class.php:716
+msgid "Role is set at each login"
+msgstr "ログイン時、常に権限を更新する"
+
+#: xpressme_class.php:721
+msgid "module cannot be read"
+msgstr "モジュールアクセス権限なし"
+
+#: xpressme_class.php:762
+#: xpressme_class.php:766
+#: xpressme_class.php:769
+msgid "Default Role of WordPress"
+msgstr "WordPressのデフォルト権限"
+
+#: xpressme_class.php:763
+#: xpressme_class.php:767
+#: xpressme_class.php:770
+msgid "Group User Doesn't Register"
+msgstr "ユーザ登録しない"
+
+#: xpressme_class.php:783
+msgid "Only the Admin can set Group Role Setting"
+msgstr "管理者だけがグループ権限を設定できます。"
+
+#: xpressme_class.php:805
+msgid "WordPress MultiBlog cannot integrate the comments."
+msgstr "WordPress マルチブログではコメント統合できません。"
+
+#: xpressme_class.php:807
+msgid "Do Not Comment Integration."
+msgstr "コメント統合しません。"
+
+#: xpressme_class.php:842
+msgid "Create New Forum"
+msgstr "新規フォーラムを作成"
+
+#: xpressme_class.php:854
+msgid "Comment integration with D3Forum"
+msgstr "D3Forumとのコメント統合"
+
+#: xpressme_class.php:856
+msgid "Select the forum of D3Forum that does the comment integration from the following lists."
+msgstr "以下のリストからコメント統合をするD3Forumのフォーラムを選択してください。"
+
+#: xpressme_class.php:861
+msgid "Select the Type of display of D3Forum comment."
+msgstr "D3Forumの表示タイプを選択"
+
+#: xpressme_class.php:863
+#: xpressme_class.php:866
+msgid "Flat"
+msgstr "フラット"
+
+#: xpressme_class.php:864
+#: xpressme_class.php:867
+msgid "Threaded"
+msgstr "スレッド"
+
+#: xpressme_class.php:870
+msgid "Select the order of display of D3Forum comment."
+msgstr "D3Forumコメントの表示順を選択"
+
+#: xpressme_class.php:872
+#: xpressme_class.php:875
+msgid "DESC"
+msgstr "降順"
+
+#: xpressme_class.php:873
+#: xpressme_class.php:876
+msgid "ASC"
+msgstr "昇順"
+
+#: xpressme_class.php:879
+msgid "Number of displays of D3Forum comments."
+msgstr "D3Forumのコメント表示数"
+
+#: xpressme_class.php:882
+msgid "The import and the export between Wordpress Comments and the D3Forum Posts can be done. "
+msgstr "WordPressコメントとD3Forumポスト間の一括転送（エクスポート・インポート）"
+
+#: xpressme_class.php:883
+msgid "Export to D3Forum"
+msgstr "D3Forumへ一括エクスポート"
+
+#: xpressme_class.php:884
+msgid "Import from D3Forum"
+msgstr "D3Forumから一括インポート"
+
+#: xpressme_class.php:897
+msgid "Contents Excerpt Setting"
+msgstr "記事抜粋の設定"
+
+#: xpressme_class.php:902
+msgid "Is the excerpt display done with the archive of contents?"
+msgstr "記事のアーカイブで抜粋表示を行いますか？"
+
+#: xpressme_class.php:909
+msgid "When ASCII character more than the set ratio is included, it is judged ASCII contents. "
+msgstr "ASCII文字が含まれる比率が設定された値より大きい場合、ASCII文字コンテンツと判断します。"
+
+#: xpressme_class.php:916
+msgid "Excerpt length of word for ASCII contents"
+msgstr "ASCIIコンテンツの抜粋単語数"
+
+#: xpressme_class.php:923
+msgid "Excerpt length of character for multibyte contents"
+msgstr "マルチバイトコンテンツの抜粋文字数"
+
+#: xpressme_class.php:930
+msgid "This text is displayed in the link that reads contents not excerpted.(Is not displayed for the blank.)"
+msgstr "抜粋されていないコンテンツを読むためのリンクに表示されるテキスト(空白の場合リンクを表示しません)"
+
+#: xpressme_class.php:937
+msgid "This text is displayed in the link that more tag (&lt;!--more--&gt;). "
+msgstr "more タグ (&lt;!--more--&gt;)のリンクに表示されるテキスト"
+
+#: xpressme_class.php:949
+msgid "Display Mode Setting"
+msgstr "表示モード設定"
+
+#: xpressme_class.php:952
+msgid "Select the XPressME Display Mode."
+msgstr "XPressMEの表示モードの選択"
+
+#: xpressme_class.php:957
+msgid "Xoops Mode"
+msgstr "XOOPSモード"
+
+#: xpressme_class.php:961
+msgid "WordPress Mode"
+msgstr "WordPressモード"
+
+#: xpressme_class.php:965
+msgid "User select"
+msgstr "ユーザによる選択"
+
+#: xpressme_class.php:970
+msgid "Select the theme used in the XOOPS Mode."
+msgstr "XOOPSモードで使用するテーマを選択"
+
+#: xpressme_class.php:975
+msgid "Use WordPress Selected Themes"
+msgstr "WordPressで選択したテーマを使う"
+
+#: xpressme_class.php:993
+msgid "Header Meta Option"
+msgstr "ヘッダメタ　オプション"
+
+#: xpressme_class.php:998
+msgid "Select the Header keyword."
+msgstr "ヘッダで使用するキーワードの選択"
+
+#: xpressme_class.php:1003
+msgid "Xoops KeyWord"
+msgstr "XOOPSのキーワード"
+
+#: xpressme_class.php:1006
+msgid "WordPress KeyWord"
+msgstr "WordPressのキーワード"
+
+#: xpressme_class.php:1009
+msgid "WordPress & Xoops KeyWord"
+msgstr "WordPressｊとXOOPSのキーワード"
+
+#: xpressme_class.php:1015
+msgid "Select the Header Description."
+msgstr "ヘッダで使用するディスクリプション（説明）の選択"
+
+#: xpressme_class.php:1020
+msgid "Xoops Description"
+msgstr "XOOPSのディスクリプション"
+
+#: xpressme_class.php:1023
+msgid "WordPress Description"
+msgstr "WordPressのディスクリプション"
+
+#: xpressme_class.php:1026
+msgid "WordPress & Xoops Description"
+msgstr "WordPressとXOOPSのディスクリプション"
+
+#: xpressme_class.php:1032
+msgid "Select the Header Robots Index."
+msgstr "ヘッダで使用するロボットインデックスの選択"
+
+#: xpressme_class.php:1037
+msgid "Xoops Robots Index"
+msgstr "XOOPSのロボットインデックス"
+
+#: xpressme_class.php:1040
+msgid "WordPress Robots Index"
+msgstr "WordPressのロボットインデックス"
+
+#: xpressme_class.php:1086
+#, php-format
+msgid "Unable to create directory %s. Is its parent directory writable by the server?"
+msgstr "%s ディレクトリーが作成できません。サーバーの親ディレクトリー書き込み権限があるか確認くださいr?"
+
+#: xpressme_widget_class.php:13
+msgid "XPressME User Menu Widget"
+msgstr "XPressME ユーザメニュー ウィジェット"
+
+#: xpressme_widget_class.php:15
+msgid "XPressME MENU"
+msgstr "XPressME メニュー"
+
+#: xpressme_widget_class.php:139
+#: xpressme_widget_class.php:191
+#: xpressme_widget_class.php:196
+#: xpressme_widget_class.php:201
+msgid "Link"
+msgstr "リンク"
+
+#: xpressme_widget_class.php:140
+#: xpressme_widget_class.php:156
+msgid "Site Home"
+msgstr "サイトホーム"
+
+#: xpressme_widget_class.php:141
+#: xpressme_widget_class.php:161
+msgid "Add New"
+msgstr "新規投稿"
+
+#: xpressme_widget_class.php:142
+#: xpressme_widget_class.php:166
+msgid "User Profile"
+msgstr "ユーザプロファイル"
+
+#: xpressme_widget_class.php:143
+#: xpressme_widget_class.php:172
+msgid "WordPress Admin"
+msgstr "WordPress管理"
+
+#: xpressme_widget_class.php:144
+#: xpressme_widget_class.php:177
+msgid "Module Admin"
+msgstr "モジュール管理"
+
+#: xpressme_widget_class.php:145
+#: xpressme_widget_class.php:182
+msgid "XPressME Setting"
+msgstr "XPressME設定"
+
+#: xpressme_widget_class.php:146
+msgid "Display Mode Select"
+msgstr "表示モード選択"
+
+#: xpressme_widget_class.php:148
+#: xpressme_widget_class.php:167
+msgid "Auto Setting"
+msgstr "自動設定"
+
+#: xpressme_widget_class.php:153
+msgid "User Menu"
+msgstr "ユーザメニュー"
+
+#: xpressme_widget_class.php:241
+msgid "Title:"
+msgstr "タイトル:"
+
+#: include/class-xpress-upgrader.php:7
+msgid "XPressME Integration Kit is at the latest version."
+msgstr "お使いの、XPressME Integration Kitは最新のものです。"
+
+#: include/class-xpress-upgrader.php:8
+msgid "Upgrade package not available."
+msgstr "アップデートパッケージがありません。"
+
+#: include/class-xpress-upgrader.php:9
+#, php-format
+msgid "Downloading update from <span class=\"code\">%s</span>&#8230;"
+msgstr "<span class=\"code\">%s</span>からアップデートをダウロードしています&#8230;"
+
+#: include/class-xpress-upgrader.php:10
+msgid "Unpacking the update&#8230;"
+msgstr "パッケージを展開しています。"
+
+#: include/class-xpress-upgrader.php:11
+msgid "Could not copy files."
+msgstr "ファイルがコピーできませんでした。"
+
+#: include/class-xpress-upgrader.php:12
+msgid "Delete source wp-config.php."
+msgstr "ダウロードしたソースから、wp-config.phpを削除します。"
+
+#: include/class-xpress-upgrader.php:13
+msgid "Could not delete files."
+msgstr "ファイルが消去できませんでした。"
+
+#: include/class-xpress-upgrader.php:14
+msgid "The structure of the package is wrong. "
+msgstr "パッケージの構成が異なっています。"
+
+#: include/custom_functions.php:113
+#, php-format
+msgid "Permanent Link to %s"
+msgstr "%sのパーマリンク"
+
+#: include/custom_functions.php:498
+#: include/custom_functions.php:531
+#, php-format
+msgid "views :%d"
+msgstr "閲覧数 :%d"
+
+#: include/custom_functions.php:699
+msgid "Main"
+msgstr "メイン"
+
+#: include/custom_functions.php:702
+#, php-format
+msgid "Archive for the &#8216;%s&#8217; Category"
+msgstr "カテゴリー &#8216;%s&#8217; のアーカイブ"
+
+#: include/custom_functions.php:705
+#, php-format
+msgid "Posts Tagged &#8216;%s&#8217;"
+msgstr "&#8216;%s&#8217; タグのついている投稿"
+
+#: include/custom_functions.php:708
+#, php-format
+msgid "Archive for %s|Daily archive page"
+msgstr "%sの日別アーカイブ"
+
+#: include/custom_functions.php:708
+msgid "F jS, Y"
+msgstr "Y年n月j日"
+
+#: include/custom_functions.php:710
+#, php-format
+msgid "Archive for %s|Monthly archive page"
+msgstr "%sの月別アーカイブ"
+
+#: include/custom_functions.php:710
+msgid "F, Y"
+msgstr "Y年n月"
+
+#: include/custom_functions.php:712
+#, php-format
+msgid "Archive for %s|Yearly archive page"
+msgstr "%sの年別アーカイブ "
+
+#: include/custom_functions.php:712
+msgid "Y"
+msgstr "Y年"
+
+#: include/custom_functions.php:715
+#, php-format
+msgid "Archive for the &#8216;%s&#8217; Author"
+msgstr "投稿者 &#8216;%s&#8217; のアーカイブ"
+
+#: include/custom_functions.php:718
+#, php-format
+msgid "Search Results of word &#8216;%s&#8217;"
+msgstr "&#8216;%s&#8217; の検索結果"
+
+#: include/custom_functions.php:724
+#: include/custom_functions.php:726
+#, php-format
+msgid "Article of %s"
+msgstr "%sの記事"
+
+#: include/custom_functions.php:748
+#, php-format
+msgid "From %1$s on site %2$s"
+msgstr "サイト %2$s の %1$s より"
+
+#: include/custom_functions.php:769
+msgid "No Trackback/Pingback"
+msgstr "トラックバック・ピンバックはありません"
+
+#: include/custom_functions.php:770
+msgid "One Trackback/Pingback"
+msgstr "トラックバック・ピンバック 1 件"
+
+#: include/custom_functions.php:771
+msgid "% TrackBack/Pingback"
+msgstr "トラックバック・ピンバック % 件"
+
+#: include/custom_functions.php:949
+msgid "Tags:"
+msgstr ""
+
+#: include/custom_functions.php:992
+msgid "Comments (0)"
+msgstr ""
+
+#: include/custom_functions.php:992
+msgid "Comments (1)"
+msgstr ""
+
+#: include/custom_functions.php:992
+msgid "Comments (%)"
+msgstr ""
+
+#: include/custom_functions.php:996
+#, fuzzy, php-format
+msgid "Views :%d"
+msgstr "閲覧数 :%d"
+
+#: include/custom_functions.php:1074
+msgid "Create New Blog"
+msgstr "新しいブログを作成"
+
+#: include/custom_functions.php:1100
+msgid "Your Primary Blog"
+msgstr "あなたのプライマリーブログ"
+
+#: include/dashboard_feed.php:19
+msgid "XPressME Integration Kit Blog"
+msgstr "XPressME Integration Kit ブログ"
+
+#: include/dashboard_feed.php:32
+msgid "XPressME Integration Kit Folum"
+msgstr "XPressME Integration Kit フォーラム"
+
+#: include/dashboard_feed.php:92
+msgid "Unknown Feed"
+msgstr "不明なフィード"
+
+#: include/functions_for_wp_old.php:21
+msgid "<strong>ERROR</strong>: The password field is empty."
+msgstr "<strong>エラー</strong>: パスワードが入力されていません."
+
+#: include/functions_for_wp_old.php:29
+msgid "<strong>ERROR</strong>: Invalid username."
+msgstr "<strong>エラー</strong>: ユーザ名が異なっています."
+
+#: include/functions_for_wp_old.php:37
+msgid "<strong>ERROR</strong>: Incorrect password."
+msgstr "<strong>エラー</strong>: パスワードが異なっています."
+
+#: include/pluggable-override.php:265
+#, php-format
+msgid "If the page does not automatically reload, please click <a href='%s'>here</a>"
+msgstr "自動的にページが読み込まれない場合は<a href='%s'>こちら</a>をクリックしてください。"
+
+#: include/update_xpress.php:32
+msgid "Disable overwrite of wp-config.php..."
+msgstr "wp-config.phpの上書きを禁止します。"
+
+#: include/update_xpress.php:40
+msgid "Copy new versions of XPressME Integration Kit files into place..."
+msgstr "最新バージョンの XPressME Integration Kit ファイルをコピーしています。...."
+
+#: include/update_xpress.php:49
+msgid "Remove an unnecessary, old file..."
+msgstr "不必要な古いファイルを削除します。"
+
+#: include/update_xpress.php:56
+msgid "Set templates directory chmod 777"
+msgstr "templateディレクトリのパーミッションを777に設定します。"
+
+#: include/update_xpress.php:61
+#, php-format
+msgid "Remove working directory(%s)..."
+msgstr "作業ディレクトリ(%s)を削除します..."
+
+#: include/xpress_common_functions.php:8
+msgid "After Blog address (URL) is set, it is necessary to set the permalink again."
+msgstr "ブログアドレス(URL)の変更後、パーマリンク設定が必要です"
+
+#: include/xpress_common_functions.php:9
+msgid "Can not access WordPress address (URL)."
+msgstr "WordPress のアドレス (URL)にアクセスできません。"
+
+#: include/xpress_common_functions.php:10
+msgid "WordPress Blog address (URL) is different from access URL."
+msgstr "WordPressのブログのアドレス (URL)とアクセスURLが異なっています。"
+
+#: include/xpress_common_functions.php:212
+msgid "Themes"
+msgstr "テーマ"
+
+#: include/xpress_common_functions.php:227
+msgid "Switch to XOOPS mode"
+msgstr "XOOPSモードへ切替"
+
+#: include/xpress_common_functions.php:231
+#: include/xpress_common_functions.php:234
+msgid "Switch to WordPress mode"
+msgstr "WordPressモードへ切替"
+
+#: include/xpress_common_functions.php:392
+#, php-format
+msgid "Block file %1$s is an old version %2$s.<br />used block file %3$s of new version %4$s."
+msgstr "ブロックファイル %1$s は古いバージョン %2$s の為、<br /> 新しいバージョン %4$s　のブロックファイル %3$s を使用します。"
+
+#: include/xpress_upgrade.php:19
+msgid "XPressME Upgrade"
+msgstr "XPressME アップグレード"
+
+#: include/xpress_upgrade.php:32
+#, php-format
+msgid "You are using a XPressME Integration Kit development version (%s). Cool! Please stay updated."
+msgstr "お使いの XPressME Integration Kit は開発版 (%s) です。すばらしい ! どうぞ最新版を使い続けてください。"
+
+#: include/xpress_upgrade.php:36
+msgid "An updated version of XPressME Integration Kit is available."
+msgstr "新しいバージョンの XPressME Integration Kit にアップグレードが可能です。"
+
+#: include/xpress_upgrade.php:41
+#: include/xpress_upgrade.php:89
+#, php-format
+msgid "Download differential file for %s"
+msgstr "%sの差分ファイルをダウンロード"
+
+#: include/xpress_upgrade.php:45
+#, php-format
+msgid "You can update to XPressME Integration Kit Ver %s</a> automatically or download the package and install it manually:"
+msgstr "XPressME Integration Kit Verバージョン %s のパッケージを自動更新するか、手動でダウンロードしてインストールすることができます。"
+
+#: include/xpress_upgrade.php:47
+#, php-format
+msgid "You can upgrade to version %s download the package and install it manually:"
+msgstr "バージョン %s のパッケージを手動でダウンロードしてインストールすることができます。"
+
+#: include/xpress_upgrade.php:49
+#: include/xpress_upgrade.php:80
+msgid "Update Automatically"
+msgstr "自動更新"
+
+#: include/xpress_upgrade.php:51
+#: include/xpress_upgrade.php:81
+#, php-format
+msgid "Download %s"
+msgstr "%s をダウンロード"
+
+#: include/xpress_upgrade.php:56
+#, php-format
+msgid "You have the latest version of XPressME Integration Kit Ver.%s."
+msgstr "最新の XPressME Integration Kit Ver.%s をご利用中です。アップグレードの必要はありません。"
+
+#: include/xpress_upgrade.php:59
+msgid "You have the latest version of XPressME Integration Kit. You do not need to upgrade"
+msgstr "最新バージョンの XPressME Integration Kit をご利用中です。アップグレードの必要はありません。"
+
+#: include/xpress_upgrade.php:60
+msgid "Re-install Automatically"
+msgstr "自動再インストール"
+
+#: include/xpress_upgrade.php:74
+#, php-format
+msgid "You can update to  XPressME Integration Kit development version %s automatically or download the package and install it manually:"
+msgstr "XPressME Integration Kit開発バージョン %s のパッケージを自動更新するか、手動でダウンロードしてインストールすることができます。"
+
+#: include/xpress_upgrade.php:76
+#, php-format
+msgid "You can use the development version %s download the package and install it manually:"
+msgstr "開発バージョン %s のパッケージを手動でダウンロードしてインストールすることができます。"
+
+#: include/xpress_upgrade.php:128
+#, php-format
+msgid "There is no response from <a href=\"%s\">version check API</a> now. sorry, please confirm it after."
+msgstr "現在、<a href=\"%s\">version check API</a>からのレスポンスがありません。　申し訳ありませんが、しばらく後で確認してください。"
+
+#: include/xpress_upgrade.php:171
+msgid "Update XPressME Integration Kit"
+msgstr "XPressME Integration Kit の更新"
+
+#: include/xpress_upgrade.php:188
+msgid "Installation Failed"
+msgstr "インストールに失敗しました"
+
+#: include/xpress_upgrade.php:190
+msgid "XPressME Integration Kit files updated successfully"
+msgstr "XPressME Integration Kitのファイル更新が終了しました。"
+
+#: include/xpress_upgrade.php:191
+msgid "Please update the module. "
+msgstr "モジュールのアップデートを行ってください。"
+
+#: include/xpress_upgrade.php:194
+msgid "Actions:"
+msgstr "作業:"
+
+#: include/xpress_upgrade.php:194
+msgid "Go to Module Update"
+msgstr "モジュールの更新へ"
+
+#: include/xpress_upgrade.php:369
+#, php-format
+msgid "XPressME Integration Kit Version %1$s is available! <a href=\"%2$s\">Please update now</a>."
+msgstr "XPressME Integration Kit Version %1$s が利用可能です ! <a href=\"%2$s\">アップデートしてください</a>。"
+
+#: include/xpress_upgrade.php:371
+#, php-format
+msgid "XPressME Integration Kit Version %1$s is available! Please notify the site administrator."
+msgstr "XPressME Integration Kit Version %1$s が利用可能です ! サイト管理者に連絡してください。"
+
+#~ msgid ""
+#~ "You do not have sufficient permissions to update XPressME Integration Kit "
+#~ "for this site."
+#~ msgstr "あなたには、 XPressME Integration Kit の更新権限がありません。"
+
+#~ msgid ""
+#~ "You can download the differential file from version %s to %s and upgrade "
+#~ "it manually:"
+#~ msgstr ""
+#~ "バージョン%sから%sへの差分ファイルをダウンロードし、手動でアップグレードす"
+#~ "ることができます："
+
+#~ msgid "Title"
+#~ msgstr "タイトル"
+
+#~ msgid "URL"
+#~ msgstr "URL"
+
+#~ msgid "more"
+#~ msgstr "続きを読む"
+
+#~ msgid "More Link Text (Is not displayed for the blank.)"
+#~ msgstr "Moreリンクテキスト（ブランクの場合リンクを表示しません。）"
+
+#~ msgid "Calendar"
+#~ msgstr "カレンダー"
+
+#~ msgid "%1$s %2$s|Used as a calendar caption"
+#~ msgstr "%2$s 年 %1$s|カレンダーのキャプションに使われます"
+
+#~ msgid "View posts for %1$s %2$s"
+#~ msgstr "%2$s年%1$sの投稿を表示"
+
+#~ msgid "XPressME Configuration Page"
+#~ msgstr "XPressMEの設定ページ"
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/language/xpressme-ja_EUC.po
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/language/xpressme-ja_EUC.po	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/language/xpressme-ja_EUC.po	(revision 866)
@@ -0,0 +1,889 @@
+# Japanese (EUC-JP) translation for XPressME Plugin
+# Copyright (c) 2005-2008 XPressME
+# This file is distributed under the same license as the XPressME package.
+# toemon <info@toemon.com>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: XPressME Plugin\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2011-04-22 23:10+0900\n"
+"PO-Revision-Date: 2011-04-29 14:15+0900\n"
+"Last-Translator: toemon <info@toemon.com>\n"
+"Language-Team: toemon <info@toemon.com>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=euc-jp\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Japanese\n"
+"X-Poedit-Country: JAPAN\n"
+"X-Poedit-KeywordsList: __;_e;_c\n"
+"X-Poedit-Basepath: D:\\XPressME_Project\\XPressME_SVN_Trunk\\xpressme_integration_kit\\wp-content\\plugins\\xpressme\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Poedit-SourceCharset: euc-jp\n"
+"X-Poedit-SearchPath-0: .\n"
+
+#: xpressme.php:59
+msgid "Display Settings"
+msgstr "É½¼¨ÀßÄê"
+
+#: xpressme.php:60
+msgid "Integration Settings"
+msgstr "Åý¹çÀßÄê"
+
+#: xpressme.php:61
+msgid "Other Settings"
+msgstr "¤½¤ÎÂ¾¤ÎÀßÄê"
+
+#: xpressme.php:64
+msgid "Upgrade"
+msgstr "¥¢¥Ã¥×¥°¥ì¡¼¥É"
+
+#: xpressme.php:65
+msgid "to Modules Admin"
+msgstr "¥â¥¸¥å¡¼¥ë´ÉÍý¤Ø"
+
+#: xpressme.php:196
+msgid "XPressME Display Setting"
+msgstr "XPressME É½¼¨ÀßÄê"
+
+#: xpressme.php:202
+msgid "Thema Sidebar Display"
+msgstr "¥Æ¡¼¥ÞÉ½¼¨»þ¤Ë¥µ¥¤¥É¥Ð¡¼É½¼¨¤¹¤ë¡£"
+
+#: xpressme.php:203
+#: xpressme.php:296
+#: xpressme.php:302
+#: xpressme.php:307
+#: xpressme.php:313
+#: xpressme_class.php:470
+#: xpressme_class.php:488
+#: xpressme_class.php:675
+#: xpressme_class.php:686
+#: xpressme_class.php:710
+msgid "YES"
+msgstr "¤Ï¤¤"
+
+#: xpressme.php:204
+#: xpressme.php:297
+#: xpressme.php:303
+#: xpressme.php:308
+#: xpressme.php:314
+#: xpressme_class.php:471
+#: xpressme_class.php:489
+#: xpressme_class.php:676
+#: xpressme_class.php:687
+#: xpressme_class.php:711
+msgid "NO"
+msgstr "¤¤¤¤¤¨"
+
+#: xpressme.php:213
+#: xpressme.php:265
+#: xpressme.php:324
+msgid "Update Config"
+msgstr "¹¹¿·"
+
+#: xpressme.php:214
+#: xpressme.php:266
+#: xpressme.php:325
+msgid "Preset Config"
+msgstr "¥×¥ê¥»¥Ã¥È"
+
+#: xpressme.php:247
+msgid "XPressME Integration Setting"
+msgstr "XPressME Åý¹çÀßÄê"
+
+#: xpressme.php:251
+msgid "Media Upload Base Path"
+msgstr "¥á¥Ç¥£¥¢¥¢¥Ã¥×¥í¡¼¥É¤Î¥Ù¡¼¥¹¥Ñ¥¹ÀßÄê"
+
+#: xpressme.php:254
+msgid "Use XOOPS UPLOAD PATH"
+msgstr "XOOPS¤Î¥¢¥Ã¥×¥í¡¼¥É¥Ñ¥¹¤ò»ÈÍÑ¤¹¤ë¡£"
+
+#: xpressme.php:255
+msgid "USE WordPress BASE_PATH"
+msgstr "WordPress¤Î¥Ù¡¼¥¹¥Ñ¥¹¤ò»ÈÍÑ¤¹¤ë¡£"
+
+#: xpressme.php:290
+msgid "XPressME Other Setting"
+msgstr "XPressME ¤½¤ÎÂ¾¤ÎÀßÄê"
+
+#: xpressme.php:295
+msgid "The change tracking of the post is preserved"
+msgstr "Åê¹Æ¤ÎÊÑ¹¹ÍúÎò¤òÍ­¸ú¤Ë¤¹¤ë¡£"
+
+#: xpressme.php:301
+msgid "Select Multi user mode"
+msgstr "¥Þ¥ë¥Á¥æ¡¼¥¶¡¼¥â¡¼¥É¤òÁªÂò"
+
+#: xpressme.php:306
+msgid "Is the posts author views counted?"
+msgstr "Åê¹Æ¼Ô¤Î±ÜÍ÷¤ò¥«¥¦¥ó¥È¤·¤Þ¤¹¤«¡©"
+
+#: xpressme.php:312
+msgid "Is SQL debugging window displayed?"
+msgstr "SQL¥Ç¥Ð¥Ã¥°¥¦¥£¥ó¥É¤òÉ½¼¨¤·¤Þ¤¹¤«¡©"
+
+#: xpressme.php:317
+msgid "Select warning display of block file version check"
+msgstr "¥Ö¥í¥Ã¥¯¥Õ¥¡¥¤¥ë¤Î¥Ð¡¼¥¸¥ç¥ó¥Á¥§¥Ã¥¯»þ¤Ë¤ª¤±¤ë·Ù¹ðÉ½¼¨"
+
+#: xpressme.php:318
+msgid "Do display"
+msgstr "É½¼¨¤¹¤ë"
+
+#: xpressme.php:319
+msgid "Do not display"
+msgstr "É½¼¨¤·¤Ê¤¤"
+
+#: xpressme_class.php:64
+#: xpressme_class.php:418
+msgid "Older Post"
+msgstr "Á°¤ÎÅê¹Æ¤Ø"
+
+#: xpressme_class.php:65
+#: xpressme_class.php:421
+msgid "Newer Post"
+msgstr "¼¡¤ÎÅê¹Æ¤Ø"
+
+#: xpressme_class.php:67
+#: xpressme_class.php:424
+msgid "Older Entries"
+msgstr "Á°¥Ú¡¼¥¸¤Ø"
+
+#: xpressme_class.php:68
+#: xpressme_class.php:427
+msgid "Newer Entries"
+msgstr "¼¡¥Ú¡¼¥¸¤Ø"
+
+#: xpressme_class.php:82
+#: xpressme_class.php:83
+#: xpressme_class.php:430
+msgid "Read the rest of this entry &raquo;"
+msgstr "¤³¤ÎÅê¹Æ¤ÎÂ³¤­¤òÆÉ¤à &raquo;"
+
+#: xpressme_class.php:530
+msgid "Single Post Navi Setting"
+msgstr "¥·¥ó¥°¥ë¥Ý¥¹¥È¥Ê¥Ó¤ÎÀßÄê"
+
+#: xpressme_class.php:535
+#: xpressme_class.php:610
+msgid "Adjustment of Navi link display position"
+msgstr "¥ê¥ó¥¯¤ÎÉ½¼¨°ÌÃÖÀßÄê"
+
+#: xpressme_class.php:538
+msgid "'Old Post Link' is displayed in the left, and 'Newer Post Link' is displayed in the right"
+msgstr "°ÊÁ°¤Îµ­»ö¤Ø¤Î¥ê¥ó¥¯¤òº¸¤Ë¡¢¤è¤ê¿·¤·¤¤µ­»ö¤Ø¤Î¥ê¥ó¥¯¤ò±¦¤ËÉ½¼¨"
+
+#: xpressme_class.php:539
+msgid "'Newer Post Link' is displayed in the left, and 'Old Post Link' is displayed in the right"
+msgstr "¤è¤ê¿·¤·¤¤µ­»ö¤Ø¤Î¥ê¥ó¥¯¤òº¸¤Ë¡¢¸Å¤¤µ­»ö¤Ø¤Î¥ê¥ó¥¯¤ò±¦¤ËÉ½¼¨"
+
+#: xpressme_class.php:545
+msgid "Select Display name of PostNavi Link"
+msgstr "É½¼¨¤¹¤ë¥ê¥ó¥¯¥Æ¥­¥¹¥È¤òÁªÂò"
+
+#: xpressme_class.php:548
+msgid "Title of post"
+msgstr "Åê¹Æµ­»ö¤Î¥¿¥¤¥È¥ë¤òÉ½¼¨"
+
+#: xpressme_class.php:549
+msgid "Title of Navi"
+msgstr "¥Ê¥Ó¥¿¥¤¥È¥ë¤òÉ½¼¨"
+
+#: xpressme_class.php:555
+msgid "Display Navi Title of Old Post Link"
+msgstr "¸Å¤¤µ­»ö¤Ø¤Î¥Ê¥Ó¥¿¥¤¥È¥ë¤òÀßÄê"
+
+#: xpressme_class.php:562
+msgid "Display Navi Title of Newer Post Link"
+msgstr "¤è¤ê¿·¤·¤¤µ­»ö¤Ø¤Î¥Ê¥Ó¥¿¥¤¥È¥ë¤òÀßÄê"
+
+#: xpressme_class.php:569
+#: xpressme_class.php:634
+msgid "Left arrow image src"
+msgstr "º¸Ìð°õ¥¤¥á¡¼¥¸SRC"
+
+#: xpressme_class.php:574
+#: xpressme_class.php:589
+#: xpressme_class.php:639
+#: xpressme_class.php:652
+msgid "Not Found"
+msgstr "¸«¤Ä¤«¤ê¤Þ¤»¤ó"
+
+#: xpressme_class.php:584
+#: xpressme_class.php:647
+msgid "Right arrow image src"
+msgstr "±¦Ìð°õ¥¤¥á¡¼¥¸SRC"
+
+#: xpressme_class.php:605
+msgid "Posts List Page Navi Setting"
+msgstr "¥Ý¥¹¥È¥ê¥¹¥È¥Ú¡¼¥¸¥Ê¥Ó¤ÎÀßÄê"
+
+#: xpressme_class.php:613
+msgid "'Old Page Link' is displayed in the left, and 'Newer Page Link' is displayed in the right"
+msgstr "¸Å¤¤¥Ú¡¼¥¸¤Ø¤Î¥ê¥ó¥¯¤òº¸¤Ë¡¢¤è¤ê¿·¤·¤¤¥Ú¡¼¥¸¤Ø¤Î¥ê¥ó¥¯¤ò±¦¤ËÉ½¼¨"
+
+#: xpressme_class.php:614
+msgid "'Newer Page Link' is displayed in the left, and 'Old Page Link' is displayed in the right"
+msgstr "¤è¤ê¿·¤·¤¤¥Ú¡¼¥¸¤Ø¤Î¥ê¥ó¥¯¤òº¸¤Ë¡¢¸Å¤¤¥Ú¡¼¥¸¤Ø¤Î¥ê¥ó¥¯¤ò±¦¤ËÉ½¼¨"
+
+#: xpressme_class.php:620
+msgid "Display Navi Title of Old Page Link"
+msgstr "¸Å¤¤¥Ú¡¼¥¸¤Ø¤Î¥Ê¥Ó¥¿¥¤¥È¥ë¤òÀßÄê"
+
+#: xpressme_class.php:627
+msgid "Display Navi Title of Newer Page Link"
+msgstr "¤è¤ê¿·¤·¤¤¥Ú¡¼¥¸¤Ø¤Î¥Ê¥Ó¥¿¥¤¥È¥ë¤òÀßÄê"
+
+#: xpressme_class.php:666
+msgid "Dashboard feed Display Setting"
+msgstr "¥À¥Ã¥·¥å¥Ü¡¼¥É¡¡¥Õ¥£¡¼¥ÉÉ½¼¨ÀßÄê"
+
+#: xpressme_class.php:672
+msgid "Display XPressMe Integration Kit Blog"
+msgstr "XPressME Integration Kit ¥Ö¥í¥°¤òÉ½¼¨¤¹¤ë¡£"
+
+#: xpressme_class.php:683
+msgid "Display XPressMe Integration Kit Forum"
+msgstr "XPressME Integration Kit ¥Õ¥©¡¼¥é¥à¤òÉ½¼¨¤¹¤ë¡£"
+
+#: xpressme_class.php:701
+msgid "Role Setting at Login"
+msgstr "¥í¥°¥¤¥ó»þ¤Î¸¢¸ÂÀßÄê"
+
+#: xpressme_class.php:707
+msgid "XOOPS administrators role is set as all blog administrators."
+msgstr "XOOPS¤Î´ÉÍý¼Ô¤ò¤¹¤Ù¤Æ¤Î¥Ö¥í¥°¤Î´ÉÍý¼Ô¤ËÀßÄê¤·¤Þ¤¹¡£"
+
+#: xpressme_class.php:716
+msgid "XOOPS Groupe"
+msgstr "XOOPS¥°¥ë¡¼¥×Ì¾"
+
+#: xpressme_class.php:716
+msgid "WordPress Role"
+msgstr "WordPress¤Ç¤Î¸¢¸Â"
+
+#: xpressme_class.php:716
+msgid "Role is set at each login"
+msgstr "¥í¥°¥¤¥ó»þ¡¢¾ï¤Ë¸¢¸Â¤ò¹¹¿·¤¹¤ë"
+
+#: xpressme_class.php:721
+msgid "module cannot be read"
+msgstr "¥â¥¸¥å¡¼¥ë¥¢¥¯¥»¥¹¸¢¸Â¤Ê¤·"
+
+#: xpressme_class.php:762
+#: xpressme_class.php:766
+#: xpressme_class.php:769
+msgid "Default Role of WordPress"
+msgstr "WordPress¤Î¥Ç¥Õ¥©¥ë¥È¸¢¸Â"
+
+#: xpressme_class.php:763
+#: xpressme_class.php:767
+#: xpressme_class.php:770
+msgid "Group User Doesn't Register"
+msgstr "¥æ¡¼¥¶ÅÐÏ¿¤·¤Ê¤¤"
+
+#: xpressme_class.php:783
+msgid "Only the Admin can set Group Role Setting"
+msgstr "´ÉÍý¼Ô¤À¤±¤¬¥°¥ë¡¼¥×¸¢¸Â¤òÀßÄê¤Ç¤­¤Þ¤¹¡£"
+
+#: xpressme_class.php:805
+msgid "WordPress MultiBlog cannot integrate the comments."
+msgstr "WordPress ¥Þ¥ë¥Á¥Ö¥í¥°¤Ç¤Ï¥³¥á¥ó¥ÈÅý¹ç¤Ç¤­¤Þ¤»¤ó¡£"
+
+#: xpressme_class.php:807
+msgid "Do Not Comment Integration."
+msgstr "¥³¥á¥ó¥ÈÅý¹ç¤·¤Þ¤»¤ó¡£"
+
+#: xpressme_class.php:842
+msgid "Create New Forum"
+msgstr "¿·µ¬¥Õ¥©¡¼¥é¥à¤òºîÀ®"
+
+#: xpressme_class.php:854
+msgid "Comment integration with D3Forum"
+msgstr "D3Forum¤È¤Î¥³¥á¥ó¥ÈÅý¹ç"
+
+#: xpressme_class.php:856
+msgid "Select the forum of D3Forum that does the comment integration from the following lists."
+msgstr "°Ê²¼¤Î¥ê¥¹¥È¤«¤é¥³¥á¥ó¥ÈÅý¹ç¤ò¤¹¤ëD3Forum¤Î¥Õ¥©¡¼¥é¥à¤òÁªÂò¤·¤Æ¤¯¤À¤µ¤¤¡£"
+
+#: xpressme_class.php:861
+msgid "Select the Type of display of D3Forum comment."
+msgstr "D3Forum¤ÎÉ½¼¨¥¿¥¤¥×¤òÁªÂò"
+
+#: xpressme_class.php:863
+#: xpressme_class.php:866
+msgid "Flat"
+msgstr "¥Õ¥é¥Ã¥È"
+
+#: xpressme_class.php:864
+#: xpressme_class.php:867
+msgid "Threaded"
+msgstr "¥¹¥ì¥Ã¥É"
+
+#: xpressme_class.php:870
+msgid "Select the order of display of D3Forum comment."
+msgstr "D3Forum¥³¥á¥ó¥È¤ÎÉ½¼¨½ç¤òÁªÂò"
+
+#: xpressme_class.php:872
+#: xpressme_class.php:875
+msgid "DESC"
+msgstr "¹ß½ç"
+
+#: xpressme_class.php:873
+#: xpressme_class.php:876
+msgid "ASC"
+msgstr "¾º½ç"
+
+#: xpressme_class.php:879
+msgid "Number of displays of D3Forum comments."
+msgstr "D3Forum¤Î¥³¥á¥ó¥ÈÉ½¼¨¿ô"
+
+#: xpressme_class.php:882
+msgid "The import and the export between Wordpress Comments and the D3Forum Posts can be done. "
+msgstr "WordPress¥³¥á¥ó¥È¤ÈD3Forum¥Ý¥¹¥È´Ö¤Î°ì³çÅ¾Á÷¡Ê¥¨¥¯¥¹¥Ý¡¼¥È¡¦¥¤¥ó¥Ý¡¼¥È¡Ë"
+
+#: xpressme_class.php:883
+msgid "Export to D3Forum"
+msgstr "D3Forum¤Ø°ì³ç¥¨¥¯¥¹¥Ý¡¼¥È"
+
+#: xpressme_class.php:884
+msgid "Import from D3Forum"
+msgstr "D3Forum¤«¤é°ì³ç¥¤¥ó¥Ý¡¼¥È"
+
+#: xpressme_class.php:897
+msgid "Contents Excerpt Setting"
+msgstr "µ­»öÈ´¿è¤ÎÀßÄê"
+
+#: xpressme_class.php:902
+msgid "Is the excerpt display done with the archive of contents?"
+msgstr "µ­»ö¤Î¥¢¡¼¥«¥¤¥Ö¤ÇÈ´¿èÉ½¼¨¤ò¹Ô¤¤¤Þ¤¹¤«¡©"
+
+#: xpressme_class.php:909
+msgid "When ASCII character more than the set ratio is included, it is judged ASCII contents. "
+msgstr "ASCIIÊ¸»ú¤¬´Þ¤Þ¤ì¤ëÈæÎ¨¤¬ÀßÄê¤µ¤ì¤¿ÃÍ¤è¤êÂç¤­¤¤¾ì¹ç¡¢ASCIIÊ¸»ú¥³¥ó¥Æ¥ó¥Ä¤ÈÈ½ÃÇ¤·¤Þ¤¹¡£"
+
+#: xpressme_class.php:916
+msgid "Excerpt length of word for ASCII contents"
+msgstr "ASCII¥³¥ó¥Æ¥ó¥Ä¤ÎÈ´¿èÃ±¸ì¿ô"
+
+#: xpressme_class.php:923
+msgid "Excerpt length of character for multibyte contents"
+msgstr "¥Þ¥ë¥Á¥Ð¥¤¥È¥³¥ó¥Æ¥ó¥Ä¤ÎÈ´¿èÊ¸»ú¿ô"
+
+#: xpressme_class.php:930
+msgid "This text is displayed in the link that reads contents not excerpted.(Is not displayed for the blank.)"
+msgstr "È´¿è¤µ¤ì¤Æ¤¤¤Ê¤¤¥³¥ó¥Æ¥ó¥Ä¤òÆÉ¤à¤¿¤á¤Î¥ê¥ó¥¯¤ËÉ½¼¨¤µ¤ì¤ë¥Æ¥­¥¹¥È(¶õÇò¤Î¾ì¹ç¥ê¥ó¥¯¤òÉ½¼¨¤·¤Þ¤»¤ó)"
+
+#: xpressme_class.php:937
+msgid "This text is displayed in the link that more tag (&lt;!--more--&gt;). "
+msgstr "more ¥¿¥° (&lt;!--more--&gt;)¤Î¥ê¥ó¥¯¤ËÉ½¼¨¤µ¤ì¤ë¥Æ¥­¥¹¥È"
+
+#: xpressme_class.php:949
+msgid "Display Mode Setting"
+msgstr "É½¼¨¥â¡¼¥ÉÀßÄê"
+
+#: xpressme_class.php:952
+msgid "Select the XPressME Display Mode."
+msgstr "XPressME¤ÎÉ½¼¨¥â¡¼¥É¤ÎÁªÂò"
+
+#: xpressme_class.php:957
+msgid "Xoops Mode"
+msgstr "XOOPS¥â¡¼¥É"
+
+#: xpressme_class.php:961
+msgid "WordPress Mode"
+msgstr "WordPress¥â¡¼¥É"
+
+#: xpressme_class.php:965
+msgid "User select"
+msgstr "¥æ¡¼¥¶¤Ë¤è¤ëÁªÂò"
+
+#: xpressme_class.php:970
+msgid "Select the theme used in the XOOPS Mode."
+msgstr "XOOPS¥â¡¼¥É¤Ç»ÈÍÑ¤¹¤ë¥Æ¡¼¥Þ¤òÁªÂò"
+
+#: xpressme_class.php:975
+msgid "Use WordPress Selected Themes"
+msgstr "WordPress¤ÇÁªÂò¤·¤¿¥Æ¡¼¥Þ¤ò»È¤¦"
+
+#: xpressme_class.php:993
+msgid "Header Meta Option"
+msgstr "¥Ø¥Ã¥À¥á¥¿¡¡¥ª¥×¥·¥ç¥ó"
+
+#: xpressme_class.php:998
+msgid "Select the Header keyword."
+msgstr "¥Ø¥Ã¥À¤Ç»ÈÍÑ¤¹¤ë¥­¡¼¥ï¡¼¥É¤ÎÁªÂò"
+
+#: xpressme_class.php:1003
+msgid "Xoops KeyWord"
+msgstr "XOOPS¤Î¥­¡¼¥ï¡¼¥É"
+
+#: xpressme_class.php:1006
+msgid "WordPress KeyWord"
+msgstr "WordPress¤Î¥­¡¼¥ï¡¼¥É"
+
+#: xpressme_class.php:1009
+msgid "WordPress & Xoops KeyWord"
+msgstr "WordPress£ê¤ÈXOOPS¤Î¥­¡¼¥ï¡¼¥É"
+
+#: xpressme_class.php:1015
+msgid "Select the Header Description."
+msgstr "¥Ø¥Ã¥À¤Ç»ÈÍÑ¤¹¤ë¥Ç¥£¥¹¥¯¥ê¥×¥·¥ç¥ó¡ÊÀâÌÀ¡Ë¤ÎÁªÂò"
+
+#: xpressme_class.php:1020
+msgid "Xoops Description"
+msgstr "XOOPS¤Î¥Ç¥£¥¹¥¯¥ê¥×¥·¥ç¥ó"
+
+#: xpressme_class.php:1023
+msgid "WordPress Description"
+msgstr "WordPress¤Î¥Ç¥£¥¹¥¯¥ê¥×¥·¥ç¥ó"
+
+#: xpressme_class.php:1026
+msgid "WordPress & Xoops Description"
+msgstr "WordPress¤ÈXOOPS¤Î¥Ç¥£¥¹¥¯¥ê¥×¥·¥ç¥ó"
+
+#: xpressme_class.php:1032
+msgid "Select the Header Robots Index."
+msgstr "¥Ø¥Ã¥À¤Ç»ÈÍÑ¤¹¤ë¥í¥Ü¥Ã¥È¥¤¥ó¥Ç¥Ã¥¯¥¹¤ÎÁªÂò"
+
+#: xpressme_class.php:1037
+msgid "Xoops Robots Index"
+msgstr "XOOPS¤Î¥í¥Ü¥Ã¥È¥¤¥ó¥Ç¥Ã¥¯¥¹"
+
+#: xpressme_class.php:1040
+msgid "WordPress Robots Index"
+msgstr "WordPress¤Î¥í¥Ü¥Ã¥È¥¤¥ó¥Ç¥Ã¥¯¥¹"
+
+#: xpressme_class.php:1086
+#, php-format
+msgid "Unable to create directory %s. Is its parent directory writable by the server?"
+msgstr "%s ¥Ç¥£¥ì¥¯¥È¥ê¡¼¤¬ºîÀ®¤Ç¤­¤Þ¤»¤ó¡£¥µ¡¼¥Ð¡¼¤Î¿Æ¥Ç¥£¥ì¥¯¥È¥ê¡¼½ñ¤­¹þ¤ß¸¢¸Â¤¬¤¢¤ë¤«³ÎÇ§¤¯¤À¤µ¤¤r?"
+
+#: xpressme_widget_class.php:13
+msgid "XPressME User Menu Widget"
+msgstr "XPressME ¥æ¡¼¥¶¥á¥Ë¥å¡¼ ¥¦¥£¥¸¥§¥Ã¥È"
+
+#: xpressme_widget_class.php:15
+msgid "XPressME MENU"
+msgstr "XPressME ¥á¥Ë¥å¡¼"
+
+#: xpressme_widget_class.php:139
+#: xpressme_widget_class.php:191
+#: xpressme_widget_class.php:196
+#: xpressme_widget_class.php:201
+msgid "Link"
+msgstr "¥ê¥ó¥¯"
+
+#: xpressme_widget_class.php:140
+#: xpressme_widget_class.php:156
+msgid "Site Home"
+msgstr "¥µ¥¤¥È¥Û¡¼¥à"
+
+#: xpressme_widget_class.php:141
+#: xpressme_widget_class.php:161
+msgid "Add New"
+msgstr "¿·µ¬Åê¹Æ"
+
+#: xpressme_widget_class.php:142
+#: xpressme_widget_class.php:166
+msgid "User Profile"
+msgstr "¥æ¡¼¥¶¥×¥í¥Õ¥¡¥¤¥ë"
+
+#: xpressme_widget_class.php:143
+#: xpressme_widget_class.php:172
+msgid "WordPress Admin"
+msgstr "WordPress´ÉÍý"
+
+#: xpressme_widget_class.php:144
+#: xpressme_widget_class.php:177
+msgid "Module Admin"
+msgstr "¥â¥¸¥å¡¼¥ë´ÉÍý"
+
+#: xpressme_widget_class.php:145
+#: xpressme_widget_class.php:182
+msgid "XPressME Setting"
+msgstr "XPressMEÀßÄê"
+
+#: xpressme_widget_class.php:146
+msgid "Display Mode Select"
+msgstr "É½¼¨¥â¡¼¥ÉÁªÂò"
+
+#: xpressme_widget_class.php:148
+#: xpressme_widget_class.php:167
+msgid "Auto Setting"
+msgstr "¼«Æ°ÀßÄê"
+
+#: xpressme_widget_class.php:153
+msgid "User Menu"
+msgstr "¥æ¡¼¥¶¥á¥Ë¥å¡¼"
+
+#: xpressme_widget_class.php:241
+msgid "Title:"
+msgstr "¥¿¥¤¥È¥ë:"
+
+#: include/class-xpress-upgrader.php:7
+msgid "XPressME Integration Kit is at the latest version."
+msgstr "¤ª»È¤¤¤Î¡¢XPressME Integration Kit¤ÏºÇ¿·¤Î¤â¤Î¤Ç¤¹¡£"
+
+#: include/class-xpress-upgrader.php:8
+msgid "Upgrade package not available."
+msgstr "¥¢¥Ã¥×¥Ç¡¼¥È¥Ñ¥Ã¥±¡¼¥¸¤¬¤¢¤ê¤Þ¤»¤ó¡£"
+
+#: include/class-xpress-upgrader.php:9
+#, php-format
+msgid "Downloading update from <span class=\"code\">%s</span>&#8230;"
+msgstr "<span class=\"code\">%s</span>¤«¤é¥¢¥Ã¥×¥Ç¡¼¥È¤ò¥À¥¦¥í¡¼¥É¤·¤Æ¤¤¤Þ¤¹&#8230;"
+
+#: include/class-xpress-upgrader.php:10
+msgid "Unpacking the update&#8230;"
+msgstr "¥Ñ¥Ã¥±¡¼¥¸¤òÅ¸³«¤·¤Æ¤¤¤Þ¤¹¡£"
+
+#: include/class-xpress-upgrader.php:11
+msgid "Could not copy files."
+msgstr "¥Õ¥¡¥¤¥ë¤¬¥³¥Ô¡¼¤Ç¤­¤Þ¤»¤ó¤Ç¤·¤¿¡£"
+
+#: include/class-xpress-upgrader.php:12
+msgid "Delete source wp-config.php."
+msgstr "¥À¥¦¥í¡¼¥É¤·¤¿¥½¡¼¥¹¤«¤é¡¢wp-config.php¤òºï½ü¤·¤Þ¤¹¡£"
+
+#: include/class-xpress-upgrader.php:13
+msgid "Could not delete files."
+msgstr "¥Õ¥¡¥¤¥ë¤¬¾Ãµî¤Ç¤­¤Þ¤»¤ó¤Ç¤·¤¿¡£"
+
+#: include/class-xpress-upgrader.php:14
+msgid "The structure of the package is wrong. "
+msgstr "¥Ñ¥Ã¥±¡¼¥¸¤Î¹½À®¤¬°Û¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£"
+
+#: include/custom_functions.php:113
+#, php-format
+msgid "Permanent Link to %s"
+msgstr "%s¤Î¥Ñ¡¼¥Þ¥ê¥ó¥¯"
+
+#: include/custom_functions.php:498
+#: include/custom_functions.php:531
+#, php-format
+msgid "views :%d"
+msgstr "±ÜÍ÷¿ô :%d"
+
+#: include/custom_functions.php:699
+msgid "Main"
+msgstr "¥á¥¤¥ó"
+
+#: include/custom_functions.php:702
+#, php-format
+msgid "Archive for the &#8216;%s&#8217; Category"
+msgstr "¥«¥Æ¥´¥ê¡¼ &#8216;%s&#8217; ¤Î¥¢¡¼¥«¥¤¥Ö"
+
+#: include/custom_functions.php:705
+#, php-format
+msgid "Posts Tagged &#8216;%s&#8217;"
+msgstr "&#8216;%s&#8217; ¥¿¥°¤Î¤Ä¤¤¤Æ¤¤¤ëÅê¹Æ"
+
+#: include/custom_functions.php:708
+#, php-format
+msgid "Archive for %s|Daily archive page"
+msgstr "%s¤ÎÆüÊÌ¥¢¡¼¥«¥¤¥Ö"
+
+#: include/custom_functions.php:708
+msgid "F jS, Y"
+msgstr "YÇ¯n·îjÆü"
+
+#: include/custom_functions.php:710
+#, php-format
+msgid "Archive for %s|Monthly archive page"
+msgstr "%s¤Î·îÊÌ¥¢¡¼¥«¥¤¥Ö"
+
+#: include/custom_functions.php:710
+msgid "F, Y"
+msgstr "YÇ¯n·î"
+
+#: include/custom_functions.php:712
+#, php-format
+msgid "Archive for %s|Yearly archive page"
+msgstr "%s¤ÎÇ¯ÊÌ¥¢¡¼¥«¥¤¥Ö "
+
+#: include/custom_functions.php:712
+msgid "Y"
+msgstr "YÇ¯"
+
+#: include/custom_functions.php:715
+#, php-format
+msgid "Archive for the &#8216;%s&#8217; Author"
+msgstr "Åê¹Æ¼Ô &#8216;%s&#8217; ¤Î¥¢¡¼¥«¥¤¥Ö"
+
+#: include/custom_functions.php:718
+#, php-format
+msgid "Search Results of word &#8216;%s&#8217;"
+msgstr "&#8216;%s&#8217; ¤Î¸¡º÷·ë²Ì"
+
+#: include/custom_functions.php:724
+#: include/custom_functions.php:726
+#, php-format
+msgid "Article of %s"
+msgstr "%s¤Îµ­»ö"
+
+#: include/custom_functions.php:748
+#, php-format
+msgid "From %1$s on site %2$s"
+msgstr "¥µ¥¤¥È %2$s ¤Î %1$s ¤è¤ê"
+
+#: include/custom_functions.php:769
+msgid "No Trackback/Pingback"
+msgstr "¥È¥é¥Ã¥¯¥Ð¥Ã¥¯¡¦¥Ô¥ó¥Ð¥Ã¥¯¤Ï¤¢¤ê¤Þ¤»¤ó"
+
+#: include/custom_functions.php:770
+msgid "One Trackback/Pingback"
+msgstr "¥È¥é¥Ã¥¯¥Ð¥Ã¥¯¡¦¥Ô¥ó¥Ð¥Ã¥¯ 1 ·ï"
+
+#: include/custom_functions.php:771
+msgid "% TrackBack/Pingback"
+msgstr "¥È¥é¥Ã¥¯¥Ð¥Ã¥¯¡¦¥Ô¥ó¥Ð¥Ã¥¯ % ·ï"
+
+#: include/custom_functions.php:949
+msgid "Tags:"
+msgstr ""
+
+#: include/custom_functions.php:992
+msgid "Comments (0)"
+msgstr ""
+
+#: include/custom_functions.php:992
+msgid "Comments (1)"
+msgstr ""
+
+#: include/custom_functions.php:992
+msgid "Comments (%)"
+msgstr ""
+
+#: include/custom_functions.php:996
+#, fuzzy, php-format
+msgid "Views :%d"
+msgstr "±ÜÍ÷¿ô :%d"
+
+#: include/custom_functions.php:1074
+msgid "Create New Blog"
+msgstr "¿·¤·¤¤¥Ö¥í¥°¤òºîÀ®"
+
+#: include/custom_functions.php:1100
+msgid "Your Primary Blog"
+msgstr "¤¢¤Ê¤¿¤Î¥×¥é¥¤¥Þ¥ê¡¼¥Ö¥í¥°"
+
+#: include/dashboard_feed.php:19
+msgid "XPressME Integration Kit Blog"
+msgstr "XPressME Integration Kit ¥Ö¥í¥°"
+
+#: include/dashboard_feed.php:32
+msgid "XPressME Integration Kit Folum"
+msgstr "XPressME Integration Kit ¥Õ¥©¡¼¥é¥à"
+
+#: include/dashboard_feed.php:92
+msgid "Unknown Feed"
+msgstr "ÉÔÌÀ¤Ê¥Õ¥£¡¼¥É"
+
+#: include/functions_for_wp_old.php:21
+msgid "<strong>ERROR</strong>: The password field is empty."
+msgstr "<strong>¥¨¥é¡¼</strong>: ¥Ñ¥¹¥ï¡¼¥É¤¬ÆþÎÏ¤µ¤ì¤Æ¤¤¤Þ¤»¤ó."
+
+#: include/functions_for_wp_old.php:29
+msgid "<strong>ERROR</strong>: Invalid username."
+msgstr "<strong>¥¨¥é¡¼</strong>: ¥æ¡¼¥¶Ì¾¤¬°Û¤Ê¤Ã¤Æ¤¤¤Þ¤¹."
+
+#: include/functions_for_wp_old.php:37
+msgid "<strong>ERROR</strong>: Incorrect password."
+msgstr "<strong>¥¨¥é¡¼</strong>: ¥Ñ¥¹¥ï¡¼¥É¤¬°Û¤Ê¤Ã¤Æ¤¤¤Þ¤¹."
+
+#: include/pluggable-override.php:265
+#, php-format
+msgid "If the page does not automatically reload, please click <a href='%s'>here</a>"
+msgstr "¼«Æ°Åª¤Ë¥Ú¡¼¥¸¤¬ÆÉ¤ß¹þ¤Þ¤ì¤Ê¤¤¾ì¹ç¤Ï<a href='%s'>¤³¤Á¤é</a>¤ò¥¯¥ê¥Ã¥¯¤·¤Æ¤¯¤À¤µ¤¤¡£"
+
+#: include/update_xpress.php:32
+msgid "Disable overwrite of wp-config.php..."
+msgstr "wp-config.php¤Î¾å½ñ¤­¤ò¶Ø»ß¤·¤Þ¤¹¡£"
+
+#: include/update_xpress.php:40
+msgid "Copy new versions of XPressME Integration Kit files into place..."
+msgstr "ºÇ¿·¥Ð¡¼¥¸¥ç¥ó¤Î XPressME Integration Kit ¥Õ¥¡¥¤¥ë¤ò¥³¥Ô¡¼¤·¤Æ¤¤¤Þ¤¹¡£...."
+
+#: include/update_xpress.php:49
+msgid "Remove an unnecessary, old file..."
+msgstr "ÉÔÉ¬Í×¤Ê¸Å¤¤¥Õ¥¡¥¤¥ë¤òºï½ü¤·¤Þ¤¹¡£"
+
+#: include/update_xpress.php:56
+msgid "Set templates directory chmod 777"
+msgstr "template¥Ç¥£¥ì¥¯¥È¥ê¤Î¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤ò777¤ËÀßÄê¤·¤Þ¤¹¡£"
+
+#: include/update_xpress.php:61
+#, php-format
+msgid "Remove working directory(%s)..."
+msgstr "ºî¶È¥Ç¥£¥ì¥¯¥È¥ê(%s)¤òºï½ü¤·¤Þ¤¹..."
+
+#: include/xpress_common_functions.php:8
+msgid "After Blog address (URL) is set, it is necessary to set the permalink again."
+msgstr "¥Ö¥í¥°¥¢¥É¥ì¥¹(URL)¤ÎÊÑ¹¹¸å¡¢¥Ñ¡¼¥Þ¥ê¥ó¥¯ÀßÄê¤¬É¬Í×¤Ç¤¹"
+
+#: include/xpress_common_functions.php:9
+msgid "Can not access WordPress address (URL)."
+msgstr "WordPress ¤Î¥¢¥É¥ì¥¹ (URL)¤Ë¥¢¥¯¥»¥¹¤Ç¤­¤Þ¤»¤ó¡£"
+
+#: include/xpress_common_functions.php:10
+msgid "WordPress Blog address (URL) is different from access URL."
+msgstr "WordPress¤Î¥Ö¥í¥°¤Î¥¢¥É¥ì¥¹ (URL)¤È¥¢¥¯¥»¥¹URL¤¬°Û¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£"
+
+#: include/xpress_common_functions.php:212
+msgid "Themes"
+msgstr "¥Æ¡¼¥Þ"
+
+#: include/xpress_common_functions.php:227
+msgid "Switch to XOOPS mode"
+msgstr "XOOPS¥â¡¼¥É¤ØÀÚÂØ"
+
+#: include/xpress_common_functions.php:231
+#: include/xpress_common_functions.php:234
+msgid "Switch to WordPress mode"
+msgstr "WordPress¥â¡¼¥É¤ØÀÚÂØ"
+
+#: include/xpress_common_functions.php:392
+#, php-format
+msgid "Block file %1$s is an old version %2$s.<br />used block file %3$s of new version %4$s."
+msgstr "¥Ö¥í¥Ã¥¯¥Õ¥¡¥¤¥ë %1$s ¤Ï¸Å¤¤¥Ð¡¼¥¸¥ç¥ó %2$s ¤Î°Ù¡¢<br /> ¿·¤·¤¤¥Ð¡¼¥¸¥ç¥ó %4$s¡¡¤Î¥Ö¥í¥Ã¥¯¥Õ¥¡¥¤¥ë %3$s ¤ò»ÈÍÑ¤·¤Þ¤¹¡£"
+
+#: include/xpress_upgrade.php:19
+msgid "XPressME Upgrade"
+msgstr "XPressME ¥¢¥Ã¥×¥°¥ì¡¼¥É"
+
+#: include/xpress_upgrade.php:32
+#, php-format
+msgid "You are using a XPressME Integration Kit development version (%s). Cool! Please stay updated."
+msgstr "¤ª»È¤¤¤Î XPressME Integration Kit ¤Ï³«È¯ÈÇ (%s) ¤Ç¤¹¡£¤¹¤Ð¤é¤·¤¤ ! ¤É¤¦¤¾ºÇ¿·ÈÇ¤ò»È¤¤Â³¤±¤Æ¤¯¤À¤µ¤¤¡£"
+
+#: include/xpress_upgrade.php:36
+msgid "An updated version of XPressME Integration Kit is available."
+msgstr "¿·¤·¤¤¥Ð¡¼¥¸¥ç¥ó¤Î XPressME Integration Kit ¤Ë¥¢¥Ã¥×¥°¥ì¡¼¥É¤¬²ÄÇ½¤Ç¤¹¡£"
+
+#: include/xpress_upgrade.php:41
+#: include/xpress_upgrade.php:89
+#, php-format
+msgid "Download differential file for %s"
+msgstr "%s¤Îº¹Ê¬¥Õ¥¡¥¤¥ë¤ò¥À¥¦¥ó¥í¡¼¥É"
+
+#: include/xpress_upgrade.php:45
+#, php-format
+msgid "You can update to XPressME Integration Kit Ver %s</a> automatically or download the package and install it manually:"
+msgstr "XPressME Integration Kit Ver¥Ð¡¼¥¸¥ç¥ó %s ¤Î¥Ñ¥Ã¥±¡¼¥¸¤ò¼«Æ°¹¹¿·¤¹¤ë¤«¡¢¼êÆ°¤Ç¥À¥¦¥ó¥í¡¼¥É¤·¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£"
+
+#: include/xpress_upgrade.php:47
+#, php-format
+msgid "You can upgrade to version %s download the package and install it manually:"
+msgstr "¥Ð¡¼¥¸¥ç¥ó %s ¤Î¥Ñ¥Ã¥±¡¼¥¸¤ò¼êÆ°¤Ç¥À¥¦¥ó¥í¡¼¥É¤·¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£"
+
+#: include/xpress_upgrade.php:49
+#: include/xpress_upgrade.php:80
+msgid "Update Automatically"
+msgstr "¼«Æ°¹¹¿·"
+
+#: include/xpress_upgrade.php:51
+#: include/xpress_upgrade.php:81
+#, php-format
+msgid "Download %s"
+msgstr "%s ¤ò¥À¥¦¥ó¥í¡¼¥É"
+
+#: include/xpress_upgrade.php:56
+#, php-format
+msgid "You have the latest version of XPressME Integration Kit Ver.%s."
+msgstr "ºÇ¿·¤Î XPressME Integration Kit Ver.%s ¤ò¤´ÍøÍÑÃæ¤Ç¤¹¡£¥¢¥Ã¥×¥°¥ì¡¼¥É¤ÎÉ¬Í×¤Ï¤¢¤ê¤Þ¤»¤ó¡£"
+
+#: include/xpress_upgrade.php:59
+msgid "You have the latest version of XPressME Integration Kit. You do not need to upgrade"
+msgstr "ºÇ¿·¥Ð¡¼¥¸¥ç¥ó¤Î XPressME Integration Kit ¤ò¤´ÍøÍÑÃæ¤Ç¤¹¡£¥¢¥Ã¥×¥°¥ì¡¼¥É¤ÎÉ¬Í×¤Ï¤¢¤ê¤Þ¤»¤ó¡£"
+
+#: include/xpress_upgrade.php:60
+msgid "Re-install Automatically"
+msgstr "¼«Æ°ºÆ¥¤¥ó¥¹¥È¡¼¥ë"
+
+#: include/xpress_upgrade.php:74
+#, php-format
+msgid "You can update to  XPressME Integration Kit development version %s automatically or download the package and install it manually:"
+msgstr "XPressME Integration Kit³«È¯¥Ð¡¼¥¸¥ç¥ó %s ¤Î¥Ñ¥Ã¥±¡¼¥¸¤ò¼«Æ°¹¹¿·¤¹¤ë¤«¡¢¼êÆ°¤Ç¥À¥¦¥ó¥í¡¼¥É¤·¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£"
+
+#: include/xpress_upgrade.php:76
+#, php-format
+msgid "You can use the development version %s download the package and install it manually:"
+msgstr "³«È¯¥Ð¡¼¥¸¥ç¥ó %s ¤Î¥Ñ¥Ã¥±¡¼¥¸¤ò¼êÆ°¤Ç¥À¥¦¥ó¥í¡¼¥É¤·¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£"
+
+#: include/xpress_upgrade.php:128
+#, php-format
+msgid "There is no response from <a href=\"%s\">version check API</a> now. sorry, please confirm it after."
+msgstr "¸½ºß¡¢<a href=\"%s\">version check API</a>¤«¤é¤Î¥ì¥¹¥Ý¥ó¥¹¤¬¤¢¤ê¤Þ¤»¤ó¡£¡¡¿½¤·Ìõ¤¢¤ê¤Þ¤»¤ó¤¬¡¢¤·¤Ð¤é¤¯¸å¤Ç³ÎÇ§¤·¤Æ¤¯¤À¤µ¤¤¡£"
+
+#: include/xpress_upgrade.php:171
+msgid "Update XPressME Integration Kit"
+msgstr "XPressME Integration Kit ¤Î¹¹¿·"
+
+#: include/xpress_upgrade.php:188
+msgid "Installation Failed"
+msgstr "¥¤¥ó¥¹¥È¡¼¥ë¤Ë¼ºÇÔ¤·¤Þ¤·¤¿"
+
+#: include/xpress_upgrade.php:190
+msgid "XPressME Integration Kit files updated successfully"
+msgstr "XPressME Integration Kit¤Î¥Õ¥¡¥¤¥ë¹¹¿·¤¬½ªÎ»¤·¤Þ¤·¤¿¡£"
+
+#: include/xpress_upgrade.php:191
+msgid "Please update the module. "
+msgstr "¥â¥¸¥å¡¼¥ë¤Î¥¢¥Ã¥×¥Ç¡¼¥È¤ò¹Ô¤Ã¤Æ¤¯¤À¤µ¤¤¡£"
+
+#: include/xpress_upgrade.php:194
+msgid "Actions:"
+msgstr "ºî¶È:"
+
+#: include/xpress_upgrade.php:194
+msgid "Go to Module Update"
+msgstr "¥â¥¸¥å¡¼¥ë¤Î¹¹¿·¤Ø"
+
+#: include/xpress_upgrade.php:369
+#, php-format
+msgid "XPressME Integration Kit Version %1$s is available! <a href=\"%2$s\">Please update now</a>."
+msgstr "XPressME Integration Kit Version %1$s ¤¬ÍøÍÑ²ÄÇ½¤Ç¤¹ ! <a href=\"%2$s\">¥¢¥Ã¥×¥Ç¡¼¥È¤·¤Æ¤¯¤À¤µ¤¤</a>¡£"
+
+#: include/xpress_upgrade.php:371
+#, php-format
+msgid "XPressME Integration Kit Version %1$s is available! Please notify the site administrator."
+msgstr "XPressME Integration Kit Version %1$s ¤¬ÍøÍÑ²ÄÇ½¤Ç¤¹ ! ¥µ¥¤¥È´ÉÍý¼Ô¤ËÏ¢Íí¤·¤Æ¤¯¤À¤µ¤¤¡£"
+
+#~ msgid ""
+#~ "You do not have sufficient permissions to update XPressME Integration Kit "
+#~ "for this site."
+#~ msgstr "¤¢¤Ê¤¿¤Ë¤Ï¡¢ XPressME Integration Kit ¤Î¹¹¿·¸¢¸Â¤¬¤¢¤ê¤Þ¤»¤ó¡£"
+
+#~ msgid ""
+#~ "You can download the differential file from version %s to %s and upgrade "
+#~ "it manually:"
+#~ msgstr ""
+#~ "¥Ð¡¼¥¸¥ç¥ó%s¤«¤é%s¤Ø¤Îº¹Ê¬¥Õ¥¡¥¤¥ë¤ò¥À¥¦¥ó¥í¡¼¥É¤·¡¢¼êÆ°¤Ç¥¢¥Ã¥×¥°¥ì¡¼¥É¤¹"
+#~ "¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡§"
+
+#~ msgid "Title"
+#~ msgstr "¥¿¥¤¥È¥ë"
+
+#~ msgid "URL"
+#~ msgstr "URL"
+
+#~ msgid "more"
+#~ msgstr "Â³¤­¤òÆÉ¤à"
+
+#~ msgid "More Link Text (Is not displayed for the blank.)"
+#~ msgstr "More¥ê¥ó¥¯¥Æ¥­¥¹¥È¡Ê¥Ö¥é¥ó¥¯¤Î¾ì¹ç¥ê¥ó¥¯¤òÉ½¼¨¤·¤Þ¤»¤ó¡£¡Ë"
+
+#~ msgid "Calendar"
+#~ msgstr "¥«¥ì¥ó¥À¡¼"
+
+#~ msgid "%1$s %2$s|Used as a calendar caption"
+#~ msgstr "%2$s Ç¯ %1$s|¥«¥ì¥ó¥À¡¼¤Î¥­¥ã¥×¥·¥ç¥ó¤Ë»È¤ï¤ì¤Þ¤¹"
+
+#~ msgid "View posts for %1$s %2$s"
+#~ msgstr "%2$sÇ¯%1$s¤ÎÅê¹Æ¤òÉ½¼¨"
+
+#~ msgid "XPressME Configuration Page"
+#~ msgstr "XPressME¤ÎÀßÄê¥Ú¡¼¥¸"
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/language/xpressme-ja_UTF.po
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/language/xpressme-ja_UTF.po	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/language/xpressme-ja_UTF.po	(revision 866)
@@ -0,0 +1,889 @@
+# Japanese (UTF-8) translation for XPressME Plugin
+# Copyright (c) 2005-2008 XPressME
+# This file is distributed under the same license as the XPressME package.
+# toemon <info@toemon.com>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: XPressME Plugin\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2010-08-23 09:55+0900\n"
+"PO-Revision-Date: 2011-04-29 14:15+0900\n"
+"Last-Translator: toemon <info@toemon.com>\n"
+"Language-Team: toemon <info@toemon.com>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Japanese\n"
+"X-Poedit-Country: JAPAN\n"
+"X-Poedit-KeywordsList: __;_e;_c\n"
+"X-Poedit-Basepath: D:\\XPressME_Project\\XPressME_SVN_Trunk\\xpressme_integration_kit\\wp-content\\plugins\\xpressme\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Poedit-SourceCharset: utf-8\n"
+"X-Poedit-SearchPath-0: .\n"
+
+#: xpressme.php:59
+msgid "Display Settings"
+msgstr "表示設定"
+
+#: xpressme.php:60
+msgid "Integration Settings"
+msgstr "統合設定"
+
+#: xpressme.php:61
+msgid "Other Settings"
+msgstr "その他の設定"
+
+#: xpressme.php:64
+msgid "Upgrade"
+msgstr "アップグレード"
+
+#: xpressme.php:65
+msgid "to Modules Admin"
+msgstr "モジュール管理へ"
+
+#: xpressme.php:196
+msgid "XPressME Display Setting"
+msgstr "XPressME 表示設定"
+
+#: xpressme.php:202
+msgid "Thema Sidebar Display"
+msgstr "テーマ表示時にサイドバー表示する。"
+
+#: xpressme.php:203
+#: xpressme.php:296
+#: xpressme.php:302
+#: xpressme.php:307
+#: xpressme.php:313
+#: xpressme_class.php:470
+#: xpressme_class.php:488
+#: xpressme_class.php:675
+#: xpressme_class.php:686
+#: xpressme_class.php:710
+msgid "YES"
+msgstr "はい"
+
+#: xpressme.php:204
+#: xpressme.php:297
+#: xpressme.php:303
+#: xpressme.php:308
+#: xpressme.php:314
+#: xpressme_class.php:471
+#: xpressme_class.php:489
+#: xpressme_class.php:676
+#: xpressme_class.php:687
+#: xpressme_class.php:711
+msgid "NO"
+msgstr "いいえ"
+
+#: xpressme.php:213
+#: xpressme.php:265
+#: xpressme.php:324
+msgid "Update Config"
+msgstr "更新"
+
+#: xpressme.php:214
+#: xpressme.php:266
+#: xpressme.php:325
+msgid "Preset Config"
+msgstr "プリセット"
+
+#: xpressme.php:247
+msgid "XPressME Integration Setting"
+msgstr "XPressME 統合設定"
+
+#: xpressme.php:251
+msgid "Media Upload Base Path"
+msgstr "メディアアップロードのベースパス設定"
+
+#: xpressme.php:254
+msgid "Use XOOPS UPLOAD PATH"
+msgstr "XOOPSのアップロードパスを使用する。"
+
+#: xpressme.php:255
+msgid "USE WordPress BASE_PATH"
+msgstr "WordPressのベースパスを使用する。"
+
+#: xpressme.php:290
+msgid "XPressME Other Setting"
+msgstr "XPressME その他の設定"
+
+#: xpressme.php:295
+msgid "The change tracking of the post is preserved"
+msgstr "投稿の変更履歴を有効にする。"
+
+#: xpressme.php:301
+msgid "Select Multi user mode"
+msgstr "マルチユーザーモードを選択"
+
+#: xpressme.php:306
+msgid "Is the posts author views counted?"
+msgstr "投稿者の閲覧をカウントしますか？"
+
+#: xpressme.php:312
+msgid "Is SQL debugging window displayed?"
+msgstr "SQLデバッグウィンドを表示しますか？"
+
+#: xpressme.php:317
+msgid "Select warning display of block file version check"
+msgstr "ブロックファイルのバージョンチェック時における警告表示"
+
+#: xpressme.php:318
+msgid "Do display"
+msgstr "表示する"
+
+#: xpressme.php:319
+msgid "Do not display"
+msgstr "表示しない"
+
+#: xpressme_class.php:64
+#: xpressme_class.php:418
+msgid "Older Post"
+msgstr "前の投稿へ"
+
+#: xpressme_class.php:65
+#: xpressme_class.php:421
+msgid "Newer Post"
+msgstr "次の投稿へ"
+
+#: xpressme_class.php:67
+#: xpressme_class.php:424
+msgid "Older Entries"
+msgstr "前ページへ"
+
+#: xpressme_class.php:68
+#: xpressme_class.php:427
+msgid "Newer Entries"
+msgstr "次ページへ"
+
+#: xpressme_class.php:82
+#: xpressme_class.php:83
+#: xpressme_class.php:430
+msgid "Read the rest of this entry &raquo;"
+msgstr "この投稿の続きを読む &raquo;"
+
+#: xpressme_class.php:530
+msgid "Single Post Navi Setting"
+msgstr "シングルポストナビの設定"
+
+#: xpressme_class.php:535
+#: xpressme_class.php:610
+msgid "Adjustment of Navi link display position"
+msgstr "リンクの表示位置設定"
+
+#: xpressme_class.php:538
+msgid "'Old Post Link' is displayed in the left, and 'Newer Post Link' is displayed in the right"
+msgstr "以前の記事へのリンクを左に、より新しい記事へのリンクを右に表示"
+
+#: xpressme_class.php:539
+msgid "'Newer Post Link' is displayed in the left, and 'Old Post Link' is displayed in the right"
+msgstr "より新しい記事へのリンクを左に、古い記事へのリンクを右に表示"
+
+#: xpressme_class.php:545
+msgid "Select Display name of PostNavi Link"
+msgstr "表示するリンクテキストを選択"
+
+#: xpressme_class.php:548
+msgid "Title of post"
+msgstr "投稿記事のタイトルを表示"
+
+#: xpressme_class.php:549
+msgid "Title of Navi"
+msgstr "ナビタイトルを表示"
+
+#: xpressme_class.php:555
+msgid "Display Navi Title of Old Post Link"
+msgstr "古い記事へのナビタイトルを設定"
+
+#: xpressme_class.php:562
+msgid "Display Navi Title of Newer Post Link"
+msgstr "より新しい記事へのナビタイトルを設定"
+
+#: xpressme_class.php:569
+#: xpressme_class.php:634
+msgid "Left arrow image src"
+msgstr "左矢印イメージSRC"
+
+#: xpressme_class.php:574
+#: xpressme_class.php:589
+#: xpressme_class.php:639
+#: xpressme_class.php:652
+msgid "Not Found"
+msgstr "見つかりません"
+
+#: xpressme_class.php:584
+#: xpressme_class.php:647
+msgid "Right arrow image src"
+msgstr "右矢印イメージSRC"
+
+#: xpressme_class.php:605
+msgid "Posts List Page Navi Setting"
+msgstr "ポストリストページナビの設定"
+
+#: xpressme_class.php:613
+msgid "'Old Page Link' is displayed in the left, and 'Newer Page Link' is displayed in the right"
+msgstr "古いページへのリンクを左に、より新しいページへのリンクを右に表示"
+
+#: xpressme_class.php:614
+msgid "'Newer Page Link' is displayed in the left, and 'Old Page Link' is displayed in the right"
+msgstr "より新しいページへのリンクを左に、古いページへのリンクを右に表示"
+
+#: xpressme_class.php:620
+msgid "Display Navi Title of Old Page Link"
+msgstr "古いページへのナビタイトルを設定"
+
+#: xpressme_class.php:627
+msgid "Display Navi Title of Newer Page Link"
+msgstr "より新しいページへのナビタイトルを設定"
+
+#: xpressme_class.php:666
+msgid "Dashboard feed Display Setting"
+msgstr "ダッシュボード　フィード表示設定"
+
+#: xpressme_class.php:672
+msgid "Display XPressMe Integration Kit Blog"
+msgstr "XPressME Integration Kit ブログを表示する。"
+
+#: xpressme_class.php:683
+msgid "Display XPressMe Integration Kit Forum"
+msgstr "XPressME Integration Kit フォーラムを表示する。"
+
+#: xpressme_class.php:701
+msgid "Role Setting at Login"
+msgstr "ログイン時の権限設定"
+
+#: xpressme_class.php:707
+msgid "XOOPS administrators role is set as all blog administrators."
+msgstr "XOOPSの管理者をすべてのブログの管理者に設定します。"
+
+#: xpressme_class.php:716
+msgid "XOOPS Groupe"
+msgstr "XOOPSグループ名"
+
+#: xpressme_class.php:716
+msgid "WordPress Role"
+msgstr "WordPressでの権限"
+
+#: xpressme_class.php:716
+msgid "Role is set at each login"
+msgstr "ログイン時、常に権限を更新する"
+
+#: xpressme_class.php:721
+msgid "module cannot be read"
+msgstr "モジュールアクセス権限なし"
+
+#: xpressme_class.php:762
+#: xpressme_class.php:766
+#: xpressme_class.php:769
+msgid "Default Role of WordPress"
+msgstr "WordPressのデフォルト権限"
+
+#: xpressme_class.php:763
+#: xpressme_class.php:767
+#: xpressme_class.php:770
+msgid "Group User Doesn't Register"
+msgstr "ユーザ登録しない"
+
+#: xpressme_class.php:783
+msgid "Only the Admin can set Group Role Setting"
+msgstr "管理者だけがグループ権限を設定できます。"
+
+#: xpressme_class.php:805
+msgid "WordPress MultiBlog cannot integrate the comments."
+msgstr "WordPress マルチブログではコメント統合できません。"
+
+#: xpressme_class.php:807
+msgid "Do Not Comment Integration."
+msgstr "コメント統合しません。"
+
+#: xpressme_class.php:842
+msgid "Create New Forum"
+msgstr "新規フォーラムを作成"
+
+#: xpressme_class.php:854
+msgid "Comment integration with D3Forum"
+msgstr "D3Forumとのコメント統合"
+
+#: xpressme_class.php:856
+msgid "Select the forum of D3Forum that does the comment integration from the following lists."
+msgstr "以下のリストからコメント統合をするD3Forumのフォーラムを選択してください。"
+
+#: xpressme_class.php:861
+msgid "Select the Type of display of D3Forum comment."
+msgstr "D3Forumの表示タイプを選択"
+
+#: xpressme_class.php:863
+#: xpressme_class.php:866
+msgid "Flat"
+msgstr "フラット"
+
+#: xpressme_class.php:864
+#: xpressme_class.php:867
+msgid "Threaded"
+msgstr "スレッド"
+
+#: xpressme_class.php:870
+msgid "Select the order of display of D3Forum comment."
+msgstr "D3Forumコメントの表示順を選択"
+
+#: xpressme_class.php:872
+#: xpressme_class.php:875
+msgid "DESC"
+msgstr "降順"
+
+#: xpressme_class.php:873
+#: xpressme_class.php:876
+msgid "ASC"
+msgstr "昇順"
+
+#: xpressme_class.php:879
+msgid "Number of displays of D3Forum comments."
+msgstr "D3Forumのコメント表示数"
+
+#: xpressme_class.php:882
+msgid "The import and the export between Wordpress Comments and the D3Forum Posts can be done. "
+msgstr "WordPressコメントとD3Forumポスト間の一括転送（エクスポート・インポート）"
+
+#: xpressme_class.php:883
+msgid "Export to D3Forum"
+msgstr "D3Forumへ一括エクスポート"
+
+#: xpressme_class.php:884
+msgid "Import from D3Forum"
+msgstr "D3Forumから一括インポート"
+
+#: xpressme_class.php:897
+msgid "Contents Excerpt Setting"
+msgstr "記事抜粋の設定"
+
+#: xpressme_class.php:902
+msgid "Is the excerpt display done with the archive of contents?"
+msgstr "記事のアーカイブで抜粋表示を行いますか？"
+
+#: xpressme_class.php:909
+msgid "When ASCII character more than the set ratio is included, it is judged ASCII contents. "
+msgstr "ASCII文字が含まれる比率が設定された値より大きい場合、ASCII文字コンテンツと判断します。"
+
+#: xpressme_class.php:916
+msgid "Excerpt length of word for ASCII contents"
+msgstr "ASCIIコンテンツの抜粋単語数"
+
+#: xpressme_class.php:923
+msgid "Excerpt length of character for multibyte contents"
+msgstr "マルチバイトコンテンツの抜粋文字数"
+
+#: xpressme_class.php:930
+msgid "This text is displayed in the link that reads contents not excerpted.(Is not displayed for the blank.)"
+msgstr "抜粋されていないコンテンツを読むためのリンクに表示されるテキスト(空白の場合リンクを表示しません)"
+
+#: xpressme_class.php:937
+msgid "This text is displayed in the link that more tag (&lt;!--more--&gt;). "
+msgstr "more タグ (&lt;!--more--&gt;)のリンクに表示されるテキスト"
+
+#: xpressme_class.php:949
+msgid "Display Mode Setting"
+msgstr "表示モード設定"
+
+#: xpressme_class.php:952
+msgid "Select the XPressME Display Mode."
+msgstr "XPressMEの表示モードの選択"
+
+#: xpressme_class.php:957
+msgid "Xoops Mode"
+msgstr "XOOPSモード"
+
+#: xpressme_class.php:961
+msgid "WordPress Mode"
+msgstr "WordPressモード"
+
+#: xpressme_class.php:965
+msgid "User select"
+msgstr "ユーザによる選択"
+
+#: xpressme_class.php:970
+msgid "Select the theme used in the XOOPS Mode."
+msgstr "XOOPSモードで使用するテーマを選択"
+
+#: xpressme_class.php:975
+msgid "Use WordPress Selected Themes"
+msgstr "WordPressで選択したテーマを使う"
+
+#: xpressme_class.php:993
+msgid "Header Meta Option"
+msgstr "ヘッダメタ　オプション"
+
+#: xpressme_class.php:998
+msgid "Select the Header keyword."
+msgstr "ヘッダで使用するキーワードの選択"
+
+#: xpressme_class.php:1003
+msgid "Xoops KeyWord"
+msgstr "XOOPSのキーワード"
+
+#: xpressme_class.php:1006
+msgid "WordPress KeyWord"
+msgstr "WordPressのキーワード"
+
+#: xpressme_class.php:1009
+msgid "WordPress & Xoops KeyWord"
+msgstr "WordPressｊとXOOPSのキーワード"
+
+#: xpressme_class.php:1015
+msgid "Select the Header Description."
+msgstr "ヘッダで使用するディスクリプション（説明）の選択"
+
+#: xpressme_class.php:1020
+msgid "Xoops Description"
+msgstr "XOOPSのディスクリプション"
+
+#: xpressme_class.php:1023
+msgid "WordPress Description"
+msgstr "WordPressのディスクリプション"
+
+#: xpressme_class.php:1026
+msgid "WordPress & Xoops Description"
+msgstr "WordPressとXOOPSのディスクリプション"
+
+#: xpressme_class.php:1032
+msgid "Select the Header Robots Index."
+msgstr "ヘッダで使用するロボットインデックスの選択"
+
+#: xpressme_class.php:1037
+msgid "Xoops Robots Index"
+msgstr "XOOPSのロボットインデックス"
+
+#: xpressme_class.php:1040
+msgid "WordPress Robots Index"
+msgstr "WordPressのロボットインデックス"
+
+#: xpressme_class.php:1086
+#, php-format
+msgid "Unable to create directory %s. Is its parent directory writable by the server?"
+msgstr "%s ディレクトリーが作成できません。サーバーの親ディレクトリー書き込み権限があるか確認くださいr?"
+
+#: xpressme_widget_class.php:13
+msgid "XPressME User Menu Widget"
+msgstr "XPressME ユーザメニュー ウィジェット"
+
+#: xpressme_widget_class.php:15
+msgid "XPressME MENU"
+msgstr "XPressME メニュー"
+
+#: xpressme_widget_class.php:139
+#: xpressme_widget_class.php:191
+#: xpressme_widget_class.php:196
+#: xpressme_widget_class.php:201
+msgid "Link"
+msgstr "リンク"
+
+#: xpressme_widget_class.php:140
+#: xpressme_widget_class.php:156
+msgid "Site Home"
+msgstr "サイトホーム"
+
+#: xpressme_widget_class.php:141
+#: xpressme_widget_class.php:161
+msgid "Add New"
+msgstr "新規投稿"
+
+#: xpressme_widget_class.php:142
+#: xpressme_widget_class.php:166
+msgid "User Profile"
+msgstr "ユーザプロファイル"
+
+#: xpressme_widget_class.php:143
+#: xpressme_widget_class.php:172
+msgid "WordPress Admin"
+msgstr "WordPress管理"
+
+#: xpressme_widget_class.php:144
+#: xpressme_widget_class.php:177
+msgid "Module Admin"
+msgstr "モジュール管理"
+
+#: xpressme_widget_class.php:145
+#: xpressme_widget_class.php:182
+msgid "XPressME Setting"
+msgstr "XPressME設定"
+
+#: xpressme_widget_class.php:146
+msgid "Display Mode Select"
+msgstr "表示モード選択"
+
+#: xpressme_widget_class.php:148
+#: xpressme_widget_class.php:167
+msgid "Auto Setting"
+msgstr "自動設定"
+
+#: xpressme_widget_class.php:153
+msgid "User Menu"
+msgstr "ユーザメニュー"
+
+#: xpressme_widget_class.php:241
+msgid "Title:"
+msgstr "タイトル:"
+
+#: include/class-xpress-upgrader.php:7
+msgid "XPressME Integration Kit is at the latest version."
+msgstr "お使いの、XPressME Integration Kitは最新のものです。"
+
+#: include/class-xpress-upgrader.php:8
+msgid "Upgrade package not available."
+msgstr "アップデートパッケージがありません。"
+
+#: include/class-xpress-upgrader.php:9
+#, php-format
+msgid "Downloading update from <span class=\"code\">%s</span>&#8230;"
+msgstr "<span class=\"code\">%s</span>からアップデートをダウロードしています&#8230;"
+
+#: include/class-xpress-upgrader.php:10
+msgid "Unpacking the update&#8230;"
+msgstr "パッケージを展開しています。"
+
+#: include/class-xpress-upgrader.php:11
+msgid "Could not copy files."
+msgstr "ファイルがコピーできませんでした。"
+
+#: include/class-xpress-upgrader.php:12
+msgid "Delete source wp-config.php."
+msgstr "ダウロードしたソースから、wp-config.phpを削除します。"
+
+#: include/class-xpress-upgrader.php:13
+msgid "Could not delete files."
+msgstr "ファイルが消去できませんでした。"
+
+#: include/class-xpress-upgrader.php:14
+msgid "The structure of the package is wrong. "
+msgstr "パッケージの構成が異なっています。"
+
+#: include/custom_functions.php:113
+#, php-format
+msgid "Permanent Link to %s"
+msgstr "%sのパーマリンク"
+
+#: include/custom_functions.php:498
+#: include/custom_functions.php:531
+#, php-format
+msgid "views :%d"
+msgstr "閲覧数 :%d"
+
+#: include/custom_functions.php:699
+msgid "Main"
+msgstr "メイン"
+
+#: include/custom_functions.php:702
+#, php-format
+msgid "Archive for the &#8216;%s&#8217; Category"
+msgstr "カテゴリー &#8216;%s&#8217; のアーカイブ"
+
+#: include/custom_functions.php:705
+#, php-format
+msgid "Posts Tagged &#8216;%s&#8217;"
+msgstr "&#8216;%s&#8217; タグのついている投稿"
+
+#: include/custom_functions.php:708
+#, php-format
+msgid "Archive for %s|Daily archive page"
+msgstr "%sの日別アーカイブ"
+
+#: include/custom_functions.php:708
+msgid "F jS, Y"
+msgstr "Y年n月j日"
+
+#: include/custom_functions.php:710
+#, php-format
+msgid "Archive for %s|Monthly archive page"
+msgstr "%sの月別アーカイブ"
+
+#: include/custom_functions.php:710
+msgid "F, Y"
+msgstr "Y年n月"
+
+#: include/custom_functions.php:712
+#, php-format
+msgid "Archive for %s|Yearly archive page"
+msgstr "%sの年別アーカイブ "
+
+#: include/custom_functions.php:712
+msgid "Y"
+msgstr "Y年"
+
+#: include/custom_functions.php:715
+#, php-format
+msgid "Archive for the &#8216;%s&#8217; Author"
+msgstr "投稿者 &#8216;%s&#8217; のアーカイブ"
+
+#: include/custom_functions.php:718
+#, php-format
+msgid "Search Results of word &#8216;%s&#8217;"
+msgstr "&#8216;%s&#8217; の検索結果"
+
+#: include/custom_functions.php:724
+#: include/custom_functions.php:726
+#, php-format
+msgid "Article of %s"
+msgstr "%sの記事"
+
+#: include/custom_functions.php:748
+#, php-format
+msgid "From %1$s on site %2$s"
+msgstr "サイト %2$s の %1$s より"
+
+#: include/custom_functions.php:769
+msgid "No Trackback/Pingback"
+msgstr "トラックバック・ピンバックはありません"
+
+#: include/custom_functions.php:770
+msgid "One Trackback/Pingback"
+msgstr "トラックバック・ピンバック 1 件"
+
+#: include/custom_functions.php:771
+msgid "% TrackBack/Pingback"
+msgstr "トラックバック・ピンバック % 件"
+
+#: include/custom_functions.php:949
+msgid "Tags:"
+msgstr ""
+
+#: include/custom_functions.php:992
+msgid "Comments (0)"
+msgstr ""
+
+#: include/custom_functions.php:992
+msgid "Comments (1)"
+msgstr ""
+
+#: include/custom_functions.php:992
+msgid "Comments (%)"
+msgstr ""
+
+#: include/custom_functions.php:996
+#, fuzzy, php-format
+msgid "Views :%d"
+msgstr "閲覧数 :%d"
+
+#: include/custom_functions.php:1074
+msgid "Create New Blog"
+msgstr "新しいブログを作成"
+
+#: include/custom_functions.php:1100
+msgid "Your Primary Blog"
+msgstr "あなたのプライマリーブログ"
+
+#: include/dashboard_feed.php:19
+msgid "XPressME Integration Kit Blog"
+msgstr "XPressME Integration Kit ブログ"
+
+#: include/dashboard_feed.php:32
+msgid "XPressME Integration Kit Folum"
+msgstr "XPressME Integration Kit フォーラム"
+
+#: include/dashboard_feed.php:92
+msgid "Unknown Feed"
+msgstr "不明なフィード"
+
+#: include/functions_for_wp_old.php:21
+msgid "<strong>ERROR</strong>: The password field is empty."
+msgstr "<strong>エラー</strong>: パスワードが入力されていません."
+
+#: include/functions_for_wp_old.php:29
+msgid "<strong>ERROR</strong>: Invalid username."
+msgstr "<strong>エラー</strong>: ユーザ名が異なっています."
+
+#: include/functions_for_wp_old.php:37
+msgid "<strong>ERROR</strong>: Incorrect password."
+msgstr "<strong>エラー</strong>: パスワードが異なっています."
+
+#: include/pluggable-override.php:265
+#, php-format
+msgid "If the page does not automatically reload, please click <a href='%s'>here</a>"
+msgstr "自動的にページが読み込まれない場合は<a href='%s'>こちら</a>をクリックしてください。"
+
+#: include/update_xpress.php:32
+msgid "Disable overwrite of wp-config.php..."
+msgstr "wp-config.phpの上書きを禁止します。"
+
+#: include/update_xpress.php:40
+msgid "Copy new versions of XPressME Integration Kit files into place..."
+msgstr "最新バージョンの XPressME Integration Kit ファイルをコピーしています。...."
+
+#: include/update_xpress.php:49
+msgid "Remove an unnecessary, old file..."
+msgstr "不必要な古いファイルを削除します。"
+
+#: include/update_xpress.php:56
+msgid "Set templates directory chmod 777"
+msgstr "templateディレクトリのパーミッションを777に設定します。"
+
+#: include/update_xpress.php:61
+#, php-format
+msgid "Remove working directory(%s)..."
+msgstr "作業ディレクトリ(%s)を削除します..."
+
+#: include/xpress_common_functions.php:8
+msgid "After Blog address (URL) is set, it is necessary to set the permalink again."
+msgstr "ブログアドレス(URL)の変更後、パーマリンク設定が必要です"
+
+#: include/xpress_common_functions.php:9
+msgid "Can not access WordPress address (URL)."
+msgstr "WordPress のアドレス (URL)にアクセスできません。"
+
+#: include/xpress_common_functions.php:10
+msgid "WordPress Blog address (URL) is different from access URL."
+msgstr "WordPressのブログのアドレス (URL)とアクセスURLが異なっています。"
+
+#: include/xpress_common_functions.php:212
+msgid "Themes"
+msgstr "テーマ"
+
+#: include/xpress_common_functions.php:227
+msgid "Switch to XOOPS mode"
+msgstr "XOOPSモードへ切替"
+
+#: include/xpress_common_functions.php:231
+#: include/xpress_common_functions.php:234
+msgid "Switch to WordPress mode"
+msgstr "WordPressモードへ切替"
+
+#: include/xpress_common_functions.php:392
+#, php-format
+msgid "Block file %1$s is an old version %2$s.<br />used block file %3$s of new version %4$s."
+msgstr "ブロックファイル %1$s は古いバージョン %2$s の為、<br /> 新しいバージョン %4$s　のブロックファイル %3$s を使用します。"
+
+#: include/xpress_upgrade.php:19
+msgid "XPressME Upgrade"
+msgstr "XPressME アップグレード"
+
+#: include/xpress_upgrade.php:32
+#, php-format
+msgid "You are using a XPressME Integration Kit development version (%s). Cool! Please stay updated."
+msgstr "お使いの XPressME Integration Kit は開発版 (%s) です。すばらしい ! どうぞ最新版を使い続けてください。"
+
+#: include/xpress_upgrade.php:36
+msgid "An updated version of XPressME Integration Kit is available."
+msgstr "新しいバージョンの XPressME Integration Kit にアップグレードが可能です。"
+
+#: include/xpress_upgrade.php:41
+#: include/xpress_upgrade.php:89
+#, php-format
+msgid "Download differential file for %s"
+msgstr "%sの差分ファイルをダウンロード"
+
+#: include/xpress_upgrade.php:45
+#, php-format
+msgid "You can update to XPressME Integration Kit Ver %s</a> automatically or download the package and install it manually:"
+msgstr "XPressME Integration Kit Verバージョン %s のパッケージを自動更新するか、手動でダウンロードしてインストールすることができます。"
+
+#: include/xpress_upgrade.php:47
+#, php-format
+msgid "You can upgrade to version %s download the package and install it manually:"
+msgstr "バージョン %s のパッケージを手動でダウンロードしてインストールすることができます。"
+
+#: include/xpress_upgrade.php:49
+#: include/xpress_upgrade.php:80
+msgid "Update Automatically"
+msgstr "自動更新"
+
+#: include/xpress_upgrade.php:51
+#: include/xpress_upgrade.php:81
+#, php-format
+msgid "Download %s"
+msgstr "%s をダウンロード"
+
+#: include/xpress_upgrade.php:56
+#, php-format
+msgid "You have the latest version of XPressME Integration Kit Ver.%s."
+msgstr "最新の XPressME Integration Kit Ver.%s をご利用中です。アップグレードの必要はありません。"
+
+#: include/xpress_upgrade.php:59
+msgid "You have the latest version of XPressME Integration Kit. You do not need to upgrade"
+msgstr "最新バージョンの XPressME Integration Kit をご利用中です。アップグレードの必要はありません。"
+
+#: include/xpress_upgrade.php:60
+msgid "Re-install Automatically"
+msgstr "自動再インストール"
+
+#: include/xpress_upgrade.php:74
+#, php-format
+msgid "You can update to  XPressME Integration Kit development version %s automatically or download the package and install it manually:"
+msgstr "XPressME Integration Kit開発バージョン %s のパッケージを自動更新するか、手動でダウンロードしてインストールすることができます。"
+
+#: include/xpress_upgrade.php:76
+#, php-format
+msgid "You can use the development version %s download the package and install it manually:"
+msgstr "開発バージョン %s のパッケージを手動でダウンロードしてインストールすることができます。"
+
+#: include/xpress_upgrade.php:128
+#, php-format
+msgid "There is no response from <a href=\"%s\">version check API</a> now. sorry, please confirm it after."
+msgstr "現在、<a href=\"%s\">version check API</a>からのレスポンスがありません。　申し訳ありませんが、しばらく後で確認してください。"
+
+#: include/xpress_upgrade.php:171
+msgid "Update XPressME Integration Kit"
+msgstr "XPressME Integration Kit の更新"
+
+#: include/xpress_upgrade.php:188
+msgid "Installation Failed"
+msgstr "インストールに失敗しました"
+
+#: include/xpress_upgrade.php:190
+msgid "XPressME Integration Kit files updated successfully"
+msgstr "XPressME Integration Kitのファイル更新が終了しました。"
+
+#: include/xpress_upgrade.php:191
+msgid "Please update the module. "
+msgstr "モジュールのアップデートを行ってください。"
+
+#: include/xpress_upgrade.php:194
+msgid "Actions:"
+msgstr "作業:"
+
+#: include/xpress_upgrade.php:194
+msgid "Go to Module Update"
+msgstr "モジュールの更新へ"
+
+#: include/xpress_upgrade.php:369
+#, php-format
+msgid "XPressME Integration Kit Version %1$s is available! <a href=\"%2$s\">Please update now</a>."
+msgstr "XPressME Integration Kit Version %1$s が利用可能です ! <a href=\"%2$s\">アップデートしてください</a>。"
+
+#: include/xpress_upgrade.php:371
+#, php-format
+msgid "XPressME Integration Kit Version %1$s is available! Please notify the site administrator."
+msgstr "XPressME Integration Kit Version %1$s が利用可能です ! サイト管理者に連絡してください。"
+
+#~ msgid ""
+#~ "You do not have sufficient permissions to update XPressME Integration Kit "
+#~ "for this site."
+#~ msgstr "あなたには、 XPressME Integration Kit の更新権限がありません。"
+
+#~ msgid ""
+#~ "You can download the differential file from version %s to %s and upgrade "
+#~ "it manually:"
+#~ msgstr ""
+#~ "バージョン%sから%sへの差分ファイルをダウンロードし、手動でアップグレードす"
+#~ "ることができます："
+
+#~ msgid "Title"
+#~ msgstr "タイトル"
+
+#~ msgid "URL"
+#~ msgstr "URL"
+
+#~ msgid "more"
+#~ msgstr "続きを読む"
+
+#~ msgid "More Link Text (Is not displayed for the blank.)"
+#~ msgstr "Moreリンクテキスト（ブランクの場合リンクを表示しません。）"
+
+#~ msgid "Calendar"
+#~ msgstr "カレンダー"
+
+#~ msgid "%1$s %2$s|Used as a calendar caption"
+#~ msgstr "%2$s 年 %1$s|カレンダーのキャプションに使われます"
+
+#~ msgid "View posts for %1$s %2$s"
+#~ msgstr "%2$s年%1$sの投稿を表示"
+
+#~ msgid "XPressME Configuration Page"
+#~ msgstr "XPressMEの設定ページ"
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/language/xpressme-lang.pot
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/language/xpressme-lang.pot	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/language/xpressme-lang.pot	(revision 866)
@@ -0,0 +1,883 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR XPressME
+# This file is distributed under the same license as the XPressME package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: XPressME Plugin\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2011-04-29 14:11+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+#: xpressme.php:59
+msgid "Display Settings"
+msgstr ""
+
+#: xpressme.php:60
+msgid "Integration Settings"
+msgstr ""
+
+#: xpressme.php:61
+msgid "Other Settings"
+msgstr ""
+
+#: xpressme.php:64
+msgid "Upgrade"
+msgstr ""
+
+#: xpressme.php:65
+msgid "to Modules Admin"
+msgstr ""
+
+#: xpressme.php:196
+msgid "XPressME Display Setting"
+msgstr ""
+
+#: xpressme.php:202
+msgid "Thema Sidebar Display"
+msgstr ""
+
+#: xpressme.php:203
+#: xpressme.php:296
+#: xpressme.php:302
+#: xpressme.php:307
+#: xpressme.php:313
+#: xpressme_class.php:470
+#: xpressme_class.php:488
+#: xpressme_class.php:675
+#: xpressme_class.php:686
+#: xpressme_class.php:710
+msgid "YES"
+msgstr ""
+
+#: xpressme.php:204
+#: xpressme.php:297
+#: xpressme.php:303
+#: xpressme.php:308
+#: xpressme.php:314
+#: xpressme_class.php:471
+#: xpressme_class.php:489
+#: xpressme_class.php:676
+#: xpressme_class.php:687
+#: xpressme_class.php:711
+msgid "NO"
+msgstr ""
+
+#: xpressme.php:213
+#: xpressme.php:265
+#: xpressme.php:324
+msgid "Update Config"
+msgstr ""
+
+#: xpressme.php:214
+#: xpressme.php:266
+#: xpressme.php:325
+msgid "Preset Config"
+msgstr ""
+
+#: xpressme.php:247
+msgid "XPressME Integration Setting"
+msgstr ""
+
+#: xpressme.php:251
+msgid "Media Upload Base Path"
+msgstr ""
+
+#: xpressme.php:254
+msgid "Use XOOPS UPLOAD PATH"
+msgstr ""
+
+#: xpressme.php:255
+msgid "USE WordPress BASE_PATH"
+msgstr ""
+
+#: xpressme.php:290
+msgid "XPressME Other Setting"
+msgstr ""
+
+#: xpressme.php:295
+msgid "The change tracking of the post is preserved"
+msgstr ""
+
+#: xpressme.php:301
+msgid "Select Multi user mode"
+msgstr ""
+
+#: xpressme.php:306
+msgid "Is the posts author views counted?"
+msgstr ""
+
+#: xpressme.php:312
+msgid "Is SQL debugging window displayed?"
+msgstr ""
+
+#: xpressme.php:317
+msgid "Select warning display of block file version check"
+msgstr ""
+
+#: xpressme.php:318
+msgid "Do display"
+msgstr ""
+
+#: xpressme.php:319
+msgid "Do not display"
+msgstr ""
+
+#: xpressme_class.php:64
+#: xpressme_class.php:418
+msgid "Older Post"
+msgstr ""
+
+#: xpressme_class.php:65
+#: xpressme_class.php:421
+msgid "Newer Post"
+msgstr ""
+
+#: xpressme_class.php:67
+#: xpressme_class.php:424
+msgid "Older Entries"
+msgstr ""
+
+#: xpressme_class.php:68
+#: xpressme_class.php:427
+msgid "Newer Entries"
+msgstr ""
+
+#: xpressme_class.php:82
+#: xpressme_class.php:83
+#: xpressme_class.php:430
+msgid "Read the rest of this entry &raquo;"
+msgstr ""
+
+#: xpressme_class.php:530
+msgid "Single Post Navi Setting"
+msgstr ""
+
+#: xpressme_class.php:535
+#: xpressme_class.php:610
+msgid "Adjustment of Navi link display position"
+msgstr ""
+
+#: xpressme_class.php:538
+msgid "'Old Post Link' is displayed in the left, and 'Newer Post Link' is displayed in the right"
+msgstr ""
+
+#: xpressme_class.php:539
+msgid "'Newer Post Link' is displayed in the left, and 'Old Post Link' is displayed in the right"
+msgstr ""
+
+#: xpressme_class.php:545
+msgid "Select Display name of PostNavi Link"
+msgstr ""
+
+#: xpressme_class.php:548
+msgid "Title of post"
+msgstr ""
+
+#: xpressme_class.php:549
+msgid "Title of Navi"
+msgstr ""
+
+#: xpressme_class.php:555
+msgid "Display Navi Title of Old Post Link"
+msgstr ""
+
+#: xpressme_class.php:562
+msgid "Display Navi Title of Newer Post Link"
+msgstr ""
+
+#: xpressme_class.php:569
+#: xpressme_class.php:634
+msgid "Left arrow image src"
+msgstr ""
+
+#: xpressme_class.php:574
+#: xpressme_class.php:589
+#: xpressme_class.php:639
+#: xpressme_class.php:652
+msgid "Not Found"
+msgstr ""
+
+#: xpressme_class.php:584
+#: xpressme_class.php:647
+msgid "Right arrow image src"
+msgstr ""
+
+#: xpressme_class.php:605
+msgid "Posts List Page Navi Setting"
+msgstr ""
+
+#: xpressme_class.php:613
+msgid "'Old Page Link' is displayed in the left, and 'Newer Page Link' is displayed in the right"
+msgstr ""
+
+#: xpressme_class.php:614
+msgid "'Newer Page Link' is displayed in the left, and 'Old Page Link' is displayed in the right"
+msgstr ""
+
+#: xpressme_class.php:620
+msgid "Display Navi Title of Old Page Link"
+msgstr ""
+
+#: xpressme_class.php:627
+msgid "Display Navi Title of Newer Page Link"
+msgstr ""
+
+#: xpressme_class.php:666
+msgid "Dashboard feed Display Setting"
+msgstr ""
+
+#: xpressme_class.php:672
+msgid "Display XPressMe Integration Kit Blog"
+msgstr ""
+
+#: xpressme_class.php:683
+msgid "Display XPressMe Integration Kit Forum"
+msgstr ""
+
+#: xpressme_class.php:701
+msgid "Role Setting at Login"
+msgstr ""
+
+#: xpressme_class.php:707
+msgid "XOOPS administrators role is set as all blog administrators."
+msgstr ""
+
+#: xpressme_class.php:716
+msgid "XOOPS Groupe"
+msgstr ""
+
+#: xpressme_class.php:716
+msgid "WordPress Role"
+msgstr ""
+
+#: xpressme_class.php:716
+msgid "Role is set at each login"
+msgstr ""
+
+#: xpressme_class.php:721
+msgid "module cannot be read"
+msgstr ""
+
+#: xpressme_class.php:762
+#: xpressme_class.php:766
+#: xpressme_class.php:769
+msgid "Default Role of WordPress"
+msgstr ""
+
+#: xpressme_class.php:763
+#: xpressme_class.php:767
+#: xpressme_class.php:770
+msgid "Group User Doesn't Register"
+msgstr ""
+
+#: xpressme_class.php:783
+msgid "Only the Admin can set Group Role Setting"
+msgstr ""
+
+#: xpressme_class.php:805
+msgid "WordPress MultiBlog cannot integrate the comments."
+msgstr ""
+
+#: xpressme_class.php:807
+msgid "Do Not Comment Integration."
+msgstr ""
+
+#: xpressme_class.php:842
+msgid "Create New Forum"
+msgstr ""
+
+#: xpressme_class.php:854
+msgid "Comment integration with D3Forum"
+msgstr ""
+
+#: xpressme_class.php:856
+msgid "Select the forum of D3Forum that does the comment integration from the following lists."
+msgstr ""
+
+#: xpressme_class.php:861
+msgid "Select the Type of display of D3Forum comment."
+msgstr ""
+
+#: xpressme_class.php:863
+#: xpressme_class.php:866
+msgid "Flat"
+msgstr ""
+
+#: xpressme_class.php:864
+#: xpressme_class.php:867
+msgid "Threaded"
+msgstr ""
+
+#: xpressme_class.php:870
+msgid "Select the order of display of D3Forum comment."
+msgstr ""
+
+#: xpressme_class.php:872
+#: xpressme_class.php:875
+msgid "DESC"
+msgstr ""
+
+#: xpressme_class.php:873
+#: xpressme_class.php:876
+msgid "ASC"
+msgstr ""
+
+#: xpressme_class.php:879
+msgid "Number of displays of D3Forum comments."
+msgstr ""
+
+#: xpressme_class.php:882
+msgid "The import and the export between Wordpress Comments and the D3Forum Posts can be done. "
+msgstr ""
+
+#: xpressme_class.php:883
+msgid "Export to D3Forum"
+msgstr ""
+
+#: xpressme_class.php:884
+msgid "Import from D3Forum"
+msgstr ""
+
+#: xpressme_class.php:897
+msgid "Contents Excerpt Setting"
+msgstr ""
+
+#: xpressme_class.php:902
+msgid "Is the excerpt display done with the archive of contents?"
+msgstr ""
+
+#: xpressme_class.php:909
+msgid "When ASCII character more than the set ratio is included, it is judged ASCII contents. "
+msgstr ""
+
+#: xpressme_class.php:916
+msgid "Excerpt length of word for ASCII contents"
+msgstr ""
+
+#: xpressme_class.php:923
+msgid "Excerpt length of character for multibyte contents"
+msgstr ""
+
+#: xpressme_class.php:930
+msgid "This text is displayed in the link that reads contents not excerpted.(Is not displayed for the blank.)"
+msgstr ""
+
+#: xpressme_class.php:937
+msgid "This text is displayed in the link that more tag (&lt;!--more--&gt;). "
+msgstr ""
+
+#: xpressme_class.php:949
+msgid "Display Mode Setting"
+msgstr ""
+
+#: xpressme_class.php:952
+msgid "Select the XPressME Display Mode."
+msgstr ""
+
+#: xpressme_class.php:957
+msgid "Xoops Mode"
+msgstr ""
+
+#: xpressme_class.php:961
+msgid "WordPress Mode"
+msgstr ""
+
+#: xpressme_class.php:965
+msgid "User select"
+msgstr ""
+
+#: xpressme_class.php:970
+msgid "Select the theme used in the XOOPS Mode."
+msgstr ""
+
+#: xpressme_class.php:975
+msgid "Use WordPress Selected Themes"
+msgstr ""
+
+#: xpressme_class.php:993
+msgid "Header Meta Option"
+msgstr ""
+
+#: xpressme_class.php:998
+msgid "Select the Header keyword."
+msgstr ""
+
+#: xpressme_class.php:1003
+msgid "Xoops KeyWord"
+msgstr ""
+
+#: xpressme_class.php:1006
+msgid "WordPress KeyWord"
+msgstr ""
+
+#: xpressme_class.php:1009
+msgid "WordPress & Xoops KeyWord"
+msgstr ""
+
+#: xpressme_class.php:1015
+msgid "Select the Header Description."
+msgstr ""
+
+#: xpressme_class.php:1020
+msgid "Xoops Description"
+msgstr ""
+
+#: xpressme_class.php:1023
+msgid "WordPress Description"
+msgstr ""
+
+#: xpressme_class.php:1026
+msgid "WordPress & Xoops Description"
+msgstr ""
+
+#: xpressme_class.php:1032
+msgid "Select the Header Robots Index."
+msgstr ""
+
+#: xpressme_class.php:1037
+msgid "Xoops Robots Index"
+msgstr ""
+
+#: xpressme_class.php:1040
+msgid "WordPress Robots Index"
+msgstr ""
+
+#: xpressme_class.php:1086
+#, php-format
+msgid "Unable to create directory %s. Is its parent directory writable by the server?"
+msgstr ""
+
+#: xpressme_widget_class.php:13
+msgid "XPressME User Menu Widget"
+msgstr ""
+
+#: xpressme_widget_class.php:15
+msgid "XPressME MENU"
+msgstr ""
+
+#: xpressme_widget_class.php:139
+#: xpressme_widget_class.php:191
+#: xpressme_widget_class.php:196
+#: xpressme_widget_class.php:201
+msgid "Link"
+msgstr ""
+
+#: xpressme_widget_class.php:140
+#: xpressme_widget_class.php:156
+msgid "Site Home"
+msgstr ""
+
+#: xpressme_widget_class.php:141
+#: xpressme_widget_class.php:161
+msgid "Add New"
+msgstr ""
+
+#: xpressme_widget_class.php:142
+#: xpressme_widget_class.php:166
+msgid "User Profile"
+msgstr ""
+
+#: xpressme_widget_class.php:143
+#: xpressme_widget_class.php:172
+msgid "WordPress Admin"
+msgstr ""
+
+#: xpressme_widget_class.php:144
+#: xpressme_widget_class.php:177
+msgid "Module Admin"
+msgstr ""
+
+#: xpressme_widget_class.php:145
+#: xpressme_widget_class.php:182
+msgid "XPressME Setting"
+msgstr ""
+
+#: xpressme_widget_class.php:146
+msgid "Display Mode Select"
+msgstr ""
+
+#: xpressme_widget_class.php:148
+#: xpressme_widget_class.php:167
+msgid "Auto Setting"
+msgstr ""
+
+#: xpressme_widget_class.php:153
+msgid "User Menu"
+msgstr ""
+
+#: xpressme_widget_class.php:241
+msgid "Title:"
+msgstr ""
+
+#: include/class-xpress-upgrader.php:7
+msgid "XPressME Integration Kit is at the latest version."
+msgstr ""
+
+#: include/class-xpress-upgrader.php:8
+msgid "Upgrade package not available."
+msgstr ""
+
+#: include/class-xpress-upgrader.php:9
+#, php-format
+msgid "Downloading update from <span class=\"code\">%s</span>&#8230;"
+msgstr ""
+
+#: include/class-xpress-upgrader.php:10
+msgid "Unpacking the update&#8230;"
+msgstr ""
+
+#: include/class-xpress-upgrader.php:11
+msgid "Could not copy files."
+msgstr ""
+
+#: include/class-xpress-upgrader.php:12
+msgid "Delete source wp-config.php."
+msgstr ""
+
+#: include/class-xpress-upgrader.php:13
+msgid "Could not delete files."
+msgstr ""
+
+#: include/class-xpress-upgrader.php:14
+msgid "The structure of the package is wrong. "
+msgstr ""
+
+#: include/custom_functions.php:113
+#, php-format
+msgid "Permanent Link to %s"
+msgstr ""
+
+#: include/custom_functions.php:498
+#: include/custom_functions.php:531
+#, php-format
+msgid "views :%d"
+msgstr ""
+
+#: include/custom_functions.php:699
+msgid "Main"
+msgstr ""
+
+#: include/custom_functions.php:702
+#, php-format
+msgid "Archive for the &#8216;%s&#8217; Category"
+msgstr ""
+
+#: include/custom_functions.php:705
+#, php-format
+msgid "Posts Tagged &#8216;%s&#8217;"
+msgstr ""
+
+#: include/custom_functions.php:708
+#, php-format
+msgid "Archive for %s|Daily archive page"
+msgstr ""
+
+#: include/custom_functions.php:708
+msgid "F jS, Y"
+msgstr ""
+
+#: include/custom_functions.php:710
+#, php-format
+msgid "Archive for %s|Monthly archive page"
+msgstr ""
+
+#: include/custom_functions.php:710
+msgid "F, Y"
+msgstr ""
+
+#: include/custom_functions.php:712
+#, php-format
+msgid "Archive for %s|Yearly archive page"
+msgstr ""
+
+#: include/custom_functions.php:712
+msgid "Y"
+msgstr ""
+
+#: include/custom_functions.php:715
+#, php-format
+msgid "Archive for the &#8216;%s&#8217; Author"
+msgstr ""
+
+#: include/custom_functions.php:718
+#, php-format
+msgid "Search Results of word &#8216;%s&#8217;"
+msgstr ""
+
+#: include/custom_functions.php:724
+#: include/custom_functions.php:726
+#, php-format
+msgid "Article of %s"
+msgstr ""
+
+#: include/custom_functions.php:748
+#, php-format
+msgid "From %1$s on site %2$s"
+msgstr ""
+
+#: include/custom_functions.php:769
+msgid "No Trackback/Pingback"
+msgstr ""
+
+#: include/custom_functions.php:770
+msgid "One Trackback/Pingback"
+msgstr ""
+
+#: include/custom_functions.php:771
+msgid "% TrackBack/Pingback"
+msgstr ""
+
+#: include/custom_functions.php:949
+msgid "Tags:"
+msgstr ""
+
+#: include/custom_functions.php:992
+msgid "Comments (0)"
+msgstr ""
+
+#: include/custom_functions.php:992
+msgid "Comments (1)"
+msgstr ""
+
+#: include/custom_functions.php:992
+msgid "Comments (%)"
+msgstr ""
+
+#: include/custom_functions.php:996
+#, fuzzy, php-format
+msgid "Views :%d"
+msgstr ""
+
+#: include/custom_functions.php:1074
+msgid "Create New Blog"
+msgstr ""
+
+#: include/custom_functions.php:1100
+msgid "Your Primary Blog"
+msgstr ""
+
+#: include/dashboard_feed.php:19
+msgid "XPressME Integration Kit Blog"
+msgstr ""
+
+#: include/dashboard_feed.php:32
+msgid "XPressME Integration Kit Folum"
+msgstr ""
+
+#: include/dashboard_feed.php:92
+msgid "Unknown Feed"
+msgstr ""
+
+#: include/functions_for_wp_old.php:21
+msgid "<strong>ERROR</strong>: The password field is empty."
+msgstr ""
+
+#: include/functions_for_wp_old.php:29
+msgid "<strong>ERROR</strong>: Invalid username."
+msgstr ""
+
+#: include/functions_for_wp_old.php:37
+msgid "<strong>ERROR</strong>: Incorrect password."
+msgstr ""
+
+#: include/pluggable-override.php:265
+#, php-format
+msgid "If the page does not automatically reload, please click <a href='%s'>here</a>"
+msgstr ""
+
+#: include/update_xpress.php:32
+msgid "Disable overwrite of wp-config.php..."
+msgstr ""
+
+#: include/update_xpress.php:40
+msgid "Copy new versions of XPressME Integration Kit files into place..."
+msgstr ""
+
+#: include/update_xpress.php:49
+msgid "Remove an unnecessary, old file..."
+msgstr ""
+
+#: include/update_xpress.php:56
+msgid "Set templates directory chmod 777"
+msgstr ""
+
+#: include/update_xpress.php:61
+#, php-format
+msgid "Remove working directory(%s)..."
+msgstr ""
+
+#: include/xpress_common_functions.php:8
+msgid "After Blog address (URL) is set, it is necessary to set the permalink again."
+msgstr ""
+
+#: include/xpress_common_functions.php:9
+msgid "Can not access WordPress address (URL)."
+msgstr ""
+
+#: include/xpress_common_functions.php:10
+msgid "WordPress Blog address (URL) is different from access URL."
+msgstr ""
+
+#: include/xpress_common_functions.php:212
+msgid "Themes"
+msgstr ""
+
+#: include/xpress_common_functions.php:227
+msgid "Switch to XOOPS mode"
+msgstr ""
+
+#: include/xpress_common_functions.php:231
+#: include/xpress_common_functions.php:234
+msgid "Switch to WordPress mode"
+msgstr ""
+
+#: include/xpress_common_functions.php:392
+#, php-format
+msgid "Block file %1$s is an old version %2$s.<br />used block file %3$s of new version %4$s."
+msgstr ""
+
+#: include/xpress_upgrade.php:19
+msgid "XPressME Upgrade"
+msgstr ""
+
+#: include/xpress_upgrade.php:32
+#, php-format
+msgid "You are using a XPressME Integration Kit development version (%s). Cool! Please stay updated."
+msgstr ""
+
+#: include/xpress_upgrade.php:36
+msgid "An updated version of XPressME Integration Kit is available."
+msgstr ""
+
+#: include/xpress_upgrade.php:41
+#: include/xpress_upgrade.php:89
+#, php-format
+msgid "Download differential file for %s"
+msgstr ""
+
+#: include/xpress_upgrade.php:45
+#, php-format
+msgid "You can update to XPressME Integration Kit Ver %s</a> automatically or download the package and install it manually:"
+msgstr ""
+
+#: include/xpress_upgrade.php:47
+#, php-format
+msgid "You can upgrade to version %s download the package and install it manually:"
+msgstr ""
+
+#: include/xpress_upgrade.php:49
+#: include/xpress_upgrade.php:80
+msgid "Update Automatically"
+msgstr ""
+
+#: include/xpress_upgrade.php:51
+#: include/xpress_upgrade.php:81
+#, php-format
+msgid "Download %s"
+msgstr ""
+
+#: include/xpress_upgrade.php:56
+#, php-format
+msgid "You have the latest version of XPressME Integration Kit Ver.%s."
+msgstr ""
+
+#: include/xpress_upgrade.php:59
+msgid "You have the latest version of XPressME Integration Kit. You do not need to upgrade"
+msgstr ""
+
+#: include/xpress_upgrade.php:60
+msgid "Re-install Automatically"
+msgstr ""
+
+#: include/xpress_upgrade.php:74
+#, php-format
+msgid "You can update to  XPressME Integration Kit development version %s automatically or download the package and install it manually:"
+msgstr ""
+
+#: include/xpress_upgrade.php:76
+#, php-format
+msgid "You can use the development version %s download the package and install it manually:"
+msgstr ""
+
+#: include/xpress_upgrade.php:128
+#, php-format
+msgid "There is no response from <a href=\"%s\">version check API</a> now. sorry, please confirm it after."
+msgstr ""
+
+#: include/xpress_upgrade.php:171
+msgid "Update XPressME Integration Kit"
+msgstr ""
+
+#: include/xpress_upgrade.php:188
+msgid "Installation Failed"
+msgstr ""
+
+#: include/xpress_upgrade.php:190
+msgid "XPressME Integration Kit files updated successfully"
+msgstr ""
+
+#: include/xpress_upgrade.php:191
+msgid "Please update the module. "
+msgstr ""
+
+#: include/xpress_upgrade.php:194
+msgid "Actions:"
+msgstr ""
+
+#: include/xpress_upgrade.php:194
+msgid "Go to Module Update"
+msgstr ""
+
+#: include/xpress_upgrade.php:369
+#, php-format
+msgid "XPressME Integration Kit Version %1$s is available! <a href=\"%2$s\">Please update now</a>."
+msgstr ""
+
+#: include/xpress_upgrade.php:371
+#, php-format
+msgid "XPressME Integration Kit Version %1$s is available! Please notify the site administrator."
+msgstr ""
+
+#~ msgid ""
+#~ "You do not have sufficient permissions to update XPressME Integration Kit "
+#~ "for this site."
+#~ msgstr ""
+
+#~ msgid ""
+#~ "You can download the differential file from version %s to %s and upgrade "
+#~ "it manually:"
+#~ msgstr ""
+#~ "バージョン%sから%sへの差分ファイルをダウンロードし、手動でアップグレードす"
+#~ "ることができます："
+
+#~ msgid "Title"
+#~ msgstr ""
+
+#~ msgid "URL"
+#~ msgstr ""
+
+#~ msgid "more"
+#~ msgstr ""
+
+#~ msgid "More Link Text (Is not displayed for the blank.)"
+#~ msgstr ""
+
+#~ msgid "Calendar"
+#~ msgstr ""
+
+#~ msgid "%1$s %2$s|Used as a calendar caption"
+#~ msgstr ""
+
+#~ msgid "View posts for %1$s %2$s"
+#~ msgstr ""
+
+#~ msgid "XPressME Configuration Page"
+#~ msgstr ""
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/language/xpressme-pt_BR.po
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/language/xpressme-pt_BR.po	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/language/xpressme-pt_BR.po	(revision 866)
@@ -0,0 +1,890 @@
+# Copyright (c) 2005-2008 XPressME
+# This file is distributed under the same license as the XPressME package.
+# toemon <info@toemon.com>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: XPressME Plugin\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2011-04-29 14:11+0900\n"
+"PO-Revision-Date: 2011-04-29 14:15+0900\n"
+"Last-Translator: toemon <info@toemon.com>\n"
+"Language-Team: Marcelo Yuji Himoro <yuji@yuji.ws>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Portuguese\n"
+"X-Poedit-Country: BRAZIL\n"
+"X-Poedit-KeywordsList: __;_e;_c\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Poedit-SourceCharset: utf-8\n"
+"X-Poedit-Basepath: D:\\XPressME_Project\\XPressME_SVN_Trunk\\xpressme_integration_kit\\wp-content\\plugins\\xpressme\n"
+"X-Poedit-SearchPath-0: .\n"
+
+#: xpressme.php:59
+msgid "Display Settings"
+msgstr "Configurações de exibição"
+
+#: xpressme.php:60
+msgid "Integration Settings"
+msgstr "Configurações de integração"
+
+#: xpressme.php:61
+msgid "Other Settings"
+msgstr "Outras configurações"
+
+#: xpressme.php:64
+msgid "Upgrade"
+msgstr "Atualizar"
+
+#: xpressme.php:65
+msgid "to Modules Admin"
+msgstr "Ir para a administração do Modules"
+
+#: xpressme.php:196
+msgid "XPressME Display Setting"
+msgstr "Configurações de exibição do XPressME"
+
+#: xpressme.php:202
+msgid "Thema Sidebar Display"
+msgstr "Exibir barra lateral no tema?"
+
+#: xpressme.php:203
+#: xpressme.php:296
+#: xpressme.php:302
+#: xpressme.php:307
+#: xpressme.php:313
+#: xpressme_class.php:470
+#: xpressme_class.php:488
+#: xpressme_class.php:675
+#: xpressme_class.php:686
+#: xpressme_class.php:710
+msgid "YES"
+msgstr "Sim"
+
+#: xpressme.php:204
+#: xpressme.php:297
+#: xpressme.php:303
+#: xpressme.php:308
+#: xpressme.php:314
+#: xpressme_class.php:471
+#: xpressme_class.php:489
+#: xpressme_class.php:676
+#: xpressme_class.php:687
+#: xpressme_class.php:711
+msgid "NO"
+msgstr "Não"
+
+#: xpressme.php:213
+#: xpressme.php:265
+#: xpressme.php:324
+msgid "Update Config"
+msgstr "Atualizar"
+
+#: xpressme.php:214
+#: xpressme.php:266
+#: xpressme.php:325
+msgid "Preset Config"
+msgstr "Padrão"
+
+#: xpressme.php:247
+msgid "XPressME Integration Setting"
+msgstr "Configurações de integração do XPressME"
+
+#: xpressme.php:251
+msgid "Media Upload Base Path"
+msgstr "Caminho base para uploads"
+
+#: xpressme.php:254
+msgid "Use XOOPS UPLOAD PATH"
+msgstr "Utilizar o diretório do XOOPS"
+
+#: xpressme.php:255
+msgid "USE WordPress BASE_PATH"
+msgstr "Utilizar o diretório do WordPress"
+
+#: xpressme.php:290
+msgid "XPressME Other Setting"
+msgstr "Outras configurações do XPressME"
+
+#: xpressme.php:295
+msgid "The change tracking of the post is preserved"
+msgstr "Ativar revisões dos posts?"
+
+#: xpressme.php:301
+msgid "Select Multi user mode"
+msgstr "Ativar modo multi-usuário?"
+
+#: xpressme.php:306
+msgid "Is the posts author views counted?"
+msgstr "Contar leituras do autor?"
+
+#: xpressme.php:312
+msgid "Is SQL debugging window displayed?"
+msgstr "Exibir janela de debug do SQL?"
+
+#: xpressme.php:317
+msgid "Select warning display of block file version check"
+msgstr "Exibição de advertência seleta de bloco cheque de versão de arquivo"
+
+#: xpressme.php:318
+msgid "Do display"
+msgstr "Exiba"
+
+#: xpressme.php:319
+msgid "Do not display"
+msgstr "Não exiba"
+
+#: xpressme_class.php:64
+#: xpressme_class.php:418
+msgid "Older Post"
+msgstr "Ir para o post anterior"
+
+#: xpressme_class.php:65
+#: xpressme_class.php:421
+msgid "Newer Post"
+msgstr "Ir para o post seguinte"
+
+#: xpressme_class.php:67
+#: xpressme_class.php:424
+msgid "Older Entries"
+msgstr "Ir para a página anterior"
+
+#: xpressme_class.php:68
+#: xpressme_class.php:427
+msgid "Newer Entries"
+msgstr "Ir para a página seguinte"
+
+#: xpressme_class.php:82
+#: xpressme_class.php:83
+#: xpressme_class.php:430
+msgid "Read the rest of this entry &raquo;"
+msgstr "Continuar lendo este post &raquo;"
+
+#: xpressme_class.php:530
+msgid "Single Post Navi Setting"
+msgstr "Post individual"
+
+#: xpressme_class.php:535
+#: xpressme_class.php:610
+msgid "Adjustment of Navi link display position"
+msgstr "Posicionamento de links"
+
+#: xpressme_class.php:538
+msgid "'Old Post Link' is displayed in the left, and 'Newer Post Link' is displayed in the right"
+msgstr "Exibir link para o post anterior à esquerda, e para o seguinte à direita"
+
+#: xpressme_class.php:539
+msgid "'Newer Post Link' is displayed in the left, and 'Old Post Link' is displayed in the right"
+msgstr "Exibir link para o post seguinte à esquerda, e para o anterior à direita"
+
+#: xpressme_class.php:545
+msgid "Select Display name of PostNavi Link"
+msgstr "Selecione o texto do link a ser exibido"
+
+#: xpressme_class.php:548
+msgid "Title of post"
+msgstr "Título do post"
+
+#: xpressme_class.php:549
+msgid "Title of Navi"
+msgstr "Personalizado"
+
+#: xpressme_class.php:555
+msgid "Display Navi Title of Old Post Link"
+msgstr "Texto do link para o post anterior"
+
+#: xpressme_class.php:562
+msgid "Display Navi Title of Newer Post Link"
+msgstr "Texto do link para o post seguinte"
+
+#: xpressme_class.php:569
+#: xpressme_class.php:634
+msgid "Left arrow image src"
+msgstr "Esquerda seta imagem SRC"
+
+#: xpressme_class.php:574
+#: xpressme_class.php:589
+#: xpressme_class.php:639
+#: xpressme_class.php:652
+msgid "Not Found"
+msgstr "não achado"
+
+#: xpressme_class.php:584
+#: xpressme_class.php:647
+msgid "Right arrow image src"
+msgstr "Direito seta imagem SRC"
+
+#: xpressme_class.php:605
+msgid "Posts List Page Navi Setting"
+msgstr "Lista de posts"
+
+#: xpressme_class.php:613
+msgid "'Old Page Link' is displayed in the left, and 'Newer Page Link' is displayed in the right"
+msgstr "Exibir link para o página anterior à esquerda, e para o seguinte à direita"
+
+#: xpressme_class.php:614
+msgid "'Newer Page Link' is displayed in the left, and 'Old Page Link' is displayed in the right"
+msgstr "Exibir link para o página seguinte à esquerda, e para o anterior à direita"
+
+#: xpressme_class.php:620
+msgid "Display Navi Title of Old Page Link"
+msgstr "Texto do link para o página anterior"
+
+#: xpressme_class.php:627
+msgid "Display Navi Title of Newer Page Link"
+msgstr "Texto do link para o página seguinte anterior"
+
+#: xpressme_class.php:666
+msgid "Dashboard feed Display Setting"
+msgstr "Painel feed Exibição Colocação"
+
+#: xpressme_class.php:672
+msgid "Display XPressMe Integration Kit Blog"
+msgstr "Exibição XPressME Integration Kit Blog"
+
+#: xpressme_class.php:683
+msgid "Display XPressMe Integration Kit Forum"
+msgstr "Exibição XPressME Integration Kit Folum"
+
+#: xpressme_class.php:701
+msgid "Role Setting at Login"
+msgstr "Permissões"
+
+#: xpressme_class.php:707
+msgid "XOOPS administrators role is set as all blog administrators."
+msgstr "XOOPS administradores papel é fixo como todos os administradores de blog."
+
+#: xpressme_class.php:716
+msgid "XOOPS Groupe"
+msgstr "Grupo do XOOPS"
+
+#: xpressme_class.php:716
+msgid "WordPress Role"
+msgstr "Permissão do WordPress"
+
+#: xpressme_class.php:716
+msgid "Role is set at each login"
+msgstr "Atualizar permissões ao fazer login"
+
+#: xpressme_class.php:721
+msgid "module cannot be read"
+msgstr "módulo não pode ser lido"
+
+#: xpressme_class.php:762
+#: xpressme_class.php:766
+#: xpressme_class.php:769
+msgid "Default Role of WordPress"
+msgstr "Permissão padrão do WordPress"
+
+#: xpressme_class.php:763
+#: xpressme_class.php:767
+#: xpressme_class.php:770
+msgid "Group User Doesn't Register"
+msgstr "Não cadastrar usuários"
+
+#: xpressme_class.php:783
+msgid "Only the Admin can set Group Role Setting"
+msgstr "Only the Admin can set Group Role Setting"
+
+#: xpressme_class.php:805
+msgid "WordPress MultiBlog cannot integrate the comments."
+msgstr "Não é possível integrar comentários no WordPress MultiBlog."
+
+#: xpressme_class.php:807
+msgid "Do Not Comment Integration."
+msgstr "Não integrar comentários"
+
+#: xpressme_class.php:842
+msgid "Create New Forum"
+msgstr "Crie Foro Novo"
+
+#: xpressme_class.php:854
+msgid "Comment integration with D3Forum"
+msgstr "Integração de comentários com o D3Forum"
+
+#: xpressme_class.php:856
+msgid "Select the forum of D3Forum that does the comment integration from the following lists."
+msgstr "Selecione o fórum do D3Forum com o qual os comentários serão integrados:"
+
+#: xpressme_class.php:861
+msgid "Select the Type of display of D3Forum comment."
+msgstr "Selecione o tipo de exibição dos comentários do D3Forum:"
+
+#: xpressme_class.php:863
+#: xpressme_class.php:866
+msgid "Flat"
+msgstr "Plano"
+
+#: xpressme_class.php:864
+#: xpressme_class.php:867
+msgid "Threaded"
+msgstr "Aninhado"
+
+#: xpressme_class.php:870
+msgid "Select the order of display of D3Forum comment."
+msgstr "Selecione a ordem de exibição dos comentários do D3Forum:"
+
+#: xpressme_class.php:872
+#: xpressme_class.php:875
+msgid "DESC"
+msgstr "Crescente"
+
+#: xpressme_class.php:873
+#: xpressme_class.php:876
+msgid "ASC"
+msgstr "Decrescente"
+
+#: xpressme_class.php:879
+msgid "Number of displays of D3Forum comments."
+msgstr "Número de comentários do D3Fórum a serem exibidos:"
+
+#: xpressme_class.php:882
+msgid "The import and the export between Wordpress Comments and the D3Forum Posts can be done. "
+msgstr "Importar/exportar comentários entre o WordPress e o D3Forum"
+
+#: xpressme_class.php:883
+msgid "Export to D3Forum"
+msgstr "Exportar para o D3Forum"
+
+#: xpressme_class.php:884
+msgid "Import from D3Forum"
+msgstr "Importar para o D3Forum"
+
+#: xpressme_class.php:897
+msgid "Contents Excerpt Setting"
+msgstr "Excerto"
+
+#: xpressme_class.php:902
+msgid "Is the excerpt display done with the archive of contents?"
+msgstr "Exibir excertos nos arquivos?"
+
+#: xpressme_class.php:909
+msgid "When ASCII character more than the set ratio is included, it is judged ASCII contents. "
+msgstr "Quando um excerto contiver mais caracteres ASCII do que o valor definido, ele será tratado como ASCII."
+
+#: xpressme_class.php:916
+msgid "Excerpt length of word for ASCII contents"
+msgstr "N° de caracteres para excerto de conteúdo ASCII"
+
+#: xpressme_class.php:923
+msgid "Excerpt length of character for multibyte contents"
+msgstr "N° de caracteres para excerto de conteúdo multi-byte"
+
+#: xpressme_class.php:930
+msgid "This text is displayed in the link that reads contents not excerpted.(Is not displayed for the blank.)"
+msgstr "Texto do link para o texto completo do post (deixe em branco para não exibir)"
+
+#: xpressme_class.php:937
+msgid "This text is displayed in the link that more tag (&lt;!--more--&gt;). "
+msgstr "Texto do link para posts com a tag &lt;!--more--&gt;:"
+
+#: xpressme_class.php:949
+msgid "Display Mode Setting"
+msgstr "Modo de exibição"
+
+#: xpressme_class.php:952
+msgid "Select the XPressME Display Mode."
+msgstr "Selecione o modo de exibição do XPressME"
+
+#: xpressme_class.php:957
+msgid "Xoops Mode"
+msgstr "XOOPS"
+
+#: xpressme_class.php:961
+msgid "WordPress Mode"
+msgstr "WordPress"
+
+#: xpressme_class.php:965
+msgid "User select"
+msgstr "Selecionar usuário"
+
+#: xpressme_class.php:970
+msgid "Select the theme used in the XOOPS Mode."
+msgstr "Selecione o tema usado no Modo de XOOPS."
+
+#: xpressme_class.php:975
+msgid "Use WordPress Selected Themes"
+msgstr "Uso WordPress Selected Temas"
+
+#: xpressme_class.php:993
+msgid "Header Meta Option"
+msgstr "Meta Header"
+
+#: xpressme_class.php:998
+msgid "Select the Header keyword."
+msgstr "Selecione as palavras-chave a serem utilizadas:"
+
+#: xpressme_class.php:1003
+msgid "Xoops KeyWord"
+msgstr "XOOPS"
+
+#: xpressme_class.php:1006
+msgid "WordPress KeyWord"
+msgstr "WordPress"
+
+#: xpressme_class.php:1009
+msgid "WordPress & Xoops KeyWord"
+msgstr "WordPress e XOOPS"
+
+#: xpressme_class.php:1015
+msgid "Select the Header Description."
+msgstr "Selecione a descrição a ser utilizada:"
+
+#: xpressme_class.php:1020
+msgid "Xoops Description"
+msgstr "XOOPS"
+
+#: xpressme_class.php:1023
+msgid "WordPress Description"
+msgstr "WordPress"
+
+#: xpressme_class.php:1026
+msgid "WordPress & Xoops Description"
+msgstr "WordPress e XOOPS"
+
+#: xpressme_class.php:1032
+msgid "Select the Header Robots Index."
+msgstr "Selecione o robô de indexação a ser utilizado no cabeçalho:"
+
+#: xpressme_class.php:1037
+msgid "Xoops Robots Index"
+msgstr "XOOPS"
+
+#: xpressme_class.php:1040
+msgid "WordPress Robots Index"
+msgstr "WordPress"
+
+#: xpressme_class.php:1086
+#, php-format
+msgid "Unable to create directory %s. Is its parent directory writable by the server?"
+msgstr "Não foi possível criar o diretório %s. Verifique as permissões de escrita do servidor."
+
+#: xpressme_widget_class.php:13
+msgid "XPressME User Menu Widget"
+msgstr "XPressME User Menu Widget"
+
+#: xpressme_widget_class.php:15
+msgid "XPressME MENU"
+msgstr "XPressME MENU"
+
+#: xpressme_widget_class.php:139
+#: xpressme_widget_class.php:191
+#: xpressme_widget_class.php:196
+#: xpressme_widget_class.php:201
+msgid "Link"
+msgstr "Ligação"
+
+#: xpressme_widget_class.php:140
+#: xpressme_widget_class.php:156
+msgid "Site Home"
+msgstr "Site Home"
+
+#: xpressme_widget_class.php:141
+#: xpressme_widget_class.php:161
+msgid "Add New"
+msgstr "Some Novo"
+
+#: xpressme_widget_class.php:142
+#: xpressme_widget_class.php:166
+msgid "User Profile"
+msgstr "Perfil de usuário"
+
+#: xpressme_widget_class.php:143
+#: xpressme_widget_class.php:172
+msgid "WordPress Admin"
+msgstr "WordPress Admin"
+
+#: xpressme_widget_class.php:144
+#: xpressme_widget_class.php:177
+msgid "Module Admin"
+msgstr "Module Admin"
+
+#: xpressme_widget_class.php:145
+#: xpressme_widget_class.php:182
+msgid "XPressME Setting"
+msgstr "Colocação de XPressME"
+
+#: xpressme_widget_class.php:146
+msgid "Display Mode Select"
+msgstr "Exiba Modo Selecione"
+
+#: xpressme_widget_class.php:148
+#: xpressme_widget_class.php:167
+msgid "Auto Setting"
+msgstr "Colocação de auto"
+
+#: xpressme_widget_class.php:153
+msgid "User Menu"
+msgstr "User Menu"
+
+#: xpressme_widget_class.php:241
+msgid "Title:"
+msgstr "Title:"
+
+#: include/class-xpress-upgrader.php:7
+msgid "XPressME Integration Kit is at the latest version."
+msgstr "XPressME Integration Kit está à mais recente versão."
+
+#: include/class-xpress-upgrader.php:8
+msgid "Upgrade package not available."
+msgstr "Não atualize pacote disponível."
+
+#: include/class-xpress-upgrader.php:9
+#, php-format
+msgid "Downloading update from <span class=\"code\">%s</span>&#8230;"
+msgstr "Atualização carregando de <span class=\"code\">%s</span>&#8230;"
+
+#: include/class-xpress-upgrader.php:10
+msgid "Unpacking the update&#8230;"
+msgstr "Desempacotando a atualização&#8230;"
+
+#: include/class-xpress-upgrader.php:11
+msgid "Could not copy files."
+msgstr "Não pôde copiar arquivos."
+
+#: include/class-xpress-upgrader.php:12
+msgid "Delete source wp-config.php."
+msgstr "Apague fonte wp-config.php."
+
+#: include/class-xpress-upgrader.php:13
+msgid "Could not delete files."
+msgstr "Não pôde apagar arquivos."
+
+#: include/class-xpress-upgrader.php:14
+msgid "The structure of the package is wrong. "
+msgstr "A estrutura do pacote está errada. "
+
+#: include/custom_functions.php:113
+#, php-format
+msgid "Permanent Link to %s"
+msgstr "Link permanente para %s"
+
+#: include/custom_functions.php:498
+#: include/custom_functions.php:531
+#, php-format
+msgid "views :%d"
+msgstr "Leituras: %d"
+
+#: include/custom_functions.php:699
+msgid "Main"
+msgstr "Principal"
+
+#: include/custom_functions.php:702
+#, php-format
+msgid "Archive for the &#8216;%s&#8217; Category"
+msgstr "Arquivo da categoria &#8216;%s&#8217;"
+
+#: include/custom_functions.php:705
+#, php-format
+msgid "Posts Tagged &#8216;%s&#8217;"
+msgstr "Posts com a tag &#8216;%s&#8217; "
+
+#: include/custom_functions.php:708
+#, php-format
+msgid "Archive for %s|Daily archive page"
+msgstr "Arquivo de %s|Arquivo por dia"
+
+#: include/custom_functions.php:708
+msgid "F jS, Y"
+msgstr "j \\d\\e F \\d\\e Y"
+
+#: include/custom_functions.php:710
+#, php-format
+msgid "Archive for %s|Monthly archive page"
+msgstr "Arquivo de %s|Arquivo por mês"
+
+#: include/custom_functions.php:710
+msgid "F, Y"
+msgstr "F \\d\\e Y"
+
+#: include/custom_functions.php:712
+#, php-format
+msgid "Archive for %s|Yearly archive page"
+msgstr "Arquivo de %s|Arquivo por ano"
+
+#: include/custom_functions.php:712
+msgid "Y"
+msgstr "Y"
+
+#: include/custom_functions.php:715
+#, php-format
+msgid "Archive for the &#8216;%s&#8217; Author"
+msgstr "Arquivo do autor &#8216;%s&#8217;"
+
+#: include/custom_functions.php:718
+#, php-format
+msgid "Search Results of word &#8216;%s&#8217;"
+msgstr "Resultados da pesquisa por &#8216;%s&#8217;"
+
+#: include/custom_functions.php:724
+#: include/custom_functions.php:726
+#, php-format
+msgid "Article of %s"
+msgstr "Posts de %s"
+
+#: include/custom_functions.php:748
+#, php-format
+msgid "From %1$s on site %2$s"
+msgstr "De %2$s em %1$s"
+
+#: include/custom_functions.php:769
+msgid "No Trackback/Pingback"
+msgstr "Nenhum trackback/pingback"
+
+#: include/custom_functions.php:770
+msgid "One Trackback/Pingback"
+msgstr "1 trackback/pingback"
+
+#: include/custom_functions.php:771
+msgid "% TrackBack/Pingback"
+msgstr "% trackbacks/pingbacks"
+
+#: include/custom_functions.php:949
+msgid "Tags:"
+msgstr "Tags:"
+
+#: include/custom_functions.php:992
+msgid "Comments (0)"
+msgstr "Comentários (0)"
+
+#: include/custom_functions.php:992
+msgid "Comments (1)"
+msgstr "Comentários (1)"
+
+#: include/custom_functions.php:992
+msgid "Comments (%)"
+msgstr "Comentários (%)"
+
+#: include/custom_functions.php:996
+#, fuzzy, php-format
+msgid "Views :%d"
+msgstr "Leituras: %d"
+
+#: include/custom_functions.php:1074
+msgid "Create New Blog"
+msgstr "Crie Blog Novo"
+
+#: include/custom_functions.php:1100
+msgid "Your Primary Blog"
+msgstr "Seu Blog Primário"
+
+#: include/dashboard_feed.php:19
+msgid "XPressME Integration Kit Blog"
+msgstr "XPressME Integration Kit Blog"
+
+#: include/dashboard_feed.php:32
+msgid "XPressME Integration Kit Folum"
+msgstr "XPressME Integration Kit Folum"
+
+#: include/dashboard_feed.php:92
+msgid "Unknown Feed"
+msgstr "Feed desconhecido"
+
+#: include/functions_for_wp_old.php:21
+msgid "<strong>ERROR</strong>: The password field is empty."
+msgstr "<strong>ERRO</strong>: campo de senha não preenchido."
+
+#: include/functions_for_wp_old.php:29
+msgid "<strong>ERROR</strong>: Invalid username."
+msgstr "<strong>ERRO</strong>: nome de usuário inválido."
+
+#: include/functions_for_wp_old.php:37
+msgid "<strong>ERROR</strong>: Incorrect password."
+msgstr "<strong>ERRO</strong>: senha inválida."
+
+#: include/pluggable-override.php:265
+#, php-format
+msgid "If the page does not automatically reload, please click <a href='%s'>here</a>"
+msgstr "Se a página não atualizar automaticamente, clique <a href='%s'>aqui</a>."
+
+#: include/update_xpress.php:32
+msgid "Disable overwrite of wp-config.php..."
+msgstr "Incapacite escreva elaboradamente de wp-config.php..."
+
+#: include/update_xpress.php:40
+msgid "Copy new versions of XPressME Integration Kit files into place..."
+msgstr "Cópia versões novas de XPressME Integração Equipamento arquivos em lugar..."
+
+#: include/update_xpress.php:49
+msgid "Remove an unnecessary, old file..."
+msgstr "Remova um arquivo desnecessário, velho..."
+
+#: include/update_xpress.php:56
+msgid "Set templates directory chmod 777"
+msgstr "Diretório de modelos fixo chmod 777"
+
+#: include/update_xpress.php:61
+#, php-format
+msgid "Remove working directory(%s)..."
+msgstr "Remova diretório de funcionamento(%s)..."
+
+#: include/xpress_common_functions.php:8
+msgid "After Blog address (URL) is set, it is necessary to set the permalink again."
+msgstr "Depois que endereço de Blog (URL) for fixo, é necessário fixar o permalink novamente."
+
+#: include/xpress_common_functions.php:9
+msgid "Can not access WordPress address (URL)."
+msgstr "Não pode acessar endereço de WordPress (URL)."
+
+#: include/xpress_common_functions.php:10
+msgid "WordPress Blog address (URL) is different from access URL."
+msgstr "WordPress Blog endereço (URL) é diferente de URL de acesso."
+
+#: include/xpress_common_functions.php:212
+msgid "Themes"
+msgstr "Temas"
+
+#: include/xpress_common_functions.php:227
+msgid "Switch to XOOPS mode"
+msgstr "Mudar para o XOOPS"
+
+#: include/xpress_common_functions.php:231
+#: include/xpress_common_functions.php:234
+msgid "Switch to WordPress mode"
+msgstr "Mudar para o WordPress"
+
+#: include/xpress_common_functions.php:392
+#, php-format
+msgid "Block file %1$s is an old version %2$s.<br />used block file %3$s of new version %4$s."
+msgstr "Bloco arquivo %1$s são uma versão velha %2$s.<br />bloco usado arquivo %3$s de versão nova %4$s."
+
+#: include/xpress_upgrade.php:19
+msgid "XPressME Upgrade"
+msgstr "XPressME Atualizar"
+
+#: include/xpress_upgrade.php:32
+#, php-format
+msgid "You are using a XPressME Integration Kit development version (%s). Cool! Please stay updated."
+msgstr "O senhor está usando uma  XPressME Integration Kit desenvolvimento versão (%s). Esfrie! Por favor fique atualizado."
+
+#: include/xpress_upgrade.php:36
+msgid "An updated version of XPressME Integration Kit is available."
+msgstr "Uma versão atualizada de XPressME Integration Kit está disponível."
+
+#: include/xpress_upgrade.php:41
+#: include/xpress_upgrade.php:89
+#, php-format
+msgid "Download differential file for %s"
+msgstr "Download differential file for %s"
+
+#: include/xpress_upgrade.php:45
+#, php-format
+msgid "You can update to XPressME Integration Kit Ver %s</a> automatically or download the package and install it manually:"
+msgstr "O senhor pode atualizar a XPressME Integration Kit Ver %s O senhor pode atualizar a "
+
+#: include/xpress_upgrade.php:47
+#, php-format
+msgid "You can upgrade to version %s download the package and install it manually:"
+msgstr "Você pode atualizar para a versão %s  fazer o download e instalar manualmente:"
+
+#: include/xpress_upgrade.php:49
+#: include/xpress_upgrade.php:80
+msgid "Update Automatically"
+msgstr "Atualize Automaticamente"
+
+#: include/xpress_upgrade.php:51
+#: include/xpress_upgrade.php:81
+#, php-format
+msgid "Download %s"
+msgstr "Download %s"
+
+#: include/xpress_upgrade.php:56
+#, php-format
+msgid "You have the latest version of XPressME Integration Kit Ver.%s."
+msgstr "O senhor tem a mais recente versão de XPressME Integration Kit Ver.%s."
+
+#: include/xpress_upgrade.php:59
+msgid "You have the latest version of XPressME Integration Kit. You do not need to upgrade"
+msgstr "Sua versão do XPressME Integration Kit é a mais recente. Não é necessário atualizá-la."
+
+#: include/xpress_upgrade.php:60
+msgid "Re-install Automatically"
+msgstr "Re-instale Automaticamente"
+
+#: include/xpress_upgrade.php:74
+#, php-format
+msgid "You can update to  XPressME Integration Kit development version %s automatically or download the package and install it manually:"
+msgstr "O senhor pode atualizar a XPressME Integration Kit development versão %s automaticamente ou carrega o pacote e isto instala manualmente:"
+
+#: include/xpress_upgrade.php:76
+#, php-format
+msgid "You can use the development version %s download the package and install it manually:"
+msgstr "O senhor pode usar a versão de desenvolvimento %s carregam o pacote e isto instalam manualmente:"
+
+#: include/xpress_upgrade.php:128
+#, php-format
+msgid "There is no response from <a href=\"%s\">version check API</a> now. sorry, please confirm it after."
+msgstr "Não há nenhuma resposta de <a href=\"%s\">cheque de versão API</a> agora. arrependido, por favor confirme depois de."
+
+#: include/xpress_upgrade.php:171
+msgid "Update XPressME Integration Kit"
+msgstr "Atualize XPressME Integration Kit"
+
+#: include/xpress_upgrade.php:188
+msgid "Installation Failed"
+msgstr "Instalação Falhou"
+
+#: include/xpress_upgrade.php:190
+msgid "XPressME Integration Kit files updated successfully"
+msgstr "XPressME Integration Kit arquivos atualizaram prosperamente"
+
+#: include/xpress_upgrade.php:191
+msgid "Please update the module. "
+msgstr "Por favor atualize o módulo. "
+
+#: include/xpress_upgrade.php:194
+msgid "Actions:"
+msgstr "Ações:"
+
+#: include/xpress_upgrade.php:194
+msgid "Go to Module Update"
+msgstr "Vá para Atualização de Módulo"
+
+#: include/xpress_upgrade.php:369
+#, php-format
+msgid "XPressME Integration Kit Version %1$s is available! <a href=\"%2$s\">Please update now</a>."
+msgstr "O XPressME Integration Kit %1$s está disponível! <a href=\"%2$s\">Por favor, atualize agora</a>."
+
+#: include/xpress_upgrade.php:371
+#, php-format
+msgid "XPressME Integration Kit Version %1$s is available! Please notify the site administrator."
+msgstr "O XPressME Integration Kit Versão %1$s está disponível! Por favor, avise o administrador do site."
+
+#~ msgid ""
+#~ "You do not have sufficient permissions to update XPressME Integration Kit "
+#~ "for this site."
+#~ msgstr ""
+#~ "O senhor não tem permissões suficientes para atualizar XPressME "
+#~ "Integration Kit ara este local."
+
+#~ msgid ""
+#~ "You can download the differential file from version %s to %s and upgrade "
+#~ "it manually:"
+#~ msgstr ""
+#~ "You can download the differential file from version %s to %s and upgrade "
+#~ "it manually:"
+
+#~ msgid "Title"
+#~ msgstr "Title"
+
+#~ msgid "URL"
+#~ msgstr "URL"
+
+#~ msgid "more"
+#~ msgstr "続きを読む"
+
+#~ msgid "More Link Text (Is not displayed for the blank.)"
+#~ msgstr "Moreリンクテキスト（ブランクの場合リンクを表示しません。）"
+
+#~ msgid "Calendar"
+#~ msgstr "カレンダー"
+
+#~ msgid "%1$s %2$s|Used as a calendar caption"
+#~ msgstr "%2$s 年 %1$s|カレンダーのキャプションに使われます"
+
+#~ msgid "View posts for %1$s %2$s"
+#~ msgstr "%2$s年%1$sの投稿を表示"
+
+#~ msgid "XPressME Configuration Page"
+#~ msgstr "XPressMEの設定ページ"
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme.php	(revision 866)
@@ -0,0 +1,355 @@
+<?php
+/*
+Plugin Name: Plugin for XPressME
+Plugin URI: http://ja.xpressme.info
+Description: Plugin for XPressME (custom function,filter,action)
+Author: toemon
+Version: 1.0
+Author URI: http://ja.xpressme.info
+*/
+require_once('xpressme_class.php');
+
+require_once dirname( __FILE__ ).'/include/custom_functions.php' ;		// XPressME functions for themes
+require_once dirname( __FILE__ ).'/include/xpress_common_functions.php' ;
+
+$xoops_db = new wpdb(DB_USER, DB_PASSWORD, DB_NAME, DB_HOST);
+$xoops_db->prefix = get_xoops_prefix();
+$xoops_db->tables = array('modules', 'newblocks', 'users');
+
+$xpress_config = new XPressME_Class();
+
+require_once dirname( __FILE__ ).'/include/pluggable-override.php' ;
+require_once dirname( __FILE__ ).'/include/functions_for_wp_old.php' ;
+
+if (!is_wordpress_style() 
+	&& ( !empty($xpress_config->theme_select) || $xpress_config->theme_select != 'use_wordpress_select')
+	&& !is_buddypress_active() 
+){
+	add_filter('stylesheet', 'xpress_Stylesheet');
+	add_filter('template', 'xpress_ThemeTemplate');
+}
+function xpress_Stylesheet($stylesheet) {
+	global $xpress_config;
+	$theme = $xpress_config->theme_select;
+    $theme = get_theme($theme);
+
+    if (empty($theme)) {
+        return $stylesheet;
+    }
+    return $theme['Stylesheet'];
+}
+
+function xpress_ThemeTemplate($template) {
+	global $xpress_config;
+	$theme = $xpress_config->theme_select;
+    $theme = get_theme($theme);
+
+    if (empty($theme)) {
+        return $template;
+    }
+    return $theme['Template'];
+}
+
+function my_plugin_menu()
+{
+	global $xpress_config,$xoops_config;
+	
+	$plugin_url = WP_PLUGIN_URL."/xpressme/";
+
+	// Add a new top-level menu:
+	add_menu_page('XPressME','XPressME', 8, __FILE__, 'display_option_page' , $plugin_url.'/images/menu_icon.png');
+	// Add submenus to the custom top-level menu:
+	add_submenu_page(__FILE__, __('Display Settings', 'xpressme'), __('Display Settings', 'xpressme'), 8, __FILE__, 'display_option_page');
+	add_submenu_page(__FILE__, __('Integration Settings', 'xpressme'), __('Integration Settings', 'xpressme'), 8, 'integration_option_page', 'integration_option_page');
+	add_submenu_page(__FILE__, __('Other Settings', 'xpressme'), __('Other Settings', 'xpressme'), 8, 'other_option_page', 'other_option_page');
+//	if (function_exists('wp_remote_get'))
+	if(!xpress_is_multiblog() || xpress_is_multiblog_root()){
+		add_submenu_page(__FILE__, __('Upgrade', 'xpressme'), __('Upgrade', 'xpressme'), 8, 'upgrade_page', 'upgrade_page');
+		add_submenu_page(__FILE__, __('to Modules Admin', 'xpressme'), __('to Modules Admin', 'xpressme'), 8,  'redirect_xoops_admin', 'redirect_xoops_admin');
+	}
+}
+
+function  blog_charset_check()
+{
+	$lang= WPLANG;
+	$blog_charset = get_option('blog_charset');
+	switch ($lang) {
+		case 'ja_EUC':
+			if ($blog_charset !=='EUC-JP') update_option('blog_charset', 'EUC-JP' );
+			break;
+		case 'ja_UTF':
+		case 'ja':
+			if ($blog_charset !=='UTF-8') update_option('blog_charset', 'UTF-8' );
+			break;
+		default:
+ 	}
+}
+
+// enable multibyte username
+if( ! function_exists( 'sanitize_user_multibyte_at_update' ) ){
+	function sanitize_user_multibyte_at_update($username, $raw_username, $strict){
+		if (isset($_POST['action']) && $_POST['action'] == 'update'){
+			if ($raw_username !== "" && $username !== $raw_username){
+				return $raw_username;
+			} 
+		}
+		return $username;
+	}
+}
+add_filter('sanitize_user', "sanitize_user_multibyte_at_update" ,10,3);
+
+add_action('admin_menu', 'my_plugin_menu');
+
+add_filter("upload_dir",array(&$xpress_config, 'xpress_upload_filter'),	1);		// Change wp-include/wp_upload_dir()
+if (!$xpress_config->is_save_post_revision){
+	remove_action( 'pre_post_update', 'wp_save_post_revision' );			// Not Save Post Revision
+}
+add_action("wp_meta" , "wp_meta_add_xpress_menu");			// add xpress menu  in wp_meta
+
+//XOOPS Bloack Cache Refresh
+add_action("comment_post",	"block_cache_refresh");
+add_action("edit_comment",	"block_cache_refresh");
+add_action("wp_set_comment_status","block_cache_refresh"); //wp_delete_comment() at deleted
+add_action("deleted_post",	"block_cache_refresh");
+add_action("publish_post",	"block_cache_refresh");
+add_action("edit_post",		"block_cache_refresh");
+add_action("private_to_published",	"block_cache_refresh");
+add_action("transition_post_status", "block_cache_refresh");
+
+add_action("the_content",	"set_post_views_count");
+
+// blog charset check
+add_action("init",	"blog_charset_check");
+
+
+//XOOPS notifiction
+require_once dirname( __FILE__ ).'/include/notify_functions.php' ;
+add_action("transition_post_status",	"onaction_publish_post_notify" ,10 , 3);
+//	add_action("edit_post",	"onaction_edit_post_notify");
+add_action("comment_post",	"onaction_comment_notify");
+//	add_action("approve_comment" , "onaction_comment_apobe_notify");
+add_action("wp_set_comment_status" , "onaction_comment_apobe_notify");
+
+// user data sync  user_sync_to_xoops($user_id)
+require_once dirname( __FILE__ ).'/include/user_sync_xoops.php' ;
+add_action('profile_update', 'user_sync_to_xoops');
+add_action('user_register', 'user_sync_to_xoops');
+add_action('delete_blog', 'blog_group_role_delete',10,2);	//at multi blog delete
+add_action('wpmu_new_blog', 'blog_group_role_add',10,2);	//at multi blog delete
+
+//require_once('../include/custom_functions.php');
+
+//D3Forum Comment Integration
+if ($xpress_config->is_use_d3forum){
+	require_once dirname( __FILE__ ).'/include/d3forum_comment_synchro.php' ;
+	add_action("comment_post",	"onaction_comment_post");
+	add_action("edit_comment",	"onaction_edit_comment");
+	add_action("delete_comment","onaction_delete_comment");
+	add_action("delete_post",	"onaction_delete_post");
+	add_action("wp_set_comment_status" , "onaction_comment_apobe");
+	add_action("publish_post",	"onaction_comment_close");
+	
+	// comment trashed untrashed action
+	add_action("trashed_post_comments",	"onaction_trashed_post_comments");
+	add_action("untrashed_post_comments",	"onaction_untrashed_post_comments");
+	add_action("trashed_comment",	"onaction_trashed_comment");
+	add_action("untrashed_comment",	"onaction_untrashed_comment");
+
+	add_filter('comments_template', "disp_d3forum_comments" );
+}
+
+//The trackback and the pingback are excluded from the count of the comment. 
+add_filter('get_comments_number', 'xpress_comment_count', 0);
+
+// Query filter for  MultiUser
+add_filter('query','xpress_query_filter');
+//add_action("init", "xpress_set_author_cookie");
+if(xpress_is_wp_version('<','2.1')){
+	// It is called before parse_request() makes $GET. 
+	add_action("query_vars", "xpress_set_author_cookie");
+} else {
+	// It is called at the end of parse_request(). 
+	add_filter('request', 'xpress_set_author_cookie');
+}
+
+// SQL debug windows
+add_filter('query', array(&$xpress_config, 'xpress_sql_debug'));
+add_action('admin_footer', array(&$xpress_config, 'displayDebugLog'));
+add_action('wp_footer', array(&$xpress_config, 'displayDebugLog'));
+
+// Multi Blog default Themes
+function my_new_blog_template($blog_id) {
+	$default_theme = 'xpress_default';
+	update_blog_option($blog_id, 'template',$default_theme);
+	update_blog_option($blog_id, 'stylesheet', $default_theme);
+}
+add_action('wpmu_new_blog','my_new_blog_template',0,1);
+
+function redirect_xoops_admin()
+{
+	global $xoops_config,$xpress_config;
+	$xoops_admin_url = $xoops_config->module_url . '/admin/index.php';
+	wp_redirect($xoops_admin_url);
+}
+
+function display_option_page()
+{
+	global $xoops_config,$xpress_config;
+	
+		$xoops_admin_url = $xoops_config->module_url . '/admin/index.php';
+
+		$do_message ='';
+		if (!empty($_POST['submit_update'])) {
+			$xpress_config->ReadPostData($_POST);
+			$xpress_config->SettingValueWrite('update');
+		} else if (isset($_POST['submit_reset'])) {
+			$xpress_config->setDefault();
+			$xpress_config->SettingValueWrite('update');
+		}
+		
+		echo	'<div class="wrap">'."\n";
+		echo		'<div id="icon-options-general" class="icon32"><br /></div>'."\n";
+		echo		'<h2>' . __('XPressME Display Setting', 'xpressme') . "</h2><br>\n";
+//		echo 		'<div align="right"><a href="' . $xoops_admin_url . '"><h3>'. __('to XOOPS Modules Admin Page', 'xpressme') . '</h3></a></div>';
+		echo		'<form method="post" action="' . $_SERVER["REQUEST_URI"] . '">'."\n" ;
+		echo			'<table class="form-table">'."\n";
+		echo				$xpress_config->viewer_type_option();
+		echo				$xpress_config->yes_no_radio_option('is_theme_sidebar_disp',
+												__('Thema Sidebar Display','xpressme'),
+												__('YES','xpressme'),
+												__('NO','xpressme')
+												);
+		echo 				$xpress_config->single_post_navi_option();
+		echo 				$xpress_config->posts_page_navi_option();
+		echo 				$xpress_config->excerpt_option();
+		echo 				$xpress_config->dashboard_display_option();
+		echo			"</table>\n";
+		
+		echo		'<p class="submit">'."\n";
+		echo		'<input type="submit" value= "' . __('Update Config', 'xpressme') . '" name="submit_update" />' ."\n";
+		echo		'<input type="submit" value= "' . __('Preset Config', 'xpressme') . '" name="submit_reset" />' ."\n";
+		echo		"</p>\n";
+
+		echo		"</form>\n" ;
+		echo	"</div>\n";
+}
+
+function integration_option_page()
+{
+	global $xoops_config,$xpress_config,$blog_id;
+	
+		$xoops_admin_url = $xoops_config->module_url . '/admin/index.php';
+
+		$do_message ='';
+		if (!empty($_POST['submit_update'])) {
+			$xpress_config->ReadPostData($_POST);
+			$xpress_config->SettingValueWrite('update');
+		} else if (isset($_POST['submit_reset'])) {
+			$xpress_config->setDefault();
+			$xpress_config->SettingValueWrite('update');
+		} else if (isset($_POST['export_d3f'])) {
+			$do_message  = 'export(' . $xpress_config->d3forum_module_dir . '--ID=' . $xpress_config->d3forum_forum_id . ')................';
+			$do_message .= wp_to_d3forum($xpress_config->d3forum_forum_id, $xpress_config->d3forum_module_dir);
+			$do_message .= '....END';
+		} else if (isset($_POST['inport_d3f'])) {
+			$do_message  = 'Import(' . $xpress_config->d3forum_module_dir . '--ID=' . $xpress_config->d3forum_forum_id . ')................';
+			$do_message .= d3forum_to_wp($xpress_config->d3forum_forum_id, $xpress_config->d3forum_module_dir);
+			$do_message .= '....END';
+		} 		
+		
+		$xpress_config->GroupeRoleCheck($blog_id);
+		echo	'<div class="wrap">'."\n";
+		echo		'<div id="icon-options-general" class="icon32"><br /></div>'."\n";
+		echo		'<h2>' . __('XPressME Integration Setting', 'xpressme') . "</h2><br>\n";
+//		echo 		'<div align="right"><a href="' . $xoops_admin_url . '"><h3>'. __('to XOOPS Modules Admin Page', 'xpressme') . '</h3></a></div>';
+		echo		'<form method="post" action="' . $_SERVER["REQUEST_URI"] . '">'."\n" ;
+		echo			'<table class="form-table">'."\n";
+		$upload_title = __('Media Upload Base Path','xpressme');
+		echo				$xpress_config->yes_no_radio_option('is_use_xoops_upload_path',
+											$upload_title,
+											__('Use XOOPS UPLOAD PATH','xpressme'),
+											__('USE WordPress BASE_PATH','xpressme'),
+											false
+											);
+//		$lock = ($xoops_config->module_url != get_bloginfo('url'));
+		$lock = false;
+		echo				$xpress_config->groupe_role_option($lock);	
+		echo				$xpress_config->d3forum_option($do_message);		
+		echo			"</table>\n";
+		
+		echo		'<p class="submit">'."\n";
+		echo		'<input type="submit" value= "' . __('Update Config', 'xpressme') . '" name="submit_update" />' ."\n";
+		echo		'<input type="submit" value= "' . __('Preset Config', 'xpressme') . '" name="submit_reset" />' ."\n";
+		echo		"</p>\n";
+
+		echo		"</form>\n" ;
+		echo	"</div>\n";
+}
+
+function other_option_page()
+{
+	global $xoops_config,$xpress_config;
+	
+		$xoops_admin_url = $xoops_config->module_url . '/admin/index.php';
+
+		$do_message ='';
+		if (!empty($_POST['submit_update'])) {
+			$xpress_config->ReadPostData($_POST);
+			$xpress_config->SettingValueWrite('update');
+		} else if (isset($_POST['submit_reset'])) {
+			$xpress_config->setDefault();
+			$xpress_config->SettingValueWrite('update');
+		}
+		
+		echo	'<div class="wrap">'."\n";
+		echo		'<div id="icon-options-general" class="icon32"><br /></div>'."\n";
+		echo		'<h2>' . __('XPressME Other Setting', 'xpressme') . "</h2><br>\n";
+//		echo 		'<div align="right"><a href="' . $xoops_admin_url . '"><h3>'. __('to XOOPS Modules Admin Page', 'xpressme') . '</h3></a></div>';
+		echo		'<form method="post" action="' . $_SERVER["REQUEST_URI"] . '">'."\n" ;
+		echo			'<table class="form-table">'."\n";
+		echo				$xpress_config->yes_no_radio_option('is_save_post_revision',
+												__('The change tracking of the post is preserved','xpressme'),
+												__('YES','xpressme'),
+												__('NO','xpressme')
+												);
+		
+		echo				$xpress_config->yes_no_radio_option('is_multi_user',
+												__('Select Multi user mode','xpressme'),
+												__('YES','xpressme'),
+												__('NO','xpressme')
+												);
+		echo				$xpress_config->yes_no_radio_option('is_author_view_count',
+												__('Is the posts author views counted?','xpressme'),
+												__('YES','xpressme'),
+												__('NO','xpressme')		
+												);
+		echo 				$xpress_config->header_meta_option();
+		echo				$xpress_config->yes_no_radio_option('is_sql_debug',
+												__('Is SQL debugging window displayed?','xpressme'),
+												__('YES','xpressme'),
+												__('NO','xpressme')		
+												);
+		echo				$xpress_config->yes_no_radio_option('is_block_error_display',
+												__('Select warning display of block file version check','xpressme'),
+												__('Do display','xpressme'),
+												__('Do not display','xpressme')		
+												);
+		echo			"</table>\n";
+		
+		echo		'<p class="submit">'."\n";
+		echo		'<input type="submit" value= "' . __('Update Config', 'xpressme') . '" name="submit_update" />' ."\n";
+		echo		'<input type="submit" value= "' . __('Preset Config', 'xpressme') . '" name="submit_reset" />' ."\n";
+		echo		"</p>\n";
+
+		echo		"</form>\n" ;
+		echo	"</div>\n";
+}
+
+include_once dirname( __FILE__ ).'/include/xpress_upgrade.php' ;
+add_action( 'admin_notices', 'xpress_update_check', 3 );
+
+include_once dirname( __FILE__ ).'/include/dashboard_feed.php' ;
+if(xpress_is_wp_version('>=','2.8')){
+	include_once dirname( __FILE__ ).'/xpressme_widget_class.php' ;
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme_class.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme_class.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme_class.php	(revision 866)
@@ -0,0 +1,1143 @@
+<?php
+
+load_plugin_textdomain('xpressme', 'wp-content/plugins/xpressme/language');
+
+class XPressME_Class{
+	var $pluginName = 'xpressme';	
+	var $is_use_xoops_upload_path;
+	var $is_theme_sidebar_disp;
+	var $is_save_post_revision;
+	var $is_postnavi_title_disp;
+	var $is_left_postnavi_old;
+	var $old_post_link_text;
+	var $newer_post_link_text;
+	var $is_left_page_navi_old;
+	var $old_page_link_text;
+	var $newer_page_link_text;
+	var $is_author_view_count;
+	var $is_sql_debug;
+	var $groupe_role;
+	var $is_use_d3forum;
+	var $d3forum_module_dir;
+	var $d3forum_forum_id;
+	var $d3forum_external_link_format;
+	var $is_content_excerpt;
+	var $ascii_judged_rate;
+	var $excerpt_length_word;
+	var $excerpt_length_character;
+	var $excerpt_more_link_text;
+	var $more_link_text;
+	var $viewer_type;
+	var $is_multi_user;
+	var $meta_keyword_type;
+	var $meta_description_type;
+	var $meta_robot_type;
+	var $is_dashboard_blog_disp;
+	var $is_dashboard_forum_disp;
+	var $theme_select;
+	var $is_block_error_display;
+	var $admin_set_all_blog_admin;
+	var $post_left_arrow_image_link;
+	var $post_right_arrow_image_link;
+	var $page_left_arrow_image_link;
+	var $page_right_arrow_image_link;
+	
+	//constructor
+	function XPressME_Class()
+	{
+		global $xoops_db;
+		
+		$this->setdefault();    //not setting propaty load
+		$this->SettingValueRead();
+	}
+	
+	//Set Default Value	
+	function setDefault()
+	{
+		global $xoops_config;
+		$this->is_use_xoops_upload_path = true;
+		$this->is_use_xoops_upload_path = true;
+		$this->is_theme_sidebar_disp = false;
+		$this->is_save_post_revision = true;
+		$this->is_postnavi_title_disp = true;
+		$this->is_left_postnavi_old = true;
+		$this->old_post_link_text = __('Older Post', 'xpressme');
+		$this->newer_post_link_text = __('Newer Post', 'xpressme');
+		$this->is_left_page_navi_old = true;
+		$this->old_page_link_text = __('Older Entries', 'xpressme');
+		$this->newer_page_link_text = __('Newer Entries', 'xpressme');
+		$this->is_author_view_count = false;
+		$this->is_sql_debug = false;
+		$this->is_use_d3forum = false;
+		$this->d3forum_module_dir = '';
+		$this->d3forum_forum_id = '';
+		$this->d3forum_external_link_format = get_xpress_dir_name() . '::xpressD3commentContent';
+		$this->is_d3forum_flat = true;
+		$this->is_d3forum_desc = true;
+		$this->d3forum_views_num = 10;
+		$this->is_content_excerpt = true;
+		$this->ascii_judged_rate = 90;
+		$this->excerpt_length_word = 40;
+		$this->excerpt_length_character = 120;
+		$this->excerpt_more_link_text = __('Read the rest of this entry &raquo;', 'xpressme');
+		$this->more_link_text = __('Read the rest of this entry &raquo;', 'xpressme');
+		$this->viewer_type = 'xoops';
+		$this->is_multi_user = false;
+		$this->meta_keyword_type = 'xoops';
+		$this->meta_description_type = 'xoops';
+		$this->meta_robot_type = 'xoops';	
+		$this->is_dashboard_blog_disp = true;
+		$this->is_dashboard_forum_disp = true;
+		$this->theme_select = 'use_wordpress_select';
+		$this->is_block_error_display = true;
+		$this->admin_set_all_blog_admin = false;
+		$this->post_left_arrow_image_link = '';
+		$this->post_right_arrow_image_link = '';
+		$this->page_left_arrow_image_link = '';
+		$this->page_right_arrow_image_link = '';
+	}
+	
+	function SettingValueRead()
+	{
+		global $xoops_db;
+		$options = get_option('xpressme_option');
+		if (!$options) {
+			$this->setDefault();
+			$this->SettingValueWrite('add_new');
+		} else {
+			foreach ($options as $option_name => $option_value){
+	        		$this-> {$option_name} = $option_value;
+			}
+		}
+		if (!empty($xoops_db))	// at install trap
+			$this->GroupeRoleRead();
+	}
+	
+		// mode 0:add  1:update	
+	function SettingValueWrite($mode)
+	{
+		global $xoops_config;
+
+		$write_options = array (
+			'is_use_xoops_upload_path' => $this->is_use_xoops_upload_path ,
+			'is_theme_sidebar_disp' => $this->is_theme_sidebar_disp ,
+			'is_save_post_revision' => $this->is_save_post_revision ,
+			'is_postnavi_title_disp' => $this->is_postnavi_title_disp ,
+			'is_left_postnavi_old' => $this->is_left_postnavi_old ,
+			'old_post_link_text' => $this->old_post_link_text ,
+			'newer_post_link_text' => $this->newer_post_link_text,
+			'is_left_page_navi_old' => $this->is_left_page_navi_old ,
+			'old_page_link_text' => $this->old_page_link_text ,
+			'newer_page_link_text' => $this->newer_page_link_text,
+			'is_author_view_count' => $this->is_author_view_count,
+			'is_sql_debug' => $this->is_sql_debug,
+			'is_use_d3forum' =>	$this->is_use_d3forum,
+			'd3forum_module_dir' => $this->d3forum_module_dir,
+			'd3forum_forum_id' => $this->d3forum_forum_id,
+			'd3forum_external_link_format' => $this->d3forum_external_link_format,
+			'is_d3forum_flat' => $this->is_d3forum_flat,
+			'is_d3forum_desc' => $this->is_d3forum_desc,
+			'd3forum_views_num' =>$this->d3forum_views_num,
+			'is_content_excerpt' => $this->is_content_excerpt,
+			'ascii_judged_rate' => $this->ascii_judged_rate,
+			'excerpt_length_word' => $this->excerpt_length_word,
+			'excerpt_length_character' => $this->excerpt_length_character,
+			'excerpt_more_link_text' => $this->excerpt_more_link_text,
+			'more_link_text' => $this->more_link_text,
+			'viewer_type' => $this->viewer_type,
+			'is_multi_user' => $this->is_multi_user,
+			'meta_keyword_type' => $this->meta_keyword_type,
+			'meta_description_type' => $this->meta_description_type,
+			'meta_robot_type' => $this->meta_robot_type,
+			'is_dashboard_blog_disp' => $this->is_dashboard_blog_disp,
+			'is_dashboard_forum_disp' => $this->is_dashboard_forum_disp,
+			'theme_select' => $this->theme_select,
+			'is_block_error_display' => $this->is_block_error_display,
+			'admin_set_all_blog_admin' => $this->admin_set_all_blog_admin,
+			'post_left_arrow_image_link' => $this->post_left_arrow_image_link,
+			'post_right_arrow_image_link' => $this->post_right_arrow_image_link,
+			'page_left_arrow_image_link' => $this->page_left_arrow_image_link,
+			'page_right_arrow_image_link' => $this->page_right_arrow_image_link
+		);
+		if ($mode == 'add_new') {
+			add_option('xpressme_option', $write_options);
+		} else {			
+			update_option("xpressme_option", $write_options);
+		}
+	}
+	
+	function get_current_setting_option($option_name)
+	{
+		if (empty($option_name)) return null;
+		if (defined('BLOG_ID_CURRENT_SITE')){
+				$id = BLOG_ID_CURRENT_SITE;
+		} else {
+				$id = 1;
+		}
+		if (xpress_is_multiblog() && !xpress_is_multiblog_root()){
+			switch_to_blog($id);
+			$options = get_option('xpressme_option');
+			restore_current_blog();
+		} else {
+			$options = get_option('xpressme_option');
+		}
+		$ret = $options[$option_name];
+		return $ret;
+	}
+	
+	function admin_select_groupe_role() {
+		if (xpress_is_multiblog_root()) return false;
+		return !$this->get_current_setting_option('admin_set_all_blog_admin');
+	}
+	
+	function GroupeRoleRead() {
+ 		global $xoops_db, $blog_id;
+		
+		if (empty($blog_id)) {
+			if (defined(BLOG_ID_CURRENT_SITE)){
+				$blog_id = BLOG_ID_CURRENT_SITE;
+			} else {
+				$blog_id = 1;
+			}
+		}
+		$table = get_wp_prefix() . 'group_role';
+		
+		$sql=  "SELECT * FROM $table WHERE blog_id = $blog_id ORDER BY groupid";
+		$this->groupe_role =  $xoops_db->get_results($sql);
+	}
+
+	function GroupeRoleCheck($blog_id = 0) {
+ 		global $xoops_db;
+		
+		if (empty($blog_id)) {
+			if (defined('BLOG_ID_CURRENT_SITE')){
+				$blog_id = BLOG_ID_CURRENT_SITE;
+			} else {
+				$blog_id = 1;
+			}
+		}
+		
+		if ( xpress_is_multiblog() && $blog_id == BLOG_ID_CURRENT_SITE){
+			$set_blog_admin = true;
+		} else {
+			$set_blog_admin = !$this->admin_select_groupe_role();
+		}
+
+		$module_id = get_xpress_modid();
+		
+		$group_role_table = get_wp_prefix() . 'group_role';
+		$xoops_group_table = get_xoops_prefix() . 'groups';
+		$xoops_group_permission_table = get_xoops_prefix() . 'group_permission';
+		
+		$sql =  "SELECT *  FROM $xoops_group_permission_table WHERE gperm_itemid = $module_id";
+		$gperms = $xoops_db->get_results($sql);
+		
+		$sql =  "SELECT * FROM $xoops_group_table WHERE group_type <> 'Anonymous' ORDER BY groupid";
+		$groupes = $xoops_db->get_results($sql);
+
+		// list of groups registered with XOOPS
+		$xoops_groupid_list = '';
+		foreach ($groupes as $groupe) {
+			if (!empty($xoops_groupid_list)) $xoops_groupid_list .= ',';
+			$xoops_groupid_list .= $groupe->groupid;
+		}
+		
+		// delete the group deleted by the XOOPS group from a group role database
+		if (!empty($xoops_groupid_list)){
+			$del_sql = "DELETE FROM $group_role_table WHERE groupid NOT IN ($xoops_groupid_list)";
+			$xoops_db->query($del_sql);
+		}
+		
+		$sql =  "SELECT *  FROM $group_role_table WHERE blog_id = $blog_id";
+		$groupes_role = $xoops_db->get_results($sql);
+		
+		foreach ($groupes as $groupe) {
+			//get group parmission
+			$group_type = '';
+			foreach ($gperms as $gperm) {
+				if ($gperm->gperm_groupid == $groupe->groupid){
+					$group_type = $gperm->gperm_name;
+					if ($group_type == 'module_admin') break;
+				}
+			}
+			if (empty($group_type)) $group_type = 'module_inhibit';
+			
+			$found = false;
+			foreach ($groupes_role as $groupe_role) {
+				if ($groupe_role->groupid == $groupe->groupid){
+					$role = $groupe_role->role;
+					if ($group_type == 'module_admin' && $set_blog_admin) $role = 'administrator';
+					if ($group_type == 'module_inhibit') $role = '';
+					$edit_sql = "UPDATE $group_role_table SET group_type='$group_type',role='$role',name='$groupe->name',description='$groupe->description'  WHERE groupid = $groupe->groupid AND blog_id = $blog_id";
+					$found = true;
+					break;
+				}
+			}
+			if(!$found){
+				$role = '';
+				$login_all = 0;
+				if ($group_type == 'module_admin') $role = 'administrator';
+
+				$edit_sql  = "INSERT INTO  $group_role_table ";
+				$edit_sql .= "(groupid , blog_id , name , description , group_type , role , login_all) ";
+				$edit_sql .= "VALUES (";
+				$edit_sql .= $groupe->groupid . ', ';
+				$edit_sql .= $blog_id . ', ';
+				$edit_sql .= "'" . $groupe->name . "' , ";
+				$edit_sql .= "'" . $groupe->description . "' , ";
+				$edit_sql .= "'" . $group_type . "' , ";
+				$edit_sql .= "'" . $role . "' , '";
+				$edit_sql .= $login_all . "')";
+			}
+			$xoops_db->query($edit_sql);
+		}
+		$this->GroupeRoleRead();
+	}
+	
+	function get_groupe_perm_for_modules($module_id ,$group_id)
+	{
+		$parmsql =  "SELECT *  FROM $xoops_group_permission WHERE gperm_itemid = $module_id AND gperm_groupid = $group_id";
+		$gperms = $xoops_db->get_results($parmsql);
+		$parmission = '';
+		foreach ($gperms as $gperm) {
+				$parmission = $gperm->gperm_name;
+				if ($parmission == 'module_admin') break;
+		}
+		return $parmission;
+	}
+	
+	function D3Forum_old_Link_clear($value = null){
+		global $xpress_config,$xoops_db;
+		if ($this->is_use_d3forum){
+			$d3forum_forum_tbl = get_xoops_prefix() . $this->d3forum_module_dir ."_forums";
+			$d3forum_external_link_format = '';
+			$d3f_forum_id = $this->d3forum_forum_id;
+			
+			if ($value === 'none'){
+				$xoops_db->query( "UPDATE ".$d3forum_forum_tbl ." SET forum_external_link_format='' WHERE forum_id= $d3f_forum_id" ) ;
+				$this->D3forum_user_access_set($this->d3forum_module_dir,$this->d3forum_forum_id, 0);
+			} else {
+				$d3f_set = explode('|', $value);
+				if ($this->d3forum_module_dir !== $d3f_set[1] || $this->d3forum_forum_id !== $d3f_set[2]){
+					$xoops_db->query( "UPDATE ".$d3forum_forum_tbl ." SET forum_external_link_format='' WHERE forum_id= $d3f_forum_id" ) ;
+					$this->D3forum_user_access_set($this->d3forum_module_dir,$this->d3forum_forum_id, 0);
+				}
+			}
+		}
+	}
+	function D3Forum_link_set(){
+		global $xoops_db;
+
+		if (empty($this->is_use_d3forum)) return;
+		$d3forum_forum_tbl = get_xoops_prefix() . $this->d3forum_module_dir ."_forums";
+		$d3f_forum_id = $this->d3forum_forum_id;
+		$forum_external_link_format = addslashes($this->d3forum_external_link_format);
+		$xoops_db->query( "UPDATE ".$d3forum_forum_tbl ." SET forum_external_link_format='".$forum_external_link_format."' WHERE forum_id= $d3f_forum_id" ) ;
+		$this->D3forum_user_access_set($this->d3forum_module_dir,$this->d3forum_forum_id,1);
+
+	}
+	
+	function D3forum_user_access_set($forum_module_dir,$forum_id,$accsess = 0){
+		global $xoops_db ,$user_login;
+		
+		$user_id = get_xoops_user_id($user_login);
+		$d3forum_forum_access_tbl = get_xoops_prefix() . $this->d3forum_module_dir ."_forum_access";
+		if (!$accsess){
+			$sql  = "DELETE FROM $d3forum_forum_access_tbl WHERE forum_id = $forum_id AND uid = $user_id";
+			$xoops_db->query($sql);
+		} else {
+			$sql = "SELECT * FROM $d3forum_forum_access_tbl WHERE forum_id = $forum_id AND uid = $user_id";
+			$row = $xoops_db->get_row($sql);
+			if (!$row){
+				$sql  = "INSERT INTO $d3forum_forum_access_tbl ";
+				$sql .=    "(forum_id, uid, can_post, can_edit, can_delete, post_auto_approved, is_moderator) ";
+				$sql .=  "VALUES ";
+				$sql .=    "($forum_id, $user_id, 1, 1, 1, 1, 1)";
+				$xoops_db->query($sql);
+			}
+		}
+	}
+	function D3Forum_create_new($d3forum_module_dir,$cat_id,$title){
+		global $xoops_db;
+		$d3forum_forum_tbl = get_xoops_prefix() . $d3forum_module_dir ."_forums";
+		$d3forum_forum_access_tbl = get_xoops_prefix() . $d3forum_module_dir ."_forum_access";
+		$sql  = "INSERT INTO $d3forum_forum_tbl ";
+		$sql .=    "(cat_id, forum_desc, forum_title,forum_options) ";
+		$sql .=  "VALUES ";
+		$sql .=    "('$cat_id', '', '$title','a:0:{}')";
+		$xoops_db->query($sql);
+		$insert_forum_id = $xoops_db->insert_id;
+		$sql  = "INSERT INTO $d3forum_forum_access_tbl ";
+		$sql .=    "(forum_id, groupid, can_post, can_edit, can_delete, post_auto_approved, is_moderator) ";
+		$sql .=  "VALUES ";
+		$sql .=    "($insert_forum_id, 1, 1, 1, 1, 1, 1)";
+		$xoops_db->query($sql);
+		return $insert_forum_id;
+	}
+	
+	function ReadPostData($post_data = null)
+	{
+		global $xoops_db, $blog_id;
+		
+		if (empty($blog_id)) {
+			if (defined(BLOG_ID_CURRENT_SITE)){
+				$blog_id = BLOG_ID_CURRENT_SITE;
+			} else {
+				$blog_id = 1;
+			}
+		}
+		foreach ( (array) $post_data as $index_key => $value ){
+			if (preg_match('/^ch_/',$index_key)){  // case ch_
+				$indedx = preg_replace('/^ch_/', '', $index_key);
+				$set_value = stripslashes(trim($value));
+				// post d3forum
+				if ($indedx === 'd3forum') {
+					$this->D3Forum_old_Link_clear($value);
+					if ($value == 'none'){
+						$this->is_use_d3forum = false;
+						$this->d3forum_module_dir = '';
+						$this->d3forum_forum_id = '';
+						$this->d3forum_external_link_format = get_xpress_dir_name() . '::xpressD3commentContent';
+					} else {
+						$d3f_set = explode('|', $value);
+						$this->is_use_d3forum = true;
+						$this->d3forum_module_dir = $d3f_set[1];
+						if (preg_match('/Create New In Cat=([0-9]*)/',$d3f_set[2],$matchs)){
+							$cat_id = $matchs[1];
+							$title = get_option('blogname');
+							$this->d3forum_forum_id = $this->D3Forum_create_new($this->d3forum_module_dir,$cat_id,$title);
+						} else {
+							$this->d3forum_forum_id = $d3f_set[2];
+						}
+						$this->d3forum_external_link_format = get_xpress_dir_name() . '::xpressD3commentContent';
+						$this->D3Forum_link_set();
+					}
+				} else { //post other
+					if(empty($set_value)){
+						switch ($indedx) {
+							case 'old_post_link_text':
+								$set_value = __('Older Post', 'xpressme');
+								break;
+							case 'newer_post_link_text':
+								$set_value = __('Newer Post', 'xpressme');
+								break;
+							case 'old_page_link_text':
+								$set_value = __('Older Entries', 'xpressme');
+								break;
+							case 'newer_page_link_text':
+								$set_value = __('Newer Entries', 'xpressme');
+								break;
+							case 'excerpt_more_link_text':
+								$set_value = __('Read the rest of this entry &raquo;', 'xpressme');
+								break;
+							case 'theme_select':
+								$set_value = 'use_wordpress_select';
+								break;
+								
+							default:
+						}
+					}
+					$this->$indedx = $value;
+				}
+			} // end of case 'ch_'
+		} // end of loop
+
+		global $xoops_config;
+
+		$table = get_wp_prefix() . 'group_role';	
+//		$sql=  "SELECT * FROM $table";	
+//		$this->groupe_role =  $xoops_db->get_results($sql);  // before Read
+		
+		foreach ($this->groupe_role as $groupe) {
+			$post_role_gid = 'role_gid_' . $groupe->groupid;
+			$login_all_gid = 'login_all_gid_' . $groupe->groupid;
+			if (isset($post_data[$post_role_gid])){
+				$role = stripslashes(trim($post_data[$post_role_gid]));
+				$login_all = stripslashes(trim($post_data[$login_all_gid]));
+				if (empty($login_all)) $login_all = '0';
+				$groupe->role = $role;
+				$groupe->login_all = $login_all;
+				$update_sql  = "UPDATE  $table ";
+				$update_sql .= 'SET ';
+				$update_sql .= "role  = '$role' , ";
+				$update_sql .= "login_all  = $login_all ";
+				$update_sql .= "WHERE (groupid = '$groupe->groupid' AND blog_id = $blog_id)";
+				$xoops_db->query($update_sql);	
+			}		
+		}
+	}
+	
+	function yes_no_radio_option($option_name,$option_desc,$yes = '',$no= '' , $disible=false){
+		if (empty( $yes ))  $yes = __('YES','xpressme') ;
+		if (empty( $no ))  $no = __('NO','xpressme') ;
+		$value = $this->{$option_name};
+		$ans_name = 'ch_' . $option_name;
+		
+		$form  =  "<tr>\n";
+		$form .=  '<th><label for="images_to_link">' . $option_desc . "</label></th>\n";
+		$form .=  "<td>\n";
+		$form .=  $this->yes_no_radio_option_sub($option_name,$yes,$no,$disible);
+		$form .=  "</td>\n";
+		$form .=  "</tr>\n";
+			
+	    return $form;
+	
+	}
+	function yes_no_radio_option_sub($option_name,$yes = '',$no= '',$disible=false){
+		if ($disible) $disible_str = ' disabled="disabled"'; else $disible_str = '';
+
+		if (empty( $yes ))  $yes = __('YES','xpressme') ;
+		if (empty( $no ))  $no = __('NO','xpressme') ;
+		$value = $this->{$option_name};
+		$ans_name = 'ch_' . $option_name;
+		if ($value){
+			$form .= "<label><input type='radio' name='". $ans_name . "' value='1' checked='checked' $disible_str />" . $yes ."</label><br />\n";
+			$form .= "<label><input type='radio' name='". $ans_name . "' value='0' $disible_str />". $no . "</label>\n";
+		}else{
+			$form .= "<label><input type='radio' name='". $ans_name . "' value='1' $disible_str />" . $yes . "</label><br />\n";
+			$form .= "<label><input type='radio' name='". $ans_name . "' value='0' checked='checked' $disible_str />". $no ."</label>\n";
+		}
+	    return $form;
+	}
+
+
+	function text_option($option_name,$option_desc,$size = 25,$maxlength = 50){
+		$value = $this->{$option_name};
+		$ans_name = 'ch_' . $option_name;
+		
+		$form  =  "<tr>\n";
+		$form .=  '<th><label for="images_to_link">' . $option_desc . "</label></th>\n";
+		$form .=  "<td>\n";
+		$form .= $this->text_option_sub($option_name,$size,$maxlength);
+		$form .=  "</td>\n";
+		$form .=  "</tr>\n";
+			
+	    return $form;
+	
+	}
+	
+	function text_option_sub($option_name,$size = 25,$maxlength = 50){
+		$value = $this->{$option_name};
+		$ans_name = 'ch_' . $option_name;
+		
+		$form = '<label> <input name="'. $ans_name . '" type="text" size="'.$size.'" maxlength="'.$maxlength.'" value="'  . $value . '" /></label>'."\n";
+	    return $form;
+	
+	}
+
+	
+	function single_post_navi_option(){
+		$form = '';
+		$form .= '<tr><th><label for="single_page_navi">' .__('Single Post Navi Setting', 'xpressme') . '</label></th>';
+		$form .= "<td>\n";
+		$form .= "<table>\n";
+		$form .= "<tr>\n";
+		
+		$form .= "<td>" . __('Adjustment of Navi link display position','xpressme') . "</td>\n";		
+		$form .= "<td>\n";
+		$form .=  $this->yes_no_radio_option_sub('is_left_postnavi_old',
+												__("'Old Post Link' is displayed in the left, and 'Newer Post Link' is displayed in the right",'xpressme'),
+												__("'Newer Post Link' is displayed in the left, and 'Old Post Link' is displayed in the right",'xpressme')
+												);
+		$form .= "</td>\n";
+		$form .= "</tr>\n";
+		
+		$form .= "<tr>\n";
+		$form .= "<td>" . __('Select Display name of PostNavi Link','xpressme') . "</td>\n";		
+		$form .= "<td>\n";
+		$form .=  $this->yes_no_radio_option_sub('is_postnavi_title_disp',
+												__('Title of post','xpressme'),
+												__('Title of Navi','xpressme')
+												);
+		$form .= "</td>\n";
+		$form .= "</tr>\n";
+		
+		$form .= "<tr>\n";
+		$form .= "<td>" . __('Display Navi Title of Old Post Link','xpressme') . "</td>\n";		
+		$form .= "<td>\n";
+		$form .=  $this->text_option_sub('old_post_link_text');
+		$form .= "</td>\n";
+		$form .= "</tr>\n";
+		
+		$form .= "<tr>\n";
+		$form .= "<td>" . __('Display Navi Title of Newer Post Link','xpressme') . "</td>\n";		
+		$form .= "<td>\n";
+		$form .=  $this->text_option_sub('newer_post_link_text');
+		$form .= "</td>\n";
+		$form .= "</tr>\n";
+		
+		$form .= "<tr>\n";
+		$form .= "<td>" . __('Left arrow image src','xpressme');		
+		if(!empty($this->post_left_arrow_image_link)){
+			if (icon_exists($this->post_left_arrow_image_link))
+				$form .= "&emsp;<img src=\"$this->post_left_arrow_image_link\" align=\"absmiddle\"/>";
+			else
+				$form .= "&emsp;<span style=\"color: red\">(" . __('Not Found','xpressme') .")</span>";				
+		}
+		$form .= "</td>\n";		
+		$form .= "<td>\n";
+		$form .=  $this->text_option_sub('post_left_arrow_image_link',60,120);
+		$form .= "</td>\n";
+		$form .= "</tr>\n";
+		$form .= "<tr>\n";
+
+		$form .= "<tr>\n";
+		$form .= "<td>" . __('Right arrow image src','xpressme');		
+		if(!empty($this->post_right_arrow_image_link)){
+			if (icon_exists($this->post_right_arrow_image_link))
+				$form .= "&emsp;<img src=\"$this->post_right_arrow_image_link\" align=\"absmiddle\"/>";
+			else
+				$form .= "&emsp;<span style=\"color: red\">(" . __('Not Found','xpressme') .")</span>";				
+		}
+
+		$form .= "<td>\n";
+		$form .=  $this->text_option_sub('post_right_arrow_image_link',60,120);
+		$form .= "</td>\n";
+		$form .= "</tr>\n";
+		$form .= "<tr>\n";
+
+		$form .= "</table></td></tr>\n";
+	    return $form;
+
+	}
+
+	function posts_page_navi_option(){
+		$form = '';
+		$form .= '<tr><th><label for="posts_page_navi">' .__('Posts List Page Navi Setting', 'xpressme') . '</label></th>';
+		$form .= "<td>\n";
+		$form .= "<table>\n";
+		$form .= "<tr>\n";
+		
+		$form .= "<td>" . __('Adjustment of Navi link display position','xpressme') . "</td>\n";		
+		$form .= "<td>\n";
+		$form .=  $this->yes_no_radio_option_sub('is_left_page_navi_old',
+												__("'Old Page Link' is displayed in the left, and 'Newer Page Link' is displayed in the right",'xpressme'),
+												__("'Newer Page Link' is displayed in the left, and 'Old Page Link' is displayed in the right",'xpressme')
+												);
+		$form .= "</td>\n";
+		$form .= "</tr>\n";
+		
+		$form .= "<tr>\n";
+		$form .= "<td>" . __('Display Navi Title of Old Page Link','xpressme') . "</td>\n";		
+		$form .= "<td>\n";
+		$form .=  $this->text_option_sub('old_page_link_text');
+		$form .= "</td>\n";
+		$form .= "</tr>\n";
+		
+		$form .= "<tr>\n";
+		$form .= "<td>" . __('Display Navi Title of Newer Page Link','xpressme') . "</td>\n";		
+		$form .= "<td>\n";
+		$form .=  $this->text_option_sub('newer_page_link_text');
+		$form .= "</td>\n";
+		$form .= "</tr>\n";
+		
+		$form .= "<tr>\n";
+		$form .= "<td>" . __('Left arrow image src','xpressme');		
+		if(!empty($this->page_left_arrow_image_link)){
+			if (icon_exists($this->page_left_arrow_image_link))
+				$form .= "&emsp;<img src=\"$this->page_left_arrow_image_link\" align=\"absmiddle\"/>";
+			else
+				$form .= "&emsp;<span style=\"color: red\">(" . __('Not Found','xpressme') .")</span>";				
+		}
+		$form .= "<td>\n";
+		$form .=  $this->text_option_sub('page_left_arrow_image_link',60,120);
+		$form .= "</td>\n";
+		$form .= "</tr>\n";
+
+		$form .= "<tr>\n";
+		$form .= "<td>" . __('Right arrow image src','xpressme');		
+		if(!empty($this->page_right_arrow_image_link)){
+			if (icon_exists($this->page_right_arrow_image_link))
+				$form .= "&emsp;<img src=\"$this->page_right_arrow_image_link\" align=\"absmiddle\"/>";
+			else
+				$form .= "&emsp;<span style=\"color: red\">(" . __('Not Found','xpressme') .")</span>";				
+		}
+		$form .= "<td>\n";
+		$form .=  $this->text_option_sub('page_right_arrow_image_link',60,120);
+		$form .= "</td>\n";
+		$form .= "</tr>\n";
+
+		$form .= "</table></td></tr>\n";
+	    return $form;
+
+	}
+	
+	function dashboard_display_option(){
+		$form = '';
+		$form .= '<tr><th><label for="posts_page_navi">' .__('Dashboard feed Display Setting', 'xpressme') . '</label></th>';
+		$form .= "<td>\n";
+		$form .= "<table>\n";
+		
+		$form .= "<tr>\n";
+		
+		$form .= "<td>" . __('Display XPressMe Integration Kit Blog','xpressme') . "</td>\n";		
+		$form .= "<td>\n";
+		$form .=  $this->yes_no_radio_option_sub('is_dashboard_blog_disp',
+												__('YES','xpressme'),
+												__('NO','xpressme')
+												);
+		$form .= "</td>\n";
+		$form .= "</tr>\n";
+		
+		$form .= "<tr>\n";
+		
+		$form .= "<td>" . __('Display XPressMe Integration Kit Forum','xpressme') . "</td>\n";		
+		$form .= "<td>\n";
+		$form .=  $this->yes_no_radio_option_sub('is_dashboard_forum_disp',
+												__('YES','xpressme'),
+												__('NO','xpressme')
+												);
+		$form .= "</td>\n";
+		$form .= "</tr>\n";
+		
+		$form .= "</table></td></tr>\n";
+	    return $form;
+	}
+	
+	function groupe_role_option($disible=false){
+		global $wp_roles , $xoops_db;
+		
+		if ($disible) $disible_str = ' disabled="disabled"'; else $disible_str = '';
+		$form = '';
+		$form .= '<tr><th><label for="role">' .__('Role Setting at Login', 'xpressme') . '</label></th>';
+		$form .= '<td>';
+		$form .= "<table>\n";
+		$form .= "<tr>\n";
+		
+		if (xpress_is_multiblog_root()){
+			$form .= "<td>" . __('XOOPS administrators role is set as all blog administrators.','xpressme') . "</td>\n";		
+			$form .= "<td>\n";
+			$form .=  $this->yes_no_radio_option_sub('admin_set_all_blog_admin',
+													__('YES','xpressme'),
+													__('NO','xpressme')
+													);
+			$form .= "</td>\n";
+			$form .= "</tr>\n";
+		}
+		$form .= '<tr><td>' . __('XOOPS Groupe', 'xpressme') . '</td><td>' . __('WordPress Role', 'xpressme') . '</td><td>' . __('Role is set at each login', 'xpressme') . "</td></tr>\n";
+		foreach ($this->groupe_role as $groupe) {
+			if ($groupe->group_type == 'module_inhibit'){
+				$form .= "<tr>";
+				$form .= "<td> $groupe->name </td>";
+				$form .= "<td>" .  __('module cannot be read', 'xpressme') . "</td>";
+				$form .= "</tr>\n";	
+				continue;
+			}
+			$form .= "<tr>";
+			$form .= "<td> $groupe->name </td>";
+			$form .= "<td>\n" . '<select name="role_gid_'.$groupe->groupid . '" id="role_gid_' . $groupe->groupid . '"' . $disible_str . '>' . "\n";;
+			$role_list = '';
+			$group_has_role = false;
+		
+			$select_value = $groupe->role;
+
+
+				
+			foreach($wp_roles->role_names as $role => $name) {
+				if(function_exists('translate_user_role')){
+					$name = translate_user_role($name);
+				} else {
+					$name = translate_with_context($name);
+				}
+				if ( $role == $select_value) {
+					$selected = ' selected="selected"';
+					$group_has_role = true;
+				} else {
+					$selected = '';
+				}
+				
+				$admin_select_role = $this->admin_select_groupe_role();
+				
+				if ($admin_select_role || $groupe->group_type != 'module_admin'|| !empty($selected)) {
+					$role_list .= "<option value=\"{$role}\"{$selected}>{$name}</option>\n";
+				}
+				if (!$admin_select_role && $groupe->group_type == 'module_admin'){
+					if ($role == 'administrator'){
+						$role_list .= "<option value=\"{$role}\" selected=\"selected\">{$name}</option>\n";
+					}
+				}
+			}
+			
+			if ($this->admin_select_groupe_role() ||$groupe->group_type != 'module_admin') {
+				if ( $group_has_role ) {
+					$role_list .= '<option value="default">' . __('Default Role of WordPress', 'xpressme') . "</option>\n";
+					$role_list .= '<option value="">' . __('Group User Doesn\'t Register', 'xpressme') . "</option>\n";
+				} else {
+					if ($select_value == 'default'){
+						$role_list .= '<option value="default" selected="selected">' . __('Default Role of WordPress', 'xpressme') . "</option>\n";	
+						$role_list .= '<option value="">' . __('Group User Doesn\'t Register', 'xpressme') . "</option>\n";
+					} else {
+						$role_list .= '<option value="default">' . __('Default Role of WordPress', 'xpressme') . "</option>\n";					
+						$role_list .= '<option value="" selected="selected">' . __('Group User Doesn\'t Register', 'xpressme') . "</option>\n";
+					}
+				}
+			}
+			$form .= $role_list . "</select>\n</td>";
+			if ($groupe->login_all){
+				$form .= '<td> <input type="checkbox" name="login_all_gid_' . $groupe->groupid . '" value="1" checked ></td>';
+			} else {
+				$form .= '<td> <input type="checkbox" name="login_all_gid_' . $groupe->groupid . '" value="1"></td>';
+			}
+			$form .= "</tr>\n";	
+		}
+		if ($disible)
+			$form .= '<tr><p>' . __('Only the Admin can set Group Role Setting','xpressme') . "</p></tr>\n";
+		$form .= "</table></td></tr>\n";
+	    return $form;
+
+	}
+	
+	function d3forum_option($do_message = ''){
+		global $xoops_db,$xoops_config;
+		
+		$multi_blog_use_d3forum = true;
+		
+		$d3frum_list = array();
+		$module_dir_path = get_xoops_root_path();
+		
+		$forum_list  = '<select name="ch_d3forum">' . "\n";
+		
+		if ($this->is_use_d3forum != true)
+			$selected = ' selected="selected"';
+		else
+			$selected = '';
+		
+		if (xpress_is_multiblog() && !$multi_blog_use_d3forum) {
+			$forum_list .= '<option value="none"' . $selected . '>' . __('WordPress MultiBlog cannot integrate the comments.', 'xpressme') . "</option>\n";
+		} else {	
+			$forum_list .= '<option value="none"' . $selected . '>' . __('Do Not Comment Integration.', 'xpressme') . "</option>\n";
+
+			// Form making for forum selection of D3forum
+			$modules_table = get_xoops_prefix() .'modules';
+			$sql = "SELECT mid,name,isactive,dirname FROM $modules_table WHERE isactive = 1";
+			$modules = $xoops_db->get_results($sql);
+			foreach ($modules as $module) {
+				$file_path = $module_dir_path . '/modules/' . $module->dirname . '/mytrustdirname.php';			
+				if (! file_exists($file_path)) continue;
+				$array_files = file($file_path);
+				// It is checked whether there is character string "$mytrustdirname ='d3forum'"in the file.
+				foreach ($array_files as $aeey_file){
+					if( preg_match( "/\s*(mytrustdirname)\s*(=)\s*([\"'])(d3forum)([\"'])/", $aeey_file ) ) {
+						$forums_tb = get_xoops_prefix() . $module->dirname . '_forums';
+						$cat_tb = get_xoops_prefix() . $module->dirname . '_categories';
+						$cat_sql = "SELECT * FROM $cat_tb";
+						$cats = $xoops_db->get_results($cat_sql);
+						foreach ($cats as $cat) {
+							$sql= "SELECT * FROM $forums_tb WHERE $forums_tb.cat_id = $cat->cat_id";
+							$forums = $xoops_db->get_results($sql);
+							foreach ($forums as $forum) {
+								if (($module->dirname == $this->d3forum_module_dir) &&  ($forum->forum_id == $this->d3forum_forum_id)){
+									$selected = ' selected="selected"';
+									$forum_div = 'forum|' . $module->dirname . '|' .  $forum->forum_id;
+									$forum_select = "$module->name($module->dirname) $cat->cat_title-$forum->forum_title(ID=$forum->forum_id)";
+									$forum_list .= '<option value="' . $forum_div . '" ' . $selected . '>' . $forum_select . "</option>\n";
+								} else if (empty($forum->forum_external_link_format)){
+									$selected = '';
+									$forum_div = 'forum|' . $module->dirname . '|' .  $forum->forum_id;
+									$forum_select = "$module->name($module->dirname) $cat->cat_title-$forum->forum_title(ID=$forum->forum_id)";
+									$forum_list .= '<option value="' . $forum_div . '" ' . $selected . '>' . $forum_select . "</option>\n";
+								}
+							}
+							$selected = '';
+							$forum_div = 'forum|' . $module->dirname . '|Create New In Cat=' .  $cat->cat_id;
+							$forum_select = "$module->name($module->dirname) $cat->cat_title-" . __('Create New Forum', 'xpressme');
+							$forum_list .= '<option value="' . $forum_div . '" ' . $selected . '>' . $forum_select . "</option>\n";
+						}
+						break;
+					}
+				}
+				$forum_list .= '<br>';			
+			}
+		}
+		$forum_list .= '</select>' . "\n";
+
+		$form  = '<tr>' . "\n";
+		$form .= '<th><label for="d3forum">' .__('Comment integration with D3Forum', 'xpressme') . '</label></th>' . "\n";
+		$form .=  "<td>\n";
+		$form .=  __('Select the forum of D3Forum that does the comment integration from the following lists.', 'xpressme') ."<br />\n";
+		$form .=  $forum_list."\n";
+		$form .= '<br /><br />';
+		if ($this->is_use_d3forum) {
+			if ($this->is_use_d3forum)  $disible = ''; else $disible = 'disabled';
+			$form .=  __('Select the Type of display of D3Forum comment.', 'xpressme') . " \n&emsp";
+			if ($this->is_d3forum_flat){
+				$form .= "&ensp<label><input type='radio' name='ch_is_d3forum_flat' value='1' checked='checked' />" . __('Flat','xpressme') ."</label>\n";
+				$form .= "&ensp<label><input type='radio' name='ch_is_d3forum_flat' value='0' />". __('Threaded','xpressme') . "</label>\n";
+			}else{
+				$form .= "&ensp<label><input type='radio' name='ch_is_d3forum_flat' value='1' />" . __('Flat','xpressme') . "</label>\n";
+				$form .= "&ensp<label><input type='radio' name='ch_is_d3forum_flat' value='0' checked='checked' />". __('Threaded','xpressme') ."</label>\n";
+			}
+			$form .= '<br />';
+			$form .=  __('Select the order of display of D3Forum comment.', 'xpressme') . " \n&emsp";
+			if ($this->is_d3forum_desc){
+				$form .= "&ensp<label><input type='radio' name='ch_is_d3forum_desc' value='1' checked='checked' />" . __('DESC','xpressme') ."</label>\n";
+				$form .= "&ensp<label><input type='radio' name='ch_is_d3forum_desc' value='0' />". __('ASC','xpressme') . "</label>\n";
+			}else{
+				$form .= "&ensp<label><input type='radio' name='ch_is_d3forum_desc' value='1' />" . __('DESC','xpressme') . "</label>\n";
+				$form .= "&ensp<label><input type='radio' name='ch_is_d3forum_desc' value='0' checked='checked' />". __('ASC','xpressme') ."</label>\n";
+			}
+			$form .= '<br />';
+			$form .=  __('Number of displays of D3Forum comments.', 'xpressme') ." \n";
+			$form .= '&emsp<label> <input name="ch_d3forum_views_num" type="text" size="3" maxlength="3" value="'  . $this->d3forum_views_num . '" /></label>'."\n";
+			$form .= '<div class="submit">'."\n";		
+			$form .=  __('The import and the export between Wordpress Comments and the D3Forum Posts can be done. ', 'xpressme') ."<br />\n";
+			$form .= '<input type="submit" value= "' . __('Export to D3Forum', 'xpressme') . '" name="export_d3f" ' . $disible . ' >' ."\n";
+			$form .= '<input type="submit" value= "' . __('Import from D3Forum', 'xpressme') . '" name="inport_d3f" ' . $disible . ' >' ."<br />\n";
+			$form .= '</div>'."\n";
+			if (!empty($do_message)){
+				$form .= '<div>' . $do_message . '</div>';
+			}
+		}
+		$form .=  "</td>\n";
+		$form .=  "</tr><tr>\n";
+		return $form;
+	}
+	
+	function excerpt_option(){
+		$form = '';
+		$form .= '<tr><th><label for="excerpt">' .__('Contents Excerpt Setting', 'xpressme') . '</label></th>';
+		$form .= "<td>\n";
+		$form .= "<table>\n";
+		$form .= "<tr>\n";
+		
+		$form .= "<td>" . __('Is the excerpt display done with the archive of contents?','xpressme') . "</td>\n";		
+		$form .= "<td>\n";
+		$form .=  $this->yes_no_radio_option_sub('is_content_excerpt');
+		$form .= "</td>\n";
+		$form .= "</tr>\n";
+		
+		$form .= "<tr>\n";
+		$form .= "<td>" . __('When ASCII character more than the set ratio is included, it is judged ASCII contents. ','xpressme') . "</td>\n";		
+		$form .= "<td>\n";
+		$form .=  $this->text_option_sub('ascii_judged_rate');
+		$form .= "</td>\n";
+		$form .= "</tr>\n";
+		
+		$form .= "<tr>\n";
+		$form .= "<td>" . __('Excerpt length of word for ASCII contents','xpressme') . "</td>\n";		
+		$form .= "<td>\n";
+		$form .=  $this->text_option_sub('excerpt_length_word');
+		$form .= "</td>\n";
+		$form .= "</tr>\n";
+		
+		$form .= "<tr>\n";
+		$form .= "<td>" . __('Excerpt length of character for multibyte contents','xpressme') . "</td>\n";		
+		$form .= "<td>\n";
+		$form .=  $this->text_option_sub('excerpt_length_character');
+		$form .= "</td>\n";
+		$form .= "</tr>\n";
+
+		$form .= "<tr>\n";
+		$form .= "<td>" . __('This text is displayed in the link that reads contents not excerpted.(Is not displayed for the blank.)','xpressme') . "</td>\n";		
+		$form .= "<td>\n";
+		$form .=  $this->text_option_sub('excerpt_more_link_text');
+		$form .= "</td>\n";
+		$form .= "</tr>\n";
+
+		$form .= "<tr>\n";
+		$form .= "<td>" . __('This text is displayed in the link that more tag (&lt;!--more--&gt;). ','xpressme') . "</td>\n";		
+		$form .= "<td>\n";
+		$form .=  $this->text_option_sub('more_link_text');
+		$form .= "</td>\n";
+		$form .= "</tr>\n";
+
+		$form .= "</table></td></tr>\n";
+	    return $form;
+	}
+
+	function viewer_type_option(){
+		$form  = "<tr>\n";
+		$form .= '<th><label for="viewer_type">' .__('Display Mode Setting', 'xpressme') . '</label></th>';
+		$form .= "<td>\n";
+		
+		$form .=  __('Select the XPressME Display Mode.', 'xpressme') ."\n";
+		$form .= '<select name="ch_viewer_type">' . "\n";
+		
+		$form .= '<option value="xoops" ';
+		if ($this->viewer_type == 'xoops') $form .= ' selected="selected"';
+		$form .= '>'.__('Xoops Mode', 'xpressme') ."</option>\n";
+
+		$form .= '<option value="wordpress" ';
+		if ($this->viewer_type == 'wordpress') $form .= ' selected="selected"';
+		$form .= '>'.__('WordPress Mode', 'xpressme') ."</option>\n";
+		
+		$form .= '<option value="user_select" ';
+		if ($this->viewer_type == 'user_select') $form .= ' selected="selected"';
+		$form .= '>'.__('User select', 'xpressme') ."</option>\n";
+
+		$form .= "</select><br />\n";
+		
+		// Theme Select
+		$form .=  __('Select the theme used in the XOOPS Mode.', 'xpressme') ."\n";
+		$form .= '<select name="ch_theme_select">' . "\n";
+		
+		$form .= '<option value="use_wordpress_select" ';
+		if ($this->theme_select == 'use_wordpress_select') $form .= ' selected="selected"';
+		$form .= '>'.__('Use WordPress Selected Themes', 'xpressme') ."</option>\n";
+		
+		$themes = get_themes();
+		$theme_names = array_keys($themes);
+		natcasesort($theme_names);
+		foreach ($theme_names as $theme_name) {
+			if ($theme_name == 'My Themes') continue;
+			$form .= '<option value="' . $theme_name .'" ';
+			if ($this->theme_select == $theme_name) $form .= ' selected="selected"';
+			$form .= '>'.$theme_name ."</option>\n";
+		}
+		$form .= "</select><br />\n";
+		$form .= "</td></tr>\n";
+	    return $form;
+	}
+	
+	function header_meta_option(){
+		$form  = "<tr>\n";
+		$form .= '<th><label for="header_type">' .__('Header Meta Option', 'xpressme') . '</label></th>';
+		$form .= "<td>\n";
+		$form .= "<table>\n";
+		$form .= "<tr>\n";
+		
+		$form .=  "<td>" . __('Select the Header keyword.', 'xpressme')  . "</td>\n";
+		$form .= "<td>\n";
+		$form .= '<select name="ch_meta_keyword_type">' . "\n";		
+		$form .= '<option value="xoops" ';
+		if ($this->meta_keyword_type == 'xoops') $form .= ' selected="selected"';
+		$form .= '>'.__('Xoops KeyWord', 'xpressme') ."</option>\n";
+		$form .= '<option value="wordpress" ';
+		if ($this->meta_keyword_type == 'wordpress') $form .= ' selected="selected"';
+		$form .= '>'.__('WordPress KeyWord', 'xpressme') ."</option>\n";		
+		$form .= '<option value="wordpress_xoops" ';
+		if ($this->meta_keyword_type == 'wordpress_xoops') $form .= ' selected="selected"';
+		$form .= '>'.__('WordPress & Xoops KeyWord', 'xpressme') ."</option>\n";
+		$form .= "</select><br />\n";
+		$form .= "</td>\n";
+		$form .= "</tr>\n";
+		
+		$form .= "<tr>\n";
+		$form .=  "<td>" . __('Select the Header Description.', 'xpressme') . "</td>\n";
+		$form .= "<td>\n";
+		$form .= '<select name="ch_meta_description_type">' . "\n";
+		$form .= '<option value="xoops" ';
+		if ($this->meta_description_type == 'xoops') $form .= ' selected="selected"';
+		$form .= '>'.__('Xoops Description', 'xpressme') ."</option>\n";
+		$form .= '<option value="wordpress" ';
+		if ($this->meta_description_type == 'wordpress') $form .= ' selected="selected"';
+		$form .= '>'.__('WordPress Description', 'xpressme') ."</option>\n";
+		$form .= '<option value="wordpress_xoops" ';
+		if ($this->meta_description_type == 'wordpress_xoops') $form .= ' selected="selected"';
+		$form .= '>'.__('WordPress & Xoops Description', 'xpressme') ."</option>\n";
+		$form .= "</select><br />\n";
+		$form .= "</td>\n";
+		$form .= "</tr>\n";
+
+		$form .= "<tr>\n";
+		$form .=  "<td>" . __('Select the Header Robots Index.', 'xpressme') . "</td>\n";
+		$form .= "<td>\n";
+		$form .= '<select name="ch_meta_robot_type">' . "\n";
+		$form .= '<option value="xoops" ';
+		if ($this->meta_robot_type == 'xoops') $form .= ' selected="selected"';
+		$form .= '>'.__('Xoops Robots Index', 'xpressme') ."</option>\n";
+		$form .= '<option value="wordpress" ';
+		if ($this->meta_robot_type == 'wordpress') $form .= ' selected="selected"';
+		$form .= '>'.__('WordPress Robots Index', 'xpressme') ."</option>\n";
+		$form .= "</select><br />\n";
+		$form .= "</td>\n";
+		$form .= "</tr>\n";
+
+		$form .= "</table>\n";
+		
+		$form .= "</tr>\n";
+	    return $form;
+	}
+
+	function xpress_upload_filter($uploads)
+	{
+		global $xoops_config;
+		global $blog_id,$blogname;
+		
+		if ($this->is_use_xoops_upload_path){
+			$wordpress_dir = ABSPATH ;
+			$xoops_dir = $xoops_config->xoops_upload_path . '/';
+			if (xpress_is_multiblog() && $blog_id <> BLOG_ID_CURRENT_SITE){
+				$wordpress_base_url = $xoops_config->module_url;
+			} else {
+				$wordpress_base_url = get_option( 'siteurl' );
+			}
+			$xoops_upload_url = $xoops_config->xoops_upload_url;
+			// @rmdir($uploads[path]);  //remove wordpress side uploads_dir 
+			
+			$uploads[path] =  str_replace ($wordpress_dir, $xoops_dir, $uploads[path]);
+			$uploads[basedir] = str_replace ($wordpress_dir, $xoops_dir, $uploads[basedir]);
+			$uploads[url] = str_replace ($wordpress_base_url, $xoops_upload_url, $uploads[url]);
+			$uploads[baseurl] = str_replace ($wordpress_base_url, $xoops_upload_url, $uploads[baseurl]);
+			
+			if (xpress_is_multiblog() && $blog_id <> BLOG_ID_CURRENT_SITE){
+				$pat = str_replace ($xoops_dir, '', $uploads[path]);
+				$pat = preg_replace('/files.*/', '', $pat);
+				$pat = str_replace ('/', '\/', $pat);
+				$uploads[path] = preg_replace('/' . $pat . '/',  $blogname . '/',$uploads[path]);
+				
+				$pat = str_replace ($xoops_dir, '', $uploads[basedir]);
+				$pat = preg_replace('/files.*/', '', $pat);
+				$pat = str_replace ('/', '\/', $pat);
+				$uploads[basedir] = preg_replace('/' . $pat . '/',  $blogname . '/',$uploads[basedir]);
+			}
+			
+			// Make sure we have an uploads dir
+			if ( ! wp_mkdir_p( $uploads[path] ) ) {
+				$message = sprintf( __( 'Unable to create directory %s. Is its parent directory writable by the server?' ), $uploads[path] );
+				return array( 'error' => $message );
+			}
+		}
+		return $uploads;
+	}
+
+	// SQL DEBUG TEST
+	function is_sql_debug_permission()
+	{
+		global $current_user;
+
+		if (!is_object($current_user)) return false;
+		if ($this->is_sql_debug && ($current_user->user_level >= 10))
+			return true;
+		else
+			return false;
+	}
+	
+	function xpress_sql_debug($query_strings)
+	{
+		if ($this->is_sql_debug_permission()){
+			if (empty($GLOBALS['XPress_SQL_Query'])) $GLOBALS['XPress_SQL_Query'] = '';
+			$GLOBALS['XPress_SQL_Query'] .= $query_strings . '<br /><br />';
+		}
+		return $query_strings;
+	}
+	
+	function displayDebugLog()
+	{
+		if ($this->is_sql_debug_permission()){
+			$content = '';
+			$content .= '<html><head><meta http-equiv="content-type" content="text/html; charset='._CHARSET.'" />';
+			$content .= '<meta http-equiv="content-language" content="'._LANGCODE.'" />' ;
+			$content .= '<title>XPressME SQL DEBUG</title>' ;
+			$content .= '</head><body>';
+			$content .= $GLOBALS['XPress_SQL_Query'];
+			$content .= '<div style="text-align:center;"><input class="formButton" value="CLOSE" type="button" onclick="javascript:window.close();" /></div></body></html>';
+
+			echo '<script type="text/javascript">
+				<!--//
+				xpress_debug_window = window.open("", "xpress_debug", "width=680 , height=600 ,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no");
+				xpress_debug_window.document.clear();
+				xpress_debug_window.focus();
+				';
+			$lines = preg_split("/(\r\n|\r|\n)( *)/", $content);
+			foreach ($lines as $line) {
+				echo 'xpress_debug_window.document.writeln("'.str_replace('"', '\"', $line).'");';
+			}
+			echo '
+				xpress_debug_window.document.close();
+				//-->
+			</script>';
+		}
+	}
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme_widget_class.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme_widget_class.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme_widget_class.php	(revision 866)
@@ -0,0 +1,308 @@
+<?php
+/*
+ * XPressME Menu Widget 
+ * XPressME MENU widget using the the WordPress 2.8 widget API. This is meant strictly as a means of showing the new API using the <a href="http://jessealtman.com/2009/06/08/tutorial-wordpress-28-widget-api/">tutorial</a>.
+ */
+class XPress_Menu_Widget extends WP_Widget
+{
+	/**
+	* Declares the XPress_Menu_Widget class.
+	*
+	*/
+	function XPress_Menu_Widget(){
+		$widget_ops = array('classname' => 'widget_xpress', 'description' => __( "XPressME User Menu Widget") );
+		$control_ops = array('width' => 600, 'height' => 300);
+		$this->WP_Widget('XPress_Menu', __('XPressME MENU'), $widget_ops, $control_ops);
+	}
+
+	/**
+	* Displays the Widget
+	*
+	*/
+	function widget($args, $instance){
+		global $xpress_config,$xoops_config;
+		global $current_user;
+
+		extract($args);
+		$title = apply_filters('widget_title', empty($instance['title']) ? '&nbsp;' : $instance['title']);
+
+		# Before the widget
+		echo $before_widget;
+
+		# The title
+		if ( $title )
+		echo $before_title . $title . $after_title;
+
+		# Make the XPressME MENU widget
+		$menu = array();
+		for($i = 0; $i < 10; $i++) {
+			$menu[$i]['Type'] = $instance['Type_' . $i];
+			$menu[$i]['Title'] = $instance['Title_' . $i];
+			$menu[$i]['URL'] = $instance['URL_' . $i];
+			$menu[$i]['Visible'] = $instance['Visible_' . $i];
+			$menu[$i]['Weight'] = $instance['Weight_' . $i];
+		}			
+		echo '<ul>';
+		for($i = 0; $i < 10; $i++) {
+			$type = $menu[$i]['Type'];
+			if ($menu[$i]['Visible'] && !empty($menu[$i]['Title']) ){
+				switch($type){
+					case 0:
+					case 1:
+						echo '<li><a href="' . $menu[$i]['URL'] . '">' . $menu[$i]['Title'] . '</a></li>';
+						break;
+					case 2:	// Add New
+						if (is_user_logged_in()){
+							if ($current_user->user_level > 0){
+								if (xpress_is_wp_version('<','2.1') ){
+									echo '<li><a href="'.get_settings('siteurl').'/wp-admin/post.php" title="'. $menu[$i]['Title'] .'">'. $menu[$i]['Title'] .'</a></li>';
+								} else {
+									echo '<li><a href="'.get_settings('siteurl').'/wp-admin/post-new.php" title="'. $menu[$i]['Title'] .'">'. $menu[$i]['Title'] .'</a></li>';
+								}
+							}
+						}
+						break;
+					case 3: // User Profile
+						if (is_user_logged_in()) { 
+							echo '<li><a href="'.get_settings('siteurl').'/wp-admin/profile.php" title="' . $menu[$i]['Title'] .'">'. $menu[$i]['Title'] .'</a></li>';
+						}
+						break;
+					case 4: // WordPress Admin
+						if (is_user_logged_in()){
+							if ($current_user->user_level > 7){
+								echo '<li><a href="'.get_settings('siteurl').'/wp-admin/" title="'. $menu[$i]['Title'] .'">'. $menu[$i]['Title'] .'</a></li>';
+							}
+						}
+						break;
+					case 5: // Module Admin
+						if($GLOBALS["xoopsUserIsAdmin"]){
+							echo '<li><a href="'.get_settings('siteurl').'/admin/index.php"  title="'. $menu[$i]['Title'] .'">'. $menu[$i]['Title'] .'</a></li>';
+						}
+						break;
+					case 6: // XPressME Setting
+						if (is_user_logged_in()){
+							if ($current_user->user_level > 7){
+								echo '<li><a href="'.get_settings('siteurl').'/wp-admin/admin.php?page=xpressme\\xpressme.php" title="'. $menu[$i]['Title'] .'">'. $menu[$i]['Title'] .'</a></li>';
+							}
+						}
+						break;
+					case 7: // Display Mode Select
+						if ($xpress_config->viewer_type == 'user_select'){
+							echo disp_mode_set();
+						}
+						break;
+					default:
+				}
+			}
+		}
+
+		echo '</ul>';
+		# After the widget
+		echo $after_widget;
+	}
+
+	/**
+	* Saves the widgets settings.
+	*
+	*/
+	function update($new_instance, $old_instance){
+		$instance = $old_instance;
+		$instance['title'] = strip_tags(stripslashes($new_instance['title']));
+		
+		for($i = 0; $i < 10; $i++) {
+			$instance['Type_'. $i] = strip_tags(stripslashes($new_instance['Type_'. $i]));
+			$instance['Title_' . $i] = strip_tags(stripslashes($new_instance['Title_'. $i]));
+			if ($instance['Type_'. $i] < 2){
+				$instance['URL_' . $i] = strip_tags(stripslashes($new_instance['URL_'. $i]));
+			} else {
+				$instance['URL_' . $i] = '';
+			}
+			$instance['Visible_' . $i] = strip_tags(stripslashes($new_instance['Visible_'. $i]));
+		}
+
+		return $instance;
+	}
+
+	/**
+	* Creates the edit form for the widget.
+	*
+	*/
+	function form($instance){
+		global $xpress_config,$xoops_config;
+		
+		if (xpress_is_wp_version('<','2.1') ){
+			$addnew = get_settings('siteurl').'/wp-admin/post.php';
+		} else {
+			$addnew = get_settings('siteurl').'/wp-admin/post-new.php';
+		}
+		$type = array();
+		$type[0] = __('Link', 'xpressme');
+		$type[1] = __('Site Home', 'xpressme');
+		$type[2] = __('Add New', 'xpressme');
+		$type[3] = __('User Profile', 'xpressme');
+		$type[4] = __('WordPress Admin', 'xpressme');
+		$type[5] = __('Module Admin', 'xpressme');
+		$type[6] = __('XPressME Setting', 'xpressme');
+		$type[7] = __('Display Mode Select', 'xpressme');
+		
+		$auto_setting = __('Auto Setting', 'xpressme');
+		
+		//Defaults
+		$instance = wp_parse_args( (array) $instance, 
+		array(
+			'title'=> __('User Menu', 'xpressme'),
+			
+			'Type_0' =>1 , 
+			'Title_0' => __('Site Home', 'xpressme'),
+			'URL_0' => get_xoops_url(),
+			'Visible_0' => 1,
+			
+			'Type_1' =>2 , 
+			'Title_1' => __('Add New', 'xpressme'),
+			'URL_1' => $auto_setting,
+			'Visible_1' => 1,
+				
+			'Type_2' =>3 , 
+			'Title_2' => __('User Profile', 'xpressme'),
+			'URL_2' => __('Auto Setting', 'xpressme'),
+			'Visible_2' => 1,
+				
+			'Weight_2' => 3,
+			'Type_3' =>4 , 
+			'Title_3' => __('WordPress Admin', 'xpressme'),
+			'URL_3' => $auto_setting,
+			'Visible_3' => 1,
+				
+			'Type_4' =>5 , 
+			'Title_4' => __('Module Admin', 'xpressme'),
+			'URL_4' => $auto_setting,
+			'Visible_4' => 1,
+				
+			'Type_5' =>6 , 
+			'Title_5' => __('XPressME Setting', 'xpressme'),
+			'URL_5' => $auto_setting,
+			'Visible_5' => 1,
+				
+			'Type_6' =>7 , 
+			'Title_6' => $auto_setting,
+			'URL_6' => $auto_setting,
+			'Visible_6' => 1,
+			'Type_7' =>0 , 
+			'Title_7' => __('Link', 'xpressme'),
+			'URL_7' => '',
+			'Visible_7' => 0,
+				
+			'Type_8' =>0 , 
+			'Title_8' => __('Link', 'xpressme'),
+			'URL_8' => '',
+			'Visible_8' => 0,
+				
+			'Type_9' =>0 , 
+			'Title_9' => __('Link', 'xpressme'),
+			'URL_9' => '',
+			'Visible_9' => 0,
+		) );
+		
+		echo '
+		<script type="text/javascript">
+		    function TypeSelect(type_id,title_id,url_id){
+				var type=document.getElementById(type_id);
+				var title=document.getElementById(title_id);
+				var link_url=document.getElementById(url_id);
+				var auto_set = \''. $auto_setting .'\';
+				title.value = type[type.value].text;
+				if(type.value > 1){
+					link_url.value = auto_set;
+					link_url.disabled = true;
+					link_url.style.backgroundColor = \'transparent\';
+		        } else {
+		        	if (link_url.value == auto_set) link_url.value = \'\';
+					link_url.disabled = false;
+					link_url.style.backgroundColor = \'#FFFFEE\';
+				}
+		        if(type.value == 1){
+					link_url.value = \''.get_xoops_url() . '\';
+		        }
+				if(type.value == 7){
+					title.value = auto_set;
+					title.disabled = true;
+					title.style.backgroundColor = \'transparent\';
+		        } else {
+		        	if (title.value == auto_set) title.value = \'\';
+					title.disabled = false;
+					title.style.backgroundColor = \'#FFFFEE\';
+				}
+
+		    }
+		</script>';
+
+		// Output the options
+		echo '<p><label for="' . $this->get_field_name('title') . '">'. "\n";
+		echo __('Title:') . '<input style="width: 200px;" id="' . $this->get_field_id('title') . '" name="' . $this->get_field_name('title') . '" type="text" value="' . $instance['title'] . '" /></label></p>'. "\n";
+		echo "
+		    <table width='100%' class='outer' cellpadding='4' cellspacing='1' border=\"1\" bordercolor=\"#888888\">
+		    <tr valign='middle' align='center' style=\"background-color:#2E323B;color:#FFFFFF\">
+		    <th width='10%'>Type</th>
+		    <th width='15%'>Title</th>
+		    <th width='10%'>URL</th>
+		    <th width='10px'>Visible</th>
+			</tr>
+		";
+		for($i = 0; $i < 10; $i++) {
+			$even = $i % 2;
+			if ($even) {
+				$back_color = ' style="background-color:#E3E3E3"';
+			} else {
+				$back_color = ' style="background-color:#F5F5F5"';
+			}
+			$text_back_color = ' style="background-color:#FFFFEE"';
+			echo "<tr $back_color>";
+
+			$select_arg = "'" . $this->get_field_id('Type_' . $i) . "','" . $this->get_field_id('Title_' . $i) . "','" . $this->get_field_id('URL_' . $i) . "'";
+			echo '<th><select id="' . $this->get_field_id('Type_' . $i) . '" name="' . $this->get_field_name('Type_' . $i) . '" ' .$back_color . 'onchange="TypeSelect(' . $select_arg . ')">';
+			for ($j = 0; $j < 8; $j++) {
+				if ($instance['Type_'. $i] == $j) $select = ' selected="selected"'; else $select = '';
+				echo '<option ' . $select . 'value="'. $j . '">' . $type[$j] . '</option>';
+			}
+			echo '</select></th>';
+			
+			if ($instance['Type_'. $i] == 7) {
+				$title_disible = 'disabled=disabled';
+				$title_back_color = $back_color;
+				$title_value = $auto_setting;
+
+			} else {
+				$title_disible = '';
+				$title_back_color = $text_back_color;
+				$title_value = $instance['Title_'. $i];
+			}
+			echo '<th style="padding:2px"><input size="24" id="' . $this->get_field_id('Title_' . $i) . '" name="' . $this->get_field_name('Title_' . $i) . '" type="text" value="' . $title_value . '" ' .$title_back_color . $title_disible .  '/></th>'. "\n";
+			if ($instance['Type_'. $i] > 1) {
+				$url_disible = 'disabled=disabled';
+				$url_back_color = $back_color;
+				$url_value = $auto_setting;
+			} else {
+				$url_disible = '';
+				$url_back_color = $text_back_color;
+				$url_value = $instance['URL_'. $i];
+			}
+			echo '<th style="padding:2px"><input size="40" id="' . $this->get_field_id('URL_' . $i) . '" name="' . $this->get_field_name('URL_' . $i) . '" type="text" value="' . $url_value . '" ' .$url_back_color . $url_disible . '/></th>'. "\n";
+			if ($instance['Visible_'. $i]) $check = ' checked="checked"'; else $check = '';
+			echo '<th><input size="4" id="' . $this->get_field_id('Visible_' . $i) . '" name="' . $this->get_field_name('Visible_' . $i) . '" type="checkbox" value="1"' . $check . ' /></th>'. "\n";
+			echo '</tr>';
+		}
+		echo 	'</table>';
+	}
+
+}// END class
+
+/**
+* Register Hello World widget.
+*
+* Calls 'widgets_init' action after the Hello World widget has been registered.
+*/
+function XPress_MenuInit() {
+	register_widget('XPress_Menu_Widget');
+}
+add_action('widgets_init', 'XPress_MenuInit');
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/404.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/404.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/404.php	(revision 866)
@@ -0,0 +1,29 @@
+<?php get_header(); ?>
+
+       <div id="xpress_wrap">
+	   
+	<?php if(xpress_is_theme_sidebar_disp()) : ?>
+	   
+		<div id="xpress_content" class="narrowcolumn">
+		
+	<?php else : ?>
+	
+		<div id="xpress_content" class="narrowcolumn_nonside">
+		
+	<?php endif; ?>
+
+    <div id="xpress_header">
+    	<div id="xpress_headerimg">
+    		<h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
+    		<div class="description"><?php bloginfo('description'); ?></div>
+    	</div>
+    </div>
+
+		<h2 class="center"><?php _e('Error 404 - Not Found', 'xpress'); ?></h2>
+
+	</div>
+       </div>
+
+<?php get_sidebar(); ?>
+
+<?php get_footer(); ?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/archives.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/archives.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/archives.php	(revision 866)
@@ -0,0 +1,32 @@
+<?php
+/*
+Template Name: Archives
+*/
+?>
+
+<?php get_header(); ?>
+
+<div id="xpress_content" class="widecolumn">
+
+    <div id="xpress_header">
+    	<div id="xpress_headerimg">
+    		<h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
+    		<div class="description"><?php bloginfo('description'); ?></div>
+    	</div>
+    </div>
+
+<?php include (get_template_directory() . '/searchform.php'); ?>
+
+	<h2><?php _e('Archives by Month:', 'xpress'); ?></h2>
+	<ul>
+		<?php wp_get_archives('type=monthly'); ?>
+	</ul>
+
+	<h2><?php _e('Archives by Subject:', 'xpress'); ?></h2>
+	<ul>
+		 <?php wp_list_categories(); ?>
+	</ul>
+
+</div>
+
+<?php get_footer(); ?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/archives_block_theme.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/archives_block_theme.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/archives_block_theme.php	(revision 866)
@@ -0,0 +1,74 @@
+<?php
+// Block Version: 1.0
+function archives_block($options)
+{
+	$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+	$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_archives_block.html' : trim( $options[1] );
+	$type = empty( $options[2] ) ? 'monthly' : $options[2] ;
+	$limit  = !is_numeric( $options[3] ) ? 0 : $options[3] ;
+	$show_post_count = empty( $options[4] ) ? false : true ;		
+	$drop_down = empty( $options[5] ) ? false : true ;	
+	
+	switch($type){
+		case 'yearly':
+			$select_str = __('Select Yearly', 'xpress');
+			break;
+		case 'monthly':
+			$select_str = __('Select Monthly', 'xpress');
+			break;
+		case 'weekly':
+			$select_str = __('Select Weekly', 'xpress');
+			break;
+		case 'daily':
+			$select_str = __('Select Daily', 'xpress');
+			break;
+		case 'postbypost':
+			$select_str = __('Select Post', 'xpress');
+			break;
+		default:
+			$select_str = __('Select Monthly', 'xpress');
+	}
+	
+	if ($drop_down) $format = 'option'; else $format = 'html';
+	if ($limit == 0 ) $limit_str = ''; else $limit_str = $limit;
+	
+	$param = array(
+		'type' => $type, 
+		'limit' => $limit_str, 
+		'format' => $format, 
+		'before' => '', 
+		'after' => '',
+		'show_post_count' => $show_post_count
+	);
+	
+	ob_start();
+		wp_get_archives($param);
+		$get_archives_output = ob_get_contents();
+	ob_end_clean();
+	
+
+	if($drop_down){
+		
+
+		$output = '<form id="archiveform" action="">';
+		$output .= '<select name="archive_chrono" onchange="window.location = (document.forms.archiveform.archive_chrono[document.forms.archiveform.archive_chrono.selectedIndex].value);">';
+		$output .= "<option value=''>" . $select_str . "</option>\n";
+		$output .=  $get_archives_output;
+		$output .= '</select>';
+		$output .= '</form>';
+		
+		$output  = '<select name="archive-dropdown"' . "onChange='document.location.href=this.options[this.selectedIndex].value;'>\n";
+  		$output .= '<option value="">'.attribute_escape($select_str) . "</option>\n";
+  		$output .=	$get_archives_output;
+		$output .=	"</select>\n";
+		
+	} else {
+		$output  = "<ul>\n";
+		$output .=  $get_archives_output;
+		$output  .= "</ul>\n";
+	}
+	$block['archive'] = $output;
+	return $block ;	
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/authors_block_theme.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/authors_block_theme.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/authors_block_theme.php	(revision 866)
@@ -0,0 +1,42 @@
+<?php
+// Block Version: 1.0
+function authors_block($options)
+{
+	$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+	$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_block_authors.html' : trim( $options[1] );
+	$optioncount = empty( $options[2] ) ? 0 : 1 ;
+	$exclude_admin = empty( $options[3] ) ? 0 : 1 ;
+	$show_fullname = empty( $options[4] ) ? 0 : 1 ;
+	$hide_empty = empty( $options[5] ) ? 0 : 1 ;		
+	$mydirpath = get_xpress_dir_path();
+	
+	if(xpress_is_wp_version('<','2.3') ){
+		$param_str = 'optioncount='. $optioncount . '&exclude_admin=' . $exclude_admin .'&show_fullname='. $show_fullname . '&hide_empty=' . $hide_empty;
+		ob_start();
+			wp_list_authors($param_str); //WP2011 wp_list_authors() used only parse_str()
+			$list_authors = ob_get_contents() ;
+		ob_end_clean();
+	} else {
+		$param = array(
+			'optioncount' => $optioncount, 
+			'exclude_admin' => $exclude_admin, 
+			'show_fullname' => $show_fullname, 
+			'hide_empty' => $hide_empty,
+			'feed' => '',
+			'feed_image' => '',
+			'echo' => false
+		);
+		$list_authors =	wp_list_authors($param);
+	}
+	if (xpress_is_multi_user()){
+		$all_link = '<li>' . '<a href="' . get_bloginfo('url'). '" title="' . __('All Authors','xpress') . '">' .__('All Authors','xpress') . '</a></li>';
+	} else {
+		$all_link = ''; 
+	}
+	$output = "<ul>\n" . $all_link . $list_authors . "\n</ul>\n";
+	
+	$block['authors'] = $output;
+	
+	return $block ;
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/block_style.css
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/block_style.css	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/block_style.css	(revision 866)
@@ -0,0 +1,345 @@
+/*
+Theme Name: XPress Default BlockThemes
+
+*/
+
+.xpress_block {
+
+}
+
+.xpress_block ul {
+
+}
+
+.xpress_block li {
+
+}
+
+.xpress_block a {
+
+}
+
+.xpress_block a:hover {
+
+}
+
+.xpress_block a:visited {
+
+}
+
+/*********** page block    ***************/
+.xpress_page_block {
+
+}
+
+.xpress_page_block ul {
+
+}
+
+.xpress_page_block li {
+
+}
+
+.xpress_page_block a {
+
+}
+
+.xpress_page_block a:hover {
+
+}
+
+.xpress_page_block a:visited {
+
+}
+
+/*********** archive block ***************/
+.xpress_archive_block {
+
+}
+
+.xpress_archive_block ul {
+
+}
+
+.xpress_archive_block li {
+
+}
+
+.xpress_archive_block a {
+
+}
+
+.xpress_archive_block a:hover {
+
+}
+
+.xpress_archive_block a:visited {
+
+}
+
+/*********** authors block ***************/
+.xpress_authors_block {
+
+}
+
+.xpress_authors_block ul {
+
+}
+
+.xpress_authors_block li {
+
+}
+
+.xpress_authors_block a {
+
+}
+
+.xpress_authors_block a:hover {
+
+}
+
+.xpress_authors_block a:visited {
+
+}
+
+/*********** calender block ***************/
+.xpress_calender_block {
+	empty-cells: show;
+	margin: 10px auto 0;
+	width: 155px;
+}
+
+.xpress_calender_block a {
+	text-decoration: none;
+	display: block;
+}
+
+.xpress_calender_block caption {
+	font: bold 1.3em;
+	text-align: center;
+}
+
+.xpress_calender_block td {
+	padding: 0px 0;
+	text-align: center;
+}
+
+.xpress_calender_block th {
+	font-style: normal;
+	text-transform: capitalize;
+}
+
+.xpress_calender_block #next a {
+	font-size: 9pt;
+	padding-right: 10px;
+	text-align: right;
+	}
+
+.xpress_calender_block #prev a {
+	font-size: 9pt;
+	padding-left: 10px;
+	text-align: left;
+	}
+
+
+
+
+/* End Calendar */
+
+/*********** popular post block ***************/
+.xpress_popular_post_block {
+
+}
+
+.xpress_popular_post_block ul {
+
+}
+
+.xpress_popular_post_block li {
+
+}
+
+.xpress_popular_post_block a {
+
+}
+
+.xpress_popular_post_block a:hover {
+
+}
+
+.xpress_popular_post_block a:visited {
+
+}
+
+/*********** recent comments block ***************/
+.xpress_recent_comments_block {
+
+}
+
+.xpress_recent_comments_block ul {
+
+}
+
+.xpress_recent_comments_block li {
+
+}
+
+.xpress_recent_comments_block a {
+
+}
+
+.xpress_recent_comments_block a:hover {
+
+}
+
+.xpress_recent_comments_block a:visited {
+
+}
+
+/*********** recent post list block ***************/
+.xpress_recent_post_list_block {
+
+}
+
+.xpress_recent_post_list_block ul {
+
+}
+
+.xpress_recent_post_list_block li {
+
+}
+
+.xpress_recent_post_list_block a {
+
+}
+
+.xpress_recent_post_list_block a:hover {
+
+}
+
+.xpress_recent_post_list_block a:visited {
+
+}
+
+/*********** recent post content block ***************/
+.xpress_recent_post_content_block {
+
+}
+
+.xpress_recent_post_content_block ul {
+
+}
+
+.xpress_recent_post_content_block li {
+
+}
+
+.xpress_recent_post_content_block a {
+
+}
+
+.xpress_recent_post_content_block a:hover {
+
+}
+
+.xpress_recent_post_content_block a:visited {
+
+}
+
+/*********** Search block    ***************/
+.xpress_search_block {
+
+}
+
+/*********** recent post content block ***************/
+.xpress_tag_cloud_block {
+
+}
+
+.xpress_tag_cloud_block a {
+
+}
+
+.xpress_tag_cloud_block a:hover {
+
+}
+
+.xpress_tag_cloud_block a:visited {
+
+}
+
+/*********** category block ***************/
+.xpress_category_block {
+
+}
+
+.xpress_category_block ul {
+
+}
+
+.xpress_category_block li {
+
+}
+
+.xpress_category_block a {
+
+}
+
+.xpress_category_block a:hover {
+
+}
+
+.xpress_category_block a:visited {
+
+}
+
+/*********** meta block ***************/
+.xpress_meta_block {
+
+}
+
+.xpress_meta_block ul {
+
+}
+
+.xpress_meta_block li {
+
+}
+
+.xpress_meta_block a {
+
+}
+
+.xpress_meta_block a:hover {
+
+}
+
+.xpress_meta_block a:visited {
+
+}
+
+/*********** sidebar block ***************/
+.xpress_sidebar_block {
+	width:190px;
+
+}
+.xpress_sidebar_block h2 {
+	font-size:14px;
+	margin:5px 0 0;
+	padding:0;
+}
+/*********** widget block ***************/
+.xpress_widget_block {
+
+}
+.xpress_widget_block h2{
+	font-size: 10pt;
+
+}
+
+/*********** custom block ***************/
+.xpress_enhanced_block {
+
+}
+
+
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/blog_list_block_theme.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/blog_list_block_theme.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/blog_list_block_theme.php	(revision 866)
@@ -0,0 +1,96 @@
+<?php
+// Block Version: 1.0
+function blog_list_block($options)
+{
+	$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+	$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_block_category.html' : trim( $options[1] );
+	$orderby = empty( $options[2] ) ? 'name' : $options[2] ;
+	$order = empty( $options[3] ) ? 'ASC' : $options[3] ;
+
+	if (xpress_is_multiblog() && function_exists('get_blog_list')){
+		$blogs = get_blog_list(0,'all');
+		$data = array();
+		foreach ($blogs AS $blog) {
+			$url =  get_blog_option($blog['blog_id'],'siteurl');
+			$blog_name = get_blog_option( $blog['blog_id'], 'blogname' );
+			$blog_link = "<a href=\" $url \"> $blog_name </a>";
+			$blog_id = $blog['blog_id'];
+			$post_count = $blog['postcount'];
+			$last_post_date = '';
+			$last_post_time = '';
+			$last_post_date_time = '';
+				
+			$row_data = array(
+				'blog_id'		=> $blog_id ,
+				'blog_name'	=> $blog_link ,
+				'last_post_date' => $last_post_date ,
+				'last_post_time' => $last_post_time ,
+				'post_date_time' => $last_post_date_time ,
+				'last_post_date_time' => $post_modified_date ,
+				'post_count' => $post_count
+			);
+			$data[] = $row_data;
+		}
+		if (strcmp($order,'ASC') == 0){
+			switch($orderby){
+				case 'count':
+					usort($data, "r_post_count_cmp");
+					break;
+				case 'ID' :
+					usort($data, "r_blog_id_cmp");
+					break;
+				default :
+					usort($data, "r_blog_name_cmp");
+			}
+		} else {
+			switch($orderby){
+				case 'count':
+					usort($data, "post_count_cmp");
+					break;
+				case 'ID' :
+					usort($data, "blog_id_cmp");
+					break;
+				default :
+					usort($data, "blog_name_cmp");
+			}
+		}
+		
+		$block = array();
+		$item_no = 0;	
+		foreach ($data AS $row) {
+			$block['contents']['item'.$item_no] = $row;
+			$item_no++;
+		}// end of foreach
+		$block['data_count'] = $item_no;  //xml unserialise error
+	} else {
+		$block['err_message'] = __('This blog is not set to the multi blog.', 'xpress');
+	}
+	return $block ;
+}
+function blog_name_cmp($a, $b)
+{
+    return - strcasecmp($a["blog_name"], $b["blog_name"]);
+}
+function blog_id_cmp($a, $b)
+{
+    return $b["blog_id"] - $a["blog_id"];
+}
+function post_count_cmp($a, $b)
+{
+    return $b["post_count"] - $a["post_count"];
+}
+
+function r_blog_name_cmp($a, $b)
+{
+    return strcasecmp($a["blog_name"], $b["blog_name"]);
+}
+function r_blog_id_cmp($a, $b)
+{
+    return $a["blog_id"] - $b["blog_id"];
+}
+function r_post_count_cmp($a, $b)
+{
+    return $a["post_count"] - $b["post_count"];
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/calender_block_theme.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/calender_block_theme.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/calender_block_theme.php	(revision 866)
@@ -0,0 +1,15 @@
+<?php
+// Block Version: 1.0
+function calender_block($options)
+{
+	$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+	$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();
+
+	$block['calender'] = xpress_get_calendar('sun_color=' . $sun_color . '&sat_color=' .$sat_color);
+	return $block ;	
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/category_block_theme.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/category_block_theme.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/category_block_theme.php	(revision 866)
@@ -0,0 +1,77 @@
+<?php
+// Block Version: 1.0
+function category_block($options)
+{
+	$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+	$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_block_category.html' : trim( $options[1] );
+	$show_option_all = empty( $options[2] ) ? '' : $options[2] ;
+	$orderby = empty( $options[3] ) ? 'name' : $options[3] ;
+	$order = empty( $options[4] ) ? 'ASC' : $options[4] ;
+	$show_last_updated = empty( $options[5] ) ? false : true ;
+	$show_count = empty( $options[6] ) ? false : true ;
+	$hide_empty = empty( $options[7] ) ? false : true ;
+	$use_desc_for_title = empty( $options[8] ) ? false : true ;
+	$exclude = empty( $options[9] ) ? '' : $options[9] ;
+	$includes = empty( $options[10] ) ? '' : $options[10] ;
+	$hierarchical = empty( $options[11] ) ? false : true ;
+	$depth  = !is_numeric( $options[12] ) ? 0 : $options[12] ;
+	
+	if (function_exists('wp_list_categories')){
+		$param = array(
+			'show_option_all' => $show_option_all, 
+			'orderby' => $orderby, 
+			'order' => $order, 
+			'show_last_update' => $show_last_updated, 
+			'style' => 'list',
+			'show_count' => $show_count, 
+			'hide_empty' => $hide_empty, 
+			'use_desc_for_title' => $use_desc_for_title, 
+			'child_of' => 0, 
+			'feed' => '', 
+			'feed_image' => '', 
+			'exclude' => $exclude, 
+			'include' => $includes, 
+			'hierarchical' => $hierarchical, 
+			'title_li' => '',
+			'number' => '',
+			'echo' => 0,
+			'depth' => $depth
+		);
+		if ( xpress_is_wp_version('>=','2.3') ) {
+			$block['categories'] = wp_list_categories($param);
+		} else {	// not suport echo flag
+			ob_start();
+			wp_list_categories($param);
+			$block['categories'] = ob_get_contents();
+			ob_end_clean();
+		}
+	} else {
+		if (empty($show_option_all))
+			$optionall = 0;
+		else
+			$optionall = 1;
+		$param = array(
+			'optionall' => $optionall, 
+			'all' => $show_option_all,
+			'sort_column' => $orderby, 
+			'sort_order' => $order, 
+			'show_last_update' => $show_last_updated, 
+			'optioncount' => $show_count, 
+			'hide_empty' => $hide_empty, 
+			'use_desc_for_title' => $use_desc_for_title, 
+			'child_of' => 0, 
+			'feed' => '', 
+			'feed_image' => '', 
+			'exclude' => $exclude, 
+			'hierarchical' => $hierarchical, 
+			'recurse' => 1,
+		);
+		ob_start();
+			wp_list_cats($param);
+			$block['categories'] = ob_get_contents();
+		ob_end_clean();	
+	}
+	return $block ;	
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/enhanced_block_theme.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/enhanced_block_theme.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/enhanced_block_theme.php	(revision 866)
@@ -0,0 +1,34 @@
+<?php
+// Block Version: 1.1
+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';
+
+	$file_found = true;
+	if (empty($include_file)) {
+		$file_found = false;
+		$output = __('The include file name to display it is not set.','xpress');
+	}
+	if (! file_exists($include_path)) {
+		$include_path_temp = $include_path;
+		$include_path = dirname(dirname(dirname(__FILE__))).'/xpress_default/blocks/my_' . $include_file . '_block.php';
+		if (! file_exists($include_path)) {
+			$file_found = false;
+			$output = sprintf(__('File %s not exist.','xpress'),$include_path_temp);
+		}
+	}
+	if($file_found) {
+		ob_start();
+			require $include_path;
+			$output = ob_get_contents();
+		ob_end_clean();
+		if (empty($output)) $output = __('Data is Empty','xpress');
+	}
+	$block['enhanced'] = $output;
+	return $block ;	
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/global_popular_posts_block_theme.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/global_popular_posts_block_theme.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/global_popular_posts_block_theme.php	(revision 866)
@@ -0,0 +1,200 @@
+<?php
+// Block Version: 1.0
+function global_popular_posts_block($options)
+{
+	$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+	$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_grobal_popular_posts_block.html' : trim( $options[1] );
+	$disp_count = empty( $options[2] ) ? '10' : $options[2] ;
+	$show_month_range = empty( $options[3] ) ? '0' : $options[3] ;
+	$date_format = empty( $options[4] ) ? '' : $options[4] ;
+	$time_format = empty( $options[5] ) ? '' : $options[5] ;
+	
+	$selected = explode(',' , $cat_select);
+
+	$mydirpath = get_xpress_dir_path();
+	
+	if (empty($date_format)) $date_format = get_settings('date_format');
+	if (empty($time_format)) $time_format = get_settings('time_format');
+	
+	$cat_select;
+	$block = array();
+	$item_no = 0;	
+	
+	$selected_author_id = xpress_selected_author_id('echo=0');	
+	
+	$data_array = array();
+
+	global $wpdb,$wp_query,$xoops_db,$wp_rewrite;
+	
+	if (xpress_is_multiblog()){
+		$blogs = get_blog_list(0,'all');
+		foreach ($blogs AS $blog) {
+			switch_to_blog($blog['blog_id']);
+			$wp_rewrite->init();
+			
+			$blog_title = get_bloginfo('name');
+			$blog_link = get_bloginfo('url');
+			$blog_title_link = '<a href="' . $blog_link . '">' . $blog_title . '</a>' ;
+
+			$db_prefix = get_wp_prefix();
+			
+			$post_tb = $wpdb->posts;
+			$view_tb = $db_prefix . 'views';
+			$user_tb = $db_prefix . 'users';
+			
+			$term_relationships_tb = $wpdb->term_relationships;	// upper 2.3
+			$term_taxonomy = $wpdb->term_taxonomy;				// upper 2.3
+			$terms_tb = $wpdb->terms;							// upper 2.3
+
+			$post2cat_tb = $wpdb->post2cat; 					//under 2.3
+			$categories_tb = $wpdb->categories; 				//under 2.3
+			
+			include ($mydirpath . '/wp-includes/version.php');
+				
+			$select = "SELECT $view_tb.post_views, $post_tb.ID, $post_tb.post_title, $post_tb.post_date";				
+			if ($wp_db_version >= 6124){
+		 		$from  = " FROM (((";
+		 		$from .= " $post_tb LEFT JOIN $view_tb ON $post_tb.ID = $view_tb.post_id)";
+		 		$from .= " INNER JOIN $term_relationships_tb ON $post_tb.ID = $term_relationships_tb.object_id)";
+		 		$from .= " INNER JOIN $term_taxonomy ON $term_relationships_tb.term_taxonomy_id = $term_taxonomy.term_taxonomy_id)";
+		 		$from .= " INNER JOIN $terms_tb ON $term_taxonomy.term_id = $terms_tb.term_id ";
+		 		
+			 	$where = " WHERE $post_tb.post_type = 'post' AND $post_tb.post_status = 'publish'";
+			} else {
+				$from  = " FROM ((";
+				$from .= " $post_tb LEFT JOIN $view_tb ON $post_tb.ID = $view_tb.post_id)";
+				$from .= " LEFT JOIN $post2cat_tb ON $post_tb.ID = $post2cat_tb.post_id)";
+				$from .= " INNER JOIN $user_tb ON $post_tb.post_author = $user_tb.ID";
+				
+				$where = " WHERE ($post_tb.post_status = 'publish') AND  (UNIX_TIMESTAMP($post_tb.post_date) <= UNIX_TIMESTAMP())" ;
+				
+			}
+				
+
+			if ($show_month_range > 0) {
+			 		$where .= " AND (UNIX_TIMESTAMP($post_tb.post_date) >= UNIX_TIMESTAMP(DATE_ADD(CURRENT_DATE, INTERVAL -$show_month_range month)))";
+			}
+			$order_limmit = " GROUP BY $post_tb.ID ORDER BY $view_tb.post_views DESC LIMIT 0, $disp_count";
+			$sql = $select . $from . $where . $order_limmit;
+
+			$populars = $wpdb->get_results($sql);
+			
+			foreach ($populars as $popular){
+				$wp_query->in_the_loop = true;		//for use the_tags() in multi lopp 
+				$r = new WP_Query("p=$popular->ID");
+				if($r->have_posts()){
+					$r->the_post();
+					ob_start();
+						the_ID();
+						$post_id = ob_get_contents();
+					ob_end_clean();
+					
+					ob_start();
+						the_title();
+						$title = ob_get_contents();
+					ob_end_clean();
+					
+					ob_start();
+						the_permalink();
+						$permalink = ob_get_contents();
+					ob_end_clean();					
+					
+					ob_start();
+						the_author_posts_link();
+						$author = ob_get_contents();
+					ob_end_clean();
+					
+					ob_start();
+						the_category(' &bull; ');
+						$category = ob_get_contents();
+					ob_end_clean();	
+					
+					if (function_exists('the_tags')){
+						ob_start();
+							the_tags(__('Tags:', 'xpress') . ' ',' &bull; ','');
+							$tags = ob_get_contents();
+						ob_end_clean();	
+					} else {
+						$tags = '';
+					}
+					
+					ob_start();
+						the_modified_date($date_format);
+						$post_modified_date = ob_get_contents();
+					ob_end_clean();
+						
+					ob_start();
+						the_modified_date($time_format);
+						$post_modified_time = ob_get_contents();
+					ob_end_clean();
+					
+					ob_start();
+						the_time($date_format);
+						$post_date = ob_get_contents();
+					ob_end_clean();
+					
+					ob_start();
+						the_time($time_format);
+						$post_time = ob_get_contents();
+					ob_end_clean();
+					
+					
+					ob_start();
+						comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)'));
+						$comments_popup_link = ob_get_contents();
+					ob_end_clean();
+					
+
+					$post_title = '<a href="' . $permalink . '">' . $title . '</a>';
+					$post_date_time = $post_date . ' ' . $post_time ;
+					$post_modified_date_time = $post_modified_date . ' ' . $post_modified_time ;
+					$trackback_url = trackback_url(false);
+					$post_views = xpress_post_views_count('post_id=' . $post_id . '&format=' . __('Views :%d', 'xpress'). '&echo=0');
+					$post_views_num = (int) xpress_post_views_count("post_id={$post_id}&format=%d&echo=0");
+					$row_data = array(
+						'blog_title' => $blog_title ,
+						'blog_link' => $blog_link ,
+						'blog_title_link' => $blog_title_link ,
+						'post_id'		=> $post_id ,
+						'post_title'	=> $post_title ,
+						'post_date' => $post_date ,
+						'post_time' => $post_time ,
+						'post_date_time' => $post_date_time ,
+						'post_modified_date' => $post_modified_date ,
+						'post_modified_time' => $post_modified_time ,
+						'post_modified_date_time' => $post_modified_date_time ,
+						'post_author' 	=> $author ,
+						'post_category' 	=> $category ,	
+						'post_tags' 		=> $tags,
+						'post_views' 		=> $post_views,
+						'post_views_num'	=> $post_views_num,
+						'comment_link' 	=> $comments_popup_link ,
+						'trackback_url' => $trackback_url
+					);
+					$data_array[] = $row_data;
+				}
+			}  // end of foreach
+			restore_current_blog();
+			$wp_rewrite->init();
+		}
+		usort($data_array, "post_views_cmp");
+		if (!empty($disp_count)){
+			$data_array = array_slice($data_array,0,$disp_count);
+		}
+
+		$item_no = 0;
+		foreach ($data_array as $data) {
+			$block['contents']['item'.$item_no] = $data;
+			$item_no++;
+		}
+		$block['data_count'] = $item_no;
+	} else {
+		$block['err_message'] = __('This blog is not set to the multi blog.', 'xpress');
+	}
+	return $block ;
+}
+function post_views_cmp($a, $b)
+{
+    return $b['post_views_num'] - $a['post_views_num'];
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/global_recent_comments_block_theme.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/global_recent_comments_block_theme.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/global_recent_comments_block_theme.php	(revision 866)
@@ -0,0 +1,140 @@
+<?php
+// Block Version: 1.0
+function global_recent_comments_block($options)
+{
+	$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+	$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_global_recent_comments_block.html' : trim( $options[1] );
+	$disp_count = empty( $options[2] ) ? '10' : $options[2] ;
+	$disp_length = empty( $options[3] ) ? '30' : $options[3] ;
+	$date_format = empty( $options[4] ) ? '' : $options[4] ;
+	$time_format = empty( $options[5] ) ? '' : $options[5] ;
+	$com_select = empty( $options[6] ) ? '0' : $options[6] ;
+
+	$selected = explode(',' , $com_select);
+
+	$mydirpath = get_xpress_dir_path();
+	
+	if (empty($date_format)) $date_format = get_settings('date_format');
+	if (empty($time_format)) $time_format = get_settings('time_format');
+	
+	$disp_all = in_array('0',$selected);
+	$disp_comment = in_array('1',$selected);
+	$disp_trackback = in_array('2',$selected);
+	$disp_pingback = in_array('3',$selected);
+	
+	$type_select = '';
+	if (!$disp_all){			
+		if ($disp_comment){
+			$in_where =  "''";
+		}
+		if ($disp_trackback){
+			if (empty($in_where)) $in_where =  "'trackback' "; else $in_where .=  ",'trackback'";
+		}
+				
+		if ($disp_pingback){
+			if (empty($in_where)) $in_where =  "'pingback' "; else $in_where .=  ",'pingback'";
+		}
+		
+		if (! empty($in_where)){
+			$type_select = " AND comment_type IN($in_where) ";				
+		}
+	}
+	
+	global $wpdb, $wp_rewrite , $switched , $blog_id;
+	$block = array();
+	$comment_array = array();
+	if (xpress_is_multiblog()){
+		$blogs = get_blog_list(0,'all');
+		foreach ($blogs AS $blog) {
+			switch_to_blog($blog['blog_id']);
+			$wp_rewrite->init();
+			if (!is_null($wpdb)){
+				$comment_sql  = "SELECT comment_ID,comment_post_ID,comment_author,comment_author_email,comment_author_url,comment_content, comment_type,UNIX_TIMESTAMP(comment_date) as comment_unix_time ";
+				$comment_sql .= "FROM $wpdb->comments LEFT JOIN $wpdb->posts ON  $wpdb->posts.ID = $wpdb->comments.comment_post_ID ";
+				if (xpress_is_wp_version('<','2.1')){
+					$comment_sql .= "WHERE comment_approved = '1' AND post_status = 'publish' $type_select ";
+				} else {
+					$comment_sql .= "WHERE comment_approved = '1' AND post_type = 'post'  AND post_status = 'publish' $type_select ";
+				}
+				$comment_sql .= "ORDER BY comment_date_gmt DESC LIMIT $disp_count";
+				$comments = $wpdb->get_results($comment_sql);
+				
+				if ( $comments ) {
+						$blog_title = get_bloginfo('name');
+						$blog_link = get_bloginfo('url');
+						$blog_title_link = '<a href="' . $blog_link . '">' . $blog_title . '</a>' ;
+					foreach ($comments as $comment){
+						$comment_content = $comment->comment_content;
+						$comment_unix_time = $comment->comment_unix_time;
+						$comment_excerpt = ($disp_length>0 ? xpress_substr($comment_content, 0, $disp_length): $comment->comment_content);
+						$comment_link = get_comment_link($comment->comment_ID);
+						$comment_title = $comment_excerpt;
+						$comment_title_link = "<a href='$comment_link' rel='external nofollow' class='url'>$comment_title</a>";
+
+						$post_link = get_permalink($comment->comment_post_ID);
+						$post_title = get_the_title($comment->comment_post_ID);
+						$post_title_link = '<a href="'. $post_link . '">' . $post_title . '</a>';
+						
+						$author_link = $comment->comment_author_url;
+						$author_name = $comment->comment_author;
+						$author_name_link = (( empty( $author_link ) || 'http://' == $author_link ) ? $author_name : "<a href='$author_link' rel='external nofollow' class='url'>$author_name</a>");
+
+						$comment_type = (empty($comment->comment_type) ? 'comment': $comment->comment_type);
+						
+						$post_title_comment_link = '<a href="'. $comment_link . '">' . $post_title . '</a>';
+						$from_auther_to_post = sprintf(__('%1$s on %2$s','xpress'), $author_name_link , $post_title_comment_link );
+
+						$row_data = array(
+							'blog_title' => $blog_title ,
+							'blog_link' => $blog_link ,
+							'blog_title_link' => $blog_title_link ,
+							'comment_ID' 		=> $comment->comment_ID ,
+							'comment_post_ID'	=> $comment->comment_post_ID ,
+							'comment_unix_time' => $comment_unix_time ,
+							'comment_date' 		=> date($date_format,$comment->comment_unix_time) ,
+							'comment_date_time' => date($date_format . ' ' . $time_format,$comment->comment_unix_time) ,
+							'comment_content' 	=> $comment_content ,
+							'comment_excerpt' 	=> $comment_excerpt ,
+							'comment_link' 		=> $comment_link,
+							'comment_title' 	=> $comment_title ,
+							'comment_title_link' => $comment_title_link ,
+							'post_link' 		=> $post_link,
+							'post_title' 		=> $post_title,
+							'post_title_link' 	=> $post_title_link,
+							'author_link' 		=> $author_link,
+							'author_name' 		=> $author_name,
+							'author_name_link' 	=> $author_name_link,
+							'comment_type' 		=> $comment_type,
+							'from_auther_to_post' => $from_auther_to_post
+						);
+						$comment_array[] = $row_data;
+					}
+					$block['data_count'] = $item_no;
+				}
+			}
+			restore_current_blog();
+			$wp_rewrite->init();
+		} // end of foreach
+		usort($comment_array, "the_comment_time_cmp");
+		if (!empty($disp_count)){
+			$comment_array = array_slice($comment_array,0,$disp_count);
+		}
+
+		$item_no = 0;
+		foreach ($comment_array AS $comment) {
+			$block['contents']['item'.$item_no] = $comment;
+			$item_no++;
+		}
+		$block['data_count'] = $item_no;
+	} else {
+		$block['err_message'] = __('This blog is not set to the multi blog.', 'xpress');
+	}
+
+	return $block ;
+}
+function the_comment_time_cmp($a, $b)
+{
+    return - strcasecmp($a['comment_unix_time'], $b['comment_unix_time']);
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/global_recent_posts_list_block_theme.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/global_recent_posts_list_block_theme.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/global_recent_posts_list_block_theme.php	(revision 866)
@@ -0,0 +1,53 @@
+<?php
+// Block Version: 1.0
+function global_recent_posts_list_block($options)
+{
+	$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+	$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_global_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] ;
+	$date_format = empty( $options[5] ) ? '' : $options[5] ;
+	$time_format = empty( $options[6] ) ? '' : $options[6] ;
+	$shown_for_each_blog = empty( $options[7] ) ? false : true ;		
+	$exclusion_blog = empty( $options[8] ) ? '0' : $options[8] ;
+	
+	$mydirpath = get_xpress_dir_path();
+	
+	if (xpress_is_multiblog() && function_exists('get_blog_list')){
+		if (empty($date_format)) $date_format = get_settings('date_format');
+		if (empty($time_format)) $time_format = get_settings('time_format');
+		if(empty($tag_select)) $tag_where = ''; else $tag_where = "tag='$tag_select'&";
+		
+		global $wpdb,$wp_query;
+		$block = array();
+		
+		$data_array = xpress_grobal_recent_posts($disp_count,$exclusion_blog,$shown_for_each_blog);
+		$item_no = 0;
+		$red_sec = $disp_red *60*60*24;
+		$green_sec = $disp_green *60*60*24;
+		foreach($data_array as $data){
+			$elapse = time() - $data->post_unix_time;
+			$new_mark = '';
+			if ($elapse < $red_sec ) {
+				$new_mark = '<em style="color: red; font-size: small;">New! </em>';
+
+			} else if ($elapse < $green_sec) {
+				$new_mark = '<em style="color: green; font-size: small;">New! </em>';
+			}
+			$data->new_mark = $new_mark;
+
+			$row_data = get_object_vars($data);
+				
+			$block['contents']['item'.$item_no] = $row_data;
+			$item_no++;
+		}
+		$block['data_count'] = $item_no;  //xml unserialise error
+		$block['shown_for_each_blog'] = $shown_for_each_blog;
+	} else {
+		$block['err_message'] = __('This blog is not set to the multi blog.', 'xpress');
+	}
+		
+	return $block ;
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/meta_block_theme.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/meta_block_theme.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/meta_block_theme.php	(revision 866)
@@ -0,0 +1,97 @@
+<?php
+// Block Version: 1.0
+function meta_block($options)
+{
+	$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+	$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_block_meta.html' : trim( $options[1] );
+	$wp_link = empty( $options[2] ) ? false : true ;
+	$xoops_link = empty( $options[3] ) ? false : true ;
+	$post_rss = empty( $options[4] ) ? false : true ;
+	$comment_rss = empty( $options[5] ) ? false : true ;
+	$post_new = empty( $options[6] ) ? false : true ;
+	$admin_edit = empty( $options[7] ) ? false : true ;
+	$readme = empty( $options[8] ) ? false : true ;
+	$ch_style = empty( $options[9] ) ? false : true ;
+	
+	$output ="<ul>\n";
+	
+	if ($wp_link){
+		$output .= '<li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform." target="_blank">WordPress</a></li>';
+	}
+	if ($xoops_link){
+		$output .= '<li><a href="http://xoopscube.sourceforge.net/" title="Powered by XOOPS Cube, state-of-the-art Content Management Portal." target="_blank">XOOPS cube</a></li>';
+	}
+	if ($post_rss){	
+		$output .= '<li><a href="'.get_bloginfo('rss2_url').'" title="'. __('Posts RSS', 'xpress') .'">'. __('Posts RSS', 'xpress') .'</a></li>';
+	}
+	if ($comment_rss){	
+		$output .= '<li><a href="'.get_bloginfo('comments_rss2_url').'" title="'. __('Comments RSS', 'xpress') .'">'. __('Comments RSS', 'xpress') .'</a></li>';
+	}
+
+	if (is_user_logged_in()) { 
+		global $current_user;
+
+		$Now_user_level = $current_user->user_level;
+		
+		if ($post_new){
+			if($Now_user_level > 0){
+				if (xpress_is_wp_version('<','2.1') ){
+					$output .=
+					'<li>'.
+					'<a href="'.get_settings('siteurl').'/wp-admin/post.php" title="'. __('Add New', 'xpress') .'">'. __('Add New', 'xpress') .'</a>'.
+					'</li>';
+				} else {
+					$output .=
+					'<li>'.
+					'<a href="'.get_settings('siteurl').'/wp-admin/post-new.php" title="'. __('Add New', 'xpress') .'">'. __('Add New', 'xpress') .'</a>'.
+					'</li>';
+				}
+			}
+		}
+		if ($admin_edit){
+			if($Now_user_level > 7){
+				$output .=	
+				'<li>'.
+				'<a href="'.get_settings('siteurl').'/wp-admin/" title="'. __('Site Admin', 'xpress') .'">'. __('Site Admin', 'xpress') .'</a>'.
+				'</li>';
+			}
+		}
+		$output .=
+				'<li>'.
+				'<a href="'.get_settings('siteurl').'/wp-admin/profile.php" title="' . __('User Profile', 'xpress') .'">'. __('User Profile', 'xpress') .'</a>'.
+				'</li>';				
+		
+
+		if (defined('S2VERSION')){
+			if($Now_user_level > 7){
+					$output .=
+					'<li>'.
+					'<a href="'.get_settings('siteurl').'/wp-admin/users.php?page=subscribe2/subscribe2.php" title="'. __('Subscription management', 'xpress') .'">'. __('Subscription management', 'xpress') .'</a>'.
+					'</li>';
+			} else {
+					$output .=
+					'<li>'.
+					'<a href="'.get_settings('siteurl').'/wp-admin/profile.php?page=subscribe2/subscribe2.php" title="'. __('Subscription management', 'xpress') .'">'. __('Subscription management', 'xpress') .'</a>'.
+					'</li>';
+			}
+		}
+			
+	}
+	
+	if ($readme){
+		$output .='<li>'.'<a href="'.get_settings('siteurl').'/readme.html" title="' .  __('ReadMe', 'xpress') . '">' . __('ReadMe', 'xpress') . '</a>'.'</li>';
+	}
+	$output .= disp_mode_set();
+	if (function_exists('wp_theme_switcher') ) {
+		ob_start();
+			echo '<li>' . __('Themes') . ':';
+			wp_theme_switcher('dropdown');
+			echo '</li>';
+			$output .= ob_get_contents();
+		ob_end_clean();
+	}
+	$output .= '</ul>';
+	$block['meta_info'] = $output;
+	return $block ;	
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/page_block_theme.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/page_block_theme.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/page_block_theme.php	(revision 866)
@@ -0,0 +1,54 @@
+<?php
+// Block Version: 1.0
+function page_block($options)
+{
+	$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+	$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_page_block.html' : trim( $options[1] );
+	$sort_column = empty( $options[2] ) ? 'post_title' : $options[2] ;
+	$sort_order = empty( $options[3] ) ? 'asc' : $options[3] ;
+	$exclude = empty( $options[4] ) ? '' : $options[4] ;
+	$exclude_tree = empty( $options[5] ) ? '' : $options[5] ;
+	$includes = empty( $options[6] ) ? '' : $options[6] ;
+	$depth  = !is_numeric( $options[7] ) ? 0 : $options[7] ;
+	$child_of  = !is_numeric( $options[8] ) ? 0 : $options[8] ;
+	$show_date = empty( $options[9] ) ? 'none' : $options[9] ;
+	$date_format = empty( $options[10] ) ? '' : $options[10] ;
+	$hierarchical = empty( $options[11] ) ? false : true ;
+	$meta_key = empty( $options[12] ) ? '' : $options[12] ;
+	$meta_value = empty( $options[13] ) ? '' : $options[13] ;
+
+	if (empty($date_format)) $date_format = get_option('date_format');
+	if ($exclude_tree == 0 ) $exclude_tree = '';
+	if ($show_date == 'none' ) $show_date = '';
+	
+	if (xpress_is_wp_version('>=','2.2')){
+		$parm = array(
+	    	'sort_column'	=> $sort_column, 
+	    	'sort_order'	=> $sort_order, 
+	    	'exclude'		=> $exclude,
+	    	'exclude_tree'	=> $exclude_tree,
+	    	'include'		=> $includes,
+	    	'depth'			=> $depth, 
+	    	'child_of'		=> $child_of,
+	    	'show_date'		=> $show_date,
+	    	'date_format'	=> $date_format,
+	    	'title_li'		=> '',
+	    	'echo'			=> 0,
+	    	'hierarchical'	=> $hierarchical,
+	    	'meta_key'		=> $meta_key,
+	    	'meta_value'	=> $meta_value
+	    );
+		$output = "<ul>\n" . wp_list_pages($parm) . "\n</ul>\n";
+	} else {
+		$output = "<ul>\n";
+		ob_start();
+			wp_list_pages($parm);
+			$output .= ob_get_contents();
+		ob_end_clean();
+		$output .="\n</ul>\n";
+	}
+	$block['list_pages'] = $output;
+	return $block ;	
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/popular_posts_block_theme.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/popular_posts_block_theme.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/popular_posts_block_theme.php	(revision 866)
@@ -0,0 +1,218 @@
+<?php
+// Block Version: 1.0
+function popular_posts_block($options)
+{
+	$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+	$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] ;
+	$date_format = empty( $options[4] ) ? '' : $options[4] ;
+	$time_format = empty( $options[5] ) ? '' : $options[5] ;
+	$tag_select = $options[6] ;
+	$cat_select = empty( $options[7] ) ? '0' : $options[7] ;
+	
+	$selected = explode(',' , $cat_select);
+
+	$mydirpath = get_xpress_dir_path();
+	
+	if (empty($date_format)) $date_format = get_settings('date_format');
+	if (empty($time_format)) $time_format = get_settings('time_format');
+	if (array_search(0,$selected)===0) $cat_select = 0;
+	
+	$cat_select;
+	$block = array();
+	$item_no = 0;	
+	
+	$selected_author_id = xpress_selected_author_id('echo=0');	
+
+	global $wpdb,$wp_query,$xoops_db;
+	
+	$db_prefix = get_wp_prefix();
+	
+	$post_tb = $wpdb->posts;
+	$view_tb = $db_prefix . 'views';
+	$user_tb = $db_prefix . 'users';
+	
+	$term_relationships_tb = $wpdb->term_relationships;	// upper 2.3
+	$term_taxonomy = $wpdb->term_taxonomy;				// upper 2.3
+	$terms_tb = $wpdb->terms;							// upper 2.3
+
+	$post2cat_tb = $wpdb->post2cat; 					//under 2.3
+	$categories_tb = $wpdb->categories; 				//under 2.3
+	
+	include ($mydirpath . '/wp-includes/version.php');
+		
+	$select = "SELECT $view_tb.post_views, $post_tb.ID, $post_tb.post_title, $post_tb.post_date";				
+	if ($wp_db_version >= 6124){
+ 		$from  = " FROM (((";
+ 		$from .= " $post_tb LEFT JOIN $view_tb ON $post_tb.ID = $view_tb.post_id)";
+ 		$from .= " INNER JOIN $term_relationships_tb ON $post_tb.ID = $term_relationships_tb.object_id)";
+ 		$from .= " INNER JOIN $term_taxonomy ON $term_relationships_tb.term_taxonomy_id = $term_taxonomy.term_taxonomy_id)";
+ 		$from .= " INNER JOIN $terms_tb ON $term_taxonomy.term_id = $terms_tb.term_id ";
+ 		
+	 	$where = " WHERE $post_tb.post_type = 'post' AND $post_tb.post_status = 'publish'";
+//		if (!empty($selected_author_id)){
+//			$where  .= " AND ($post_tb.post_author = $selected_author_id) ";
+//			$where  .= " AND ($post_tb.post_author = 2) ";
+//		}
+
+	 	if ($cat_select) {
+	 		$where .= " AND ($term_taxonomy.term_id IN ($cat_select))";
+		}
+		
+		if (!empty($tag_select)) {
+			$tag_id_list= get_tag_id($tag_select);
+			if (!empty($tag_id_list))
+				$where .= " AND ($term_taxonomy.term_id IN ($tag_id_list))";
+		}
+	} else {
+		$from  = " FROM ((";
+		$from .= " $post_tb LEFT JOIN $view_tb ON $post_tb.ID = $view_tb.post_id)";
+		$from .= " LEFT JOIN $post2cat_tb ON $post_tb.ID = $post2cat_tb.post_id)";
+		$from .= " INNER JOIN $user_tb ON $post_tb.post_author = $user_tb.ID";
+		
+		$where = " WHERE ($post_tb.post_status = 'publish') AND  (UNIX_TIMESTAMP($post_tb.post_date) <= UNIX_TIMESTAMP())" ;
+		
+	 	if ($cat_select) {
+	 		$where .= " AND ($post2cat_tb.category_id IN ($cat_select))";
+		}
+	}
+		
+
+	if ($show_month_range > 0) {
+	 		$where .= " AND (UNIX_TIMESTAMP($post_tb.post_date) >= UNIX_TIMESTAMP(DATE_ADD(CURRENT_DATE, INTERVAL -$show_month_range month)))";
+	}
+	$order_limmit = " GROUP BY $post_tb.ID ORDER BY $view_tb.post_views DESC LIMIT 0, $disp_count";
+	$sql = $select . $from . $where . $order_limmit;
+
+	$populars = $wpdb->get_results($sql);
+	
+	foreach ($populars as $popular){
+		$wp_query->in_the_loop = true;		//for use the_tags() in multi lopp 
+		$r = new WP_Query("p=$popular->ID");
+		if($r->have_posts()){
+			$r->the_post();
+			ob_start();
+				the_ID();
+				$post_id = ob_get_contents();
+			ob_end_clean();
+			
+			ob_start();
+				the_title();
+				$title = ob_get_contents();
+			ob_end_clean();
+			
+			ob_start();
+				the_permalink();
+				$permalink = ob_get_contents();
+			ob_end_clean();					
+			
+			ob_start();
+				the_author_posts_link();
+				$author = ob_get_contents();
+			ob_end_clean();
+			
+			ob_start();
+				the_category(' &bull; ');
+				$category = ob_get_contents();
+			ob_end_clean();	
+			
+			if (function_exists('the_tags')){
+				ob_start();
+					the_tags(__('Tags:', 'xpress') . ' ',' &bull; ','');
+					$tags = ob_get_contents();
+				ob_end_clean();	
+			} else {
+				$tags = '';
+			}
+			
+			ob_start();
+				the_modified_date($date_format);
+				$post_modified_date = ob_get_contents();
+			ob_end_clean();
+				
+			ob_start();
+				the_modified_date($time_format);
+				$post_modified_time = ob_get_contents();
+			ob_end_clean();
+			
+			ob_start();
+				the_time($date_format);
+				$post_date = ob_get_contents();
+			ob_end_clean();
+			
+			ob_start();
+				the_time($time_format);
+				$post_time = ob_get_contents();
+			ob_end_clean();
+			
+			
+			ob_start();
+				comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)'));
+				$comments_popup_link = ob_get_contents();
+			ob_end_clean();
+			
+
+			$post_title = '<a href="' . $permalink . '">' . $title . '</a>';
+			$post_date_time = $post_date . ' ' . $post_time ;
+			$post_modified_date_time = $post_modified_date . ' ' . $post_modified_time ;
+			$trackback_url = trackback_url(false);
+			$post_viwes = xpress_post_views_count('post_id=' . $post_id . '&format=' . __('Views :%d', 'xpress'). '&echo=0');
+
+//			if (empty($tags)) $tags = __('Not Tag');
+
+			$row_data = array(
+				'post_id'		=> $post_id ,
+				'post_title'	=> $post_title ,
+				'post_date' => $post_date ,
+				'post_time' => $post_time ,
+				'post_date_time' => $post_date_time ,
+				'post_modified_date' => $post_modified_date ,
+				'post_modified_time' => $post_modified_time ,
+				'post_modified_date_time' => $post_modified_date_time ,
+				'post_author' 	=> $author ,
+				'post_category' 	=> $category ,	
+				'post_tags' 		=> $tags,
+				'post_views' 		=> $post_viwes,
+				'comment_link' 	=> $comments_popup_link ,
+				'trackback_url' => $trackback_url
+			);
+			$block['contents']['item'.$item_no] = $row_data;
+			$item_no++;
+		}
+	}  // end of foreach
+	$block['data_count'] = $item_no;  //xml unserialise error
+	return $block ;
+}
+
+function get_tag_id($tag_list = ''){
+	global $wpdb,$wp_query;
+	
+	if (empty($tag_list)) return '';
+	
+	$tag_arrys = explode(',',$tag_list);
+	$tag_str = '';
+	foreach ($tag_arrys as $tag_s){
+		if (!empty($tag_str)) $tag_str .= ',';
+		$tag_str .= "'" . $tag_s . "'";
+	}
+	
+	$db_xpress_terms = $wpdb->terms;					// upper 2.3
+	$db_xpress_term_taxonomy = $wpdb->term_taxonomy;				// upper 2.3
+
+	$query = "
+		SELECT $db_xpress_terms.term_id as tag_ID  
+		FROM $db_xpress_terms LEFT JOIN $db_xpress_term_taxonomy ON $db_xpress_terms.term_id = $db_xpress_term_taxonomy.term_id 
+		WHERE $db_xpress_term_taxonomy.taxonomy = 'post_tag' AND $db_xpress_terms.name IN ($tag_str)
+    ";
+
+	$tags = $wpdb->get_results($query);
+	$no =0;
+	foreach ($tags as $tag){
+		$tags_id[$no] = $tag->tag_ID;
+		$no++;	
+	}
+	$tags_id_list = implode(',' , $tags_id);
+	return $tags_id_list;
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/recent_comments_block_theme.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/recent_comments_block_theme.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/recent_comments_block_theme.php	(revision 866)
@@ -0,0 +1,112 @@
+<?php
+// Block Version: 1.2
+function recent_comments_block($options)
+{
+	$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+	$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] ;
+	$date_format = empty( $options[4] ) ? '' : $options[4] ;
+	$time_format = empty( $options[5] ) ? '' : $options[5] ;
+	$com_select = empty( $options[6] ) ? '0' : $options[6] ;
+
+	$selected = explode(',' , $com_select);
+
+	$mydirpath = get_xpress_dir_path();
+	
+	if (empty($date_format)) $date_format = get_settings('date_format');
+	if (empty($time_format)) $time_format = get_settings('time_format');
+	
+	$disp_all = in_array('0',$selected);
+	$disp_comment = in_array('1',$selected);
+	$disp_trackback = in_array('2',$selected);
+	$disp_pingback = in_array('3',$selected);
+	
+	$type_select = '';
+	if (!$disp_all){			
+		if ($disp_comment){
+			$in_where =  "''";
+		}
+		if ($disp_trackback){
+			if (empty($in_where)) $in_where =  "'trackback' "; else $in_where .=  ",'trackback'";
+		}
+				
+		if ($disp_pingback){
+			if (empty($in_where)) $in_where =  "'pingback' "; else $in_where .=  ",'pingback'";
+		}
+		
+		if (! empty($in_where)){
+			$type_select = " AND comment_type IN($in_where) ";				
+		}
+	}
+	
+	global $wpdb;
+	$block = array();
+		
+	if (!is_null($wpdb)){
+		$comment_sql  = "SELECT comment_ID,comment_post_ID,comment_author,comment_author_email,comment_author_url,comment_content, comment_type,UNIX_TIMESTAMP(comment_date) as comment_unix_time ";
+		$comment_sql .= "FROM $wpdb->comments LEFT JOIN $wpdb->posts ON  $wpdb->posts.ID = $wpdb->comments.comment_post_ID ";
+		if (xpress_is_wp_version('<','2.1')){
+			$comment_sql .= "WHERE comment_approved = '1' AND post_status = 'publish' $type_select ";
+		} else {
+			$comment_sql .= "WHERE comment_approved = '1' AND post_type = 'post'  AND post_status = 'publish' $type_select ";
+		}
+		$comment_sql .= "ORDER BY comment_date_gmt DESC LIMIT $disp_count";
+		$comments = $wpdb->get_results($comment_sql);
+		
+		if ( $comments ) {
+			$output .= '<ul>';
+			$item_no = 0;
+			foreach ($comments as $comment){
+				$comment_content = $comment->comment_content;
+				$comment_excerpt = ($disp_length>0 ? xpress_substr($comment_content, 0, $disp_length): $comment->comment_content);
+				if (xpress_is_wp_version('<','2.7')){
+					$comment_link = get_permalink( $comment->comment_post_ID ) . '#comment-' . $comment->comment_ID;
+				} else {
+					$comment_link = clean_url(get_comment_link($comment->comment_ID));
+				}
+				$comment_title = $comment_excerpt;
+				$comment_title_link = "<a href='$comment_link' rel='external nofollow' class='url'>$comment_title</a>";
+
+				$post_link = get_permalink($comment->comment_post_ID);
+				$post_title = get_the_title($comment->comment_post_ID);
+				$post_title_link = '<a href="'. $post_link . '">' . $post_title . '</a>';
+				
+				$author_link = $comment->comment_author_url;
+				$author_name = $comment->comment_author;
+				$author_name_link = (( empty( $author_link ) || 'http://' == $author_link ) ? $author_name : "<a href='$author_link' rel='external nofollow' class='url'>$author_name</a>");
+
+				$comment_type = (empty($comment->comment_type) ? 'comment': $comment->comment_type);
+				
+				$post_title_comment_link = '<a href="'. $comment_link . '">' . $post_title . '</a>';
+				$from_auther_to_post = sprintf(__('%1$s on %2$s','xpress'), $author_name_link , $post_title_comment_link );
+
+				$row_data = array(
+					'comment_ID' 		=> $comment->comment_ID ,
+					'comment_post_ID'	=> $comment->comment_post_ID ,
+					'comment_date' 		=> date($date_format,$comment->comment_unix_time) ,
+					'comment_date_time' => date($date_format . ' ' . $time_format,$comment->comment_unix_time) ,
+					'comment_content' 	=> $comment_content ,
+					'comment_excerpt' 	=> $comment_excerpt ,
+					'comment_link' 		=> $comment_link,
+					'comment_title' 	=> $comment_title ,
+					'comment_title_link' => $comment_title_link ,
+					'post_link' 		=> $post_link,
+					'post_title' 		=> $post_title,
+					'post_title_link' 	=> $post_title_link,
+					'author_link' 		=> $author_link,
+					'author_name' 		=> $author_name,
+					'author_name_link' 	=> $author_name_link,
+					'comment_type' 		=> $comment_type,
+					'from_auther_to_post' => $from_auther_to_post
+				);
+				
+				$block['contents']['item'.$item_no] = $row_data;
+				$item_no++;
+			}
+			$block['data_count'] = $item_no;
+		}
+	}
+	return $block ;
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/recent_posts_content_block_theme.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/recent_posts_content_block_theme.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/recent_posts_content_block_theme.php	(revision 866)
@@ -0,0 +1,202 @@
+<?php
+// Block Version: 1.0
+function recent_posts_content_block($options)
+{
+	$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+	$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_recent_posts_content_block.html' : trim( $options[1] );
+	$disp_count =  ($options[2])?intval($options[2]):10;
+	$excerpt = empty( $options[3] ) ? false : true ;
+	$excerpt_size =  ($options[4])?intval($options[4]):100;
+	$date_format = empty( $options[5] ) ? '' : $options[5] ;
+	$time_format = empty( $options[6] ) ? '' : $options[6] ;
+	$tag_select = $options[7] ;
+	$cat_select = empty( $options[8] ) ? '0' : $options[8] ;
+	$day_select = ($options[9])?intval($options[9]):0;
+	$day_size = ($options[10])?intval($options[10]):0;
+
+	$selected = explode(',' , $cat_select);
+	
+	$mydirpath = get_xpress_dir_path();
+	
+	if (empty($date_format)) $date_format = get_settings('date_format');
+	if (empty($time_format)) $time_format = get_settings('time_format');
+	if(empty($tag_select)) $tag_where = ''; else $tag_where = "tag='$tag_select'&";
+	if (array_search(0,$selected)===0) $cat_select = 0;
+
+	$selected_author_id = xpress_selected_author_id('echo=0');	
+	if (!empty($selected_author_id)){
+		$author_where ="author=$selected_author_id&";
+	} else {
+		$author_where = '';
+	}
+	
+	$date_today = mktime (0, 0, 0, date("m"), date("d"), date("Y"));
+	$between_days = $day_size * 60 * 60 * 24;
+	
+	global $wpdb,$wp_query;
+	$block = array();
+	$item_no = 0;	
+	if (!is_null($wpdb)){
+		$wp_query->in_the_loop = true;		//for use the_tags() in multi lopp 
+		if ($cat_select) {
+			$r = new WP_Query($author_where . $tag_where ."cat=$cat_select&showposts=$disp_count&what_to_show=posts&nopaging=0&post_status=publish");
+		} else {
+			$r = new WP_Query($author_where . $tag_where ."showposts=$disp_count&what_to_show=posts&nopaging=0&post_status=publish");
+		}
+		while($r->have_posts()){			
+			$r->the_post();
+			if ($day_select == 1){
+				$post_date = mktime (0, 0, 0, get_the_time("m"), get_the_time("d"), get_the_time("Y"));
+				$base_date = $date_today - $between_days;
+				if ($post_date < $base_date) continue;
+			}
+			if ($day_select == 2){
+				$post_date = mktime (0, 0, 0, get_the_time("m"), get_the_time("d"), get_the_time("Y"));
+				if (empty($latest_date)) $latest_date = $post_date;
+				$base_date = $latest_date - $between_days;
+				if ($post_date < $base_date) continue;
+			}
+			
+			ob_start();
+				the_ID();
+				$post_id = ob_get_contents();
+			ob_end_clean();
+			
+			$title = xpress_the_title('echo=0');
+			
+			ob_start();
+				the_permalink();
+				$permalink = ob_get_contents();
+			ob_end_clean();					
+			
+			ob_start();
+				the_author_posts_link();
+				$author = ob_get_contents();
+			ob_end_clean();
+			
+			ob_start();
+				the_category(' &bull; ');
+				$category = ob_get_contents();
+			ob_end_clean();	
+			
+			if (function_exists('the_tags')){
+				ob_start();
+					the_tags(__('Tags:', 'xpress') . ' ',' &bull; ','');
+					$tags = ob_get_contents();
+				ob_end_clean();	
+			} else {
+				$tags = '';
+			}
+
+			$param = array(
+				'configration_select' => 0, 
+				'do_excerpt' => $excerpt,
+				'excerpt_length_word' => $excerpt_size, 
+				'excerpt_length_character' => $excerpt_size, 
+				'echo' => 0
+			);
+
+			$post_content = xpress_the_content($param);
+			
+			ob_start();
+				the_modified_date($date_format);
+				$post_modified_date = ob_get_contents();
+			ob_end_clean();
+				
+			ob_start();
+				the_modified_date($time_format);
+				$post_modified_time = ob_get_contents();
+			ob_end_clean();
+			
+			ob_start();
+				the_time($date_format);
+				$post_date = ob_get_contents();
+			ob_end_clean();
+			
+			ob_start();
+				the_time($time_format);
+				$post_time = ob_get_contents();
+			ob_end_clean();
+			
+			
+			ob_start();
+				comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)'));
+				$comments_popup_link = ob_get_contents();
+			ob_end_clean();
+
+// all_in_one			
+			ob_start();
+?>
+				<div class="xpress-post" id="post-<?php the_ID(); ?>">
+					<div class ="xpress-post-header">
+						<?php if (function_exists('hotDates')) { hotDates(); }?>
+						<div class ="xpress-post-title">
+							<?php if(function_exists('the_title_attribute')) : ?>			
+								<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'xpress'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2>
+							<?php else : ?>
+								<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'xpress'), the_title('','',false)); ?>"><?php the_title(); ?></a></h2>
+							<?php endif; ?>
+
+						</div>
+					</div>
+					<div class="xpress-post-entry">
+					<?php	echo $post_content; ?>							
+					</div>
+					<div class="xpress-link-pages"><?php wp_link_pages() ?></div>
+					<div class ="xpress-post-footer">
+<?php
+						the_time('Y/m/d l');
+						echo ' - ';
+						the_author_posts_link();
+						echo ' (' . xpress_post_views_count('post_id=' . $post->ID . '&format=' . __('Views :%d', 'xpress'). '&echo=0') . ')'; 
+						
+						echo ' | ';
+						// echo the_tags(__('Tags:', 'xpress') . ' ', ', ', ' | ');
+						printf(__('Posted in %s', 'xpress'), get_the_category_list(', '));
+						echo ' | ';
+						edit_post_link(__('Edit', 'xpress'), '', ' | ');
+						comments_popup_link(__('No Comments &#187;', 'xpress'), __('1 Comment &#187;', 'xpress'), __('% Comments &#187;', 'xpress'), '', __('Comments Closed', 'xpress') );
+?>
+					</div>
+				</div>
+<?php
+			$all_in_one = ob_get_contents();
+			ob_end_clean();
+						
+			
+			$post_title = '<a href="' . $permalink . '">' . $title . '</a>';
+			$post_date_time = $post_date . ' ' . $post_time ;
+			$post_modified_date_time = $post_modified_date . ' ' . $post_modified_time ;
+			$trackback_url = trackback_url(false);
+			$post_viwes = xpress_post_views_count('post_id=' . $post_id . '&format=' . __('Views :%d', 'xpress'). '&echo=0');
+
+//			if (empty($tags)) $tags = __('Not Tag');
+
+			$row_data = array(
+				'post_id'		=> $post_id ,
+				'post_title'	=> $post_title ,
+				'post_content' 		=> $post_content ,
+				'post_date' => $post_date ,
+				'post_time' => $post_time ,
+				'post_date_time' => $post_date_time ,
+				'post_modified_date' => $post_modified_date ,
+				'post_modified_time' => $post_modified_time ,
+				'post_modified_date_time' => $post_modified_date_time ,
+				'post_author' 	=> $author ,
+				'post_category' 	=> $category ,	
+				'post_tags' 		=> $tags,
+				'post_views' 		=> $post_viwes,
+				'comment_link' 	=> $comments_popup_link ,
+				'trackback_url' => $trackback_url ,
+				'all_in_one' => $all_in_one
+			);
+			
+			$block['contents']['item'.$item_no] = $row_data;
+			$item_no++;
+		}
+		$block['data_count'] = $item_no;  //xml unserialise error
+	}
+	return $block ;
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/recent_posts_list_block_theme.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/recent_posts_list_block_theme.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/recent_posts_list_block_theme.php	(revision 866)
@@ -0,0 +1,151 @@
+<?php
+// Block Version: 1.0
+function recent_posts_list_block($options)
+{
+	$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+	$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] ;
+	$date_format = empty( $options[5] ) ? '' : $options[5] ;
+	$time_format = empty( $options[6] ) ? '' : $options[6] ;
+	$tag_select = $options[7] ;
+	$cat_select = empty( $options[8] ) ? '0' : $options[8] ;
+	
+	$selected = explode(',' , $cat_select);
+
+	$mydirpath = get_xpress_dir_path();
+
+	if (empty($date_format)) $date_format = get_settings('date_format');
+	if (empty($time_format)) $time_format = get_settings('time_format');
+	if(empty($tag_select)) $tag_where = ''; else $tag_where = "tag='$tag_select'&";
+	if (array_search(0,$selected)===0) $cat_select = 0;
+
+	$selected_author_id = xpress_selected_author_id('echo=0');	
+	if (!empty($selected_author_id)){
+		$author_where ="author=$selected_author_id&";
+	} else {
+		$author_where = '';
+	}
+	
+	global $wpdb,$wp_query;
+	$block = array();
+	$item_no = 0;	
+	if (!is_null($wpdb)){
+		$wp_query->in_the_loop = true;		//for use the_tags() in multi lopp 
+		if ($cat_select) {
+			$r = new WP_Query($author_where . $tag_where . "cat=$cat_select&showposts=$disp_count&what_to_show=posts&nopaging=0&post_status=publish");
+		} else {
+			$r = new WP_Query($author_where . $tag_where ."showposts=$disp_count&what_to_show=posts&nopaging=0&post_status=publish");
+		}
+		while($r->have_posts()){			
+			$r->the_post();
+			ob_start();
+				the_ID();
+				$post_id = ob_get_contents();
+			ob_end_clean();
+			
+			ob_start();
+				the_title();
+				$title = ob_get_contents();
+			ob_end_clean();
+			
+			ob_start();
+				the_permalink();
+				$permalink = ob_get_contents();
+			ob_end_clean();					
+			
+			ob_start();
+				the_author_posts_link();
+				$author = ob_get_contents();
+			ob_end_clean();
+			
+			ob_start();
+				the_category(' &bull; ');
+				$category = ob_get_contents();
+			ob_end_clean();	
+			
+			if (function_exists('the_tags')){
+				ob_start();
+					the_tags(__('Tags:', 'xpress') . ' ',' &bull; ','');
+					$tags = ob_get_contents();
+				ob_end_clean();	
+			} else {
+				$tags = '';
+			}
+			
+			ob_start();
+				the_modified_date($date_format);
+				$post_modified_date = ob_get_contents();
+			ob_end_clean();
+
+			ob_start();
+				the_modified_date($time_format);
+				$post_modified_time = ob_get_contents();
+			ob_end_clean();
+			
+			ob_start();
+				the_time($date_format);
+				$post_date = ob_get_contents();
+			ob_end_clean();
+			
+			ob_start();
+				the_time($time_format);
+				$post_time = ob_get_contents();
+			ob_end_clean();
+			
+			
+			ob_start();
+				comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)'));
+				$comments_popup_link = ob_get_contents();
+			ob_end_clean();
+			
+			$red_sec = $disp_red *60*60*24;
+			$green_sec = $disp_green *60*60*24;
+			ob_start();
+				the_time('U');
+				$check_time = ob_get_contents();
+			ob_end_clean();
+			$elapse = time() - $check_time;
+			$new_mark = '';
+			if ($elapse < $red_sec ) {
+				$new_mark = '<em style="color: red; font-size: small;">New! </em>';
+
+			} else if ($elapse < $green_sec) {
+				$new_mark = '<em style="color: green; font-size: small;">New! </em>';
+			}
+			
+			$post_title = '<a href="' . $permalink . '">' . $title . '</a>';
+			$post_date_time = $post_date . ' ' . $post_time ;
+			$post_modified_date_time = $post_modified_date . ' ' . $post_modified_time ;
+			$trackback_url = trackback_url(false);
+			$post_viwes = xpress_post_views_count('post_id=' . $post_id . '&format=' . __('Views :%d', 'xpress'). '&echo=0');
+
+//			if (empty($tags)) $tags = __('Not Tag');
+
+			$row_data = array(
+				'post_id'		=> $post_id ,
+				'new_mark'		=> $new_mark ,
+				'post_title'	=> $post_title ,
+				'post_date' => $post_date ,
+				'post_time' => $post_time ,
+				'post_date_time' => $post_date_time ,
+				'post_modified_date' => $post_modified_date ,
+				'post_modified_time' => $post_modified_time ,
+				'post_modified_date_time' => $post_modified_date_time ,
+				'post_author' 	=> $author ,
+				'post_category' 	=> $category ,	
+				'post_tags' 		=> $tags,
+				'post_views' 		=> $post_viwes,
+				'comment_link' 	=> $comments_popup_link ,
+				'trackback_url' => $trackback_url
+			);
+			
+			$block['contents']['item'.$item_no] = $row_data;
+			$item_no++;
+		}
+		$block['data_count'] = $item_no;  //xml unserialise error
+	}
+	return $block ;
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/search_block_theme.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/search_block_theme.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/search_block_theme.php	(revision 866)
@@ -0,0 +1,20 @@
+<?php
+// Block Version: 1.0
+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[2] ;
+	$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 ;
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/sidebar_block_theme.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/sidebar_block_theme.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/sidebar_block_theme.php	(revision 866)
@@ -0,0 +1,23 @@
+<?php
+// Block Version: 1.0
+function sidebar_block($options)
+{
+	$templates = array();
+	$templates[] = "sidebar.php";
+	$sidebar_path = locate_template($templates, false);
+	if (empty($sidebar_path)){ // ktai_style plugin is empty
+		$sidebar_path = dirname(dirname(__FILE__)) . "/sidebar.php";
+	}
+	ob_start();
+		require($sidebar_path);
+		$output = ob_get_contents();
+	ob_end_clean();
+	$pattern = '<div\s+id\s*=\s*["\']xpress_sidebar["\']\s*>';
+	$output = preg_replace("/".$pattern."/s" , '<div class="xpress_sidebar_block">' , $output);
+
+	$block['sidebar'] = $output;								
+	return $block ;	
+
+}
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/tag_cloud_block_theme.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/tag_cloud_block_theme.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/tag_cloud_block_theme.php	(revision 866)
@@ -0,0 +1,39 @@
+<?php
+// Block Version: 1.0
+function tag_cloud_block($options)
+{
+	$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+	$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_block_meta.html' : trim( $options[1]);
+	$smallest = !is_numeric( $options[2] ) ? 8 : $options[2] ;
+	$largest = !is_numeric( $options[3] ) ? 22 : $options[3] ;
+	$unit = empty( $options[4] ) ? 'pt' : $options[4] ;
+	$number = !is_numeric( $options[5] ) ? 45 : $options[5] ;
+	$format = empty( $options[6] ) ? 'flat' : $options[6] ;
+	$orderby = empty( $options[7] ) ? 'name' : $options[7] ;
+	$order = empty( $options[8] ) ? 'ASC' : $options[8] ;
+	$exclude = is_null( $options[9] ) ? '' : $options[9] ;
+	$wp_include = is_null( $options[10] ) ? '' : $options[10] ;
+	
+	$param=array(
+		'smallest' => $smallest,
+		'largest' => $largest,
+		'unit' => $unit,
+		'number' => $number,
+		'format' => $format,
+		'orderby' => $orderby,
+		'order' => $order,
+		'exclude' => $exclude,
+		'include' => $wp_include
+	);
+	if (function_exists('wp_tag_cloud')) {
+		ob_start();
+			wp_tag_cloud($param);
+			$output = ob_get_contents();
+		ob_end_clean();	
+	} else {
+		$output = 'not function wp_tag_cloud()';
+	}
+	$block['tag_cloud'] = $output;								
+	return $block ;	
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/widget_block_theme.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/widget_block_theme.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/widget_block_theme.php	(revision 866)
@@ -0,0 +1,101 @@
+<?php
+// Block Version: 1.1
+function widget_block($options)
+{
+	$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
+	$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_block_widget.html' : trim( $options[1] );
+	$title_show = empty( $options[2] ) ? false : true ;
+	$widget_select = empty( $options[3] ) ? '' : $options[3] ;
+
+	$selected = explode(',' , $widget_select);
+
+	$output = '';
+	foreach($selected as $select){
+		$ex = explode('::',$select);
+		$sidebar_id = $ex[0];
+		$widget_id = $ex[1] ;
+	
+		ob_start();
+			render_widget($sidebar_id,$widget_id);
+			$output .= ob_get_contents();
+		ob_end_clean();	
+	}
+	if (count($selected) > 1){
+		$output = "<ul>\n" . $output . "\n</ul>\n";
+	} else {
+		if(!$title_show){
+			$del_pattern = '<[^>]*class\s*=\s*[\'|"]widgettitle[\'|"]\s*>[^<]*<\/[^>]*>';
+			$output = preg_replace('/' . $del_pattern . '/', '', $output);
+		}
+		if (preg_match('/^<li[^>]*>.*<\/li>$/s',$output)){
+			$output = preg_replace('/^<li[^>]*>/', '', $output);
+			$output = preg_replace('/<\/li>$/', '', $output);
+		}
+	}
+	$block['widget'] = $output;
+	if (empty($output)) $block['err_message'] = 'Selected Widget is not active. ';
+	return $block ;	
+}
+
+function render_widget($index = 1, $widget_id) {
+	global $wp_registered_sidebars, $wp_registered_widgets;
+
+	if ( is_int($index) ) {
+		$index = "sidebar-$index";
+	} else {
+		$index = sanitize_title($index);
+		foreach ( (array) $wp_registered_sidebars as $key => $value ) {
+			if ( sanitize_title($value['name']) == $index ) {
+				$index = $key;
+				break;
+			}
+		}
+	}
+	if (!function_exists('wp_get_sidebars_widgets')) {
+		echo 'Not support sidebar widget';
+		return;
+	}
+	$sidebars_widgets = wp_get_sidebars_widgets();
+	$registered_sidebars = $wp_registered_sidebars[$index];
+	$key_exists = array_key_exists($index, $sidebars_widgets);
+	$is_array = is_array($sidebars_widgets[$index]);
+	
+
+	
+	if ( empty($registered_sidebars) || !$key_exists || !$is_array || empty($sidebars_widgets[$index]) )
+		return false;
+
+	$sidebar = $wp_registered_sidebars[$index];
+
+	$did_one = false;
+	foreach ( (array) $sidebars_widgets[$index] as $id ) {
+		if ($id != $widget_id) continue;
+		$params = array_merge(
+			array( array_merge( $sidebar, array('widget_id' => $id, 'widget_name' => $wp_registered_widgets[$id]['name']) ) ),
+			(array) $wp_registered_widgets[$id]['params']
+		);
+
+		// Substitute HTML id and class attributes into before_widget
+		$classname_ = '';
+		foreach ( (array) $wp_registered_widgets[$id]['classname'] as $cn ) {
+			if ( is_string($cn) )
+				$classname_ .= '_' . $cn;
+			elseif ( is_object($cn) )
+				$classname_ .= '_' . get_class($cn);
+		}
+		$classname_ = ltrim($classname_, '_');
+		$params[0]['before_widget'] = sprintf($params[0]['before_widget'], $id, $classname_);
+
+		$params = apply_filters( 'dynamic_sidebar_params', $params );
+
+		$callback = $wp_registered_widgets[$id]['callback'];
+
+		if ( is_callable($callback) ) {
+			call_user_func_array($callback, $params);
+			$did_one = true;
+		}
+	}
+
+	return $did_one;
+}
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/comments-popup.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/comments-popup.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/comments-popup.php	(revision 866)
@@ -0,0 +1,116 @@
+<?php
+/* Don't remove these lines. */
+add_filter('comment_text', 'popuplinks');
+while ( have_posts()) : the_post();
+?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+     <title><?php printf(__('%1$s - Comments on %2$s', 'xpress'), get_option('blogname'), the_title('','',false)); ?></title>
+
+	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
+	<style type="text/css" media="screen">
+		@import url( <?php bloginfo('stylesheet_url'); ?> );
+		body { margin: 3px; }
+	</style>
+
+</head>
+<body id="xpress_commentspopup">
+
+<h1 id="xpress_header"><a href="" title="<?php echo get_option('blogname'); ?>"><?php echo get_option('blogname'); ?></a></h1>
+
+<h2 id="xpress_comments"><?php _e('Comments', 'xpress'); ?></h2>
+
+<p><a href="<?php echo get_post_comments_feed_link($post->ID); ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.', 'xpress'); ?></a></p>
+
+<?php if ('open' == $post->ping_status) { ?>
+<p><?php printf(__('The <abbr title="Universal Resource Locator">URL</abbr> to TrackBack this entry is: <em>%s</em>', 'xpress'), get_trackback_url()); ?></p>
+<?php } ?>
+
+<?php
+// this line is WordPress' motor, do not delete it.
+$commenter = wp_get_current_commenter();
+extract($commenter);
+$comments = get_approved_comments($id);
+$post = get_post($id);
+if (!empty($post->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH] != $post->post_password) {  // and it doesn't match the cookie
+	echo(get_the_password_form());
+} else { ?>
+
+<?php if ($comments) { ?>
+<ol id="xpress_commentlist">
+<?php foreach ($comments as $comment) { ?>
+	<li id="comment-<?php comment_ID() ?>">
+	<?php comment_text() ?>
+	<p><cite><?php comment_type(__('Comment', 'xpress'), __('Trackback', 'xpress'), __('Pingback', 'xpress')); ?> <?php printf(__('by %1$s &#8212; %2$s @ <a href="#comment-%3$s">%4$s</a>', 'xpress'), get_comment_author_link(), get_comment_date(), get_comment_ID(), get_comment_time()); ?></cite></p>
+	</li>
+
+<?php } // end for each comment ?>
+</ol>
+<?php } else { // this is displayed if there are no comments so far ?>
+	<p><?php _e('No comments yet.', 'xpress'); ?></p>
+<?php } ?>
+
+<?php if ('open' == $post->comment_status) { ?>
+<h2><?php _e('Leave a comment', 'xpress'); ?></h2>
+<p><?php printf(__('Line and paragraph breaks automatic, e-mail address never displayed, <acronym title="Hypertext Markup Language">HTML</acronym> allowed: <code>%s</code>', 'xpress'), allowed_tags()); ?></p>
+
+<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
+<?php if ( $user_ID ) : ?>
+	<p><?php printf(__('Logged in as <a href="%1$s">%2$s</a>. <a href="%3$s" title="Log out of this account">Log out &raquo;</a>', 'xpress'), get_option('siteurl') . '/wp-admin/profile.php', $user_identity, get_option('siteurl') . '/wp-login.php?action=logout'); ?></p>
+<?php else : ?>
+	<p>
+	  <input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" />
+	   <label for="author"><?php _e('Name', 'xpress'); ?></label>
+	<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
+	<input type="hidden" name="redirect_to" value="<?php echo attribute_escape($_SERVER["REQUEST_URI"]); ?>" />
+	</p>
+
+	<p>
+	  <input type="text" name="email" id="xpress_email" value="<?php echo $comment_author_email; ?>" size="28" tabindex="2" />
+	   <label for="email"><?php _e('E-mail', 'xpress'); ?></label>
+	</p>
+
+	<p>
+	  <input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="28" tabindex="3" />
+	   <label for="url"><?php _e('<abbr title="Universal Resource Locator">URL</abbr>', 'xpress'); ?></label>
+	</p>
+<?php endif; ?>
+
+	<p>
+	  <label for="comment"><?php _e('Your Comment', 'xpress'); ?></label>
+	<br />
+	  <textarea name="comment" id="xpress_comment" cols="70" rows="4" tabindex="4"></textarea>
+	</p>
+
+	<p>
+	  <input name="submit" type="submit" tabindex="5" value="<?php _e('Say It!' , 'xpress'); ?>" />
+	</p>
+	<?php do_action('comment_form', $post->ID); ?>
+</form>
+<?php } else { // comments are closed ?>
+<p><?php _e('Sorry, the comment form is closed at this time.', 'xpress'); ?></p>
+<?php }
+} // end password check
+?>
+
+<div><strong><a href="javascript:window.close()"><?php _e('Close this window.', 'xpress'); ?></a></strong></div>
+
+<?php // if you delete this the sky will fall on your head
+endwhile;
+?>
+
+<!-- // this is just the end of the motor - don't touch that line either :) -->
+<?php //} ?>
+<p class="credit"><?php timer_stop(1); ?> <cite><?php printf(__('Powered by <a href="%s" title="Powered by WordPress, state-of-the-art semantic personal publishing platform"><strong>WordPress</strong></a>', 'xpress'), 'http://wordpress.org/'); ?></cite></p>
+<?php // Seen at http://www.mijnkopthee.nl/log2/archive/2003/05/28/esc(18) ?>
+<script type="text/javascript">
+<!--
+document.onkeypress = function esc(e) {
+	if(typeof(e) == "undefined") { e=event; }
+	if (e.keyCode == 27) { self.close(); }
+}
+// -->
+</script>
+</body>
+</html>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/comments.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/comments.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/comments.php	(revision 866)
@@ -0,0 +1,125 @@
+<?php // Do not delete these lines
+	if (isset($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
+		die ('Please do not load this page directly. Thanks!');
+	
+	if ( post_password_required() ) { ?>
+		<p class="nocomments"><?php _e('This post is password protected. Enter the password to view comments.', 'xpress'); ?></p> 
+	<?php
+		return;
+	}
+
+?>
+
+<!-- You can start editing here. -->
+<?php if ( xpress_is_wp_version('>=','2.7')) : ?>
+	<?php if ( have_comments() ) : ?>
+		<?php if ( ! empty($comments_by_type['comment']) ) : ?>
+			<h3 id="xpress_comments"><?php comments_number(__('No Responses', 'xpress'), __('One Response', 'xpress'), __('% Responses', 'xpress'));?> <?php printf(__('to &#8220;%s&#8221;', 'xpress'), the_title('', '', false)); ?></h3>
+			<div id="xpress_commentlist">
+				<?php wp_list_comments('type=comment&style=div'); ?>
+			</div>
+		<?php endif; ?>
+		
+		<div class="navigation">
+			<div class="alignleft"><?php previous_comments_link() ?></div>
+			<div class="alignright"><?php next_comments_link() ?></div>
+		</div>
+	<?php else : // this is displayed if there are no comments so far ?>
+
+		<?php if ('open' == $post->comment_status) : ?>
+			<!-- If comments are open, but there are no comments. -->
+		<?php else : // comments are closed ?>
+			<!-- If comments are closed. -->
+			<p class="nocomments"><?php _e('Comments are closed.' , 'xpress'); ?></p>
+		<?php endif; ?>
+	<?php endif; ?>
+<?php else : // is version 2.7 under?>
+	<?php if ( $comments ) : ?>
+		<h3 id="xpress_comments"><?php comments_number(__('No Responses', 'xpress'), __('One Response', 'xpress'), __('% Responses', 'xpress'));?> <?php printf(__('to &#8220;%s&#8221;', 'xpress'), the_title('', '', false)); ?></h3>
+		<div id="xpress_commentlist">
+			<?php foreach ($comments as $comment) : ?>
+				<li <?php echo $oddcomment; ?>id="comment-<?php comment_ID() ?>">
+					<?php if (function_exists('get_avatar')) echo get_avatar( $comment, 32 ); ?>	
+					<?php printf(__('<cite>%s</cite> Says:', 'xpress'), get_comment_author_link()); ?>
+					<?php if ($comment->comment_approved == '0') : ?>
+					<em><?php _e('Your comment is awaiting moderation.', 'xpress'); ?></em>
+					<?php endif; ?>
+					<br />
+					<small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title=""><?php printf(__('%1$s at %2$s', 'xpress'), get_comment_date(), get_comment_time()); ?></a> <?php edit_comment_link(__('Comment Edit', 'xpress'),'&nbsp;&nbsp;',''); ?></small>
+					<?php comment_text() ?>
+				</li>
+				<?php
+					/* Changes every other comment to a different class */
+					$oddcomment = ( empty( $oddcomment ) ) ? 'class="alt" ' : '';
+				?>
+			<?php endforeach; /* end for each comment */ ?>
+			</ol>
+		</div>
+	<?php else : // this is displayed if there are no comments so far ?>
+		<?php if ('open' == $post->comment_status) : ?>
+			<!-- If comments are open, but there are no comments. -->
+		<?php else : // comments are closed ?>
+			<!-- If comments are closed. -->
+			<p class="nocomments"><?php _e('Comments are closed.' , 'xpress'); ?></p>
+		<?php endif; ?>
+	<?php endif; ?>
+<?php endif; ?>
+
+<?php if ('open' == $post->comment_status) : ?>
+	<div id="respond">
+		<h3><?php comment_form_title( __('Leave a Reply', 'xpress'), __('Leave a Reply for %s' , 'xpress') ); ?></h3>
+			
+		<?php if ( function_exists('cancel_comment_reply_link') ): ?>
+			<div id="cancel-comment-reply"> 
+				<small><?php cancel_comment_reply_link() ?></small>
+			</div> 
+		<?php endif; ?>
+		
+		<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
+			<p><?php printf(__('You must be <a href="%s">logged in</a> to post a comment.', 'xpress'), get_option('siteurl') . '/wp-login.php?redirect_to=' . urlencode(get_permalink())); ?></p>
+		<?php else : ?>
+			<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
+				<div id="xpress-comment-user">
+					<?php if ( $user_ID ) : ?>
+						<?php if ( function_exists('wp_logout_url') ): ?>
+							<p><?php printf(__('Logged in as <a href="%1$s">%2$s</a>.', 'xpress'), get_option('siteurl') . '/wp-admin/profile.php', $user_identity); ?> <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="<?php _e('Log out of this account', 'xpress'); ?>"><?php _e('Log out &raquo;', 'xpress'); ?></a></p>
+						<?php else : ?>
+							<p><?php printf(__('Logged in as <a href="%1$s">%2$s</a>.', 'xpress'), get_option('siteurl') . '/wp-admin/profile.php', $user_identity); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log out of this account', 'xpress'); ?>"><?php _e('Log out &raquo;', 'xpress'); ?></a></p>
+						<?php endif; ?>
+					<?php else : ?>
+						<p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" <?php if ($req && 0) echo "aria-required='true'"; ?> />
+						<label for="author"><small><?php _e('Name', 'xpress'); ?> <?php if ($req) _e("(required)", "xpress"); ?></small></label></p>
+
+						<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" <?php if ($req && 0) echo "aria-required='true'"; ?> />
+						<label for="email"><small><?php _e('Mail (will not be published)', 'xpress'); ?> <?php if ($req) _e("(required)", "xpress"); ?></small></label></p>
+
+						<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
+						<label for="url"><small><?php _e('Website', 'xpress'); ?></small></label></p>
+					<?php endif; ?>
+				</div>
+
+				<div id="xpress-comment-form">
+					<!--<p><small><?php printf(__('<strong>XHTML:</strong> You can use these tags: <code>%s</code>', 'xpress'), allowed_tags()); ?></small></p>-->
+
+					<textarea name="comment" id="comment" cols="100" rows="5" tabindex="4" style="width:100%"></textarea>
+					<div class ="xpress-comment-submit">
+						<input name="submit" type="submit" id="submit" tabindex="5" value="<?php _e('Submit Comment', 'xpress'); ?>" />
+					</div>
+					<?php if (function_exists('comment_id_fields')) : ?>
+						<?php comment_id_fields(); //@since 2.7.0 ?>  
+					<?php else : ?>
+						<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
+					<?php endif; ?>
+					<?php
+						ob_start();
+							do_action('comment_form', $post->ID);
+							$output = ob_get_contents();
+						ob_end_clean();
+						echo str_replace(' id="_wp', ' id="wp', $output);
+					?>
+				</div>
+			</form>
+		<?php endif; // If registration required and not logged in ?>
+	</div>
+
+<?php endif; // if you delete this the sky will fall on your head ?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/footer.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/footer.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/footer.php	(revision 866)
@@ -0,0 +1,17 @@
+<hr class="xpress-border"></hr>
+<?php
+	/* A sidebar in the footer? Yep. You can can customize
+	 * your footer with four columns of widgets.
+	 */
+	get_sidebar( 'footer' );
+?>
+<div id="xpress_footer">
+	<div class="xpress_rss">
+		<?php printf(__('%1$s and %2$s.', 'xpress'), '<a href="' . get_bloginfo('rss2_url') . '">' . __('Entries (RSS)', 'xpress') . '</a>', '<a href="' . get_bloginfo('comments_rss2_url') . '">' . __('Comments (RSS)', 'xpress') . '</a>'); ?>
+	</div>
+	<div class="xpress_credit"><?php echo xpress_credit('echo=0'). ' (' . xpress_convert_time('echo=0&format=' . __('%.3f sec.', 'xpress')) . ')'; ?></div>
+</div>
+</div>
+		<?php wp_footer(); ?>
+</body>
+</html>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/functions.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/functions.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/functions.php	(revision 866)
@@ -0,0 +1,550 @@
+<?php
+/** Tell WordPress to run xpress_setup() when the 'after_setup_theme' hook is run. */
+add_action( 'after_setup_theme', 'xpress_setup' );
+if ( ! function_exists( 'xpress_setup' ) ):
+function xpress_setup() {
+	// This theme uses post thumbnails
+	add_theme_support( 'post-thumbnails' );
+	// Add default posts and comments RSS feed links to head
+	add_theme_support( 'automatic-feed-links' );
+
+	// Make theme available for translation
+	// Translations can be filed in the /languages/ directory
+	load_theme_textdomain( 'xpress', TEMPLATEPATH . '/languages' );
+
+	$locale = get_locale();
+	$locale_file = TEMPLATEPATH . "/languages/$locale.php";
+	if ( is_readable( $locale_file ) )
+		require_once( $locale_file );
+
+	// This theme uses wp_nav_menu()
+	if ( function_exists('add_theme_support') )add_theme_support( 'nav-menus' );
+	// This theme uses wp_nav_menu() in one location.
+	if ( function_exists('register_nav_menus') ){
+			register_nav_menus( array(
+			'primary' => __('Primary Navigation','xpress'),
+		) );
+	}
+	
+}	
+endif;
+	
+if ( function_exists('register_sidebar') )
+    register_sidebar(array(
+        'before_widget' => '<li id="%1$s" class="widget %2$s">',
+        'after_widget' => '</li>',
+        'before_title' => '<h2 class="widgettitle">',
+        'after_title' => '</h2>',
+    ));
+
+
+function xpress_head() {
+	$head = "<style type='text/css'>\n<!--";
+	$output = '';
+	if ( xpress_header_image() ) {
+		$url =  xpress_header_image_url() ;
+		$output .= "#xpress_header { background: url('$url') repeat-x bottom left; }\n";
+	}
+	if ( false !== ( $color = xpress_header_color() ) ) {
+		$output .= "#xpress-header-bar-top a, #xpress-header-bar-top a:visited, #xpress-header-bar-top .xpress-description ,#xpress-header-bar-top .xpress-conditional-title,#access a, #xpress-menu a{ color: $color; }\n";
+	}
+	if ( false !== ( $display = xpress_header_display() ) ) {
+		$output .= "#headerimg { display: $display }\n";
+	}
+	$foot = "--></style>\n";
+	if ( '' != $output )
+		echo $head . $output . $foot;
+}
+
+add_action('wp_head', 'xpress_head');
+
+function xpress_header_image() {
+	return apply_filters('xpress_header_image', get_option('xpress_header_image'));
+}
+
+function xpress_upper_color() {
+	if (strpos($url = xpress_header_image_url(), 'header-img.php?') !== false) {
+		parse_str(substr($url, strpos($url, '?') + 1), $q);
+		return $q['upper'];
+	} else
+		return 'ffffff';
+}
+
+function xpress_lower_color() {
+	if (strpos($url = xpress_header_image_url(), 'header-img.php?') !== false) {
+		parse_str(substr($url, strpos($url, '?') + 1), $q);
+		return $q['lower'];
+	} else
+		return 'ffffff';
+}
+
+function xpress_header_image_url() {
+	if ( $image = xpress_header_image() )
+		$url = get_template_directory_uri() . '/images/' . $image;
+	else
+		$url = get_template_directory_uri() . '/images/xpressheader.jpg';
+
+	return $url;
+}
+
+function xpress_header_color() {
+	return apply_filters('xpress_header_color', get_option('xpress_header_color'));
+}
+
+function xpress_header_color_string() {
+	$color = xpress_header_color();
+	if ( false === $color )
+		return 'black';
+
+	return $color;
+}
+
+function xpress_header_display() {
+	return apply_filters('xpress_header_display', get_option('xpress_header_display'));
+}
+
+function xpress_header_display_string() {
+	$display = xpress_header_display();
+	return $display ? $display : 'inline';
+}
+
+add_action('admin_menu', 'xpress_add_theme_page');
+
+function xpress_add_theme_page() {
+	if ( isset( $_GET['page'] ) && $_GET['page'] == basename(__FILE__) ) {
+		if ( isset( $_REQUEST['action'] ) && 'save' == $_REQUEST['action'] ) {
+			check_admin_referer('xpress-header');
+			if ( isset($_REQUEST['njform']) ) {
+				if ( isset($_REQUEST['defaults']) ) {
+					delete_option('xpress_header_image');
+					delete_option('xpress_header_color');
+					delete_option('xpress_header_display');
+				} else {
+					if ( '' == $_REQUEST['njfontcolor'] )
+						delete_option('xpress_header_color');
+					else {
+						$fontcolor = preg_replace('/^.*(#[0-9a-fA-F]{6})?.*$/', '$1', $_REQUEST['njfontcolor']);
+						update_option('xpress_header_color', $fontcolor);
+					}
+					if ( preg_match('/[0-9A-F]{6}|[0-9A-F]{3}/i', $_REQUEST['njuppercolor'], $uc) && preg_match('/[0-9A-F]{6}|[0-9A-F]{3}/i', $_REQUEST['njlowercolor'], $lc) ) {
+						$uc = ( strlen($uc[0]) == 3 ) ? $uc[0]{0}.$uc[0]{0}.$uc[0]{1}.$uc[0]{1}.$uc[0]{2}.$uc[0]{2} : $uc[0];
+						$lc = ( strlen($lc[0]) == 3 ) ? $lc[0]{0}.$lc[0]{0}.$lc[0]{1}.$lc[0]{1}.$lc[0]{2}.$lc[0]{2} : $lc[0];
+						update_option('xpress_header_image', "header-img.php?upper=$uc&lower=$lc");
+					}
+
+					if ( isset($_REQUEST['toggledisplay']) ) {
+						if ( false === get_option('xpress_header_display') )
+							update_option('xpress_header_display', 'none');
+						else
+							delete_option('xpress_header_display');
+					}
+				}
+			} else {
+
+				if ( isset($_REQUEST['headerimage']) ) {
+					check_admin_referer('xpress-header');
+					if ( '' == $_REQUEST['headerimage'] )
+						delete_option('xpress_header_image');
+					else {
+						$headerimage = preg_replace('/^.*?(header-img.php\?upper=[0-9a-fA-F]{6}&lower=[0-9a-fA-F]{6})?.*$/', '$1', $_REQUEST['headerimage']);
+						update_option('xpress_header_image', $headerimage);
+					}
+				}
+
+				if ( isset($_REQUEST['fontcolor']) ) {
+					check_admin_referer('xpress-header');
+					if ( '' == $_REQUEST['fontcolor'] )
+						delete_option('xpress_header_color');
+					else {
+						$fontcolor = preg_replace('/^.*?(#[0-9a-fA-F]{6})?.*$/', '$1', $_REQUEST['fontcolor']);
+						update_option('xpress_header_color', $fontcolor);
+					}
+				}
+
+				if ( isset($_REQUEST['fontdisplay']) ) {
+					check_admin_referer('xpress-header');
+					if ( '' == $_REQUEST['fontdisplay'] || 'inline' == $_REQUEST['fontdisplay'] )
+						delete_option('xpress_header_display');
+					else
+						update_option('xpress_header_display', 'none');
+				}
+			}
+			
+
+			//print_r($_REQUEST);
+			wp_redirect("themes.php?page=functions.php&saved=true");
+			die;
+		}
+		add_action('admin_head', 'xpress_theme_page_head');
+		
+		if ( isset( $_REQUEST['action'] ) && 'update_footer' == $_REQUEST['action'] ) {
+			check_admin_referer('xpress-footer');
+			if ( isset($_REQUEST['xpress_footer_sidebars_count']) ) {
+				check_admin_referer('xpress-footer');
+				if ( '' == $_REQUEST['xpress_footer_sidebars_count'] || '0' == $_REQUEST['xpress_footer_sidebars_count'] ){
+					delete_option('xpress_footer_sidebars_count');
+				} else {
+					update_option('xpress_footer_sidebars_count',  $_REQUEST['xpress_footer_sidebars_count']);
+				}
+			}
+
+			//print_r($_REQUEST);
+			wp_redirect("themes.php?page=functions.php&footer_saved=true");
+			die;
+		}
+	}
+	add_theme_page(__('Header & Footer', 'xpress'), __('Header & Footer', 'xpress'), 'edit_themes', basename(__FILE__), 'xpress_theme_header_page');
+}
+
+
+function xpress_theme_page_head() {
+?>
+<script type="text/javascript" src="../wp-includes/js/colorpicker.js"></script>
+<script type='text/javascript'>
+// <![CDATA[
+	function pickColor(color) {
+		ColorPicker_targetInput.value = color;
+		kUpdate(ColorPicker_targetInput.id);
+	}
+	function PopupWindow_populate(contents) {
+		contents += '<br /><p style="text-align:center;margin-top:0px;"><input type="button" class="button-secondary" value="<?php echo attribute_escape(__('Close Color Picker', 'xpress')); ?>" onclick="cp.hidePopup(\'prettyplease\')"></input></p>';
+		this.contents = contents;
+		this.populated = false;
+	}
+	function PopupWindow_hidePopup(magicword) {
+		if ( magicword != 'prettyplease' )
+			return false;
+		if (this.divName != null) {
+			if (this.use_gebi) {
+				document.getElementById(this.divName).style.visibility = "hidden";
+			}
+			else if (this.use_css) {
+				document.all[this.divName].style.visibility = "hidden";
+			}
+			else if (this.use_layers) {
+				document.layers[this.divName].visibility = "hidden";
+			}
+		}
+		else {
+			if (this.popupWindow && !this.popupWindow.closed) {
+				this.popupWindow.close();
+				this.popupWindow = null;
+			}
+		}
+		return false;
+	}
+	function colorSelect(t,p) {
+		if ( cp.p == p && document.getElementById(cp.divName).style.visibility != "hidden" )
+			cp.hidePopup('prettyplease');
+		else {
+			cp.p = p;
+			cp.select(t,p);
+		}
+	}
+	function PopupWindow_setSize(width,height) {
+		this.width = 162;
+		this.height = 210;
+	}
+
+	var cp = new ColorPicker();
+	function advUpdate(val, obj) {
+		document.getElementById(obj).value = val;
+		kUpdate(obj);
+	}
+	function kUpdate(oid) {
+		if ( 'uppercolor' == oid || 'lowercolor' == oid ) {
+			uc = document.getElementById('uppercolor').value.replace('#', '');
+			lc = document.getElementById('lowercolor').value.replace('#', '');
+			hi = document.getElementById('headerimage');
+			hi.value = 'header-img.php?upper='+uc+'&lower='+lc;
+			document.getElementById('header').style.background = 'url("<?php echo get_template_directory_uri(); ?>/images/'+hi.value+'") center no-repeat';
+			document.getElementById('advuppercolor').value = '#'+uc;
+			document.getElementById('advlowercolor').value = '#'+lc;
+		}
+		if ( 'fontcolor' == oid ) {
+			document.getElementById('header').style.color = document.getElementById('fontcolor').value;
+			document.getElementById('advfontcolor').value = document.getElementById('fontcolor').value;
+		}
+		if ( 'fontdisplay' == oid ) {
+			document.getElementById('headerimg').style.display = document.getElementById('fontdisplay').value;
+		}
+	}
+	function toggleDisplay() {
+		td = document.getElementById('fontdisplay');
+		td.value = ( td.value == 'none' ) ? 'inline' : 'none';
+		kUpdate('fontdisplay');
+	}
+	function toggleAdvanced() {
+		a = document.getElementById('jsAdvanced');
+		if ( a.style.display == 'none' )
+			a.style.display = 'block';
+		else
+			a.style.display = 'none';
+	}
+	function kDefaults() {
+		document.getElementById('headerimage').value = '';
+		document.getElementById('advuppercolor').value = document.getElementById('uppercolor').value = '#69aee7';
+		document.getElementById('advlowercolor').value = document.getElementById('lowercolor').value = '#4180b6';
+		document.getElementById('header').style.background = 'url("<?php echo get_template_directory_uri(); ?>/images/xpressheader.jpg") center no-repeat';
+		document.getElementById('header').style.color = '#FFFFFF';
+		document.getElementById('advfontcolor').value = document.getElementById('fontcolor').value = '';
+		document.getElementById('fontdisplay').value = 'inline';
+		document.getElementById('headerimg').style.display = document.getElementById('fontdisplay').value;
+	}
+	function kRevert() {
+		document.getElementById('headerimage').value = '<?php echo js_escape(xpress_header_image()); ?>';
+		document.getElementById('advuppercolor').value = document.getElementById('uppercolor').value = '#<?php echo js_escape(xpress_upper_color()); ?>';
+		document.getElementById('advlowercolor').value = document.getElementById('lowercolor').value = '#<?php echo js_escape(xpress_lower_color()); ?>';
+		document.getElementById('header').style.background = 'url("<?php echo js_escape(xpress_header_image_url()); ?>") center no-repeat';
+		document.getElementById('header').style.color = '';
+		document.getElementById('advfontcolor').value = document.getElementById('fontcolor').value = '<?php echo js_escape(xpress_header_color_string()); ?>';
+		document.getElementById('fontdisplay').value = '<?php echo js_escape(xpress_header_display_string()); ?>';
+		document.getElementById('headerimg').style.display = document.getElementById('fontdisplay').value;
+	}
+	function kInit() {
+		document.getElementById('jsForm').style.display = 'block';
+		document.getElementById('nonJsForm').style.display = 'none';
+	}
+	addLoadEvent(kInit);
+// ]]>
+</script>
+<style type='text/css'>
+	#headwrap {
+		text-align: center;
+	}
+	#xpress-header {
+		font-size: 80%;
+	}
+	#xpress-header .hibrowser {
+		width: 780px;
+		height: 260px;
+		overflow: scroll;
+	}
+	#xpress-header #hitarget {
+		display: none;
+	}
+	#xpress-header #header h1 {
+		font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
+		font-weight: bold;
+		font-size: 2em;
+		text-align: center;
+		padding-top: 70px;
+		margin: 0;
+	}
+
+	#xpress-header #header .description {
+		font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
+		font-size: 1.2em;
+		text-align: center;
+	}
+	#xpress-header #header {
+		text-decoration: none;
+		color: <?php echo xpress_header_color_string(); ?>;
+		padding: 0;
+		margin: 0;
+		height: 200px;
+		text-align: center;
+		background: url('<?php echo xpress_header_image_url(); ?>') center no-repeat;
+	}
+	#xpress-header #headerimg {
+		margin: 0;
+		height: 200px;
+		width: 100%;
+		display: <?php echo xpress_header_display_string(); ?>;
+	}
+	#jsForm {
+		display: none;
+		text-align: center;
+	}
+	#jsForm input.submit, #jsForm input.button, #jsAdvanced input.button {
+		padding: 0px;
+		margin: 0px;
+	}
+	#advanced {
+		text-align: center;
+		width: 620px;
+	}
+	html>body #advanced {
+		text-align: center;
+		position: relative;
+		left: 50%;
+		margin-left: -380px;
+	}
+	#jsAdvanced {
+		text-align: right;
+	}
+	#nonJsForm {
+		position: relative;
+		text-align: left;
+		margin-left: -370px;
+		left: 50%;
+	}
+	#nonJsForm label {
+		padding-top: 6px;
+		padding-right: 5px;
+		float: left;
+		width: 100px;
+		text-align: right;
+	}
+	.defbutton {
+		font-weight: bold;
+	}
+	.zerosize {
+		width: 0px;
+		height: 0px;
+		overflow: hidden;
+	}
+	#colorPickerDiv a, #colorPickerDiv a:hover {
+		padding: 1px;
+		text-decoration: none;
+		border-bottom: 0px;
+	}
+	#footer_submit {
+		margin-top: 20px;
+		text-align: center;
+	}
+	#footer_form{
+		padding-left: 40px;
+	}
+
+</style>
+<?php
+}
+
+function xpress_theme_header_page() {
+	if ( isset( $_REQUEST['saved'] ) ) echo '<div id="message" class="updated fade"><p><strong>'.__('Header Options saved.', 'xpress').'</strong></p></div>';
+	if ( isset( $_REQUEST['footer_saved'] ) ) echo '<div id="message" class="updated fade"><p><strong>'.__('Footer Options saved.', 'xpress').'</strong></p></div>';
+?>
+<div class='wrap'>
+	<div id="xpress-header">
+	<h2><?php _e('Header Image and Color', 'xpress'); ?></h2>
+		<div id="headwrap">
+			<div id="header">
+				<div id="headerimg">
+					<h1><?php bloginfo('name'); ?></h1>
+					<div class="description"><?php bloginfo('description'); ?></div>
+				</div>
+			</div>
+		</div>
+		<br />
+		<div id="nonJsForm">
+			<form method="post" action="">
+				<?php wp_nonce_field('xpress-header'); ?>
+				<div class="zerosize"><input type="submit" name="defaultsubmit" value="<?php echo attribute_escape(__('Save', 'xpress')); ?>" /></div>
+					<label for="njfontcolor"><?php _e('Font Color:', 'xpress'); ?></label><input type="text" name="njfontcolor" id="njfontcolor" value="<?php echo attribute_escape(xpress_header_color()); ?>" /> <?php printf(__('Any CSS color (%s or %s or %s)', 'xpress'), '<code>red</code>', '<code>#FF0000</code>', '<code>rgb(255, 0, 0)</code>'); ?><br />
+					<label for="njuppercolor"><?php _e('Upper Color:', 'xpress'); ?></label><input type="text" name="njuppercolor" id="njuppercolor" value="#<?php echo attribute_escape(xpress_upper_color()); ?>" /> <?php printf(__('HEX only (%s or %s)', 'xpress'), '<code>#FF0000</code>', '<code>#F00</code>'); ?><br />
+				<label for="njlowercolor"><?php _e('Lower Color:', 'xpress'); ?></label><input type="text" name="njlowercolor" id="njlowercolor" value="#<?php echo attribute_escape(xpress_lower_color()); ?>" /> <?php printf(__('HEX only (%s or %s)', 'xpress'), '<code>#FF0000</code>', '<code>#F00</code>'); ?><br />
+				<input type="hidden" name="hi" id="hi" value="<?php echo attribute_escape(xpress_header_image()); ?>" />
+				<input type="submit" name="toggledisplay" id="toggledisplay" value="<?php echo attribute_escape(__('Toggle Text', 'xpress')); ?>" />
+				<input type="submit" name="defaults" value="<?php echo attribute_escape(__('Use Defaults', 'xpress')); ?>" />
+				<input type="submit" class="defbutton" name="submitform" value="&nbsp;&nbsp;<?php _e('Save', 'xpress'); ?>&nbsp;&nbsp;" />
+				<input type="hidden" name="action" value="save" />
+				<input type="hidden" name="njform" value="true" />
+			</form>
+		</div>
+		<div id="jsForm">
+			<form style="display:inline;" method="post" name="hicolor" id="hicolor" action="<?php echo attribute_escape($_SERVER['REQUEST_URI']); ?>">
+				<?php wp_nonce_field('xpress-header'); ?>
+	<input type="button" class="button-secondary" onclick="tgt=document.getElementById('fontcolor');colorSelect(tgt,'pick1');return false;" name="pick1" id="pick1" value="<?php echo attribute_escape(__('Font Color', 'xpress')); ?>"></input>
+		<input type="button" class="button-secondary" onclick="tgt=document.getElementById('uppercolor');colorSelect(tgt,'pick2');return false;" name="pick2" id="pick2" value="<?php echo attribute_escape(__('Upper Color', 'xpress')); ?>"></input>
+		<input type="button" class="button-secondary" onclick="tgt=document.getElementById('lowercolor');colorSelect(tgt,'pick3');return false;" name="pick3" id="pick3" value="<?php echo attribute_escape(__('Lower Color', 'xpress')); ?>"></input>
+				<input type="button" class="button-secondary" name="revert" value="<?php echo attribute_escape(__('Revert', 'xpress')); ?>" onclick="kRevert()" />
+				<input type="button" class="button-secondary" value="<?php echo attribute_escape(__('Advanced', 'xpress')); ?>" onclick="toggleAdvanced()" />
+				<input type="hidden" name="action" value="save" />
+				<input type="hidden" name="fontdisplay" id="fontdisplay" value="<?php echo attribute_escape(xpress_header_display()); ?>" />
+				<input type="hidden" name="fontcolor" id="fontcolor" value="<?php echo attribute_escape(xpress_header_color()); ?>" />
+				<input type="hidden" name="uppercolor" id="uppercolor" value="<?php echo attribute_escape(xpress_upper_color()); ?>" />
+				<input type="hidden" name="lowercolor" id="lowercolor" value="<?php echo attribute_escape(xpress_lower_color()); ?>" />
+				<input type="hidden" name="headerimage" id="headerimage" value="<?php echo attribute_escape(xpress_header_image()); ?>" />
+				<p class="submit"><input type="submit" name="submitform" class="defbutton" value="<?php echo attribute_escape(__('Update Header &raquo;', 'xpress')); ?>" onclick="cp.hidePopup('prettyplease')" /></p>
+			</form>
+			<div id="colorPickerDiv" style="z-index: 100;background:#eee;border:1px solid #ccc;position:absolute;visibility:hidden;"> </div>
+			<div id="advanced">
+				<form id="jsAdvanced" style="display:none;" action="">
+					<?php wp_nonce_field('xpress-header'); ?>
+					<label for="advfontcolor"><?php _e('Font Color (CSS):', 'xpress'); ?> </label><input type="text" id="advfontcolor" onchange="advUpdate(this.value, 'fontcolor')" value="<?php echo attribute_escape(xpress_header_color()); ?>" /><br />
+					<label for="advuppercolor"><?php _e('Upper Color (HEX):');?> </label><input type="text" id="advuppercolor" onchange="advUpdate(this.value, 'uppercolor')" value="#<?php echo attribute_escape(xpress_upper_color()); ?>" /><br />
+					<label for="advlowercolor"><?php _e('Lower Color (HEX):'); ?> </label><input type="text" id="advlowercolor" onchange="advUpdate(this.value, 'lowercolor')" value="#<?php echo attribute_escape(xpress_lower_color()); ?>" /><br />
+					<input type="button" class="button-secondary" name="default" value="<?php echo attribute_escape(__('Select Default Colors', 'xpress')); ?>" onclick="kDefaults()" /><br />
+					<input type="button" class="button-secondary" onclick="toggleDisplay();return false;" name="pick" id="pick" value="<?php echo attribute_escape(__('Toggle Text Display', 'xpress')); ?>"></input><br />
+				</form>
+			</div>
+		</div>
+	</div>
+	<div id="xpress-footer">
+	<h2><?php _e('Footer', 'xpress'); ?></h2>
+		<form id="footer_setting" style="display:inline;" method="post" action="">
+			<div id="footer_form">
+				<?php wp_nonce_field('xpress-footer'); ?>
+				<?php
+				if ( function_exists('register_sidebar') ){
+					echo __('Set number of the sidebar to display in the footer.','xpress');
+					echo '<select name="xpress_footer_sidebars_count">'."\n";
+						$side_bar_num = get_option('xpress_footer_sidebars_count');
+						if (empty($side_bar_num)) $side_bar_num = 0;
+						for($i=0;$i<=5;$i++){
+							if ($i== 0) $sel_name = __('none','xpress'); else $sel_name = $i;
+							if ($i == $side_bar_num) $selected = ' selected '; else $selected = '';
+							echo "\t\t\t\t<option value=\"{$i}\" label=\"{$i}\" {$selected}>{$sel_name}</option>\n";
+						}
+					echo "</select>\n";
+				}
+				?>
+				<input type="hidden" name="action" value="update_footer" />
+			</div>
+			<div id="footer_submit">
+			<input type="submit" name="footer_submit" id="footer_submit" value="<?php echo attribute_escape(__('Update Footer &raquo;', 'xpress')); ?>" />
+			</div>
+		</form>
+	</div>
+
+</div>
+<?php } 
+
+function footer_widgets_init() {
+	if (!function_exists('register_sidebar') ) return;
+
+	$side_bar_num = get_option('xpress_footer_sidebars_count');
+	if (empty($side_bar_num)) return;
+	for($i=1;$i <= $side_bar_num;$i++){
+		switch($i){
+			case 1:
+				$name = __( 'First Footer Widget Area', 'kubrick' );
+				$description = __( 'The first footer widget area', 'kubrick' );
+				break;
+			case 2:
+				$name = __( 'Second Footer Widget Area', 'kubrick' );
+				$description = __( 'The second footer widget area', 'kubrick' );
+				break;
+			case 3:
+				$name = __( 'Third Footer Widget Area', 'kubrick' );
+				$description = __( 'The third footer widget area', 'kubrick' );
+				break;
+			case 4:
+				$name = __( 'Fourth Footer Widget Area', 'kubrick' );
+				$description = __( 'The fourth footer widget area', 'kubrick' );
+				break;
+			case 5:
+				$name = __( 'Fifth Footer Widget Area', 'kubrick' );
+				$description = __( 'The fifth footer widget area', 'kubrick' );
+				break;
+				
+		}
+
+		register_sidebar( array(
+			'name' => $name,
+			'id' => 'footer-widget-area-'.$i,
+			'description' => $description,
+			'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
+			'after_widget' => '</li>',
+			'before_title' => '<h3 class="widget-title">',
+			'after_title' => '</h3>',
+		) );
+	}
+}
+
+add_action( 'widgets_init', 'footer_widgets_init' );
+
+
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/header.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/header.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/header.php	(revision 866)
@@ -0,0 +1,69 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" <?php if (function_exists('language_attributes')) { language_attributes(); }?>>
+
+<head profile="http://gmpg.org/xfn/11">
+<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
+
+<title><?php bloginfo('name');
+if ( is_single() ) {
+	_e('&raquo; Blog Archive', 'xpress');
+}
+wp_title(); ?></title>
+
+<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
+<link rel="alternate" type="application/rss+xml" title="<?php printf(__('%s RSS Feed', 'xpress'), get_bloginfo('name')); ?>" href="<?php bloginfo('rss2_url'); ?>" />
+<link rel="alternate" type="application/atom+xml" title="<?php printf(__('%s Atom Feed', 'xpress'), get_bloginfo('name')); ?>" href="<?php bloginfo('atom_url'); ?>" />
+<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
+<?php
+// comment-replay.js load  @since 2.7.0
+if (function_exists('wp_enqueue_script')) { // not function Ver2.0
+	if ( is_singular() ){  //not function Ver2.0
+		wp_enqueue_script( 'comment-reply' );
+	}
+}
+?>
+<?php wp_head(); ?>
+</head>
+<body <?php if(function_exists('body_class')) body_class(); ?>>
+<div id="xpress_page">
+	<div id="xpress-header-bar">
+		<!-- <div id="xpress_header" role="banner"> -->
+		<div id="xpress_header">
+			<div id="xpress-header-bar-top">
+				<div class="xpress-header-title">
+					<?php  if (xpress_selected_author_id('echo=0') && function_exists('get_avatar')) echo get_avatar(xpress_selected_author_id('echo=0'),$size = '32'); ?>
+					<a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a>
+				</div>
+				<div class="xpress-conditional-title">
+					&nbsp; <?php xpress_conditional_title();?> 
+				</div>
+				<div class="xpress-description">
+					<?php bloginfo('description'); ?>
+				</div>
+			</div><!-- #xpress-header-bar-top -->
+	
+			<!-- <div id="menu_div" role="navigation"> -->
+			<div id="menu_div">
+				<div id="access">
+					<?php if (function_exists('wp_nav_menu')) wp_nav_menu( array( 'sort_column' => 'menu_order', 'container_class' => 'menu-aheader' ) ); ?> 
+				</div><!-- #access -->
+				<div id="xpress-menu">
+					<div class="menu-header">
+						<div class="menu">
+							<ul>
+								<?php
+									if(xpress_is_multiblog()){
+										$blog_details = get_blog_details(1);
+										$site_url = $blog_details->siteurl;
+										echo '<li><a href="' . $site_url . '/">' . __('Main Page','xpress') . '</a></li>';
+									}
+								?>
+								<li><a href="<?php echo get_option('home'); ?>/"><?php _e('Blogs Home','xpress')?></a></li>
+								<?php if(xpress_is_contributor()) { echo '<li>'. xpress_post_new_link('link_title='. __('Post New','xpress'). '&echo=0').'</li>'; }?>
+							</ul>
+						</div><!-- #menu -->
+					</div><!-- #menu-header -->
+				</div><!-- #xpress-menu -->
+			</div><!-- #menu_div -->
+		</div><!-- #xpress_header -->
+	</div><!-- #xpress-header-bar -->
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/image.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/image.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/image.php	(revision 866)
@@ -0,0 +1,64 @@
+<?php get_header(); ?>
+
+	<div id="xpress_content" class="widecolumn">
+
+  <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
+
+		<div class="post" id="post-<?php the_ID(); ?>">
+			<h2><a href="<?php echo get_permalink($post->post_parent); ?>" rev="attachment"><?php echo get_the_title($post->post_parent); ?></a> &raquo; <?php the_title(); ?></h2>
+			<div class="entry">
+				<p class="attachment"><a href="<?php echo wp_get_attachment_url($post->ID); ?>"><?php echo wp_get_attachment_image( $post->ID, 'medium' ); ?></a></p> 
+				<div class="caption"><?php if ( !empty($post->post_excerpt) ) the_excerpt(); // this is the "caption" ?></div>
+
+				<?php the_content('<p class="serif">' . __('Read the rest of this entry &raquo;', 'xpress') . '</p>'); ?>
+
+				<?php wp_link_pages(array('before' => '<p><strong>' . __('Pages:', 'xpress') . '</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
+
+				<div class="navigation">
+					<div class="alignleft"><?php previous_image_link() ?></div>
+					<div class="alignright"><?php next_image_link() ?></div>
+				</div>
+				<br class="clear" />
+
+				<p class="postmetadata alt">
+					<small>
+						<?php printf(__('This entry was posted on %1$s at %2$s and is filed under %3$s.', 'xpress'),  get_the_time(__('l, F jS, Y', 'xpress')), get_the_time(), get_the_category_list(', ')); ?>
+						<?php the_taxonomies(); ?>
+						<?php printf(__("You can follow any responses to this entry through the <a href='%s'>RSS 2.0</a> feed.", "xpress"), get_post_comments_feed_link()); ?> 
+
+						<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
+							// Both Comments and Pings are open ?>
+							<?php printf(__('You can <a href="#respond">leave a response</a>, or <a href="%s" rel="trackback">trackback</a> from your own site.', 'xpress'), trackback_url(false)); ?>
+
+						<?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
+							// Only Pings are Open ?>
+							<?php printf(__('Responses are currently closed, but you can <a href="%s" rel="trackback">trackback</a> from your own site.', 'xpress'), trackback_url(false)); ?>
+
+						<?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
+							// Comments are open, Pings are not ?>
+							<?php _e('You can skip to the end and leave a response. Pinging is currently not allowed.', 'xpress'); ?>
+
+						<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
+							// Neither Comments, nor Pings are open ?>
+							<?php _e('Both comments and pings are currently closed.', 'xpress'); ?>
+
+						<?php } edit_post_link(__('Edit this entry.', 'xpress'),'',''); ?>
+
+					</small>
+				</p>
+
+			</div>
+
+		</div>
+
+	<?php comments_template(); ?>
+
+	<?php endwhile; else: ?>
+
+		<p><?php _e('Sorry, no posts matched your criteria.', 'xpress'); ?></p>
+
+<?php endif; ?>
+
+	</div>
+
+<?php get_footer(); ?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/images/header-img.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/images/header-img.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/images/header-img.php	(revision 866)
@@ -0,0 +1,77 @@
+<?php
+
+$img = 'xpressheader.jpg';
+
+// If we don't have image processing support, redirect.
+if ( ! function_exists('imagecreatefromjpeg') )
+	die(header("Location: xpressheader.jpg"));
+
+// Assign and validate the color values
+$default = false;
+$vars = array('upper'=>array('r1', 'g1', 'b1'), 'lower'=>array('r2', 'g2', 'b2'));
+foreach ( $vars as $var => $subvars ) {
+	if ( isset($_GET[$var]) ) {
+		foreach ( $subvars as $index => $subvar ) {
+			$length = strlen($_GET[$var]) / 3;
+			$v = substr($_GET[$var], $index * $length, $length);
+			if ( $length == 1 ) $v = '' . $v . $v;
+			$$subvar = hexdec( $v );
+			if ( $$subvar < 0 || $$subvar > 255 )
+				$default = true;
+		}
+	} else {
+		$default = true;
+	}
+}
+
+if ( $default )
+	list ( $r1, $g1, $b1, $r2, $g2, $b2 ) = array ( 105, 174, 231, 65, 128, 182 );
+
+// Create the image
+$im = imagecreatefromjpeg($img);
+
+// Get the background color, define the rectangle height
+$white = imagecolorat( $im, 15, 15 );
+$h = 84;
+
+// Define the boundaries of the rounded edges ( y => array ( x1, x2 ) )
+$corners = array(
+	0 => array ( 25, 734 ),
+	1 => array ( 23, 736 ),
+	2 => array ( 22, 737 ),
+	3 => array ( 21, 738 ),
+	4 => array ( 21, 738 ),
+	177 => array ( 21, 738 ),
+	178 => array ( 21, 738 ),
+	179 => array ( 22, 737 ),
+	180 => array ( 23, 736 ),
+	181 => array ( 25, 734 ),
+	);
+
+// Blank out the blue thing
+for ( $i = 0; $i < $h; $i++ ) {
+	$x1 = 0;
+	$x2 = 800;
+	imageline( $im, $x1, $i, $x2, $i, $white );
+}
+
+// Draw a new color thing
+for ( $i = 0; $i < $h; $i++ ) {
+	$x1 = 0;
+	$x2 = 800;
+	$r = ( $r2 - $r1 != 0 ) ? $r1 + ( $r2 - $r1 ) * ( $i / $h ) : $r1;
+	$g = ( $g2 - $g1 != 0 ) ? $g1 + ( $g2 - $g1 ) * ( $i / $h ) : $g1;
+	$b = ( $b2 - $b1 != 0 ) ? $b1 + ( $b2 - $b1 ) * ( $i / $h ) : $b1;
+	$color = imagecolorallocate( $im, $r, $g, $b );
+//	if ( array_key_exists($i, $corners) ) {
+//		imageline( $im, $x1, 18 + $i, $x2, 18 + $i, $white );
+//		list ( $x1, $x2 ) = $corners[$i];
+//	}
+	imageline( $im, $x1, $i, $x2, $i, $color );
+}
+
+//die;
+header("Content-Type: image/jpeg");
+imagejpeg($im, '', 92);
+imagedestroy($im);
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/index.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/index.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/index.php	(revision 866)
@@ -0,0 +1,77 @@
+<?php get_header(); ?>
+
+		
+<div id="xpress_wrap">				
+	<?php
+		if(xpress_is_theme_sidebar_disp()) {
+			echo '<div id="xpress_content" class="narrowcolumn">';	
+		} else {
+			echo '<div id="xpress_content" class="narrowcolumn_nonside">';
+		}	
+	?>				
+		<?php if (have_posts()) : ?>
+			<div class="xpress-navi-bar">
+				<?php if(function_exists('wp_pagenavi')) : ?>			
+					<div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div>
+				<?php else : ?>
+					<div class="alignleft"><?php xpress_left_arrow_posts_link('echo=1'); ?></div>
+					<div class="alignright"><?php xpress_right_arrow_posts_link('echo=1'); ?></div>
+				<?php endif; ?>
+			</div>
+				
+			<?php while (have_posts()) : the_post(); ?>
+
+				<div class="xpress-post" id="post-<?php the_ID(); ?>">
+					<div class ="xpress-post-header">
+						<?php if (function_exists('hotDates')) { hotDates(); }?>
+						<div class ="xpress-post-title">
+							<?php if(function_exists('the_title_attribute')) : ?>			
+								<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'xpress'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2>
+							<?php else : ?>
+								<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'xpress'), the_title('','',false)); ?>"><?php the_title(); ?></a></h2>
+							<?php endif; ?>
+						</div>
+					</div>
+					<div class="xpress-post-entry">
+						<?php xpress_the_content(); ?>
+					</div>
+					<div class="xpress-link-pages"><?php wp_link_pages() ?></div>
+					<div class ="xpress-post-footer">
+					<?php
+						the_time('Y/m/d l');
+						echo ' - ';
+						the_author_posts_link();
+						echo ' (' . xpress_post_views_count('post_id=' . $post->ID . '&format=' . __('Views :%d', 'xpress'). '&echo=0') . ')'; 
+						echo ' | ';
+						// echo the_tags(__('Tags:', 'xpress') . ' ', ', ', ' | ');
+						printf(__('Posted in %s', 'xpress'), get_the_category_list(', '));
+						echo ' | ';
+						edit_post_link(__('Edit', 'xpress'), '', ' | ');
+						comments_popup_link(__('No Comments &#187;', 'xpress'), __('1 Comment &#187;', 'xpress'), __('% Comments &#187;', 'xpress'), '', __('Comments Closed', 'xpress') );
+					?>
+					</div>
+				</div>
+
+			<?php endwhile; ?>
+				
+			<div class="xpress-navi-bar">
+				<?php if(function_exists('wp_pagenavi')) : ?>			
+					<div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div>
+				<?php else : ?>
+					<div class="alignleft"><?php xpress_left_arrow_posts_link('echo=1'); ?></div>
+					<div class="alignright"><?php xpress_right_arrow_posts_link('echo=1'); ?></div>
+				<?php endif; ?>
+			</div>
+				
+		<?php else : ?>
+
+			<h2 class="center"><?php _e('Not Found', 'xpress'); ?></h2>
+			<p class="center"><?php _e('Sorry, but you are looking for something that isn&#8217;t here.', 'xpress'); ?></p>
+			<?php include (get_template_directory() . "/searchform.php"); ?>
+
+		<?php endif; ?>
+	</div>
+</div>
+<?php if(xpress_is_theme_sidebar_disp()) get_sidebar(); ?>
+
+<?php get_footer(); ?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/languages/ja.po
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/languages/ja.po	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/languages/ja.po	(revision 866)
@@ -0,0 +1,823 @@
+# Japanese (UTF-8) translation for XPressME Default Themes
+# Copyright (c) 2005-2008 XPressME
+# This file is distributed under the same license as the XPressME package.
+# toemon <info@toemon.com>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: XPress_Default_themes\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2011-02-21 09:49+0900\n"
+"PO-Revision-Date: 2011-02-21 09:50+0900\n"
+"Last-Translator: toemon <info@toemon.com>\n"
+"Language-Team: toemon <info@toemon.com>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Japanese\n"
+"X-Poedit-Country: JAPAN\n"
+"X-Poedit-SourceCharset: utf-8\n"
+"X-Poedit-KeywordsList: __;_e;_c\n"
+"X-Poedit-Basepath: D:\\XPressME_Project\\XPressME_SVN_Trunk\\xpressme_integration_kit\\wp-content\\themes\\xpress_default\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Poedit-SearchPath-0: .\n"
+
+#: 404.php:22
+msgid "Error 404 - Not Found"
+msgstr "エラー 404 - 見つかりませんでした"
+
+#: archives.php:20
+msgid "Archives by Month:"
+msgstr "月別のアーカイブ:"
+
+#: archives.php:25
+msgid "Archives by Subject:"
+msgstr "カテゴリー別アーカイブ:"
+
+#: comments-popup.php:9
+#, php-format
+msgid "%1$s - Comments on %2$s"
+msgstr "%1$s - %2$s へのコメント"
+
+#: comments-popup.php:22
+msgid "Comments"
+msgstr "コメント"
+
+#: comments-popup.php:24
+msgid "<abbr title=\"Really Simple Syndication\">RSS</abbr> feed for comments on this post."
+msgstr "このコメント欄の <abbr title=\"Really Simple Syndication\">RSS</abbr> フィード"
+
+#: comments-popup.php:27
+#, php-format
+msgid "The <abbr title=\"Universal Resource Locator\">URL</abbr> to TrackBack this entry is: <em>%s</em>"
+msgstr "この投稿へのトラックバック <acronym title=\"Universal Resource Locator\">URL</acronym>: <em>%s</em>"
+
+#: comments-popup.php:45
+msgid "Comment"
+msgstr "コメント"
+
+#: comments-popup.php:45
+msgid "Trackback"
+msgstr "トラックバック"
+
+#: comments-popup.php:45
+msgid "Pingback"
+msgstr "ピンバック"
+
+#: comments-popup.php:45
+#, php-format
+msgid "by %1$s &#8212; %2$s @ <a href=\"#comment-%3$s\">%4$s</a>"
+msgstr "&#8212; %2$s @ <a href=\"#comment-%3$s\">%4$s</a>: %1$s より"
+
+#: comments-popup.php:51
+msgid "No comments yet."
+msgstr "コメントはまだありません。"
+
+#: comments-popup.php:55
+msgid "Leave a comment"
+msgstr "コメントをどうぞ"
+
+#: comments-popup.php:56
+#, php-format
+msgid "Line and paragraph breaks automatic, e-mail address never displayed, <acronym title=\"Hypertext Markup Language\">HTML</acronym> allowed: <code>%s</code>"
+msgstr "改行と段落タグは自動で挿入されます。メールアドレスは表示されません。利用可能な <acronym title=\"Hypertext Markup Language\">HTML</acronym> タグ: <code>%s</code>"
+
+#: comments-popup.php:60
+#, php-format
+msgid "Logged in as <a href=\"%1$s\">%2$s</a>. <a href=\"%3$s\" title=\"Log out of this account\">Log out &raquo;</a>"
+msgstr "<a href=\"%1$s\">%2$s</a> としてログイン中。<a href=\"%3$s\" title=\"このアカウントからログアウトする\">ログアウト &raquo;</a>"
+
+#: comments-popup.php:64
+#: comments.php:91
+msgid "Name"
+msgstr "お名前"
+
+#: comments-popup.php:71
+msgid "E-mail"
+msgstr "メールアドレス"
+
+#: comments-popup.php:76
+msgid "<abbr title=\"Universal Resource Locator\">URL</abbr>"
+msgstr "<abbr title=\"Universal Resource Locator\">URL</abbr>"
+
+#: comments-popup.php:81
+msgid "Your Comment"
+msgstr "コメント"
+
+#: comments-popup.php:87
+msgid "Say It!"
+msgstr "送信する !"
+
+#: comments-popup.php:92
+msgid "Sorry, the comment form is closed at this time."
+msgstr "コメントフォームは現在閉鎖中です。"
+
+#: comments-popup.php:97
+msgid "Close this window."
+msgstr "このウインドウを閉じる。"
+
+#: comments-popup.php:105
+#, php-format
+msgid "Powered by <a href=\"%s\" title=\"Powered by WordPress, state-of-the-art semantic personal publishing platform\"><strong>WordPress</strong></a>"
+msgstr "Powered by <a href=\"%s\" title=\"Powered by WordPress, state-of-the-art semantic personal publishing platform\"><strong>WordPress</strong></a>"
+
+#: comments.php:6
+msgid "This post is password protected. Enter the password to view comments."
+msgstr "この投稿はパスワードで保護されています。コメントを閲覧するにはパスワードを入力してください。"
+
+#: comments.php:17
+#: comments.php:38
+msgid "No Responses"
+msgstr "コメント はありません"
+
+#: comments.php:17
+#: comments.php:38
+msgid "One Response"
+msgstr "コメント 1 件"
+
+#: comments.php:17
+#: comments.php:38
+msgid "% Responses"
+msgstr "コメント % 件"
+
+#: comments.php:17
+#: comments.php:38
+#, php-format
+msgid "to &#8220;%s&#8221;"
+msgstr "<!-- to &#8220;%s&#8221; -->"
+
+#: comments.php:33
+#: comments.php:63
+msgid "Comments are closed."
+msgstr "現在コメントは受け付けていません。"
+
+#: comments.php:43
+#, php-format
+msgid "<cite>%s</cite> Says:"
+msgstr "<cite>%s</cite> より:"
+
+#: comments.php:45
+msgid "Your comment is awaiting moderation."
+msgstr "コメントは承認待ちです。"
+
+#: comments.php:48
+#, php-format
+msgid "%1$s at %2$s"
+msgstr "%1$s %2$s"
+
+#: comments.php:48
+msgid "Comment Edit"
+msgstr "編集"
+
+#: comments.php:70
+msgid "Leave a Reply"
+msgstr "コメントをどうぞ"
+
+#: comments.php:70
+#, php-format
+msgid "Leave a Reply for %s"
+msgstr "%s にコメントする"
+
+#: comments.php:79
+#, php-format
+msgid "You must be <a href=\"%s\">logged in</a> to post a comment."
+msgstr "コメントを投稿するには<a href=\"%s\">ログイン</a>してください。"
+
+#: comments.php:85
+#: comments.php:87
+#, php-format
+msgid "Logged in as <a href=\"%1$s\">%2$s</a>."
+msgstr "<a href=\"%1$s\">%2$s</a> としてログイン中。"
+
+#: comments.php:85
+#: comments.php:87
+msgid "Log out of this account"
+msgstr "このアカウントからログアウト"
+
+#: comments.php:85
+#: comments.php:87
+msgid "Log out &raquo;"
+msgstr "ログアウト &raquo;"
+
+#: comments.php:91
+#: comments.php:94
+msgid "(required)"
+msgstr " (必須)"
+
+#: comments.php:94
+msgid "Mail (will not be published)"
+msgstr "メールアドレス (公開されません)"
+
+#: comments.php:97
+msgid "Website"
+msgstr "ウェブサイト"
+
+#: comments.php:102
+#, php-format
+msgid "<strong>XHTML:</strong> You can use these tags: <code>%s</code>"
+msgstr "<strong>XHTML:</strong> 次のタグを使用できます: <code>%s</code>"
+
+#: comments.php:106
+msgid "Submit Comment"
+msgstr "コメント送信"
+
+#: footer.php:10
+#, php-format
+msgid "%1$s and %2$s."
+msgstr "%1$s と %2$s"
+
+#: footer.php:10
+msgid "Entries (RSS)"
+msgstr "投稿 (RSS)"
+
+#: footer.php:10
+msgid "Comments (RSS)"
+msgstr "コメント (RSS)"
+
+#: footer.php:12
+#, php-format
+msgid "%.3f sec."
+msgstr "%.3f 秒"
+
+#: functions.php:25
+msgid "Primary Navigation"
+msgstr "メインナビゲージョン"
+
+#: functions.php:196
+msgid "Header & Footer"
+msgstr "ヘッダー&フッター"
+
+#: functions.php:210
+msgid "Close Color Picker"
+msgstr "カラーピッカーを閉じる"
+
+#: functions.php:415
+msgid "Header Options saved."
+msgstr "ヘッダー設定を保存しました。"
+
+#: functions.php:416
+msgid "Footer Options saved."
+msgstr "フッター設定を保存しました。"
+
+#: functions.php:420
+msgid "Header Image and Color"
+msgstr "ヘッダーの背景と文字の色"
+
+#: functions.php:433
+#: functions.php:440
+msgid "Save"
+msgstr "保存"
+
+#: functions.php:434
+msgid "Font Color:"
+msgstr "フォントの色:"
+
+#: functions.php:434
+#, php-format
+msgid "Any CSS color (%s or %s or %s)"
+msgstr "CSS 色指定 (%s 、%s もしくは %s)"
+
+#: functions.php:435
+msgid "Upper Color:"
+msgstr "グラデーション上側の色:"
+
+#: functions.php:435
+#: functions.php:436
+#, php-format
+msgid "HEX only (%s or %s)"
+msgstr "16 進数のみ (%s もしくは %s)"
+
+#: functions.php:436
+msgid "Lower Color:"
+msgstr "グラデーション下側の色:"
+
+#: functions.php:438
+msgid "Toggle Text"
+msgstr "テキスト表示の切替え"
+
+#: functions.php:439
+msgid "Use Defaults"
+msgstr "デフォルト設定に戻す"
+
+#: functions.php:448
+msgid "Font Color"
+msgstr "フォントの色"
+
+#: functions.php:449
+msgid "Upper Color"
+msgstr "グラデーション上側の色"
+
+#: functions.php:450
+msgid "Lower Color"
+msgstr "グラデーション下側の色"
+
+#: functions.php:451
+msgid "Revert"
+msgstr "取り消し"
+
+#: functions.php:452
+msgid "Advanced"
+msgstr "詳細"
+
+#: functions.php:459
+msgid "Update Header &raquo;"
+msgstr "ヘッダーを更新 &raquo;"
+
+#: functions.php:465
+msgid "Font Color (CSS):"
+msgstr "フォントの色 (CSS):"
+
+#: functions.php:466
+msgid "Upper Color (HEX):"
+msgstr "グラデーション上側の色 (16 進数):"
+
+#: functions.php:467
+msgid "Lower Color (HEX):"
+msgstr "グラデーション下側の色 (16 進数):"
+
+#: functions.php:468
+msgid "Select Default Colors"
+msgstr "デフォルト設定に戻す"
+
+#: functions.php:469
+msgid "Toggle Text Display"
+msgstr "テキスト表示の切替え"
+
+#: functions.php:475
+msgid "Footer"
+msgstr "フッター"
+
+#: functions.php:481
+msgid "Set number of the sidebar to display in the footer."
+msgstr "フッターに表示するサイドバーの数を設定"
+
+#: functions.php:486
+msgid "none"
+msgstr "なし"
+
+#: functions.php:496
+msgid "Update Footer &raquo;"
+msgstr "フッターを更新 &raquo;"
+
+#: functions.php:512
+msgid "First Footer Widget Area"
+msgstr "フッターウィジェットエリア１"
+
+#: functions.php:513
+msgid "The first footer widget area"
+msgstr "フッターウィジェットエリア１"
+
+#: functions.php:516
+msgid "Second Footer Widget Area"
+msgstr "フッターウィジェットエリア２"
+
+#: functions.php:517
+msgid "The second footer widget area"
+msgstr "フッターウィジェットエリア２"
+
+#: functions.php:520
+msgid "Third Footer Widget Area"
+msgstr "フッターウィジェットエリア３"
+
+#: functions.php:521
+msgid "The third footer widget area"
+msgstr "フッターウィジェットエリア３"
+
+#: functions.php:524
+msgid "Fourth Footer Widget Area"
+msgstr "フッターウィジェットエリア４"
+
+#: functions.php:525
+msgid "The fourth footer widget area"
+msgstr "フッターウィジェットエリア４"
+
+#: functions.php:528
+msgid "Fifth Footer Widget Area"
+msgstr "フッターウィジェットエリア５"
+
+#: functions.php:529
+msgid "The fifth footer widget area"
+msgstr "フッターウィジェットエリア５"
+
+#: header.php:9
+msgid "&raquo; Blog Archive"
+msgstr "&raquo; ブログアーカイブ"
+
+#: header.php:14
+#, php-format
+msgid "%s RSS Feed"
+msgstr "%s RSS フィード"
+
+#: header.php:15
+#, php-format
+msgid "%s Atom Feed"
+msgstr "%s Atom フィード"
+
+#: header.php:58
+msgid "Main Page"
+msgstr "メインページ"
+
+#: header.php:61
+msgid "Blogs Home"
+msgstr "ブログのホーム"
+
+#: header.php:62
+msgid "Post New"
+msgstr "新規投稿"
+
+#: image.php:13
+msgid "Read the rest of this entry &raquo;"
+msgstr "この投稿の続きを読む &raquo;"
+
+#: image.php:15
+#: page.php:22
+msgid "Pages:"
+msgstr "ページ:"
+
+#: image.php:25
+#, php-format
+msgid "This entry was posted on %1$s at %2$s and is filed under %3$s."
+msgstr "この投稿は %1$s %2$s に %3$s カテゴリーに公開されました。"
+
+#: image.php:25
+#: sidebar.php:24
+msgid "l, F jS, Y"
+msgstr "Y 年 n 月 j 日 l"
+
+#: image.php:27
+#, php-format
+msgid "You can follow any responses to this entry through the <a href='%s'>RSS 2.0</a> feed."
+msgstr "この投稿へのコメントは <a href='%s'>RSS 2.0</a> フィードで購読することができます。"
+
+#: image.php:31
+#, php-format
+msgid "You can <a href=\"#respond\">leave a response</a>, or <a href=\"%s\" rel=\"trackback\">trackback</a> from your own site."
+msgstr "<a href=\"#respond\">コメントを残すか</a>、ご自分のサイトから<a href=\"%s\" rel=\"trackback\">トラックバック</a>することができます。"
+
+#: image.php:35
+#, php-format
+msgid "Responses are currently closed, but you can <a href=\"%s\" rel=\"trackback\">trackback</a> from your own site."
+msgstr "現在コメントは受け付けておりませんが、ご自分のサイトから<a href=\"%s\" rel=\"trackback\">トラックバック</a>を送ることはできます。"
+
+#: image.php:39
+msgid "You can skip to the end and leave a response. Pinging is currently not allowed."
+msgstr "このページの一番下でコメントを残すことができます。トラックバック / ピンバックは現在受け付けていません。"
+
+#: image.php:43
+msgid "Both comments and pings are currently closed."
+msgstr "現在コメント、トラックバックともに受け付けておりません。"
+
+#: image.php:45
+#: page.php:27
+msgid "Edit this entry."
+msgstr "この投稿を編集する。"
+
+#: image.php:58
+msgid "Sorry, no posts matched your criteria."
+msgstr "該当する投稿は見つかりませんでした。"
+
+#: index.php:29
+#: index.php:31
+#: multi_blog_index.php:33
+#: multi_blog_index.php:35
+#, php-format
+msgid "Permanent Link to %s"
+msgstr "%s のパーマリンク"
+
+#: index.php:44
+#: multi_blog_index.php:48
+#, php-format
+msgid "Views :%d"
+msgstr "閲覧 :%d"
+
+#: index.php:47
+#: multi_blog_index.php:51
+#, php-format
+msgid "Posted in %s"
+msgstr "カテゴリー: %s"
+
+#: index.php:49
+#: multi_blog_index.php:53
+msgid "Edit"
+msgstr "編集"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "No Comments &#187;"
+msgstr "コメントはまだありません &#187;"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "1 Comment &#187;"
+msgstr "1 件のコメント &#187;"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "% Comments &#187;"
+msgstr "% 件のコメント &#187;"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "Comments Closed"
+msgstr "コメントは受け付けていません。"
+
+#: index.php:68
+#: multi_blog_index.php:72
+msgid "Not Found"
+msgstr "見つかりませんでした。"
+
+#: index.php:69
+#: multi_blog_index.php:73
+msgid "Sorry, but you are looking for something that isn&#8217;t here."
+msgstr "お探しの物はここにはありません。"
+
+#: links.php:18
+msgid "Links:"
+msgstr "リンク:"
+
+#: multi_blog_front.php:9
+msgid "Site News"
+msgstr "サイトニュース"
+
+#: multi_blog_front.php:18
+msgid "Blogs List"
+msgstr "ブログリスト"
+
+#: multi_blog_front.php:27
+msgid "post count"
+msgstr "投稿数"
+
+#: multi_blog_front.php:34
+msgid "New Entries"
+msgstr "最近の投稿"
+
+#: multi_blog_front.php:39
+#, fuzzy, php-format
+msgid "%1$s wrote %2$s in %3$s."
+msgstr "%1$s %2$s"
+
+#: multi_blog_front.php:46
+msgid "Updated Blogs"
+msgstr "最近更新されたブログ"
+
+#: multi_blog_front.php:67
+#, php-format
+msgid "Howdy %s"
+msgstr "ようこそ %s さん"
+
+#: multi_blog_front.php:73
+msgid "Your Blogs list"
+msgstr "あなたのブログリスト"
+
+#: multi_blog_front.php:84
+msgid "Create a new blog"
+msgstr "新しいブログの作成"
+
+#: page.php:20
+msgid "Read the rest of this page &raquo;"
+msgstr "このページの続きを読む &raquo;"
+
+#: searchform.php:2
+msgid "Search for:"
+msgstr "検索:"
+
+#: searchform.php:8
+msgid "Search"
+msgstr "検索"
+
+#: sidebar.php:10
+msgid "Author"
+msgstr "作成者"
+
+#: sidebar.php:21
+#, php-format
+msgid "You are currently browsing the archives for the %s category."
+msgstr "%s カテゴリーのアーカイブを表示しています。"
+
+#: sidebar.php:24
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives for the day %3$s."
+msgstr "<a href=\"%1$s\">%2$s</a> ブログの %3$s のアーカイブを表示しています。"
+
+#: sidebar.php:27
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives for %3$s."
+msgstr "<a href=\"%1$s/\">%2$s</a> の %3$s のアーカイブを閲覧中です。"
+
+#: sidebar.php:27
+msgid "F, Y"
+msgstr "Y 年 n 月"
+
+#: sidebar.php:30
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives for the year %3$s."
+msgstr "<a href=\"%1$s\">%2$s</a> ブログの %3$s 年のアーカイブを表示しています。"
+
+#: sidebar.php:33
+#, php-format
+msgid "You have searched the <a href=\"%1$s/\">%2$s</a> blog archives for <strong>&#8216;%3$s&#8217;</strong>. If you are unable to find anything in these search results, you can try one of these links."
+msgstr "<a href=\"%1$s/\">%2$s</a> のアーカイブ内で<strong>&#8216;%3$s&#8217;</strong>を探しました。お探しのものが見つからない場合は他のリンクを試してみてください。"
+
+#: sidebar.php:36
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives."
+msgstr "<a href=\"%1$s/\">%2$s</a> ブログのアーカイブを閲覧中です。"
+
+#: sidebar.php:42
+msgid "Pages"
+msgstr "ページ"
+
+#: sidebar.php:44
+msgid "Archives"
+msgstr "アーカイブ"
+
+#: sidebar.php:51
+#: sidebar.php:53
+msgid "Categories"
+msgstr "カテゴリー"
+
+#: sidebar.php:62
+msgid "Meta"
+msgstr "メタ情報"
+
+#: sidebar.php:66
+msgid "This page validates as XHTML 1.0 Transitional"
+msgstr "このページが XHTML 1.0 Transitional に準拠しているか確認する"
+
+#: sidebar.php:66
+msgid "Valid <abbr title=\"eXtensible HyperText Markup Language\">XHTML</abbr>"
+msgstr "Valid <abbr title=\"eXtensible HyperText Markup Language\">XHTML</abbr>"
+
+#: sidebar.php:67
+msgid "XHTML Friends Network"
+msgstr "XHTML Friends Network"
+
+#: sidebar.php:67
+msgid "XFN"
+msgstr "XFN"
+
+#: sidebar.php:68
+msgid "Powered by WordPress, state-of-the-art semantic personal publishing platform."
+msgstr "Powered by WordPress, state-of-the-art semantic personal publishing platform."
+
+#: single.php:53
+msgid "No Trackback/Pingback"
+msgstr "トラックバック・ピンバックはありません"
+
+#: single.php:53
+msgid "One Trackback/Pingback"
+msgstr "トラックバック・ピンバック 1 件"
+
+#: single.php:53
+msgid "% TrackBack/Pingback"
+msgstr "トラックバック・ピンバック % 件"
+
+#: single.php:57
+#, php-format
+msgid "You can <a href=\"%s\" rel=\"trackback\">trackback</a> from your own site."
+msgstr "ご自分のサイトから<a href=\"%s\" rel=\"trackback\">トラックバック</a>を送ることができます。"
+
+#: single.php:59
+msgid "Pinging is currently not allowed."
+msgstr "トラックバック / ピンバックは現在受け付けていません。"
+
+#: blocks/archives_block_theme.php:14
+msgid "Select Yearly"
+msgstr "年を選択"
+
+#: blocks/archives_block_theme.php:17
+#: blocks/archives_block_theme.php:29
+msgid "Select Monthly"
+msgstr "月を選択"
+
+#: blocks/archives_block_theme.php:20
+msgid "Select Weekly"
+msgstr "週を選択"
+
+#: blocks/archives_block_theme.php:23
+msgid "Select Daily"
+msgstr "日を選択"
+
+#: blocks/archives_block_theme.php:26
+msgid "Select Post"
+msgstr "記事を選択"
+
+#: blocks/authors_block_theme.php:32
+msgid "All Authors"
+msgstr "全ての投稿者"
+
+#: blocks/blog_list_block_theme.php:66
+#: blocks/global_popular_posts_block_theme.php:192
+#: blocks/global_recent_comments_block_theme.php:130
+#: blocks/global_recent_posts_list_block_theme.php:44
+msgid "This blog is not set to the multi blog."
+msgstr "このブログはマルチブログに設定されていません。"
+
+#: blocks/enhanced_block_theme.php:14
+msgid "The include file name to display it is not set."
+msgstr "表示を行うためのインクルードファイル名が設定されていません。"
+
+#: blocks/enhanced_block_theme.php:21
+#, php-format
+msgid "File %s not exist."
+msgstr "ファイル %s が見つかりません。"
+
+#: blocks/enhanced_block_theme.php:29
+msgid "Data is Empty"
+msgstr "データは空です"
+
+#: blocks/global_popular_posts_block_theme.php:114
+#: blocks/popular_posts_block_theme.php:122
+#: blocks/recent_posts_content_block_theme.php:84
+#: blocks/recent_posts_list_block_theme.php:70
+msgid "Tags:"
+msgstr "タグ:"
+
+#: blocks/global_popular_posts_block_theme.php:143
+#: blocks/popular_posts_block_theme.php:151
+#: blocks/recent_posts_content_block_theme.php:123
+#: blocks/recent_posts_list_block_theme.php:99
+msgid "Comments (0)"
+msgstr "コメントはありません"
+
+#: blocks/global_popular_posts_block_theme.php:143
+#: blocks/popular_posts_block_theme.php:151
+#: blocks/recent_posts_content_block_theme.php:123
+#: blocks/recent_posts_list_block_theme.php:99
+msgid "Comments (1)"
+msgstr "1件のコメント"
+
+#: blocks/global_popular_posts_block_theme.php:143
+#: blocks/popular_posts_block_theme.php:151
+#: blocks/recent_posts_content_block_theme.php:123
+#: blocks/recent_posts_list_block_theme.php:99
+msgid "Comments (%)"
+msgstr "Comments (%)"
+
+#: blocks/global_recent_comments_block_theme.php:85
+#: blocks/recent_comments_block_theme.php:82
+#, php-format
+msgid "%1$s on %2$s"
+msgstr "%2$s に %1$s より"
+
+#: blocks/meta_block_theme.php:25
+msgid "Posts RSS"
+msgstr "投稿の RSS"
+
+#: blocks/meta_block_theme.php:28
+msgid "Comments RSS"
+msgstr "コメント のRSS"
+
+#: blocks/meta_block_theme.php:41
+#: blocks/meta_block_theme.php:46
+msgid "Add New"
+msgstr "新規投稿"
+
+#: blocks/meta_block_theme.php:55
+msgid "Site Admin"
+msgstr "WordPress管理"
+
+#: blocks/meta_block_theme.php:61
+msgid "User Profile"
+msgstr "ユーザープロファイル"
+
+#: blocks/meta_block_theme.php:69
+#: blocks/meta_block_theme.php:74
+msgid "Subscription management"
+msgstr "メール購読の設定"
+
+#: blocks/meta_block_theme.php:82
+msgid "ReadMe"
+msgstr "ReadMe表示"
+
+#: blocks/meta_block_theme.php:87
+msgid "Themes"
+msgstr "テーマ選択"
+
+#~ msgid "PHP code error"
+#~ msgstr "PHPコードにエラーがあります。"
+
+#~ msgid "Customize Header"
+#~ msgstr "ヘッダーのカスタマイズ"
+
+#~ msgid "%d queries. %s seconds."
+#~ msgstr "%d 個のクエリと %s 秒を要しました。"
+
+#~ msgid "views: %d"
+#~ msgstr "閲覧 :%d回"
+
+#~ msgid "more"
+#~ msgstr "続きを読む"
+
+#, fuzzy
+#~ msgid "F jS, Y"
+#~ msgstr "Y 年 n 月 j 日 l"
+
+#~ msgid "Calendar"
+#~ msgstr "カレンダー"
+
+#~ msgid "%1$s %2$s|Used as a calendar caption"
+#~ msgstr "%2$s 年 %1$s|カレンダーのキャプションに使われます"
+
+#~ msgid "View posts for %1$s %2$s"
+#~ msgstr "%2$s 年 %1$s の投稿を表示"
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/languages/ja_EUC.po
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/languages/ja_EUC.po	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/languages/ja_EUC.po	(revision 866)
@@ -0,0 +1,820 @@
+# Japanese (EUC-JP) translation for XPressME Default Themes
+# Copyright (c) 2005-2008 XPressME
+# This file is distributed under the same license as the XPressME package.
+# toemon <info@toemon.com>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: XPress_Default_themes\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2010-06-12 12:47+0900\n"
+"PO-Revision-Date: 2011-02-21 09:52+0900\n"
+"Last-Translator: toemon <info@toemon.com>\n"
+"Language-Team: toemon <info@toemon.com>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=euc-jp\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Japanese\n"
+"X-Poedit-Country: JAPAN\n"
+"X-Poedit-SourceCharset: euc-jp\n"
+"X-Poedit-KeywordsList: __;_e;_c\n"
+"X-Poedit-Basepath: D:\\XPressME_Project\\XPressME_SVN_Trunk\\xpressme_integration_kit\\wp-content\\themes\\xpress_default\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Poedit-SearchPath-0: .\n"
+
+#: 404.php:22
+msgid "Error 404 - Not Found"
+msgstr "¥¨¥é¡¼ 404 - ¸«¤Ä¤«¤ê¤Þ¤»¤ó¤Ç¤·¤¿"
+
+#: archives.php:20
+msgid "Archives by Month:"
+msgstr "·îÊÌ¤Î¥¢¡¼¥«¥¤¥Ö:"
+
+#: archives.php:25
+msgid "Archives by Subject:"
+msgstr "¥«¥Æ¥´¥ê¡¼ÊÌ¥¢¡¼¥«¥¤¥Ö:"
+
+#: comments-popup.php:9
+#, php-format
+msgid "%1$s - Comments on %2$s"
+msgstr "%1$s - %2$s ¤Ø¤Î¥³¥á¥ó¥È"
+
+#: comments-popup.php:22
+msgid "Comments"
+msgstr "¥³¥á¥ó¥È"
+
+#: comments-popup.php:24
+msgid "<abbr title=\"Really Simple Syndication\">RSS</abbr> feed for comments on this post."
+msgstr "¤³¤Î¥³¥á¥ó¥ÈÍó¤Î <abbr title=\"Really Simple Syndication\">RSS</abbr> ¥Õ¥£¡¼¥É"
+
+#: comments-popup.php:27
+#, php-format
+msgid "The <abbr title=\"Universal Resource Locator\">URL</abbr> to TrackBack this entry is: <em>%s</em>"
+msgstr "¤³¤ÎÅê¹Æ¤Ø¤Î¥È¥é¥Ã¥¯¥Ð¥Ã¥¯ <acronym title=\"Universal Resource Locator\">URL</acronym>: <em>%s</em>"
+
+#: comments-popup.php:45
+msgid "Comment"
+msgstr "¥³¥á¥ó¥È"
+
+#: comments-popup.php:45
+msgid "Trackback"
+msgstr "¥È¥é¥Ã¥¯¥Ð¥Ã¥¯"
+
+#: comments-popup.php:45
+msgid "Pingback"
+msgstr "¥Ô¥ó¥Ð¥Ã¥¯"
+
+#: comments-popup.php:45
+#, php-format
+msgid "by %1$s &#8212; %2$s @ <a href=\"#comment-%3$s\">%4$s</a>"
+msgstr "&#8212; %2$s @ <a href=\"#comment-%3$s\">%4$s</a>: %1$s ¤è¤ê"
+
+#: comments-popup.php:51
+msgid "No comments yet."
+msgstr "¥³¥á¥ó¥È¤Ï¤Þ¤À¤¢¤ê¤Þ¤»¤ó¡£"
+
+#: comments-popup.php:55
+msgid "Leave a comment"
+msgstr "¥³¥á¥ó¥È¤ò¤É¤¦¤¾"
+
+#: comments-popup.php:56
+#, php-format
+msgid "Line and paragraph breaks automatic, e-mail address never displayed, <acronym title=\"Hypertext Markup Language\">HTML</acronym> allowed: <code>%s</code>"
+msgstr "²þ¹Ô¤ÈÃÊÍî¥¿¥°¤Ï¼«Æ°¤ÇÁÞÆþ¤µ¤ì¤Þ¤¹¡£¥á¡¼¥ë¥¢¥É¥ì¥¹¤ÏÉ½¼¨¤µ¤ì¤Þ¤»¤ó¡£ÍøÍÑ²ÄÇ½¤Ê <acronym title=\"Hypertext Markup Language\">HTML</acronym> ¥¿¥°: <code>%s</code>"
+
+#: comments-popup.php:60
+#, php-format
+msgid "Logged in as <a href=\"%1$s\">%2$s</a>. <a href=\"%3$s\" title=\"Log out of this account\">Log out &raquo;</a>"
+msgstr "<a href=\"%1$s\">%2$s</a> ¤È¤·¤Æ¥í¥°¥¤¥óÃæ¡£<a href=\"%3$s\" title=\"¤³¤Î¥¢¥«¥¦¥ó¥È¤«¤é¥í¥°¥¢¥¦¥È¤¹¤ë\">¥í¥°¥¢¥¦¥È &raquo;</a>"
+
+#: comments-popup.php:64
+#: comments.php:91
+msgid "Name"
+msgstr "¤ªÌ¾Á°"
+
+#: comments-popup.php:71
+msgid "E-mail"
+msgstr "¥á¡¼¥ë¥¢¥É¥ì¥¹"
+
+#: comments-popup.php:76
+msgid "<abbr title=\"Universal Resource Locator\">URL</abbr>"
+msgstr "<abbr title=\"Universal Resource Locator\">URL</abbr>"
+
+#: comments-popup.php:81
+msgid "Your Comment"
+msgstr "¥³¥á¥ó¥È"
+
+#: comments-popup.php:87
+msgid "Say It!"
+msgstr "Á÷¿®¤¹¤ë !"
+
+#: comments-popup.php:92
+msgid "Sorry, the comment form is closed at this time."
+msgstr "¥³¥á¥ó¥È¥Õ¥©¡¼¥à¤Ï¸½ºßÊÄº¿Ãæ¤Ç¤¹¡£"
+
+#: comments-popup.php:97
+msgid "Close this window."
+msgstr "¤³¤Î¥¦¥¤¥ó¥É¥¦¤òÊÄ¤¸¤ë¡£"
+
+#: comments-popup.php:105
+#, php-format
+msgid "Powered by <a href=\"%s\" title=\"Powered by WordPress, state-of-the-art semantic personal publishing platform\"><strong>WordPress</strong></a>"
+msgstr "Powered by <a href=\"%s\" title=\"Powered by WordPress, state-of-the-art semantic personal publishing platform\"><strong>WordPress</strong></a>"
+
+#: comments.php:6
+msgid "This post is password protected. Enter the password to view comments."
+msgstr "¤³¤ÎÅê¹Æ¤Ï¥Ñ¥¹¥ï¡¼¥É¤ÇÊÝ¸î¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¥³¥á¥ó¥È¤ò±ÜÍ÷¤¹¤ë¤Ë¤Ï¥Ñ¥¹¥ï¡¼¥É¤òÆþÎÏ¤·¤Æ¤¯¤À¤µ¤¤¡£"
+
+#: comments.php:17
+#: comments.php:38
+msgid "No Responses"
+msgstr "¥³¥á¥ó¥È ¤Ï¤¢¤ê¤Þ¤»¤ó"
+
+#: comments.php:17
+#: comments.php:38
+msgid "One Response"
+msgstr "¥³¥á¥ó¥È 1 ·ï"
+
+#: comments.php:17
+#: comments.php:38
+msgid "% Responses"
+msgstr "¥³¥á¥ó¥È % ·ï"
+
+#: comments.php:17
+#: comments.php:38
+#, php-format
+msgid "to &#8220;%s&#8221;"
+msgstr "<!-- to &#8220;%s&#8221; -->"
+
+#: comments.php:33
+#: comments.php:63
+msgid "Comments are closed."
+msgstr "¸½ºß¥³¥á¥ó¥È¤Ï¼õ¤±ÉÕ¤±¤Æ¤¤¤Þ¤»¤ó¡£"
+
+#: comments.php:43
+#, php-format
+msgid "<cite>%s</cite> Says:"
+msgstr "<cite>%s</cite> ¤è¤ê:"
+
+#: comments.php:45
+msgid "Your comment is awaiting moderation."
+msgstr "¥³¥á¥ó¥È¤Ï¾µÇ§ÂÔ¤Á¤Ç¤¹¡£"
+
+#: comments.php:48
+#, php-format
+msgid "%1$s at %2$s"
+msgstr "%1$s %2$s"
+
+#: comments.php:48
+msgid "Comment Edit"
+msgstr "ÊÔ½¸"
+
+#: comments.php:70
+msgid "Leave a Reply"
+msgstr "¥³¥á¥ó¥È¤ò¤É¤¦¤¾"
+
+#: comments.php:70
+#, php-format
+msgid "Leave a Reply for %s"
+msgstr "%s ¤Ë¥³¥á¥ó¥È¤¹¤ë"
+
+#: comments.php:79
+#, php-format
+msgid "You must be <a href=\"%s\">logged in</a> to post a comment."
+msgstr "¥³¥á¥ó¥È¤òÅê¹Æ¤¹¤ë¤Ë¤Ï<a href=\"%s\">¥í¥°¥¤¥ó</a>¤·¤Æ¤¯¤À¤µ¤¤¡£"
+
+#: comments.php:85
+#: comments.php:87
+#, php-format
+msgid "Logged in as <a href=\"%1$s\">%2$s</a>."
+msgstr "<a href=\"%1$s\">%2$s</a> ¤È¤·¤Æ¥í¥°¥¤¥óÃæ¡£"
+
+#: comments.php:85
+#: comments.php:87
+msgid "Log out of this account"
+msgstr "¤³¤Î¥¢¥«¥¦¥ó¥È¤«¤é¥í¥°¥¢¥¦¥È"
+
+#: comments.php:85
+#: comments.php:87
+msgid "Log out &raquo;"
+msgstr "¥í¥°¥¢¥¦¥È &raquo;"
+
+#: comments.php:91
+#: comments.php:94
+msgid "(required)"
+msgstr " (É¬¿Ü)"
+
+#: comments.php:94
+msgid "Mail (will not be published)"
+msgstr "¥á¡¼¥ë¥¢¥É¥ì¥¹ (¸ø³«¤µ¤ì¤Þ¤»¤ó)"
+
+#: comments.php:97
+msgid "Website"
+msgstr "¥¦¥§¥Ö¥µ¥¤¥È"
+
+#: comments.php:102
+#, php-format
+msgid "<strong>XHTML:</strong> You can use these tags: <code>%s</code>"
+msgstr "<strong>XHTML:</strong> ¼¡¤Î¥¿¥°¤ò»ÈÍÑ¤Ç¤­¤Þ¤¹: <code>%s</code>"
+
+#: comments.php:106
+msgid "Submit Comment"
+msgstr "¥³¥á¥ó¥ÈÁ÷¿®"
+
+#: footer.php:10
+#, php-format
+msgid "%1$s and %2$s."
+msgstr "%1$s ¤È %2$s"
+
+#: footer.php:10
+msgid "Entries (RSS)"
+msgstr "Åê¹Æ (RSS)"
+
+#: footer.php:10
+msgid "Comments (RSS)"
+msgstr "¥³¥á¥ó¥È (RSS)"
+
+#: footer.php:12
+#, php-format
+msgid "%.3f sec."
+msgstr "%.3f ÉÃ"
+
+#: functions.php:25
+msgid "Primary Navigation"
+msgstr "¥á¥¤¥ó¥Ê¥Ó¥²¡¼¥¸¥ç¥ó"
+
+#: functions.php:196
+msgid "Header & Footer"
+msgstr "¥Ø¥Ã¥À¡¼&¥Õ¥Ã¥¿¡¼"
+
+#: functions.php:210
+msgid "Close Color Picker"
+msgstr "¥«¥é¡¼¥Ô¥Ã¥«¡¼¤òÊÄ¤¸¤ë"
+
+#: functions.php:415
+msgid "Header Options saved."
+msgstr "¥Ø¥Ã¥À¡¼ÀßÄê¤òÊÝÂ¸¤·¤Þ¤·¤¿¡£"
+
+#: functions.php:416
+msgid "Footer Options saved."
+msgstr "¥Õ¥Ã¥¿¡¼ÀßÄê¤òÊÝÂ¸¤·¤Þ¤·¤¿¡£"
+
+#: functions.php:420
+msgid "Header Image and Color"
+msgstr "¥Ø¥Ã¥À¡¼¤ÎÇØ·Ê¤ÈÊ¸»ú¤Î¿§"
+
+#: functions.php:433
+#: functions.php:440
+msgid "Save"
+msgstr "ÊÝÂ¸"
+
+#: functions.php:434
+msgid "Font Color:"
+msgstr "¥Õ¥©¥ó¥È¤Î¿§:"
+
+#: functions.php:434
+#, php-format
+msgid "Any CSS color (%s or %s or %s)"
+msgstr "CSS ¿§»ØÄê (%s ¡¢%s ¤â¤·¤¯¤Ï %s)"
+
+#: functions.php:435
+msgid "Upper Color:"
+msgstr "¥°¥é¥Ç¡¼¥·¥ç¥ó¾åÂ¦¤Î¿§:"
+
+#: functions.php:435
+#: functions.php:436
+#, php-format
+msgid "HEX only (%s or %s)"
+msgstr "16 ¿Ê¿ô¤Î¤ß (%s ¤â¤·¤¯¤Ï %s)"
+
+#: functions.php:436
+msgid "Lower Color:"
+msgstr "¥°¥é¥Ç¡¼¥·¥ç¥ó²¼Â¦¤Î¿§:"
+
+#: functions.php:438
+msgid "Toggle Text"
+msgstr "¥Æ¥­¥¹¥ÈÉ½¼¨¤ÎÀÚÂØ¤¨"
+
+#: functions.php:439
+msgid "Use Defaults"
+msgstr "¥Ç¥Õ¥©¥ë¥ÈÀßÄê¤ËÌá¤¹"
+
+#: functions.php:448
+msgid "Font Color"
+msgstr "¥Õ¥©¥ó¥È¤Î¿§"
+
+#: functions.php:449
+msgid "Upper Color"
+msgstr "¥°¥é¥Ç¡¼¥·¥ç¥ó¾åÂ¦¤Î¿§"
+
+#: functions.php:450
+msgid "Lower Color"
+msgstr "¥°¥é¥Ç¡¼¥·¥ç¥ó²¼Â¦¤Î¿§"
+
+#: functions.php:451
+msgid "Revert"
+msgstr "¼è¤ê¾Ã¤·"
+
+#: functions.php:452
+msgid "Advanced"
+msgstr "¾ÜºÙ"
+
+#: functions.php:459
+msgid "Update Header &raquo;"
+msgstr "¥Ø¥Ã¥À¡¼¤ò¹¹¿· &raquo;"
+
+#: functions.php:465
+msgid "Font Color (CSS):"
+msgstr "¥Õ¥©¥ó¥È¤Î¿§ (CSS):"
+
+#: functions.php:466
+msgid "Upper Color (HEX):"
+msgstr "¥°¥é¥Ç¡¼¥·¥ç¥ó¾åÂ¦¤Î¿§ (16 ¿Ê¿ô):"
+
+#: functions.php:467
+msgid "Lower Color (HEX):"
+msgstr "¥°¥é¥Ç¡¼¥·¥ç¥ó²¼Â¦¤Î¿§ (16 ¿Ê¿ô):"
+
+#: functions.php:468
+msgid "Select Default Colors"
+msgstr "¥Ç¥Õ¥©¥ë¥ÈÀßÄê¤ËÌá¤¹"
+
+#: functions.php:469
+msgid "Toggle Text Display"
+msgstr "¥Æ¥­¥¹¥ÈÉ½¼¨¤ÎÀÚÂØ¤¨"
+
+#: functions.php:475
+msgid "Footer"
+msgstr "¥Õ¥Ã¥¿¡¼"
+
+#: functions.php:479
+msgid "Set number of the sidebar to display in the footer."
+msgstr "¥Õ¥Ã¥¿¡¼¤ËÉ½¼¨¤¹¤ë¥µ¥¤¥É¥Ð¡¼¤Î¿ô¤òÀßÄê"
+
+#: functions.php:485
+msgid "none"
+msgstr "¤Ê¤·"
+
+#: functions.php:494
+msgid "Update Footer &raquo;"
+msgstr "¥Õ¥Ã¥¿¡¼¤ò¹¹¿· &raquo;"
+
+#: functions.php:510
+msgid "First Footer Widget Area"
+msgstr "¥Õ¥Ã¥¿¡¼¥¦¥£¥¸¥§¥Ã¥È¥¨¥ê¥¢£±"
+
+#: functions.php:511
+msgid "The first footer widget area"
+msgstr "¥Õ¥Ã¥¿¡¼¥¦¥£¥¸¥§¥Ã¥È¥¨¥ê¥¢£±"
+
+#: functions.php:514
+msgid "Second Footer Widget Area"
+msgstr "¥Õ¥Ã¥¿¡¼¥¦¥£¥¸¥§¥Ã¥È¥¨¥ê¥¢£²"
+
+#: functions.php:515
+msgid "The second footer widget area"
+msgstr "¥Õ¥Ã¥¿¡¼¥¦¥£¥¸¥§¥Ã¥È¥¨¥ê¥¢£²"
+
+#: functions.php:518
+msgid "Third Footer Widget Area"
+msgstr "¥Õ¥Ã¥¿¡¼¥¦¥£¥¸¥§¥Ã¥È¥¨¥ê¥¢£³"
+
+#: functions.php:519
+msgid "The third footer widget area"
+msgstr "¥Õ¥Ã¥¿¡¼¥¦¥£¥¸¥§¥Ã¥È¥¨¥ê¥¢£³"
+
+#: functions.php:522
+msgid "Fourth Footer Widget Area"
+msgstr "¥Õ¥Ã¥¿¡¼¥¦¥£¥¸¥§¥Ã¥È¥¨¥ê¥¢£´"
+
+#: functions.php:523
+msgid "The fourth footer widget area"
+msgstr "¥Õ¥Ã¥¿¡¼¥¦¥£¥¸¥§¥Ã¥È¥¨¥ê¥¢£´"
+
+#: functions.php:526
+msgid "Fifth Footer Widget Area"
+msgstr "¥Õ¥Ã¥¿¡¼¥¦¥£¥¸¥§¥Ã¥È¥¨¥ê¥¢£µ"
+
+#: functions.php:527
+msgid "The fifth footer widget area"
+msgstr "¥Õ¥Ã¥¿¡¼¥¦¥£¥¸¥§¥Ã¥È¥¨¥ê¥¢£µ"
+
+#: header.php:9
+msgid "&raquo; Blog Archive"
+msgstr "&raquo; ¥Ö¥í¥°¥¢¡¼¥«¥¤¥Ö"
+
+#: header.php:14
+#, php-format
+msgid "%s RSS Feed"
+msgstr "%s RSS ¥Õ¥£¡¼¥É"
+
+#: header.php:15
+#, php-format
+msgid "%s Atom Feed"
+msgstr "%s Atom ¥Õ¥£¡¼¥É"
+
+#: header.php:56
+msgid "Main Page"
+msgstr "¥á¥¤¥ó¥Ú¡¼¥¸"
+
+#: header.php:59
+msgid "Blogs Home"
+msgstr "¥Ö¥í¥°¤Î¥Û¡¼¥à"
+
+#: header.php:60
+msgid "Post New"
+msgstr "¿·µ¬Åê¹Æ"
+
+#: image.php:13
+msgid "Read the rest of this entry &raquo;"
+msgstr "¤³¤ÎÅê¹Æ¤ÎÂ³¤­¤òÆÉ¤à &raquo;"
+
+#: image.php:15
+#: page.php:22
+msgid "Pages:"
+msgstr "¥Ú¡¼¥¸:"
+
+#: image.php:25
+#, php-format
+msgid "This entry was posted on %1$s at %2$s and is filed under %3$s."
+msgstr "¤³¤ÎÅê¹Æ¤Ï %1$s %2$s ¤Ë %3$s ¥«¥Æ¥´¥ê¡¼¤Ë¸ø³«¤µ¤ì¤Þ¤·¤¿¡£"
+
+#: image.php:25
+#: sidebar.php:24
+msgid "l, F jS, Y"
+msgstr "Y Ç¯ n ·î j Æü l"
+
+#: image.php:27
+#, php-format
+msgid "You can follow any responses to this entry through the <a href='%s'>RSS 2.0</a> feed."
+msgstr "¤³¤ÎÅê¹Æ¤Ø¤Î¥³¥á¥ó¥È¤Ï <a href='%s'>RSS 2.0</a> ¥Õ¥£¡¼¥É¤Ç¹ØÆÉ¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£"
+
+#: image.php:31
+#, php-format
+msgid "You can <a href=\"#respond\">leave a response</a>, or <a href=\"%s\" rel=\"trackback\">trackback</a> from your own site."
+msgstr "<a href=\"#respond\">¥³¥á¥ó¥È¤ò»Ä¤¹¤«</a>¡¢¤´¼«Ê¬¤Î¥µ¥¤¥È¤«¤é<a href=\"%s\" rel=\"trackback\">¥È¥é¥Ã¥¯¥Ð¥Ã¥¯</a>¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£"
+
+#: image.php:35
+#, php-format
+msgid "Responses are currently closed, but you can <a href=\"%s\" rel=\"trackback\">trackback</a> from your own site."
+msgstr "¸½ºß¥³¥á¥ó¥È¤Ï¼õ¤±ÉÕ¤±¤Æ¤ª¤ê¤Þ¤»¤ó¤¬¡¢¤´¼«Ê¬¤Î¥µ¥¤¥È¤«¤é<a href=\"%s\" rel=\"trackback\">¥È¥é¥Ã¥¯¥Ð¥Ã¥¯</a>¤òÁ÷¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤¹¡£"
+
+#: image.php:39
+msgid "You can skip to the end and leave a response. Pinging is currently not allowed."
+msgstr "¤³¤Î¥Ú¡¼¥¸¤Î°ìÈÖ²¼¤Ç¥³¥á¥ó¥È¤ò»Ä¤¹¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¥È¥é¥Ã¥¯¥Ð¥Ã¥¯ / ¥Ô¥ó¥Ð¥Ã¥¯¤Ï¸½ºß¼õ¤±ÉÕ¤±¤Æ¤¤¤Þ¤»¤ó¡£"
+
+#: image.php:43
+msgid "Both comments and pings are currently closed."
+msgstr "¸½ºß¥³¥á¥ó¥È¡¢¥È¥é¥Ã¥¯¥Ð¥Ã¥¯¤È¤â¤Ë¼õ¤±ÉÕ¤±¤Æ¤ª¤ê¤Þ¤»¤ó¡£"
+
+#: image.php:45
+#: page.php:27
+msgid "Edit this entry."
+msgstr "¤³¤ÎÅê¹Æ¤òÊÔ½¸¤¹¤ë¡£"
+
+#: image.php:58
+msgid "Sorry, no posts matched your criteria."
+msgstr "³ºÅö¤¹¤ëÅê¹Æ¤Ï¸«¤Ä¤«¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£"
+
+#: index.php:29
+#: index.php:31
+#: multi_blog_index.php:33
+#: multi_blog_index.php:35
+#, php-format
+msgid "Permanent Link to %s"
+msgstr "%s ¤Î¥Ñ¡¼¥Þ¥ê¥ó¥¯"
+
+#: index.php:44
+#: multi_blog_index.php:48
+#, php-format
+msgid "Views :%d"
+msgstr "±ÜÍ÷ :%d"
+
+#: index.php:47
+#: multi_blog_index.php:51
+#, php-format
+msgid "Posted in %s"
+msgstr "¥«¥Æ¥´¥ê¡¼: %s"
+
+#: index.php:49
+#: multi_blog_index.php:53
+msgid "Edit"
+msgstr "ÊÔ½¸"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "No Comments &#187;"
+msgstr "¥³¥á¥ó¥È¤Ï¤Þ¤À¤¢¤ê¤Þ¤»¤ó &#187;"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "1 Comment &#187;"
+msgstr "1 ·ï¤Î¥³¥á¥ó¥È &#187;"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "% Comments &#187;"
+msgstr "% ·ï¤Î¥³¥á¥ó¥È &#187;"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "Comments Closed"
+msgstr "¥³¥á¥ó¥È¤Ï¼õ¤±ÉÕ¤±¤Æ¤¤¤Þ¤»¤ó¡£"
+
+#: index.php:68
+#: multi_blog_index.php:72
+msgid "Not Found"
+msgstr "¸«¤Ä¤«¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£"
+
+#: index.php:69
+#: multi_blog_index.php:73
+msgid "Sorry, but you are looking for something that isn&#8217;t here."
+msgstr "¤ªÃµ¤·¤ÎÊª¤Ï¤³¤³¤Ë¤Ï¤¢¤ê¤Þ¤»¤ó¡£"
+
+#: links.php:18
+msgid "Links:"
+msgstr "¥ê¥ó¥¯:"
+
+#: multi_blog_front.php:9
+msgid "Site News"
+msgstr "¥µ¥¤¥È¥Ë¥å¡¼¥¹"
+
+#: multi_blog_front.php:18
+msgid "Blogs List"
+msgstr "¥Ö¥í¥°¥ê¥¹¥È"
+
+#: multi_blog_front.php:27
+msgid "post count"
+msgstr "Åê¹Æ¿ô"
+
+#: multi_blog_front.php:34
+msgid "New Entries"
+msgstr "ºÇ¶á¤ÎÅê¹Æ"
+
+#: multi_blog_front.php:39
+#, fuzzy, php-format
+msgid "%1$s wrote %2$s in %3$s."
+msgstr "%1$s %2$s"
+
+#: multi_blog_front.php:46
+msgid "Updated Blogs"
+msgstr "ºÇ¶á¹¹¿·¤µ¤ì¤¿¥Ö¥í¥°"
+
+#: multi_blog_front.php:67
+#, php-format
+msgid "Howdy %s"
+msgstr "¤è¤¦¤³¤½ %s ¤µ¤ó"
+
+#: multi_blog_front.php:73
+msgid "Your Blogs list"
+msgstr "¤¢¤Ê¤¿¤Î¥Ö¥í¥°¥ê¥¹¥È"
+
+#: multi_blog_front.php:84
+msgid "Create a new blog"
+msgstr "¿·¤·¤¤¥Ö¥í¥°¤ÎºîÀ®"
+
+#: page.php:20
+msgid "Read the rest of this page &raquo;"
+msgstr "¤³¤Î¥Ú¡¼¥¸¤ÎÂ³¤­¤òÆÉ¤à &raquo;"
+
+#: searchform.php:2
+msgid "Search for:"
+msgstr "¸¡º÷:"
+
+#: searchform.php:8
+msgid "Search"
+msgstr "¸¡º÷"
+
+#: sidebar.php:10
+msgid "Author"
+msgstr "ºîÀ®¼Ô"
+
+#: sidebar.php:21
+#, php-format
+msgid "You are currently browsing the archives for the %s category."
+msgstr "%s ¥«¥Æ¥´¥ê¡¼¤Î¥¢¡¼¥«¥¤¥Ö¤òÉ½¼¨¤·¤Æ¤¤¤Þ¤¹¡£"
+
+#: sidebar.php:24
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives for the day %3$s."
+msgstr "<a href=\"%1$s\">%2$s</a> ¥Ö¥í¥°¤Î %3$s ¤Î¥¢¡¼¥«¥¤¥Ö¤òÉ½¼¨¤·¤Æ¤¤¤Þ¤¹¡£"
+
+#: sidebar.php:27
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives for %3$s."
+msgstr "<a href=\"%1$s/\">%2$s</a> ¤Î %3$s ¤Î¥¢¡¼¥«¥¤¥Ö¤ò±ÜÍ÷Ãæ¤Ç¤¹¡£"
+
+#: sidebar.php:27
+msgid "F, Y"
+msgstr "Y Ç¯ n ·î"
+
+#: sidebar.php:30
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives for the year %3$s."
+msgstr "<a href=\"%1$s\">%2$s</a> ¥Ö¥í¥°¤Î %3$s Ç¯¤Î¥¢¡¼¥«¥¤¥Ö¤òÉ½¼¨¤·¤Æ¤¤¤Þ¤¹¡£"
+
+#: sidebar.php:33
+#, php-format
+msgid "You have searched the <a href=\"%1$s/\">%2$s</a> blog archives for <strong>&#8216;%3$s&#8217;</strong>. If you are unable to find anything in these search results, you can try one of these links."
+msgstr "<a href=\"%1$s/\">%2$s</a> ¤Î¥¢¡¼¥«¥¤¥ÖÆâ¤Ç<strong>&#8216;%3$s&#8217;</strong>¤òÃµ¤·¤Þ¤·¤¿¡£¤ªÃµ¤·¤Î¤â¤Î¤¬¸«¤Ä¤«¤é¤Ê¤¤¾ì¹ç¤ÏÂ¾¤Î¥ê¥ó¥¯¤ò»î¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£"
+
+#: sidebar.php:36
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives."
+msgstr "<a href=\"%1$s/\">%2$s</a> ¥Ö¥í¥°¤Î¥¢¡¼¥«¥¤¥Ö¤ò±ÜÍ÷Ãæ¤Ç¤¹¡£"
+
+#: sidebar.php:42
+msgid "Pages"
+msgstr "¥Ú¡¼¥¸"
+
+#: sidebar.php:44
+msgid "Archives"
+msgstr "¥¢¡¼¥«¥¤¥Ö"
+
+#: sidebar.php:51
+#: sidebar.php:53
+msgid "Categories"
+msgstr "¥«¥Æ¥´¥ê¡¼"
+
+#: sidebar.php:62
+msgid "Meta"
+msgstr "¥á¥¿¾ðÊó"
+
+#: sidebar.php:66
+msgid "This page validates as XHTML 1.0 Transitional"
+msgstr "¤³¤Î¥Ú¡¼¥¸¤¬ XHTML 1.0 Transitional ¤Ë½àµò¤·¤Æ¤¤¤ë¤«³ÎÇ§¤¹¤ë"
+
+#: sidebar.php:66
+msgid "Valid <abbr title=\"eXtensible HyperText Markup Language\">XHTML</abbr>"
+msgstr "Valid <abbr title=\"eXtensible HyperText Markup Language\">XHTML</abbr>"
+
+#: sidebar.php:67
+msgid "XHTML Friends Network"
+msgstr "XHTML Friends Network"
+
+#: sidebar.php:67
+msgid "XFN"
+msgstr "XFN"
+
+#: sidebar.php:68
+msgid "Powered by WordPress, state-of-the-art semantic personal publishing platform."
+msgstr "Powered by WordPress, state-of-the-art semantic personal publishing platform."
+
+#: single.php:53
+msgid "No Trackback/Pingback"
+msgstr "¥È¥é¥Ã¥¯¥Ð¥Ã¥¯¡¦¥Ô¥ó¥Ð¥Ã¥¯¤Ï¤¢¤ê¤Þ¤»¤ó"
+
+#: single.php:53
+msgid "One Trackback/Pingback"
+msgstr "¥È¥é¥Ã¥¯¥Ð¥Ã¥¯¡¦¥Ô¥ó¥Ð¥Ã¥¯ 1 ·ï"
+
+#: single.php:53
+msgid "% TrackBack/Pingback"
+msgstr "¥È¥é¥Ã¥¯¥Ð¥Ã¥¯¡¦¥Ô¥ó¥Ð¥Ã¥¯ % ·ï"
+
+#: single.php:57
+#, php-format
+msgid "You can <a href=\"%s\" rel=\"trackback\">trackback</a> from your own site."
+msgstr "¤´¼«Ê¬¤Î¥µ¥¤¥È¤«¤é<a href=\"%s\" rel=\"trackback\">¥È¥é¥Ã¥¯¥Ð¥Ã¥¯</a>¤òÁ÷¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£"
+
+#: single.php:59
+msgid "Pinging is currently not allowed."
+msgstr "¥È¥é¥Ã¥¯¥Ð¥Ã¥¯ / ¥Ô¥ó¥Ð¥Ã¥¯¤Ï¸½ºß¼õ¤±ÉÕ¤±¤Æ¤¤¤Þ¤»¤ó¡£"
+
+#: blocks/archives_block_theme.php:14
+msgid "Select Yearly"
+msgstr "Ç¯¤òÁªÂò"
+
+#: blocks/archives_block_theme.php:17
+#: blocks/archives_block_theme.php:29
+msgid "Select Monthly"
+msgstr "·î¤òÁªÂò"
+
+#: blocks/archives_block_theme.php:20
+msgid "Select Weekly"
+msgstr "½µ¤òÁªÂò"
+
+#: blocks/archives_block_theme.php:23
+msgid "Select Daily"
+msgstr "Æü¤òÁªÂò"
+
+#: blocks/archives_block_theme.php:26
+msgid "Select Post"
+msgstr "µ­»ö¤òÁªÂò"
+
+#: blocks/authors_block_theme.php:32
+msgid "All Authors"
+msgstr "Á´¤Æ¤ÎÅê¹Æ¼Ô"
+
+#: blocks/blog_list_block_theme.php:66
+#: blocks/global_popular_posts_block_theme.php:192
+#: blocks/global_recent_comments_block_theme.php:130
+#: blocks/global_recent_posts_list_block_theme.php:44
+msgid "This blog is not set to the multi blog."
+msgstr "¤³¤Î¥Ö¥í¥°¤Ï¥Þ¥ë¥Á¥Ö¥í¥°¤ËÀßÄê¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£"
+
+#: blocks/enhanced_block_theme.php:14
+msgid "The include file name to display it is not set."
+msgstr "É½¼¨¤ò¹Ô¤¦¤¿¤á¤Î¥¤¥ó¥¯¥ë¡¼¥É¥Õ¥¡¥¤¥ëÌ¾¤¬ÀßÄê¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£"
+
+#: blocks/enhanced_block_theme.php:21
+#, php-format
+msgid "File %s not exist."
+msgstr "¥Õ¥¡¥¤¥ë %s ¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó¡£"
+
+#: blocks/enhanced_block_theme.php:29
+msgid "PHP code error"
+msgstr "PHP¥³¡¼¥É¤Ë¥¨¥é¡¼¤¬¤¢¤ê¤Þ¤¹¡£"
+
+#: blocks/global_popular_posts_block_theme.php:114
+#: blocks/popular_posts_block_theme.php:122
+#: blocks/recent_posts_content_block_theme.php:84
+#: blocks/recent_posts_list_block_theme.php:70
+msgid "Tags:"
+msgstr "¥¿¥°:"
+
+#: blocks/global_popular_posts_block_theme.php:143
+#: blocks/popular_posts_block_theme.php:151
+#: blocks/recent_posts_content_block_theme.php:123
+#: blocks/recent_posts_list_block_theme.php:99
+msgid "Comments (0)"
+msgstr "¥³¥á¥ó¥È¤Ï¤¢¤ê¤Þ¤»¤ó"
+
+#: blocks/global_popular_posts_block_theme.php:143
+#: blocks/popular_posts_block_theme.php:151
+#: blocks/recent_posts_content_block_theme.php:123
+#: blocks/recent_posts_list_block_theme.php:99
+msgid "Comments (1)"
+msgstr "1·ï¤Î¥³¥á¥ó¥È"
+
+#: blocks/global_popular_posts_block_theme.php:143
+#: blocks/popular_posts_block_theme.php:151
+#: blocks/recent_posts_content_block_theme.php:123
+#: blocks/recent_posts_list_block_theme.php:99
+msgid "Comments (%)"
+msgstr "Comments (%)"
+
+#: blocks/global_recent_comments_block_theme.php:85
+#: blocks/recent_comments_block_theme.php:82
+#, php-format
+msgid "%1$s on %2$s"
+msgstr "%2$s ¤Ë %1$s ¤è¤ê"
+
+#: blocks/meta_block_theme.php:25
+msgid "Posts RSS"
+msgstr "Åê¹Æ¤Î RSS"
+
+#: blocks/meta_block_theme.php:28
+msgid "Comments RSS"
+msgstr "¥³¥á¥ó¥È ¤ÎRSS"
+
+#: blocks/meta_block_theme.php:41
+#: blocks/meta_block_theme.php:46
+msgid "Add New"
+msgstr "¿·µ¬Åê¹Æ"
+
+#: blocks/meta_block_theme.php:55
+msgid "Site Admin"
+msgstr "WordPress´ÉÍý"
+
+#: blocks/meta_block_theme.php:61
+msgid "User Profile"
+msgstr "¥æ¡¼¥¶¡¼¥×¥í¥Õ¥¡¥¤¥ë"
+
+#: blocks/meta_block_theme.php:69
+#: blocks/meta_block_theme.php:74
+msgid "Subscription management"
+msgstr "¥á¡¼¥ë¹ØÆÉ¤ÎÀßÄê"
+
+#: blocks/meta_block_theme.php:82
+msgid "ReadMe"
+msgstr "ReadMeÉ½¼¨"
+
+#: blocks/meta_block_theme.php:87
+msgid "Themes"
+msgstr "¥Æ¡¼¥ÞÁªÂò"
+
+#~ msgid "Customize Header"
+#~ msgstr "¥Ø¥Ã¥À¡¼¤Î¥«¥¹¥¿¥Þ¥¤¥º"
+
+#~ msgid "%d queries. %s seconds."
+#~ msgstr "%d ¸Ä¤Î¥¯¥¨¥ê¤È %s ÉÃ¤òÍ×¤·¤Þ¤·¤¿¡£"
+
+#~ msgid "views: %d"
+#~ msgstr "±ÜÍ÷ :%d²ó"
+
+#~ msgid "more"
+#~ msgstr "Â³¤­¤òÆÉ¤à"
+
+#, fuzzy
+#~ msgid "F jS, Y"
+#~ msgstr "Y Ç¯ n ·î j Æü l"
+
+#~ msgid "Calendar"
+#~ msgstr "¥«¥ì¥ó¥À¡¼"
+
+#~ msgid "%1$s %2$s|Used as a calendar caption"
+#~ msgstr "%2$s Ç¯ %1$s|¥«¥ì¥ó¥À¡¼¤Î¥­¥ã¥×¥·¥ç¥ó¤Ë»È¤ï¤ì¤Þ¤¹"
+
+#~ msgid "View posts for %1$s %2$s"
+#~ msgstr "%2$s Ç¯ %1$s ¤ÎÅê¹Æ¤òÉ½¼¨"
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/languages/ja_UTF.po
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/languages/ja_UTF.po	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/languages/ja_UTF.po	(revision 866)
@@ -0,0 +1,823 @@
+# Japanese (UTF-8) translation for XPressME Default Themes
+# Copyright (c) 2005-2008 XPressME
+# This file is distributed under the same license as the XPressME package.
+# toemon <info@toemon.com>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: XPress_Default_themes\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2011-02-21 09:50+0900\n"
+"PO-Revision-Date: 2011-02-21 09:51+0900\n"
+"Last-Translator: toemon <info@toemon.com>\n"
+"Language-Team: toemon <info@toemon.com>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Japanese\n"
+"X-Poedit-Country: JAPAN\n"
+"X-Poedit-SourceCharset: utf-8\n"
+"X-Poedit-KeywordsList: __;_e;_c\n"
+"X-Poedit-Basepath: D:\\XPressME_Project\\XPressME_SVN_Trunk\\xpressme_integration_kit\\wp-content\\themes\\xpress_default\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Poedit-SearchPath-0: .\n"
+
+#: 404.php:22
+msgid "Error 404 - Not Found"
+msgstr "エラー 404 - 見つかりませんでした"
+
+#: archives.php:20
+msgid "Archives by Month:"
+msgstr "月別のアーカイブ:"
+
+#: archives.php:25
+msgid "Archives by Subject:"
+msgstr "カテゴリー別アーカイブ:"
+
+#: comments-popup.php:9
+#, php-format
+msgid "%1$s - Comments on %2$s"
+msgstr "%1$s - %2$s へのコメント"
+
+#: comments-popup.php:22
+msgid "Comments"
+msgstr "コメント"
+
+#: comments-popup.php:24
+msgid "<abbr title=\"Really Simple Syndication\">RSS</abbr> feed for comments on this post."
+msgstr "このコメント欄の <abbr title=\"Really Simple Syndication\">RSS</abbr> フィード"
+
+#: comments-popup.php:27
+#, php-format
+msgid "The <abbr title=\"Universal Resource Locator\">URL</abbr> to TrackBack this entry is: <em>%s</em>"
+msgstr "この投稿へのトラックバック <acronym title=\"Universal Resource Locator\">URL</acronym>: <em>%s</em>"
+
+#: comments-popup.php:45
+msgid "Comment"
+msgstr "コメント"
+
+#: comments-popup.php:45
+msgid "Trackback"
+msgstr "トラックバック"
+
+#: comments-popup.php:45
+msgid "Pingback"
+msgstr "ピンバック"
+
+#: comments-popup.php:45
+#, php-format
+msgid "by %1$s &#8212; %2$s @ <a href=\"#comment-%3$s\">%4$s</a>"
+msgstr "&#8212; %2$s @ <a href=\"#comment-%3$s\">%4$s</a>: %1$s より"
+
+#: comments-popup.php:51
+msgid "No comments yet."
+msgstr "コメントはまだありません。"
+
+#: comments-popup.php:55
+msgid "Leave a comment"
+msgstr "コメントをどうぞ"
+
+#: comments-popup.php:56
+#, php-format
+msgid "Line and paragraph breaks automatic, e-mail address never displayed, <acronym title=\"Hypertext Markup Language\">HTML</acronym> allowed: <code>%s</code>"
+msgstr "改行と段落タグは自動で挿入されます。メールアドレスは表示されません。利用可能な <acronym title=\"Hypertext Markup Language\">HTML</acronym> タグ: <code>%s</code>"
+
+#: comments-popup.php:60
+#, php-format
+msgid "Logged in as <a href=\"%1$s\">%2$s</a>. <a href=\"%3$s\" title=\"Log out of this account\">Log out &raquo;</a>"
+msgstr "<a href=\"%1$s\">%2$s</a> としてログイン中。<a href=\"%3$s\" title=\"このアカウントからログアウトする\">ログアウト &raquo;</a>"
+
+#: comments-popup.php:64
+#: comments.php:91
+msgid "Name"
+msgstr "お名前"
+
+#: comments-popup.php:71
+msgid "E-mail"
+msgstr "メールアドレス"
+
+#: comments-popup.php:76
+msgid "<abbr title=\"Universal Resource Locator\">URL</abbr>"
+msgstr "<abbr title=\"Universal Resource Locator\">URL</abbr>"
+
+#: comments-popup.php:81
+msgid "Your Comment"
+msgstr "コメント"
+
+#: comments-popup.php:87
+msgid "Say It!"
+msgstr "送信する !"
+
+#: comments-popup.php:92
+msgid "Sorry, the comment form is closed at this time."
+msgstr "コメントフォームは現在閉鎖中です。"
+
+#: comments-popup.php:97
+msgid "Close this window."
+msgstr "このウインドウを閉じる。"
+
+#: comments-popup.php:105
+#, php-format
+msgid "Powered by <a href=\"%s\" title=\"Powered by WordPress, state-of-the-art semantic personal publishing platform\"><strong>WordPress</strong></a>"
+msgstr "Powered by <a href=\"%s\" title=\"Powered by WordPress, state-of-the-art semantic personal publishing platform\"><strong>WordPress</strong></a>"
+
+#: comments.php:6
+msgid "This post is password protected. Enter the password to view comments."
+msgstr "この投稿はパスワードで保護されています。コメントを閲覧するにはパスワードを入力してください。"
+
+#: comments.php:17
+#: comments.php:38
+msgid "No Responses"
+msgstr "コメント はありません"
+
+#: comments.php:17
+#: comments.php:38
+msgid "One Response"
+msgstr "コメント 1 件"
+
+#: comments.php:17
+#: comments.php:38
+msgid "% Responses"
+msgstr "コメント % 件"
+
+#: comments.php:17
+#: comments.php:38
+#, php-format
+msgid "to &#8220;%s&#8221;"
+msgstr "<!-- to &#8220;%s&#8221; -->"
+
+#: comments.php:33
+#: comments.php:63
+msgid "Comments are closed."
+msgstr "現在コメントは受け付けていません。"
+
+#: comments.php:43
+#, php-format
+msgid "<cite>%s</cite> Says:"
+msgstr "<cite>%s</cite> より:"
+
+#: comments.php:45
+msgid "Your comment is awaiting moderation."
+msgstr "コメントは承認待ちです。"
+
+#: comments.php:48
+#, php-format
+msgid "%1$s at %2$s"
+msgstr "%1$s %2$s"
+
+#: comments.php:48
+msgid "Comment Edit"
+msgstr "編集"
+
+#: comments.php:70
+msgid "Leave a Reply"
+msgstr "コメントをどうぞ"
+
+#: comments.php:70
+#, php-format
+msgid "Leave a Reply for %s"
+msgstr "%s にコメントする"
+
+#: comments.php:79
+#, php-format
+msgid "You must be <a href=\"%s\">logged in</a> to post a comment."
+msgstr "コメントを投稿するには<a href=\"%s\">ログイン</a>してください。"
+
+#: comments.php:85
+#: comments.php:87
+#, php-format
+msgid "Logged in as <a href=\"%1$s\">%2$s</a>."
+msgstr "<a href=\"%1$s\">%2$s</a> としてログイン中。"
+
+#: comments.php:85
+#: comments.php:87
+msgid "Log out of this account"
+msgstr "このアカウントからログアウト"
+
+#: comments.php:85
+#: comments.php:87
+msgid "Log out &raquo;"
+msgstr "ログアウト &raquo;"
+
+#: comments.php:91
+#: comments.php:94
+msgid "(required)"
+msgstr " (必須)"
+
+#: comments.php:94
+msgid "Mail (will not be published)"
+msgstr "メールアドレス (公開されません)"
+
+#: comments.php:97
+msgid "Website"
+msgstr "ウェブサイト"
+
+#: comments.php:102
+#, php-format
+msgid "<strong>XHTML:</strong> You can use these tags: <code>%s</code>"
+msgstr "<strong>XHTML:</strong> 次のタグを使用できます: <code>%s</code>"
+
+#: comments.php:106
+msgid "Submit Comment"
+msgstr "コメント送信"
+
+#: footer.php:10
+#, php-format
+msgid "%1$s and %2$s."
+msgstr "%1$s と %2$s"
+
+#: footer.php:10
+msgid "Entries (RSS)"
+msgstr "投稿 (RSS)"
+
+#: footer.php:10
+msgid "Comments (RSS)"
+msgstr "コメント (RSS)"
+
+#: footer.php:12
+#, php-format
+msgid "%.3f sec."
+msgstr "%.3f 秒"
+
+#: functions.php:25
+msgid "Primary Navigation"
+msgstr "メインナビゲージョン"
+
+#: functions.php:196
+msgid "Header & Footer"
+msgstr "ヘッダー&フッター"
+
+#: functions.php:210
+msgid "Close Color Picker"
+msgstr "カラーピッカーを閉じる"
+
+#: functions.php:415
+msgid "Header Options saved."
+msgstr "ヘッダー設定を保存しました。"
+
+#: functions.php:416
+msgid "Footer Options saved."
+msgstr "フッター設定を保存しました。"
+
+#: functions.php:420
+msgid "Header Image and Color"
+msgstr "ヘッダーの背景と文字の色"
+
+#: functions.php:433
+#: functions.php:440
+msgid "Save"
+msgstr "保存"
+
+#: functions.php:434
+msgid "Font Color:"
+msgstr "フォントの色:"
+
+#: functions.php:434
+#, php-format
+msgid "Any CSS color (%s or %s or %s)"
+msgstr "CSS 色指定 (%s 、%s もしくは %s)"
+
+#: functions.php:435
+msgid "Upper Color:"
+msgstr "グラデーション上側の色:"
+
+#: functions.php:435
+#: functions.php:436
+#, php-format
+msgid "HEX only (%s or %s)"
+msgstr "16 進数のみ (%s もしくは %s)"
+
+#: functions.php:436
+msgid "Lower Color:"
+msgstr "グラデーション下側の色:"
+
+#: functions.php:438
+msgid "Toggle Text"
+msgstr "テキスト表示の切替え"
+
+#: functions.php:439
+msgid "Use Defaults"
+msgstr "デフォルト設定に戻す"
+
+#: functions.php:448
+msgid "Font Color"
+msgstr "フォントの色"
+
+#: functions.php:449
+msgid "Upper Color"
+msgstr "グラデーション上側の色"
+
+#: functions.php:450
+msgid "Lower Color"
+msgstr "グラデーション下側の色"
+
+#: functions.php:451
+msgid "Revert"
+msgstr "取り消し"
+
+#: functions.php:452
+msgid "Advanced"
+msgstr "詳細"
+
+#: functions.php:459
+msgid "Update Header &raquo;"
+msgstr "ヘッダーを更新 &raquo;"
+
+#: functions.php:465
+msgid "Font Color (CSS):"
+msgstr "フォントの色 (CSS):"
+
+#: functions.php:466
+msgid "Upper Color (HEX):"
+msgstr "グラデーション上側の色 (16 進数):"
+
+#: functions.php:467
+msgid "Lower Color (HEX):"
+msgstr "グラデーション下側の色 (16 進数):"
+
+#: functions.php:468
+msgid "Select Default Colors"
+msgstr "デフォルト設定に戻す"
+
+#: functions.php:469
+msgid "Toggle Text Display"
+msgstr "テキスト表示の切替え"
+
+#: functions.php:475
+msgid "Footer"
+msgstr "フッター"
+
+#: functions.php:481
+msgid "Set number of the sidebar to display in the footer."
+msgstr "フッターに表示するサイドバーの数を設定"
+
+#: functions.php:486
+msgid "none"
+msgstr "なし"
+
+#: functions.php:496
+msgid "Update Footer &raquo;"
+msgstr "フッターを更新 &raquo;"
+
+#: functions.php:512
+msgid "First Footer Widget Area"
+msgstr "フッターウィジェットエリア１"
+
+#: functions.php:513
+msgid "The first footer widget area"
+msgstr "フッターウィジェットエリア１"
+
+#: functions.php:516
+msgid "Second Footer Widget Area"
+msgstr "フッターウィジェットエリア２"
+
+#: functions.php:517
+msgid "The second footer widget area"
+msgstr "フッターウィジェットエリア２"
+
+#: functions.php:520
+msgid "Third Footer Widget Area"
+msgstr "フッターウィジェットエリア３"
+
+#: functions.php:521
+msgid "The third footer widget area"
+msgstr "フッターウィジェットエリア３"
+
+#: functions.php:524
+msgid "Fourth Footer Widget Area"
+msgstr "フッターウィジェットエリア４"
+
+#: functions.php:525
+msgid "The fourth footer widget area"
+msgstr "フッターウィジェットエリア４"
+
+#: functions.php:528
+msgid "Fifth Footer Widget Area"
+msgstr "フッターウィジェットエリア５"
+
+#: functions.php:529
+msgid "The fifth footer widget area"
+msgstr "フッターウィジェットエリア５"
+
+#: header.php:9
+msgid "&raquo; Blog Archive"
+msgstr "&raquo; ブログアーカイブ"
+
+#: header.php:14
+#, php-format
+msgid "%s RSS Feed"
+msgstr "%s RSS フィード"
+
+#: header.php:15
+#, php-format
+msgid "%s Atom Feed"
+msgstr "%s Atom フィード"
+
+#: header.php:58
+msgid "Main Page"
+msgstr "メインページ"
+
+#: header.php:61
+msgid "Blogs Home"
+msgstr "ブログのホーム"
+
+#: header.php:62
+msgid "Post New"
+msgstr "新規投稿"
+
+#: image.php:13
+msgid "Read the rest of this entry &raquo;"
+msgstr "この投稿の続きを読む &raquo;"
+
+#: image.php:15
+#: page.php:22
+msgid "Pages:"
+msgstr "ページ:"
+
+#: image.php:25
+#, php-format
+msgid "This entry was posted on %1$s at %2$s and is filed under %3$s."
+msgstr "この投稿は %1$s %2$s に %3$s カテゴリーに公開されました。"
+
+#: image.php:25
+#: sidebar.php:24
+msgid "l, F jS, Y"
+msgstr "Y 年 n 月 j 日 l"
+
+#: image.php:27
+#, php-format
+msgid "You can follow any responses to this entry through the <a href='%s'>RSS 2.0</a> feed."
+msgstr "この投稿へのコメントは <a href='%s'>RSS 2.0</a> フィードで購読することができます。"
+
+#: image.php:31
+#, php-format
+msgid "You can <a href=\"#respond\">leave a response</a>, or <a href=\"%s\" rel=\"trackback\">trackback</a> from your own site."
+msgstr "<a href=\"#respond\">コメントを残すか</a>、ご自分のサイトから<a href=\"%s\" rel=\"trackback\">トラックバック</a>することができます。"
+
+#: image.php:35
+#, php-format
+msgid "Responses are currently closed, but you can <a href=\"%s\" rel=\"trackback\">trackback</a> from your own site."
+msgstr "現在コメントは受け付けておりませんが、ご自分のサイトから<a href=\"%s\" rel=\"trackback\">トラックバック</a>を送ることはできます。"
+
+#: image.php:39
+msgid "You can skip to the end and leave a response. Pinging is currently not allowed."
+msgstr "このページの一番下でコメントを残すことができます。トラックバック / ピンバックは現在受け付けていません。"
+
+#: image.php:43
+msgid "Both comments and pings are currently closed."
+msgstr "現在コメント、トラックバックともに受け付けておりません。"
+
+#: image.php:45
+#: page.php:27
+msgid "Edit this entry."
+msgstr "この投稿を編集する。"
+
+#: image.php:58
+msgid "Sorry, no posts matched your criteria."
+msgstr "該当する投稿は見つかりませんでした。"
+
+#: index.php:29
+#: index.php:31
+#: multi_blog_index.php:33
+#: multi_blog_index.php:35
+#, php-format
+msgid "Permanent Link to %s"
+msgstr "%s のパーマリンク"
+
+#: index.php:44
+#: multi_blog_index.php:48
+#, php-format
+msgid "Views :%d"
+msgstr "閲覧 :%d"
+
+#: index.php:47
+#: multi_blog_index.php:51
+#, php-format
+msgid "Posted in %s"
+msgstr "カテゴリー: %s"
+
+#: index.php:49
+#: multi_blog_index.php:53
+msgid "Edit"
+msgstr "編集"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "No Comments &#187;"
+msgstr "コメントはまだありません &#187;"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "1 Comment &#187;"
+msgstr "1 件のコメント &#187;"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "% Comments &#187;"
+msgstr "% 件のコメント &#187;"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "Comments Closed"
+msgstr "コメントは受け付けていません。"
+
+#: index.php:68
+#: multi_blog_index.php:72
+msgid "Not Found"
+msgstr "見つかりませんでした。"
+
+#: index.php:69
+#: multi_blog_index.php:73
+msgid "Sorry, but you are looking for something that isn&#8217;t here."
+msgstr "お探しの物はここにはありません。"
+
+#: links.php:18
+msgid "Links:"
+msgstr "リンク:"
+
+#: multi_blog_front.php:9
+msgid "Site News"
+msgstr "サイトニュース"
+
+#: multi_blog_front.php:18
+msgid "Blogs List"
+msgstr "ブログリスト"
+
+#: multi_blog_front.php:27
+msgid "post count"
+msgstr "投稿数"
+
+#: multi_blog_front.php:34
+msgid "New Entries"
+msgstr "最近の投稿"
+
+#: multi_blog_front.php:39
+#, fuzzy, php-format
+msgid "%1$s wrote %2$s in %3$s."
+msgstr "%1$s %2$s"
+
+#: multi_blog_front.php:46
+msgid "Updated Blogs"
+msgstr "最近更新されたブログ"
+
+#: multi_blog_front.php:67
+#, php-format
+msgid "Howdy %s"
+msgstr "ようこそ %s さん"
+
+#: multi_blog_front.php:73
+msgid "Your Blogs list"
+msgstr "あなたのブログリスト"
+
+#: multi_blog_front.php:84
+msgid "Create a new blog"
+msgstr "新しいブログの作成"
+
+#: page.php:20
+msgid "Read the rest of this page &raquo;"
+msgstr "このページの続きを読む &raquo;"
+
+#: searchform.php:2
+msgid "Search for:"
+msgstr "検索:"
+
+#: searchform.php:8
+msgid "Search"
+msgstr "検索"
+
+#: sidebar.php:10
+msgid "Author"
+msgstr "作成者"
+
+#: sidebar.php:21
+#, php-format
+msgid "You are currently browsing the archives for the %s category."
+msgstr "%s カテゴリーのアーカイブを表示しています。"
+
+#: sidebar.php:24
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives for the day %3$s."
+msgstr "<a href=\"%1$s\">%2$s</a> ブログの %3$s のアーカイブを表示しています。"
+
+#: sidebar.php:27
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives for %3$s."
+msgstr "<a href=\"%1$s/\">%2$s</a> の %3$s のアーカイブを閲覧中です。"
+
+#: sidebar.php:27
+msgid "F, Y"
+msgstr "Y 年 n 月"
+
+#: sidebar.php:30
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives for the year %3$s."
+msgstr "<a href=\"%1$s\">%2$s</a> ブログの %3$s 年のアーカイブを表示しています。"
+
+#: sidebar.php:33
+#, php-format
+msgid "You have searched the <a href=\"%1$s/\">%2$s</a> blog archives for <strong>&#8216;%3$s&#8217;</strong>. If you are unable to find anything in these search results, you can try one of these links."
+msgstr "<a href=\"%1$s/\">%2$s</a> のアーカイブ内で<strong>&#8216;%3$s&#8217;</strong>を探しました。お探しのものが見つからない場合は他のリンクを試してみてください。"
+
+#: sidebar.php:36
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives."
+msgstr "<a href=\"%1$s/\">%2$s</a> ブログのアーカイブを閲覧中です。"
+
+#: sidebar.php:42
+msgid "Pages"
+msgstr "ページ"
+
+#: sidebar.php:44
+msgid "Archives"
+msgstr "アーカイブ"
+
+#: sidebar.php:51
+#: sidebar.php:53
+msgid "Categories"
+msgstr "カテゴリー"
+
+#: sidebar.php:62
+msgid "Meta"
+msgstr "メタ情報"
+
+#: sidebar.php:66
+msgid "This page validates as XHTML 1.0 Transitional"
+msgstr "このページが XHTML 1.0 Transitional に準拠しているか確認する"
+
+#: sidebar.php:66
+msgid "Valid <abbr title=\"eXtensible HyperText Markup Language\">XHTML</abbr>"
+msgstr "Valid <abbr title=\"eXtensible HyperText Markup Language\">XHTML</abbr>"
+
+#: sidebar.php:67
+msgid "XHTML Friends Network"
+msgstr "XHTML Friends Network"
+
+#: sidebar.php:67
+msgid "XFN"
+msgstr "XFN"
+
+#: sidebar.php:68
+msgid "Powered by WordPress, state-of-the-art semantic personal publishing platform."
+msgstr "Powered by WordPress, state-of-the-art semantic personal publishing platform."
+
+#: single.php:53
+msgid "No Trackback/Pingback"
+msgstr "トラックバック・ピンバックはありません"
+
+#: single.php:53
+msgid "One Trackback/Pingback"
+msgstr "トラックバック・ピンバック 1 件"
+
+#: single.php:53
+msgid "% TrackBack/Pingback"
+msgstr "トラックバック・ピンバック % 件"
+
+#: single.php:57
+#, php-format
+msgid "You can <a href=\"%s\" rel=\"trackback\">trackback</a> from your own site."
+msgstr "ご自分のサイトから<a href=\"%s\" rel=\"trackback\">トラックバック</a>を送ることができます。"
+
+#: single.php:59
+msgid "Pinging is currently not allowed."
+msgstr "トラックバック / ピンバックは現在受け付けていません。"
+
+#: blocks/archives_block_theme.php:14
+msgid "Select Yearly"
+msgstr "年を選択"
+
+#: blocks/archives_block_theme.php:17
+#: blocks/archives_block_theme.php:29
+msgid "Select Monthly"
+msgstr "月を選択"
+
+#: blocks/archives_block_theme.php:20
+msgid "Select Weekly"
+msgstr "週を選択"
+
+#: blocks/archives_block_theme.php:23
+msgid "Select Daily"
+msgstr "日を選択"
+
+#: blocks/archives_block_theme.php:26
+msgid "Select Post"
+msgstr "記事を選択"
+
+#: blocks/authors_block_theme.php:32
+msgid "All Authors"
+msgstr "全ての投稿者"
+
+#: blocks/blog_list_block_theme.php:66
+#: blocks/global_popular_posts_block_theme.php:192
+#: blocks/global_recent_comments_block_theme.php:130
+#: blocks/global_recent_posts_list_block_theme.php:44
+msgid "This blog is not set to the multi blog."
+msgstr "このブログはマルチブログに設定されていません。"
+
+#: blocks/enhanced_block_theme.php:14
+msgid "The include file name to display it is not set."
+msgstr "表示を行うためのインクルードファイル名が設定されていません。"
+
+#: blocks/enhanced_block_theme.php:21
+#, php-format
+msgid "File %s not exist."
+msgstr "ファイル %s が見つかりません。"
+
+#: blocks/enhanced_block_theme.php:29
+msgid "Data is Empty"
+msgstr "データは空です"
+
+#: blocks/global_popular_posts_block_theme.php:114
+#: blocks/popular_posts_block_theme.php:122
+#: blocks/recent_posts_content_block_theme.php:84
+#: blocks/recent_posts_list_block_theme.php:70
+msgid "Tags:"
+msgstr "タグ:"
+
+#: blocks/global_popular_posts_block_theme.php:143
+#: blocks/popular_posts_block_theme.php:151
+#: blocks/recent_posts_content_block_theme.php:123
+#: blocks/recent_posts_list_block_theme.php:99
+msgid "Comments (0)"
+msgstr "コメントはありません"
+
+#: blocks/global_popular_posts_block_theme.php:143
+#: blocks/popular_posts_block_theme.php:151
+#: blocks/recent_posts_content_block_theme.php:123
+#: blocks/recent_posts_list_block_theme.php:99
+msgid "Comments (1)"
+msgstr "1件のコメント"
+
+#: blocks/global_popular_posts_block_theme.php:143
+#: blocks/popular_posts_block_theme.php:151
+#: blocks/recent_posts_content_block_theme.php:123
+#: blocks/recent_posts_list_block_theme.php:99
+msgid "Comments (%)"
+msgstr "Comments (%)"
+
+#: blocks/global_recent_comments_block_theme.php:85
+#: blocks/recent_comments_block_theme.php:82
+#, php-format
+msgid "%1$s on %2$s"
+msgstr "%2$s に %1$s より"
+
+#: blocks/meta_block_theme.php:25
+msgid "Posts RSS"
+msgstr "投稿の RSS"
+
+#: blocks/meta_block_theme.php:28
+msgid "Comments RSS"
+msgstr "コメント のRSS"
+
+#: blocks/meta_block_theme.php:41
+#: blocks/meta_block_theme.php:46
+msgid "Add New"
+msgstr "新規投稿"
+
+#: blocks/meta_block_theme.php:55
+msgid "Site Admin"
+msgstr "WordPress管理"
+
+#: blocks/meta_block_theme.php:61
+msgid "User Profile"
+msgstr "ユーザープロファイル"
+
+#: blocks/meta_block_theme.php:69
+#: blocks/meta_block_theme.php:74
+msgid "Subscription management"
+msgstr "メール購読の設定"
+
+#: blocks/meta_block_theme.php:82
+msgid "ReadMe"
+msgstr "ReadMe表示"
+
+#: blocks/meta_block_theme.php:87
+msgid "Themes"
+msgstr "テーマ選択"
+
+#~ msgid "PHP code error"
+#~ msgstr "PHPコードにエラーがあります。"
+
+#~ msgid "Customize Header"
+#~ msgstr "ヘッダーのカスタマイズ"
+
+#~ msgid "%d queries. %s seconds."
+#~ msgstr "%d 個のクエリと %s 秒を要しました。"
+
+#~ msgid "views: %d"
+#~ msgstr "閲覧 :%d回"
+
+#~ msgid "more"
+#~ msgstr "続きを読む"
+
+#, fuzzy
+#~ msgid "F jS, Y"
+#~ msgstr "Y 年 n 月 j 日 l"
+
+#~ msgid "Calendar"
+#~ msgstr "カレンダー"
+
+#~ msgid "%1$s %2$s|Used as a calendar caption"
+#~ msgstr "%2$s 年 %1$s|カレンダーのキャプションに使われます"
+
+#~ msgid "View posts for %1$s %2$s"
+#~ msgstr "%2$s 年 %1$s の投稿を表示"
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/languages/lang.pot
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/languages/lang.pot	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/languages/lang.pot	(revision 866)
@@ -0,0 +1,817 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR XPressME
+# This file is distributed under the same license as the XPressME package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: XPress_Default_themes\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2011-02-21 09:49+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+#: 404.php:22
+msgid "Error 404 - Not Found"
+msgstr ""
+
+#: archives.php:20
+msgid "Archives by Month:"
+msgstr ""
+
+#: archives.php:25
+msgid "Archives by Subject:"
+msgstr ""
+
+#: comments-popup.php:9
+#, php-format
+msgid "%1$s - Comments on %2$s"
+msgstr ""
+
+#: comments-popup.php:22
+msgid "Comments"
+msgstr ""
+
+#: comments-popup.php:24
+msgid "<abbr title=\"Really Simple Syndication\">RSS</abbr> feed for comments on this post."
+msgstr ""
+
+#: comments-popup.php:27
+#, php-format
+msgid "The <abbr title=\"Universal Resource Locator\">URL</abbr> to TrackBack this entry is: <em>%s</em>"
+msgstr ""
+
+#: comments-popup.php:45
+msgid "Comment"
+msgstr ""
+
+#: comments-popup.php:45
+msgid "Trackback"
+msgstr ""
+
+#: comments-popup.php:45
+msgid "Pingback"
+msgstr ""
+
+#: comments-popup.php:45
+#, php-format
+msgid "by %1$s &#8212; %2$s @ <a href=\"#comment-%3$s\">%4$s</a>"
+msgstr ""
+
+#: comments-popup.php:51
+msgid "No comments yet."
+msgstr ""
+
+#: comments-popup.php:55
+msgid "Leave a comment"
+msgstr ""
+
+#: comments-popup.php:56
+#, php-format
+msgid "Line and paragraph breaks automatic, e-mail address never displayed, <acronym title=\"Hypertext Markup Language\">HTML</acronym> allowed: <code>%s</code>"
+msgstr ""
+
+#: comments-popup.php:60
+#, php-format
+msgid "Logged in as <a href=\"%1$s\">%2$s</a>. <a href=\"%3$s\" title=\"Log out of this account\">Log out &raquo;</a>"
+msgstr ""
+
+#: comments-popup.php:64
+#: comments.php:91
+msgid "Name"
+msgstr ""
+
+#: comments-popup.php:71
+msgid "E-mail"
+msgstr ""
+
+#: comments-popup.php:76
+msgid "<abbr title=\"Universal Resource Locator\">URL</abbr>"
+msgstr ""
+
+#: comments-popup.php:81
+msgid "Your Comment"
+msgstr ""
+
+#: comments-popup.php:87
+msgid "Say It!"
+msgstr ""
+
+#: comments-popup.php:92
+msgid "Sorry, the comment form is closed at this time."
+msgstr ""
+
+#: comments-popup.php:97
+msgid "Close this window."
+msgstr ""
+
+#: comments-popup.php:105
+#, php-format
+msgid "Powered by <a href=\"%s\" title=\"Powered by WordPress, state-of-the-art semantic personal publishing platform\"><strong>WordPress</strong></a>"
+msgstr ""
+
+#: comments.php:6
+msgid "This post is password protected. Enter the password to view comments."
+msgstr ""
+
+#: comments.php:17
+#: comments.php:38
+msgid "No Responses"
+msgstr ""
+
+#: comments.php:17
+#: comments.php:38
+msgid "One Response"
+msgstr ""
+
+#: comments.php:17
+#: comments.php:38
+msgid "% Responses"
+msgstr ""
+
+#: comments.php:17
+#: comments.php:38
+#, php-format
+msgid "to &#8220;%s&#8221;"
+msgstr ""
+
+#: comments.php:33
+#: comments.php:63
+msgid "Comments are closed."
+msgstr ""
+
+#: comments.php:43
+#, php-format
+msgid "<cite>%s</cite> Says:"
+msgstr ""
+
+#: comments.php:45
+msgid "Your comment is awaiting moderation."
+msgstr ""
+
+#: comments.php:48
+#, php-format
+msgid "%1$s at %2$s"
+msgstr ""
+
+#: comments.php:48
+msgid "Comment Edit"
+msgstr ""
+
+#: comments.php:70
+msgid "Leave a Reply"
+msgstr ""
+
+#: comments.php:70
+#, php-format
+msgid "Leave a Reply for %s"
+msgstr ""
+
+#: comments.php:79
+#, php-format
+msgid "You must be <a href=\"%s\">logged in</a> to post a comment."
+msgstr ""
+
+#: comments.php:85
+#: comments.php:87
+#, php-format
+msgid "Logged in as <a href=\"%1$s\">%2$s</a>."
+msgstr ""
+
+#: comments.php:85
+#: comments.php:87
+msgid "Log out of this account"
+msgstr ""
+
+#: comments.php:85
+#: comments.php:87
+msgid "Log out &raquo;"
+msgstr ""
+
+#: comments.php:91
+#: comments.php:94
+msgid "(required)"
+msgstr ""
+
+#: comments.php:94
+msgid "Mail (will not be published)"
+msgstr ""
+
+#: comments.php:97
+msgid "Website"
+msgstr ""
+
+#: comments.php:102
+#, php-format
+msgid "<strong>XHTML:</strong> You can use these tags: <code>%s</code>"
+msgstr ""
+
+#: comments.php:106
+msgid "Submit Comment"
+msgstr ""
+
+#: footer.php:10
+#, php-format
+msgid "%1$s and %2$s."
+msgstr ""
+
+#: footer.php:10
+msgid "Entries (RSS)"
+msgstr ""
+
+#: footer.php:10
+msgid "Comments (RSS)"
+msgstr ""
+
+#: footer.php:12
+#, php-format
+msgid "%.3f sec."
+msgstr ""
+
+#: functions.php:25
+msgid "Primary Navigation"
+msgstr ""
+
+#: functions.php:196
+msgid "Header & Footer"
+msgstr ""
+
+#: functions.php:210
+msgid "Close Color Picker"
+msgstr ""
+
+#: functions.php:415
+msgid "Header Options saved."
+msgstr ""
+
+#: functions.php:416
+msgid "Footer Options saved."
+msgstr ""
+
+#: functions.php:420
+msgid "Header Image and Color"
+msgstr ""
+
+#: functions.php:433
+#: functions.php:440
+msgid "Save"
+msgstr ""
+
+#: functions.php:434
+msgid "Font Color:"
+msgstr ""
+
+#: functions.php:434
+#, php-format
+msgid "Any CSS color (%s or %s or %s)"
+msgstr ""
+
+#: functions.php:435
+msgid "Upper Color:"
+msgstr ""
+
+#: functions.php:435
+#: functions.php:436
+#, php-format
+msgid "HEX only (%s or %s)"
+msgstr ""
+
+#: functions.php:436
+msgid "Lower Color:"
+msgstr ""
+
+#: functions.php:438
+msgid "Toggle Text"
+msgstr ""
+
+#: functions.php:439
+msgid "Use Defaults"
+msgstr ""
+
+#: functions.php:448
+msgid "Font Color"
+msgstr ""
+
+#: functions.php:449
+msgid "Upper Color"
+msgstr ""
+
+#: functions.php:450
+msgid "Lower Color"
+msgstr ""
+
+#: functions.php:451
+msgid "Revert"
+msgstr ""
+
+#: functions.php:452
+msgid "Advanced"
+msgstr ""
+
+#: functions.php:459
+msgid "Update Header &raquo;"
+msgstr ""
+
+#: functions.php:465
+msgid "Font Color (CSS):"
+msgstr ""
+
+#: functions.php:466
+msgid "Upper Color (HEX):"
+msgstr ""
+
+#: functions.php:467
+msgid "Lower Color (HEX):"
+msgstr ""
+
+#: functions.php:468
+msgid "Select Default Colors"
+msgstr ""
+
+#: functions.php:469
+msgid "Toggle Text Display"
+msgstr ""
+
+#: functions.php:475
+msgid "Footer"
+msgstr ""
+
+#: functions.php:481
+msgid "Set number of the sidebar to display in the footer."
+msgstr ""
+
+#: functions.php:486
+msgid "none"
+msgstr ""
+
+#: functions.php:496
+msgid "Update Footer &raquo;"
+msgstr ""
+
+#: functions.php:512
+msgid "First Footer Widget Area"
+msgstr ""
+
+#: functions.php:513
+msgid "The first footer widget area"
+msgstr ""
+
+#: functions.php:516
+msgid "Second Footer Widget Area"
+msgstr ""
+
+#: functions.php:517
+msgid "The second footer widget area"
+msgstr ""
+
+#: functions.php:520
+msgid "Third Footer Widget Area"
+msgstr ""
+
+#: functions.php:521
+msgid "The third footer widget area"
+msgstr ""
+
+#: functions.php:524
+msgid "Fourth Footer Widget Area"
+msgstr ""
+
+#: functions.php:525
+msgid "The fourth footer widget area"
+msgstr ""
+
+#: functions.php:528
+msgid "Fifth Footer Widget Area"
+msgstr ""
+
+#: functions.php:529
+msgid "The fifth footer widget area"
+msgstr ""
+
+#: header.php:9
+msgid "&raquo; Blog Archive"
+msgstr ""
+
+#: header.php:14
+#, php-format
+msgid "%s RSS Feed"
+msgstr ""
+
+#: header.php:15
+#, php-format
+msgid "%s Atom Feed"
+msgstr ""
+
+#: header.php:58
+msgid "Main Page"
+msgstr ""
+
+#: header.php:61
+msgid "Blogs Home"
+msgstr ""
+
+#: header.php:62
+msgid "Post New"
+msgstr ""
+
+#: image.php:13
+msgid "Read the rest of this entry &raquo;"
+msgstr ""
+
+#: image.php:15
+#: page.php:22
+msgid "Pages:"
+msgstr ""
+
+#: image.php:25
+#, php-format
+msgid "This entry was posted on %1$s at %2$s and is filed under %3$s."
+msgstr ""
+
+#: image.php:25
+#: sidebar.php:24
+msgid "l, F jS, Y"
+msgstr ""
+
+#: image.php:27
+#, php-format
+msgid "You can follow any responses to this entry through the <a href='%s'>RSS 2.0</a> feed."
+msgstr ""
+
+#: image.php:31
+#, php-format
+msgid "You can <a href=\"#respond\">leave a response</a>, or <a href=\"%s\" rel=\"trackback\">trackback</a> from your own site."
+msgstr ""
+
+#: image.php:35
+#, php-format
+msgid "Responses are currently closed, but you can <a href=\"%s\" rel=\"trackback\">trackback</a> from your own site."
+msgstr ""
+
+#: image.php:39
+msgid "You can skip to the end and leave a response. Pinging is currently not allowed."
+msgstr ""
+
+#: image.php:43
+msgid "Both comments and pings are currently closed."
+msgstr ""
+
+#: image.php:45
+#: page.php:27
+msgid "Edit this entry."
+msgstr ""
+
+#: image.php:58
+msgid "Sorry, no posts matched your criteria."
+msgstr ""
+
+#: index.php:29
+#: index.php:31
+#: multi_blog_index.php:33
+#: multi_blog_index.php:35
+#, php-format
+msgid "Permanent Link to %s"
+msgstr ""
+
+#: index.php:44
+#: multi_blog_index.php:48
+#, php-format
+msgid "Views :%d"
+msgstr ""
+
+#: index.php:47
+#: multi_blog_index.php:51
+#, php-format
+msgid "Posted in %s"
+msgstr ""
+
+#: index.php:49
+#: multi_blog_index.php:53
+msgid "Edit"
+msgstr ""
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "No Comments &#187;"
+msgstr ""
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "1 Comment &#187;"
+msgstr ""
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "% Comments &#187;"
+msgstr ""
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "Comments Closed"
+msgstr ""
+
+#: index.php:68
+#: multi_blog_index.php:72
+msgid "Not Found"
+msgstr ""
+
+#: index.php:69
+#: multi_blog_index.php:73
+msgid "Sorry, but you are looking for something that isn&#8217;t here."
+msgstr ""
+
+#: links.php:18
+msgid "Links:"
+msgstr ""
+
+#: multi_blog_front.php:9
+msgid "Site News"
+msgstr ""
+
+#: multi_blog_front.php:18
+msgid "Blogs List"
+msgstr ""
+
+#: multi_blog_front.php:27
+msgid "post count"
+msgstr ""
+
+#: multi_blog_front.php:34
+msgid "New Entries"
+msgstr ""
+
+#: multi_blog_front.php:39
+#, fuzzy, php-format
+msgid "%1$s wrote %2$s in %3$s."
+msgstr ""
+
+#: multi_blog_front.php:46
+msgid "Updated Blogs"
+msgstr ""
+
+#: multi_blog_front.php:67
+#, php-format
+msgid "Howdy %s"
+msgstr ""
+
+#: multi_blog_front.php:73
+msgid "Your Blogs list"
+msgstr ""
+
+#: multi_blog_front.php:84
+msgid "Create a new blog"
+msgstr ""
+
+#: page.php:20
+msgid "Read the rest of this page &raquo;"
+msgstr ""
+
+#: searchform.php:2
+msgid "Search for:"
+msgstr ""
+
+#: searchform.php:8
+msgid "Search"
+msgstr ""
+
+#: sidebar.php:10
+msgid "Author"
+msgstr ""
+
+#: sidebar.php:21
+#, php-format
+msgid "You are currently browsing the archives for the %s category."
+msgstr ""
+
+#: sidebar.php:24
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives for the day %3$s."
+msgstr ""
+
+#: sidebar.php:27
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives for %3$s."
+msgstr ""
+
+#: sidebar.php:27
+msgid "F, Y"
+msgstr ""
+
+#: sidebar.php:30
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives for the year %3$s."
+msgstr ""
+
+#: sidebar.php:33
+#, php-format
+msgid "You have searched the <a href=\"%1$s/\">%2$s</a> blog archives for <strong>&#8216;%3$s&#8217;</strong>. If you are unable to find anything in these search results, you can try one of these links."
+msgstr ""
+
+#: sidebar.php:36
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives."
+msgstr ""
+
+#: sidebar.php:42
+msgid "Pages"
+msgstr ""
+
+#: sidebar.php:44
+msgid "Archives"
+msgstr ""
+
+#: sidebar.php:51
+#: sidebar.php:53
+msgid "Categories"
+msgstr ""
+
+#: sidebar.php:62
+msgid "Meta"
+msgstr ""
+
+#: sidebar.php:66
+msgid "This page validates as XHTML 1.0 Transitional"
+msgstr ""
+
+#: sidebar.php:66
+msgid "Valid <abbr title=\"eXtensible HyperText Markup Language\">XHTML</abbr>"
+msgstr ""
+
+#: sidebar.php:67
+msgid "XHTML Friends Network"
+msgstr ""
+
+#: sidebar.php:67
+msgid "XFN"
+msgstr ""
+
+#: sidebar.php:68
+msgid "Powered by WordPress, state-of-the-art semantic personal publishing platform."
+msgstr ""
+
+#: single.php:53
+msgid "No Trackback/Pingback"
+msgstr ""
+
+#: single.php:53
+msgid "One Trackback/Pingback"
+msgstr ""
+
+#: single.php:53
+msgid "% TrackBack/Pingback"
+msgstr ""
+
+#: single.php:57
+#, php-format
+msgid "You can <a href=\"%s\" rel=\"trackback\">trackback</a> from your own site."
+msgstr ""
+
+#: single.php:59
+msgid "Pinging is currently not allowed."
+msgstr ""
+
+#: blocks/archives_block_theme.php:14
+msgid "Select Yearly"
+msgstr ""
+
+#: blocks/archives_block_theme.php:17
+#: blocks/archives_block_theme.php:29
+msgid "Select Monthly"
+msgstr ""
+
+#: blocks/archives_block_theme.php:20
+msgid "Select Weekly"
+msgstr ""
+
+#: blocks/archives_block_theme.php:23
+msgid "Select Daily"
+msgstr ""
+
+#: blocks/archives_block_theme.php:26
+msgid "Select Post"
+msgstr ""
+
+#: blocks/authors_block_theme.php:32
+msgid "All Authors"
+msgstr ""
+
+#: blocks/blog_list_block_theme.php:66
+#: blocks/global_popular_posts_block_theme.php:192
+#: blocks/global_recent_comments_block_theme.php:130
+#: blocks/global_recent_posts_list_block_theme.php:44
+msgid "This blog is not set to the multi blog."
+msgstr ""
+
+#: blocks/enhanced_block_theme.php:14
+msgid "The include file name to display it is not set."
+msgstr ""
+
+#: blocks/enhanced_block_theme.php:21
+#, php-format
+msgid "File %s not exist."
+msgstr ""
+
+#: blocks/enhanced_block_theme.php:29
+msgid "Data is Empty"
+msgstr ""
+
+#: blocks/global_popular_posts_block_theme.php:114
+#: blocks/popular_posts_block_theme.php:122
+#: blocks/recent_posts_content_block_theme.php:84
+#: blocks/recent_posts_list_block_theme.php:70
+msgid "Tags:"
+msgstr ""
+
+#: blocks/global_popular_posts_block_theme.php:143
+#: blocks/popular_posts_block_theme.php:151
+#: blocks/recent_posts_content_block_theme.php:123
+#: blocks/recent_posts_list_block_theme.php:99
+msgid "Comments (0)"
+msgstr ""
+
+#: blocks/global_popular_posts_block_theme.php:143
+#: blocks/popular_posts_block_theme.php:151
+#: blocks/recent_posts_content_block_theme.php:123
+#: blocks/recent_posts_list_block_theme.php:99
+msgid "Comments (1)"
+msgstr ""
+
+#: blocks/global_popular_posts_block_theme.php:143
+#: blocks/popular_posts_block_theme.php:151
+#: blocks/recent_posts_content_block_theme.php:123
+#: blocks/recent_posts_list_block_theme.php:99
+msgid "Comments (%)"
+msgstr ""
+
+#: blocks/global_recent_comments_block_theme.php:85
+#: blocks/recent_comments_block_theme.php:82
+#, php-format
+msgid "%1$s on %2$s"
+msgstr ""
+
+#: blocks/meta_block_theme.php:25
+msgid "Posts RSS"
+msgstr ""
+
+#: blocks/meta_block_theme.php:28
+msgid "Comments RSS"
+msgstr ""
+
+#: blocks/meta_block_theme.php:41
+#: blocks/meta_block_theme.php:46
+msgid "Add New"
+msgstr ""
+
+#: blocks/meta_block_theme.php:55
+msgid "Site Admin"
+msgstr ""
+
+#: blocks/meta_block_theme.php:61
+msgid "User Profile"
+msgstr ""
+
+#: blocks/meta_block_theme.php:69
+#: blocks/meta_block_theme.php:74
+msgid "Subscription management"
+msgstr ""
+
+#: blocks/meta_block_theme.php:82
+msgid "ReadMe"
+msgstr ""
+
+#: blocks/meta_block_theme.php:87
+msgid "Themes"
+msgstr ""
+
+#~ msgid "PHP code error"
+#~ msgstr ""
+
+#~ msgid "Customize Header"
+#~ msgstr ""
+
+#~ msgid "%d queries. %s seconds."
+#~ msgstr ""
+
+#~ msgid "views: %d"
+#~ msgstr ""
+
+#~ msgid "more"
+#~ msgstr ""
+
+#, fuzzy
+#~ msgid "F jS, Y"
+#~ msgstr ""
+
+#~ msgid "Calendar"
+#~ msgstr ""
+
+#~ msgid "%1$s %2$s|Used as a calendar caption"
+#~ msgstr ""
+
+#~ msgid "View posts for %1$s %2$s"
+#~ msgstr ""
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/languages/pt_BR.po
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/languages/pt_BR.po	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/languages/pt_BR.po	(revision 866)
@@ -0,0 +1,827 @@
+# Brazilian Portuguese (UTF-8) translation for XPressME Plugin [http://yuji.ws]
+# Copyright (c) 2005-2008 XPressME
+# This file is distributed under the same license as the XPressME package.
+# toemon <info@toemon.com>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: XPress_Default_themes\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2011-02-21 09:49+0900\n"
+"PO-Revision-Date: 2011-02-21 10:05+0900\n"
+"Last-Translator: toemon <info@toemon.com>\n"
+"Language-Team: Marcelo Yuji Himoro <yuji@yuji.ws>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Portguese\n"
+"X-Poedit-Country: BRAZIL\n"
+"X-Poedit-SourceCharset: utf-8\n"
+"X-Poedit-KeywordsList: __;_e;_c\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Poedit-SearchPath-0: .\n"
+
+#: 404.php:22
+msgid "Error 404 - Not Found"
+msgstr "Erro 404 - Página não encontrada"
+
+#: archives.php:20
+msgid "Archives by Month:"
+msgstr "Arquivo por mês:"
+
+#: archives.php:25
+msgid "Archives by Subject:"
+msgstr "Arquivo por assunto:"
+
+#: comments-popup.php:9
+#, php-format
+msgid "%1$s - Comments on %2$s"
+msgstr "%1$s - Comentários em %2$s"
+
+#: comments-popup.php:22
+msgid "Comments"
+msgstr "Comentários"
+
+#: comments-popup.php:24
+msgid "<abbr title=\"Really Simple Syndication\">RSS</abbr> feed for comments on this post."
+msgstr "Feed <abbr title=\"Really Simple Syndication\">RSS</abbr> dos comentários deste post."
+
+#: comments-popup.php:27
+#, php-format
+msgid "The <abbr title=\"Universal Resource Locator\">URL</abbr> to TrackBack this entry is: <em>%s</em>"
+msgstr "A <abbr title=\"Universal Resource Locator\">URL</abbr> de trackback para este post é: <em>%s</em>"
+
+#: comments-popup.php:45
+msgid "Comment"
+msgstr "Comentário"
+
+#: comments-popup.php:45
+msgid "Trackback"
+msgstr "Trackback"
+
+#: comments-popup.php:45
+msgid "Pingback"
+msgstr "Pingback"
+
+#: comments-popup.php:45
+#, php-format
+msgid "by %1$s &#8212; %2$s @ <a href=\"#comment-%3$s\">%4$s</a>"
+msgstr "por %1$s &#8212; %2$s às <a href=\"#comment-%3$s\">%4$s</a>"
+
+#: comments-popup.php:51
+msgid "No comments yet."
+msgstr "Nenhum comentário ainda."
+
+#: comments-popup.php:55
+msgid "Leave a comment"
+msgstr "Comente"
+
+#: comments-popup.php:56
+#, php-format
+msgid "Line and paragraph breaks automatic, e-mail address never displayed, <acronym title=\"Hypertext Markup Language\">HTML</acronym> allowed: <code>%s</code>"
+msgstr "Quebras de linha e de parágrafos são automáticas, endereços de email nunca são exibidos, <acronym title=\"Hypertext Markup Language\">HTML</acronym> permitido: <code>%s</code>"
+
+#: comments-popup.php:60
+#, php-format
+msgid "Logged in as <a href=\"%1$s\">%2$s</a>. <a href=\"%3$s\" title=\"Log out of this account\">Log out &raquo;</a>"
+msgstr "Login feito como <a href=\"%1$s\">%2$s</a>. <a href=\"%3$s\" title=\"Fazer logout desta conta\">Logout &raquo;</a>"
+
+#: comments-popup.php:64
+#: comments.php:91
+msgid "Name"
+msgstr "Nome"
+
+#: comments-popup.php:71
+msgid "E-mail"
+msgstr "E-mail"
+
+#: comments-popup.php:76
+msgid "<abbr title=\"Universal Resource Locator\">URL</abbr>"
+msgstr "<abbr title=\"Universal Resource Locator\">URL</abbr>"
+
+#: comments-popup.php:81
+msgid "Your Comment"
+msgstr "Comentário"
+
+#: comments-popup.php:87
+msgid "Say It!"
+msgstr "Enviar"
+
+#: comments-popup.php:92
+msgid "Sorry, the comment form is closed at this time."
+msgstr "O formulário de comentários está fechado no momento."
+
+#: comments-popup.php:97
+msgid "Close this window."
+msgstr "Fechar janela."
+
+#: comments-popup.php:105
+#, php-format
+msgid "Powered by <a href=\"%s\" title=\"Powered by WordPress, state-of-the-art semantic personal publishing platform\"><strong>WordPress</strong></a>"
+msgstr "Powered by <a href=\"%s\" title=\"Mantido com o WordPress, plataforma semântica de vanguarda para publicação pessoal\"><strong>WordPress</strong></a>"
+
+#: comments.php:6
+msgid "This post is password protected. Enter the password to view comments."
+msgstr "Este post é protegido por senha. Digite a senha para ver os comentários."
+
+#: comments.php:17
+#: comments.php:38
+msgid "No Responses"
+msgstr "Nenhum comentário"
+
+#: comments.php:17
+#: comments.php:38
+msgid "One Response"
+msgstr "Um comentário"
+
+#: comments.php:17
+#: comments.php:38
+msgid "% Responses"
+msgstr "% comentários"
+
+#: comments.php:17
+#: comments.php:38
+#, php-format
+msgid "to &#8220;%s&#8221;"
+msgstr "para &#8220;%s&#8221;"
+
+#: comments.php:33
+#: comments.php:63
+msgid "Comments are closed."
+msgstr "Os comentários estão fechados."
+
+#: comments.php:43
+#, php-format
+msgid "<cite>%s</cite> Says:"
+msgstr "<cite>%s</cite> disse:"
+
+#: comments.php:45
+msgid "Your comment is awaiting moderation."
+msgstr "Seu comentário está aguardando moderação."
+
+#: comments.php:48
+#, php-format
+msgid "%1$s at %2$s"
+msgstr "%1$s em %2$s"
+
+#: comments.php:48
+msgid "Comment Edit"
+msgstr "Editar comentário"
+
+#: comments.php:70
+msgid "Leave a Reply"
+msgstr "Comente"
+
+#: comments.php:70
+#, php-format
+msgid "Leave a Reply for %s"
+msgstr "Comentar %s"
+
+#: comments.php:79
+#, php-format
+msgid "You must be <a href=\"%s\">logged in</a> to post a comment."
+msgstr "Você precisa fazer <a href=\"%s\">login</a> para comentar."
+
+#: comments.php:85
+#: comments.php:87
+#, php-format
+msgid "Logged in as <a href=\"%1$s\">%2$s</a>."
+msgstr "Login como <a href=\"%1$s\">%2$s</a>."
+
+#: comments.php:85
+#: comments.php:87
+msgid "Log out of this account"
+msgstr "Logout desta conta"
+
+#: comments.php:85
+#: comments.php:87
+msgid "Log out &raquo;"
+msgstr "Logout &raquo;"
+
+#: comments.php:91
+#: comments.php:94
+msgid "(required)"
+msgstr "(obrigatório)"
+
+#: comments.php:94
+msgid "Mail (will not be published)"
+msgstr "E-mail (não será publicado)"
+
+#: comments.php:97
+msgid "Website"
+msgstr "Site"
+
+#: comments.php:102
+#, php-format
+msgid "<strong>XHTML:</strong> You can use these tags: <code>%s</code>"
+msgstr "<strong>XHTML:</strong> Você pode usar estas tags: <code>%s</code>"
+
+#: comments.php:106
+msgid "Submit Comment"
+msgstr "Enviar comentário"
+
+#: footer.php:10
+#, php-format
+msgid "%1$s and %2$s."
+msgstr "%1$s e %2$s"
+
+#: footer.php:10
+msgid "Entries (RSS)"
+msgstr "Posts (RSS)"
+
+#: footer.php:10
+msgid "Comments (RSS)"
+msgstr "Comentários (RSS)"
+
+#: footer.php:12
+#, php-format
+msgid "%.3f sec."
+msgstr "%.3f seg."
+
+#: functions.php:25
+msgid "Primary Navigation"
+msgstr ""
+
+#: functions.php:196
+msgid "Header & Footer"
+msgstr ""
+
+#: functions.php:210
+msgid "Close Color Picker"
+msgstr "Fechar seletor de cores"
+
+#: functions.php:415
+#, fuzzy
+msgid "Header Options saved."
+msgstr "Opções salvas."
+
+#: functions.php:416
+#, fuzzy
+msgid "Footer Options saved."
+msgstr "Opções salvas."
+
+#: functions.php:420
+msgid "Header Image and Color"
+msgstr "Imagem do cabeçalho e cor"
+
+#: functions.php:433
+#: functions.php:440
+msgid "Save"
+msgstr "Salvar"
+
+#: functions.php:434
+msgid "Font Color:"
+msgstr "Cor da fonte:"
+
+#: functions.php:434
+#, php-format
+msgid "Any CSS color (%s or %s or %s)"
+msgstr "Qualquer cor do CSS (%s, %s ou %s)"
+
+#: functions.php:435
+msgid "Upper Color:"
+msgstr "Cor superior:"
+
+#: functions.php:435
+#: functions.php:436
+#, php-format
+msgid "HEX only (%s or %s)"
+msgstr "Em hexadecimal (%s ou %s)"
+
+#: functions.php:436
+msgid "Lower Color:"
+msgstr "Cor inferior:"
+
+#: functions.php:438
+msgid "Toggle Text"
+msgstr "Alternar texto"
+
+#: functions.php:439
+msgid "Use Defaults"
+msgstr "Utilizar padrão"
+
+#: functions.php:448
+msgid "Font Color"
+msgstr "Cor da fonte"
+
+#: functions.php:449
+msgid "Upper Color"
+msgstr "Cor superior"
+
+#: functions.php:450
+msgid "Lower Color"
+msgstr "Cor inferior"
+
+#: functions.php:451
+msgid "Revert"
+msgstr "Reverter"
+
+#: functions.php:452
+msgid "Advanced"
+msgstr "Avançada"
+
+#: functions.php:459
+msgid "Update Header &raquo;"
+msgstr "Atualizar cabeçalho &raquo;"
+
+#: functions.php:465
+msgid "Font Color (CSS):"
+msgstr "Cor da fonte (CSS):"
+
+#: functions.php:466
+msgid "Upper Color (HEX):"
+msgstr "Cor superior (HEXADECIMAL):"
+
+#: functions.php:467
+msgid "Lower Color (HEX):"
+msgstr "Cor inferior (HEXADECIMAL):"
+
+#: functions.php:468
+msgid "Select Default Colors"
+msgstr "Selecionar cores padrões"
+
+#: functions.php:469
+msgid "Toggle Text Display"
+msgstr "Alternar exibição de texto"
+
+#: functions.php:475
+msgid "Footer"
+msgstr ""
+
+#: functions.php:481
+msgid "Set number of the sidebar to display in the footer."
+msgstr ""
+
+#: functions.php:486
+msgid "none"
+msgstr ""
+
+#: functions.php:496
+#, fuzzy
+msgid "Update Footer &raquo;"
+msgstr "Atualizar cabeçalho &raquo;"
+
+#: functions.php:512
+msgid "First Footer Widget Area"
+msgstr ""
+
+#: functions.php:513
+msgid "The first footer widget area"
+msgstr ""
+
+#: functions.php:516
+msgid "Second Footer Widget Area"
+msgstr ""
+
+#: functions.php:517
+msgid "The second footer widget area"
+msgstr ""
+
+#: functions.php:520
+msgid "Third Footer Widget Area"
+msgstr ""
+
+#: functions.php:521
+msgid "The third footer widget area"
+msgstr ""
+
+#: functions.php:524
+msgid "Fourth Footer Widget Area"
+msgstr ""
+
+#: functions.php:525
+msgid "The fourth footer widget area"
+msgstr ""
+
+#: functions.php:528
+msgid "Fifth Footer Widget Area"
+msgstr ""
+
+#: functions.php:529
+msgid "The fifth footer widget area"
+msgstr ""
+
+#: header.php:9
+msgid "&raquo; Blog Archive"
+msgstr "&raquo; Arquivo do blog"
+
+#: header.php:14
+#, php-format
+msgid "%s RSS Feed"
+msgstr "%s Feed RSS"
+
+#: header.php:15
+#, php-format
+msgid "%s Atom Feed"
+msgstr "%s Feed Atom"
+
+#: header.php:58
+msgid "Main Page"
+msgstr "Página principal"
+
+#: header.php:61
+msgid "Blogs Home"
+msgstr "Página principal do blog"
+
+#: header.php:62
+msgid "Post New"
+msgstr "Novo post"
+
+#: image.php:13
+msgid "Read the rest of this entry &raquo;"
+msgstr "Continue lendo este post &raquo;"
+
+#: image.php:15
+#: page.php:22
+msgid "Pages:"
+msgstr "Páginas:"
+
+#: image.php:25
+#, php-format
+msgid "This entry was posted on %1$s at %2$s and is filed under %3$s."
+msgstr "Este post foi publicado %1$s em %2$s, e arquivado em %3$s."
+
+#: image.php:25
+#: sidebar.php:24
+msgid "l, F jS, Y"
+msgstr "l, j \\d\\e F \\d\\e Y"
+
+#: image.php:27
+#, php-format
+msgid "You can follow any responses to this entry through the <a href='%s'>RSS 2.0</a> feed."
+msgstr "Você pode acompanhar os comentários deste post através do feed <a href='%s'>RSS 2.0</a>."
+
+#: image.php:31
+#, php-format
+msgid "You can <a href=\"#respond\">leave a response</a>, or <a href=\"%s\" rel=\"trackback\">trackback</a> from your own site."
+msgstr "Você pode <a href=\"#respond\">comentar</a> ou mandar um <a href=\"%s\" rel=\"Trackback\">trackback</a> do seu site para cá."
+
+#: image.php:35
+#, php-format
+msgid "Responses are currently closed, but you can <a href=\"%s\" rel=\"trackback\">trackback</a> from your own site."
+msgstr "No momento os comentários estão fechados, mas você pode mandar um <a href=\"%s\" rel=\"trackback\">trackback</a> do seu site."
+
+#: image.php:39
+msgid "You can skip to the end and leave a response. Pinging is currently not allowed."
+msgstr "Você pode pular direto para o fim e deixar um comentário. Pings estão desativados no momento."
+
+#: image.php:43
+msgid "Both comments and pings are currently closed."
+msgstr "Comentários e pings estão fechados no momento."
+
+#: image.php:45
+#: page.php:27
+msgid "Edit this entry."
+msgstr "Editar este post"
+
+#: image.php:58
+msgid "Sorry, no posts matched your criteria."
+msgstr "Nenhum post corresponde aos seus critérios de busca."
+
+#: index.php:29
+#: index.php:31
+#: multi_blog_index.php:33
+#: multi_blog_index.php:35
+#, php-format
+msgid "Permanent Link to %s"
+msgstr "Link permanente para %s"
+
+#: index.php:44
+#: multi_blog_index.php:48
+#, php-format
+msgid "Views :%d"
+msgstr "Leituras: %d"
+
+#: index.php:47
+#: multi_blog_index.php:51
+#, php-format
+msgid "Posted in %s"
+msgstr "Postado em %s"
+
+#: index.php:49
+#: multi_blog_index.php:53
+msgid "Edit"
+msgstr "Editar"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "No Comments &#187;"
+msgstr "Nenhum comentário &#187;"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "1 Comment &#187;"
+msgstr "1 comentário &#187;"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "% Comments &#187;"
+msgstr "% comentários &#187;"
+
+#: index.php:50
+#: multi_blog_index.php:54
+msgid "Comments Closed"
+msgstr "Comentários fechados."
+
+#: index.php:68
+#: multi_blog_index.php:72
+msgid "Not Found"
+msgstr "Não encontrado"
+
+#: index.php:69
+#: multi_blog_index.php:73
+msgid "Sorry, but you are looking for something that isn&#8217;t here."
+msgstr "O que você está procurando não está aqui."
+
+#: links.php:18
+msgid "Links:"
+msgstr "Links:"
+
+#: multi_blog_front.php:9
+msgid "Site News"
+msgstr ""
+
+#: multi_blog_front.php:18
+#, fuzzy
+msgid "Blogs List"
+msgstr "Página principal do blog"
+
+#: multi_blog_front.php:27
+#, fuzzy
+msgid "post count"
+msgstr "Não encontrado"
+
+#: multi_blog_front.php:34
+msgid "New Entries"
+msgstr ""
+
+#: multi_blog_front.php:39
+#, fuzzy, php-format
+msgid "%1$s wrote %2$s in %3$s."
+msgstr "%1$s em %2$s"
+
+#: multi_blog_front.php:46
+msgid "Updated Blogs"
+msgstr ""
+
+#: multi_blog_front.php:67
+#, php-format
+msgid "Howdy %s"
+msgstr ""
+
+#: multi_blog_front.php:73
+msgid "Your Blogs list"
+msgstr ""
+
+#: multi_blog_front.php:84
+msgid "Create a new blog"
+msgstr ""
+
+#: page.php:20
+msgid "Read the rest of this page &raquo;"
+msgstr "Continuar lendo &raquo;"
+
+#: searchform.php:2
+msgid "Search for:"
+msgstr "Pesquisa"
+
+#: searchform.php:8
+msgid "Search"
+msgstr "Pesquisa"
+
+#: sidebar.php:10
+msgid "Author"
+msgstr "Autor"
+
+#: sidebar.php:21
+#, php-format
+msgid "You are currently browsing the archives for the %s category."
+msgstr "No momento você está visualizando o arquivo da categoria %s."
+
+#: sidebar.php:24
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives for the day %3$s."
+msgstr "No momento você está visualizando o arquivo de <a href=\"%1$s/\">%2$s</a> do dia %3$s."
+
+#: sidebar.php:27
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives for %3$s."
+msgstr "No momento você está visualizando os arquivos de <a href=\"%1$s/\">%2$s</a> para %3$s."
+
+#: sidebar.php:27
+msgid "F, Y"
+msgstr "F \\d\\e Y"
+
+#: sidebar.php:30
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives for the year %3$s."
+msgstr "No momento você está vendo o arquivo de <a href=\"%1$s/\">%2$s</a> do ano %3$s."
+
+#: sidebar.php:33
+#, php-format
+msgid "You have searched the <a href=\"%1$s/\">%2$s</a> blog archives for <strong>&#8216;%3$s&#8217;</strong>. If you are unable to find anything in these search results, you can try one of these links."
+msgstr "Você pesquisou por <strong>&lsquo;%3$s&rsquo;</strong> nos arquivos de <a href=\"%1$s/\">%2$s</a>. Se não conseguir encontrar nada nos resultados dessa pesquisa, você pode tentar um destes links."
+
+#: sidebar.php:36
+#, php-format
+msgid "You are currently browsing the <a href=\"%1$s/\">%2$s</a> blog archives."
+msgstr "No momento você está visualizando os arquivos de <a href=\"%1$s/\">%2$s</a>."
+
+#: sidebar.php:42
+msgid "Pages"
+msgstr "Páginas"
+
+#: sidebar.php:44
+msgid "Archives"
+msgstr "Arquivo"
+
+#: sidebar.php:51
+#: sidebar.php:53
+msgid "Categories"
+msgstr "Categorias"
+
+#: sidebar.php:62
+msgid "Meta"
+msgstr "Meta"
+
+#: sidebar.php:66
+msgid "This page validates as XHTML 1.0 Transitional"
+msgstr "Esta página foi validada para XHTML 1.0 Transitional"
+
+#: sidebar.php:66
+msgid "Valid <abbr title=\"eXtensible HyperText Markup Language\">XHTML</abbr>"
+msgstr "<abbr title=\"eXtensible HyperText Markup Language\">XHTML</abbr> válido"
+
+#: sidebar.php:67
+msgid "XHTML Friends Network"
+msgstr "Rede de amigos XHTML"
+
+#: sidebar.php:67
+msgid "XFN"
+msgstr "XFN"
+
+#: sidebar.php:68
+msgid "Powered by WordPress, state-of-the-art semantic personal publishing platform."
+msgstr "Powered by WordPress, uma plataforma semântica de vanguarda para publicação pessoal."
+
+#: single.php:53
+msgid "No Trackback/Pingback"
+msgstr "Nenhum trackback/pingback."
+
+#: single.php:53
+msgid "One Trackback/Pingback"
+msgstr "Um trackback/pingback"
+
+#: single.php:53
+msgid "% TrackBack/Pingback"
+msgstr "% trackbacks/pingbacks"
+
+#: single.php:57
+#, php-format
+msgid "You can <a href=\"%s\" rel=\"trackback\">trackback</a> from your own site."
+msgstr "Você pode mandar um <a href=\"%s\" rel=\"trackback\">trackback</a> do seu site para cá."
+
+#: single.php:59
+msgid "Pinging is currently not allowed."
+msgstr "No momento os pings estão desativados."
+
+#: blocks/archives_block_theme.php:14
+msgid "Select Yearly"
+msgstr "Selecionar ano"
+
+#: blocks/archives_block_theme.php:17
+#: blocks/archives_block_theme.php:29
+msgid "Select Monthly"
+msgstr "Selecionar mês"
+
+#: blocks/archives_block_theme.php:20
+msgid "Select Weekly"
+msgstr "Selecionar semana"
+
+#: blocks/archives_block_theme.php:23
+msgid "Select Daily"
+msgstr "Selecionar dia"
+
+#: blocks/archives_block_theme.php:26
+msgid "Select Post"
+msgstr "Selecionar post"
+
+#: blocks/authors_block_theme.php:32
+msgid "All Authors"
+msgstr "Todos os autores"
+
+#: blocks/blog_list_block_theme.php:66
+#: blocks/global_popular_posts_block_theme.php:192
+#: blocks/global_recent_comments_block_theme.php:130
+#: blocks/global_recent_posts_list_block_theme.php:44
+msgid "This blog is not set to the multi blog."
+msgstr ""
+
+#: blocks/enhanced_block_theme.php:14
+msgid "The include file name to display it is not set."
+msgstr "Nenhum arquivo a ser exibido selecionado."
+
+#: blocks/enhanced_block_theme.php:21
+#, php-format
+msgid "File %s not exist."
+msgstr "O arquivo %s não existe."
+
+#: blocks/enhanced_block_theme.php:29
+msgid "Data is Empty"
+msgstr "Dados está Vazio"
+
+#: blocks/global_popular_posts_block_theme.php:114
+#: blocks/popular_posts_block_theme.php:122
+#: blocks/recent_posts_content_block_theme.php:84
+#: blocks/recent_posts_list_block_theme.php:70
+msgid "Tags:"
+msgstr "Tags:"
+
+#: blocks/global_popular_posts_block_theme.php:143
+#: blocks/popular_posts_block_theme.php:151
+#: blocks/recent_posts_content_block_theme.php:123
+#: blocks/recent_posts_list_block_theme.php:99
+msgid "Comments (0)"
+msgstr "Comentários (0)"
+
+#: blocks/global_popular_posts_block_theme.php:143
+#: blocks/popular_posts_block_theme.php:151
+#: blocks/recent_posts_content_block_theme.php:123
+#: blocks/recent_posts_list_block_theme.php:99
+msgid "Comments (1)"
+msgstr "Comentários (1)"
+
+#: blocks/global_popular_posts_block_theme.php:143
+#: blocks/popular_posts_block_theme.php:151
+#: blocks/recent_posts_content_block_theme.php:123
+#: blocks/recent_posts_list_block_theme.php:99
+msgid "Comments (%)"
+msgstr "Comentários (%)"
+
+#: blocks/global_recent_comments_block_theme.php:85
+#: blocks/recent_comments_block_theme.php:82
+#, php-format
+msgid "%1$s on %2$s"
+msgstr "%2$s para %1$s"
+
+#: blocks/meta_block_theme.php:25
+msgid "Posts RSS"
+msgstr "RSS do post"
+
+#: blocks/meta_block_theme.php:28
+msgid "Comments RSS"
+msgstr "RSS dos comentários"
+
+#: blocks/meta_block_theme.php:41
+#: blocks/meta_block_theme.php:46
+msgid "Add New"
+msgstr "Criar novo"
+
+#: blocks/meta_block_theme.php:55
+msgid "Site Admin"
+msgstr "Administração do WordPress"
+
+#: blocks/meta_block_theme.php:61
+msgid "User Profile"
+msgstr "Perfil do usuário"
+
+#: blocks/meta_block_theme.php:69
+#: blocks/meta_block_theme.php:74
+msgid "Subscription management"
+msgstr "Gerenciar inscrições"
+
+#: blocks/meta_block_theme.php:82
+msgid "ReadMe"
+msgstr "Leia-me"
+
+#: blocks/meta_block_theme.php:87
+msgid "Themes"
+msgstr "Temas"
+
+#~ msgid "PHP code error"
+#~ msgstr "Erro no código PHP"
+
+#~ msgid "Customize Header"
+#~ msgstr "Personalizar cabeçalho"
+
+#~ msgid "%d queries. %s seconds."
+#~ msgstr "%d solicitações. %s segundos."
+
+#~ msgid "views: %d"
+#~ msgstr "閲覧 :%d回"
+
+#~ msgid "more"
+#~ msgstr "続きを読む"
+
+#, fuzzy
+#~ msgid "F jS, Y"
+#~ msgstr "Y 年 n 月 j 日 l"
+
+#~ msgid "Calendar"
+#~ msgstr "カレンダー"
+
+#~ msgid "%1$s %2$s|Used as a calendar caption"
+#~ msgstr "%2$s 年 %1$s|カレンダーのキャプションに使われます"
+
+#~ msgid "View posts for %1$s %2$s"
+#~ msgstr "%2$s 年 %1$s の投稿を表示"
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/links.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/links.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/links.php	(revision 866)
@@ -0,0 +1,25 @@
+<?php
+/*
+Template Name: Links
+*/
+?>
+
+<?php get_header(); ?>
+
+<div id="xpress_content" class="widecolumn">
+
+    <div id="xpress_header">
+    	<div id="xpress_headerimg">
+    		<h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
+    		<div class="description"><?php bloginfo('description'); ?></div>
+    	</div>
+    </div>
+
+<h2><?php _e('Links:', 'xpress'); ?></h2>
+<ul>
+<?php wp_list_bookmarks(); ?>
+</ul>
+
+</div>
+
+<?php get_footer(); ?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/multi_blog_front.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/multi_blog_front.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/multi_blog_front.php	(revision 866)
@@ -0,0 +1,91 @@
+<?php
+/*
+Template Name: MultiBlog Front_Page
+*/
+?>
+<?php get_header(); ?>
+
+<div id="content" class="widecolumn">			
+	<h3><?php _e('Site News', 'xpress'); ?></h3>
+	<ul>
+		<?php 
+		query_posts('showposts=7');
+		if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>
+		<li><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title();?> </a></li>
+		<?php endwhile; ?><?php endif; ?>
+	</ul>
+	<br />	
+	<h3><?php _e('Blogs List', 'xpress'); ?></h3>
+	<?php
+	$blog_list = get_blog_list( 0, 'all' );
+	echo "<ul>\n";
+	foreach ($blog_list AS $blog) {
+		$url =  'http://' .$blog['domain'] .$blog['path'];
+		$blog_name = get_blog_option( $blog['blog_id'], 'blogname' );
+		$post_count = $blog['postcount'];
+		
+		echo  "<li><a href=\" $url \"> $blog_name </a>  (" . __('post count','xpress') . ":$post_count) </li>";
+	}
+	echo "</ul>\n";
+	?> 
+	<br />
+		
+<?php
+	echo '<h3>' . __('New Entries', 'xpress') . "</h3>\n";
+	$data_array = xpress_grobal_recent_posts();
+	echo "<ul>\n";
+	foreach($data_array as $data){
+		echo '<li>';
+		printf(__('%1$s wrote %2$s in %3$s.','xpress'), $data->post_author,$data->title_link,$data->blog_link);
+		echo "</li>\n";
+	}
+	echo "</ul>\n";
+?>
+	<br />
+
+	<h3><?php _e('Updated Blogs', 'xpress'); ?></h3>
+	<?php
+	$blogs = get_last_updated();
+	if( is_array( $blogs ) ) {
+		?>
+		<ul>
+		<?php foreach( $blogs as $details ) {
+			?><li><a href="http://<?php echo $details[ 'domain' ] . $details[ 'path' ] ?>"><?php echo get_blog_option( $details[ 'blog_id' ], 'blogname' ) ?></a></li><?php
+		}
+		?>
+		</ul>
+		<?php
+	}
+	?>
+	<br />	
+	<?php	
+		$current_uid = get_current_user_id();
+		if (!empty($current_uid)) {
+			$user_info = get_userdata($current_uid);
+			$display_name = $user_info->display_name;
+			echo '<h3>';
+			printf(__('Howdy %s', 'xpress'),$display_name);
+			echo "</h3>\n";
+			echo "<ul>\n";
+		
+			$user_blogs = get_blogs_of_user($current_uid);
+			if( is_array($user_blogs) ) {
+				echo '<li>' . __('Your Blogs list','xpress') ;
+					echo "<ul>\n";
+					foreach( $user_blogs as $blog ) {
+						$url =  'http://' .$blog->domain .$blog->path;
+						$blog_name = $blog->blogname;
+						echo  "<li><a href=\" $url \"> $blog_name </a></li>";
+					}
+					echo "</ul>\n";			
+				echo "</li>\n";
+				wp_register();
+			}
+			echo '<li> <a href="wp-signup.php">' . __('Create a new blog','xpress') .  "</a></li>\n";
+			echo "</ul>\n";			
+		}
+	?>
+
+</div>
+
+<?php get_footer(); ?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/multi_blog_index.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/multi_blog_index.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/multi_blog_index.php	(revision 866)
@@ -0,0 +1,81 @@
+<?php
+/*
+Template Name: MultiBlog Index_Page
+*/
+?><?php get_header(); ?>
+
+		
+<div id="xpress_wrap">				
+	<?php
+		if(xpress_is_theme_sidebar_disp()) {
+			echo '<div id="xpress_content" class="narrowcolumn">';	
+		} else {
+			echo '<div id="xpress_content" class="narrowcolumn_nonside">';
+		}	
+	?>				
+		<?php if (have_posts()) : ?>
+			<div class="xpress-navi-bar">
+				<?php if(function_exists('wp_pagenavi')) : ?>			
+					<div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div>
+				<?php else : ?>
+					<div class="alignleft"><?php xpress_left_arrow_posts_link('echo=1'); ?></div>
+					<div class="alignright"><?php xpress_right_arrow_posts_link('echo=1'); ?></div>
+				<?php endif; ?>
+			</div>
+				
+			<?php while (have_posts()) : the_post(); ?>
+
+				<div class="xpress-post" id="post-<?php the_ID(); ?>">
+					<div class ="xpress-post-header">
+						<?php if (function_exists('hotDates')) { hotDates(); }?>
+						<div class ="xpress-post-title">
+							<?php if(function_exists('the_title_attribute')) : ?>			
+								<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'xpress'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2>
+							<?php else : ?>
+								<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'xpress'), the_title('','',false)); ?>"><?php the_title(); ?></a></h2>
+							<?php endif; ?>
+						</div>
+					</div>
+					<div class="xpress-post-entry">
+						<?php xpress_the_content(); ?>
+					</div>
+					<div class="xpress-link-pages"><?php wp_link_pages() ?></div>
+					<div class ="xpress-post-footer">
+					<?php
+						the_time('Y/m/d l');
+						echo ' - ';
+						the_author_posts_link();
+						echo ' (' . xpress_post_views_count('post_id=' . $post->ID . '&format=' . __('Views :%d', 'xpress'). '&echo=0') . ')'; 
+						echo ' | ';
+						// echo the_tags(__('Tags:', 'xpress') . ' ', ', ', ' | ');
+						printf(__('Posted in %s', 'xpress'), get_the_category_list(', '));
+						echo ' | ';
+						edit_post_link(__('Edit', 'xpress'), '', ' | ');
+						comments_popup_link(__('No Comments &#187;', 'xpress'), __('1 Comment &#187;', 'xpress'), __('% Comments &#187;', 'xpress'), '', __('Comments Closed', 'xpress') );
+					?>
+					</div>
+				</div>
+
+			<?php endwhile; ?>
+				
+			<div class="xpress-navi-bar">
+				<?php if(function_exists('wp_pagenavi')) : ?>			
+					<div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div>
+				<?php else : ?>
+					<div class="alignleft"><?php xpress_left_arrow_posts_link('echo=1'); ?></div>
+					<div class="alignright"><?php xpress_right_arrow_posts_link('echo=1'); ?></div>
+				<?php endif; ?>
+			</div>
+				
+		<?php else : ?>
+
+			<h2 class="center"><?php _e('Not Found', 'xpress'); ?></h2>
+			<p class="center"><?php _e('Sorry, but you are looking for something that isn&#8217;t here.', 'xpress'); ?></p>
+			<?php include (get_template_directory() . "/searchform.php"); ?>
+
+		<?php endif; ?>
+	</div>
+</div>
+<?php if(xpress_is_theme_sidebar_disp()) get_sidebar(); ?>
+
+<?php get_footer(); ?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/page.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/page.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/page.php	(revision 866)
@@ -0,0 +1,34 @@
+<?php get_header(); ?>
+
+   <div id="xpress_wrap">
+	   
+	<?php if(xpress_is_theme_sidebar_disp()) : ?>
+	   
+		<div id="xpress_content" class="narrowcolumn">
+		
+	<?php else : ?>
+	
+		<div id="xpress_content" class="narrowcolumn_nonside">
+		
+	<?php endif; ?>
+
+		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
+		<div class="post" id="post-<?php the_ID(); ?>">
+		<?php if (function_exists('hotDates')) { hotDates(); }?>
+		<h2><?php the_title(); ?></h2>
+			<div class="entry">
+				<?php the_content('<p class="serif">' . __('Read the rest of this page &raquo;', 'xpress') . '</p>'); ?>
+
+				<?php wp_link_pages(array('before' => '<p><strong>' . __('Pages:', 'xpress') . '</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
+
+			</div>
+		</div>
+		<?php endwhile; endif; ?>
+	<?php edit_post_link(__('Edit this entry.', 'xpress'), '<p>', '</p>'); ?>
+
+	</div>
+       </div>
+
+<?php get_sidebar(); ?>
+
+<?php get_footer(); ?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/rtl.css
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/rtl.css	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/rtl.css	(revision 866)
@@ -0,0 +1,106 @@
+/*
+Theme name: WordPress Default - kubrick -
+Editors: Navid Kashani
+Persian Wordpress Project : wp-persian.com
+*/
+body, .commentlist li, #commentform input, #commentform textarea, #commentform p, #sidebar, #wp-calendar caption  {
+	font-family:tahoma, arial;
+}
+#page {
+	text-align:right;
+	direction:rtl;
+}
+h1, h2, h3, #sidebar h2 {
+	font-family:arial, tahoma;
+}
+.commentlist li .avatar {
+	float:left;
+}
+#header {
+	margin:0 1px 0 0;
+}
+.narrowcolumn {
+	float:right;
+	padding: 0 45px 20px 0;
+}
+.widecolumn {
+	margin: 5px 150px 0 0;
+}
+.widecolumn .smallattachment {
+	margin: 5px 0 5px 5px;
+}
+.postmetadata {
+	clear:right;
+}
+#sidebar {
+	margin-left: 0;
+	margin-right: 545px;
+}
+img.alignright {
+	margin: 0 7px 2px 0;
+}
+
+img.alignleft {
+	margin: 0 0 2px 7px;
+}
+
+.alignright {
+	float: left;
+}
+
+.alignleft {
+	float: right;
+}
+code {
+	display:block;
+	direction:ltr;
+	text-align:left;
+}
+acronym, abbr, span.caps {
+	letter-spacing:0; /* fix opera bug */
+}
+html>body .entry ul {
+	padding:0 10px 0 0;
+	text-indent:10px;
+}
+html>body .entry li {
+	margin: 7px 10px 8px 0;
+}
+.entry ol {
+	padding: 0 35px 0 0;
+}
+#sidebar ul ul, #sidebar ul ol {
+	margin: 5px 10px 0 0;
+}
+#sidebar ul ul ul, #sidebar ul ol {
+	margin: 0 10px 0 0;
+}
+#commentform input {
+	margin: 5px 0 1px 5px;
+}
+#commentform #submit {
+	float:left;
+}
+.commentlist p {
+	margin: 10px 0 10px 5px;
+}
+#wp-calendar #next a {
+	padding-right:0;
+	padding-left:10px;
+	text-align:left;
+}
+#wp-calendar #prev a {
+	padding-left:0;
+	padding-right:10px;
+	text-align:right;
+}
+blockquote {
+	margin: 15px 10px 0 30px;
+	padding-left: 0;
+	padding-right: 20px;
+	border-left: 0 none;
+	border-right: 5px solid #ddd;
+}
+#email, #url {
+	direction:ltr;
+}
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/searchform.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/searchform.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/searchform.php	(revision 866)
@@ -0,0 +1,10 @@
+<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
+<label class="hidden" for="s"><?php _e('Search for:', 'xpress'); ?></label>
+<?php if(function_exists('the_search_query')) : ?>			
+	<div><input type="text" value="<?php the_search_query(); ?>" name="s" id="s" />
+<?php else : ?>
+	<div><input type="text" value="<?php echo attribute_escape($s); ?>" name="s" id="s" />
+<?php endif; ?>
+<input type="submit" id="searchsubmit" value="<?php _e('Search', 'xpress'); ?>" />
+</div>
+</form>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/sidebar-footer.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/sidebar-footer.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/sidebar-footer.php	(revision 866)
@@ -0,0 +1,21 @@
+<?php
+/**
+ * The Footer widget areas.
+ *
+ */
+	$side_bar_num = get_option('xpress_footer_sidebars_count');
+	if (empty($side_bar_num)) return;
+//	echo "<div id=\"footer-widget-area\" role=\"complementary\">\n";
+	echo "<div id=\"footer-widget-area\">\n";
+	for($i=1;$i <= $side_bar_num;$i++){
+		$sidebar_id = 'footer-widget-area-'.$i;
+		echo "\t<div class=\"widget-area-type{$side_bar_num}\">\n";
+		echo "\t\t<div id=\"{$sidebar_id}\" class=\"widget-area\">\n";
+		echo "\t\t\t<ul class=\"xoxo\">\n";
+		dynamic_sidebar( $sidebar_id );
+		echo "\t\t\t\n</ul>\n";
+		echo "\t\t</div><!-- #{$sidebar_id} -->\n";
+		echo "\t</div><!-- .widget-area-type{$side_bar_num} -->\n";
+	}
+	echo "</div><!-- #footer-widget-area -->\n";
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/sidebar.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/sidebar.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/sidebar.php	(revision 866)
@@ -0,0 +1,75 @@
+	<div id="xpress_sidebar">
+		<ul>
+			<?php 	/* Widgetized sidebar, if you have the plugin installed. */
+					if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
+			<li>
+				<?php include (get_template_directory() . '/searchform.php'); ?>
+			</li>
+
+			<!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.
+			<li><h2><?php _e('Author', 'xpress'); ?></h2>
+			<p>A little something about you, the author. Nothing lengthy, just an overview.</p>
+			</li>
+			-->
+
+			<?php if ( is_404() || is_category() || is_day() || is_month() ||
+						is_year() || is_search() || is_paged() ) {
+			?> <li>
+
+			<?php /* If this is a 404 page */ if (is_404()) { ?>
+			<?php /* If this is a category archive */ } elseif (is_category()) { ?>
+			<p><?php printf(__('You are currently browsing the archives for the %s category.', 'xpress'), single_cat_title('', false)); ?></p>
+
+			<?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
+			<p><?php printf(__('You are currently browsing the <a href="%1$s/">%2$s</a> blog archives for the day %3$s.', 'xpress'), get_bloginfo('url'), get_bloginfo('name'), get_the_time(__('l, F jS, Y', 'xpress'))); ?></p>
+
+			<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
+			<p><?php printf(__('You are currently browsing the <a href="%1$s/">%2$s</a> blog archives for %3$s.', 'xpress'), get_bloginfo('url'), get_bloginfo('name'), get_the_time(__('F, Y', 'xpress'))); ?></p>
+
+			<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
+			<p><?php printf(__('You are currently browsing the <a href="%1$s/">%2$s</a> blog archives for the year %3$s.', 'xpress'), get_bloginfo('url'), get_bloginfo('name'), get_the_time('Y')); ?></p>
+
+			<?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
+			<p><?php printf(__('You have searched the <a href="%1$s/">%2$s</a> blog archives for <strong>&#8216;%3$s&#8217;</strong>. If you are unable to find anything in these search results, you can try one of these links.', 'xpress'), get_bloginfo('url'), get_bloginfo('name'), get_search_query()); ?></p>
+
+			<?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
+			<p><?php printf(__('You are currently browsing the <a href="%1$s/">%2$s</a> blog archives.', 'xpress'), get_bloginfo('url'), get_bloginfo('name')); ?></p>
+
+			<?php } ?>
+
+			</li> <?php }?>
+
+			<?php wp_list_pages('title_li=<h2>' . __('Pages', 'xpress') . '</h2>' ); ?>
+
+			<li><h2><?php _e('Archives', 'xpress'); ?></h2>
+				<ul>
+				<?php wp_get_archives('type=monthly'); ?>
+				</ul>
+			</li>
+            
+            <?php if(function_exists('wp_list_categories')) : ?>
+			<?php wp_list_categories('show_count=1&title_li=<h2>' . __('Categories', 'xpress') . '</h2>'); ?>
+			<?php else : ?>
+			<li><h2><?php _e('Categories', 'xpress'); ?></h2>
+			<ul><?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?></ul></li>
+			<?php endif; ?>
+
+
+			<?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
+            <?php if(function_exists('wp_list_bookmarks')) : ?>
+				<?php wp_list_bookmarks(); ?>
+			<?php endif; ?>
+				<li><h2><?php _e('Meta', 'xpress'); ?></h2>
+				<ul>
+					<?php wp_register(); ?>
+					<li><?php wp_loginout(); ?></li>
+					<li><a href="http://validator.w3.org/check/referer" title="<?php _e('This page validates as XHTML 1.0 Transitional', 'xpress'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>', 'xpress'); ?></a></li>
+					<li><a href="http://gmpg.org/xfn/"><abbr title="<?php _e('XHTML Friends Network', 'xpress'); ?>"><?php _e('XFN', 'xpress'); ?></abbr></a></li>
+					<li><a href="http://wordpress.org/" title="<?php _e('Powered by WordPress, state-of-the-art semantic personal publishing platform.', 'xpress'); ?>">WordPress</a></li>
+					<?php wp_meta(); ?>
+				</ul>
+				</li>
+			<?php } ?>
+			<?php endif; ?>
+		</ul>
+	</div>
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/single.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/single.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/single.php	(revision 866)
@@ -0,0 +1,101 @@
+<?php get_header(); ?>
+
+<div id="xpress_wrap">				
+	<?php
+		if(xpress_is_theme_sidebar_disp()) {
+			echo '<div id="xpress_content" class="narrowcolumn">';	
+		} else {
+			echo '<div id="xpress_content" class="narrowcolumn_nonside">';
+		}	
+	?>				
+		<?php if (have_posts()) : ?>
+				
+			<?php while (have_posts()) : the_post(); ?>
+				<div class="xpress-navi-bar">
+					<div class="alignleft"><?php xpress_left_arrow_post_link('echo=1'); ?></div>
+					<div class="alignright"><?php xpress_right_arrow_post_link('echo=1'); ?></div>
+				</div>
+
+				<div class="xpress-post" id="post-<?php the_ID(); ?>">
+					<div class ="xpress-post-header">
+						<?php if (function_exists('hotDates')) { hotDates(); }?>
+						<div class ="xpress-post-title">
+							<?php if(function_exists('the_title_attribute')) : ?>			
+								<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'xpress'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2>
+							<?php else : ?>
+								<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'xpress'), the_title('','',false)); ?>"><?php the_title(); ?></a></h2>
+							<?php endif; ?>
+						</div>
+					</div>
+							
+					<div class="xpress-post-entry">
+						<?php the_content('<p class="serif">' . __('Read the rest of this entry &raquo;', 'xpress') . '</p>'); ?>
+					</div>
+							
+					<div class="xpress-link-pages"><?php wp_link_pages() ?></div>
+						
+					<div class ="xpress-post-footer">
+						<?php
+							the_time('Y/m/d l');
+							echo ' - ';
+							the_author_posts_link();
+							echo ' (' . xpress_post_views_count('post_id=' . $post->ID . '&format=' . __('Views :%d', 'xpress'). '&echo=0') . ')'; 
+							echo ' | ';
+							// echo the_tags(__('Tags:', 'xpress') . ' ', ', ', ' | ');
+							printf(__('Posted in %s', 'xpress'), get_the_category_list(', '));
+							echo ' | ';
+							edit_post_link(__('Edit', 'xpress'), '', ' | ');
+							comments_popup_link(__('No Comments &#187;', 'xpress'), __('1 Comment &#187;', 'xpress'), __('% Comments &#187;', 'xpress'), '', __('Comments Closed', 'xpress') );
+						?>
+					</div>
+							
+					<div id ="xpress-pings-block">
+						<h3><?php xpress_pings_number('zero=' . __('No Trackback/Pingback', 'xpress'). '&one='. __('One Trackback/Pingback', 'xpress'). '&more=' . __('% TrackBack/Pingback', 'xpress')) ?></h3>
+						<p class="xpress_pings_status"><small>
+						<?php
+							if ('open' == $post->ping_status) {
+								printf(__('You can <a href="%s" rel="trackback">trackback</a> from your own site.', 'xpress'), trackback_url(false));
+							} else {
+								_e('Pinging is currently not allowed.', 'xpress'); 
+							}
+						?>
+						</small></p>
+						<?php xpress_pings_list('echo=1') ?>					
+					</div>
+							
+					<div id ="xpress-comments-block">
+						<?php
+							if ( xpress_is_wp_version('<','2.7') )
+								comments_template();
+							else
+								comments_template('',true);
+						?>
+					</div>
+				</div>
+				
+				<div class="xpress-navi-bar">
+					<div class="alignleft"><?php xpress_left_arrow_post_link('echo=1') ?></div>
+					<div class="alignright"><?php xpress_right_arrow_post_link('echo=1') ?></div>
+				</div>
+
+
+			<?php endwhile; ?>
+				
+			<div class="xpress-navi-bar">
+				<?php if(function_exists('wp_pagenavi')) : ?>			
+					<div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div>
+				<?php else : ?>
+					<div class="alignleft"><?php xpress_left_arrow_posts_link('echo=1'); ?></div>
+					<div class="alignright"><?php xpress_right_arrow_posts_link('echo=1'); ?></div>
+				<?php endif; ?>
+			</div>
+				
+		<?php else : ?>
+			<p><?php _e('Sorry, no posts matched your criteria.', 'xpress'); ?></p>
+		<?php endif; ?>
+	</div>
+</div>
+<?php if(xpress_is_theme_sidebar_disp()) get_sidebar(); ?>
+
+<?php get_footer(); ?>
+
Index: /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/style.css
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/style.css	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/wp-content/themes/xpress_default/style.css	(revision 866)
@@ -0,0 +1,951 @@
+/*
+Theme Name: XPressME Default Themes
+Theme URI: http://trac.xpressme.info/XPressME
+Description: The theme for XPressME series
+Version: 1.6
+Author: toemon
+Author URI: http://www.toemon.com/
+Tags: none color, xpressme default, variable width, two columns, widgets
+
+*/
+
+#xpress_page {
+	padding: 0;
+	width: 100%;
+	margin: 0;
+	text-align:left;
+	}
+	
+#xpress_page .clear {
+	clear: both;
+}
+
+#xpress_page h1 {
+	padding-top: 20px;
+	margin: 0 0 5px;
+	font-size: 18px;
+	}
+	
+#xpress_page h2 {
+	font-size: 16px;
+	}
+
+#xpress_page h3 {
+	padding: 0;
+	margin: 0;
+	}
+	
+#xpress_page h3 {
+	font-size: 14px;
+	}
+	
+#xpress_page small {
+	font-family: Arial, Helvetica, Sans-Serif;
+	color: #777;
+	font-size: 0.8em;
+	line-height: 1.5em;
+	}
+	
+#xpress_page code {
+	font-size: 1.1em;
+	}
+
+#xpress_page select {
+	width: 130px;
+	}
+
+#xpress_page .hidden {
+	display: none;
+	}
+
+
+#xpress_page a img {
+	border: none;
+	}
+	
+#xpress_page .center {
+	text-align: center;
+	}
+
+
+#xpress_wrap {
+	clear: both;
+	float: left;
+	width: 100%;
+	margin-right: -205px;
+	}
+	
+#xpress_content {
+	font-size: 1.0em;
+	padding: 0px;
+	}
+	
+#xpress_content.narrowcolumn {
+	margin-right: 200px;
+	}
+
+
+/* Begin Header Menu */
+
+#xpress-header-bar {
+	clear: both;
+}
+#xpress-header-bar-top {
+	margin-bottom: 0px;
+	}
+#xpress-header-bar-top img{
+	vertical-align: top;
+}
+#xpress-header-bar #xpress-header-bar-top .xpress-header-title {
+	font-size: 24px;
+	float: left;
+}
+#xpress-header-bar #xpress-header-bar-top .xpress-description {
+	clear: both;
+	font-weight: bold;
+	font-size: 12px;
+	padding-top: 8px;
+	padding-left: 40px;
+
+}
+
+#xpress-header-bar .xpress-conditional-title {
+	font-weight: bold;
+	font-size: 12px;
+	padding-top: 14px;
+	padding-left: 40px;
+}
+
+#xpress-header-bar .xpress-operation-link {
+	font-size: 12px;
+	text-align: right;
+}
+/* End Header Menu */
+
+
+/* Begin Border line */
+.xpress-border {
+	clear: both;
+	display: block;
+	}
+/* End Border lin */
+
+
+/* Begin Navi */
+.xpress-navi-bar {
+	clear: both;
+	display: block;
+	}
+	
+.xpress_pagenavi {
+	display: block;
+	margin: 0 auto;
+	padding: 5px 0;
+	text-align: right;
+}
+/* End Navi */
+
+
+/* Begin Post */
+.xpress-post {
+	width: 100%;
+	margin: 0px;
+	padding-top:20px;
+	clear: both;
+	}
+.xpress-post h2 {
+	margin: 0;
+	}
+.xpress-post hr {
+	display: block;
+	}
+	
+.xpress-post .xpress-post-header{
+	text-align: left;
+	font-size: 0.8em;
+
+	}
+.xpress-post-title h2{
+	margin: 0;
+	color: #4478B0;
+	text-shadow: 2px 2px 3px #AAAAAA;
+	font-size: 16px;
+	font-weight: bold;
+}
+
+.xpress-post .xpress-post-entry {
+	clear: both;
+	padding-left: 20px;
+
+}
+
+.xpress-post .xpress-link-pages {
+	padding-top:10px;
+	clear: both;
+	text-align: center;
+}
+
+.xpress-post .xpress-post-footer{
+	text-align: right;
+	font-size: 0.8em;
+	margin-bottom: 10px;
+}
+a.more-link {
+	font-size: 12px;
+	margin: 0;
+	padding: 0;
+	color: #E98838;
+	text-shadow: 2px 2px 3px #AAAAAA;
+	font-style: normal;
+	font-weight: bold;
+	text-align: center;
+}
+.xpress-more-link {
+	font-size: 12px;
+	margin: 0;
+	padding: 0;
+	color: #E98838;
+	text-shadow: 2px 2px 3px #AAAAAA;
+	font-style: normal;
+	font-weight: bold;
+	text-align: center;
+}
+.xpress-more-link a{
+	color: #E98838;
+	text-shadow: 2px 2px 3px #AAAAAA;
+	font-style: normal;
+	font-weight: bold;
+	text-align: center;
+}
+
+/* End post */
+
+
+/* Begin Pings */
+#xpress-pings-block {
+	margin-top: 0px;
+	margin-bottom: 0px;
+	margin-left: 5px;
+	margin-right: 5px;
+	padding-top:0px;
+	padding-left:20px;
+	padding-right:5px;
+	padding-bottom:0px;
+	clear: both;
+	}
+#xpress-pings-block h3{
+	font-size: 12px;
+	margin: 0;
+	padding: 0;
+	color: #E98838;
+	text-shadow: 2px 2px 3px #AAAAAA;
+	font-style: normal;
+	font-weight: bold;
+}
+#xpress_pingslist ol{
+	font-size: 1em;
+	list-style-image:none;
+	list-style-position:inside;
+	list-style-type:none;
+	}
+#xpress_pingslist li{
+	margin: 0px;
+	padding-top: 0px;
+	padding-bottom: 0px;
+	padding-left: 5px;
+	padding-right: 1px;
+	font-size: 1em;
+	list-style-image:none;
+	list-style-position:inside;
+	list-style-type:none;
+	}
+.xpress_pings_status {
+	text-align: center;xpress_pings_status
+	margin: 0;
+	padding: 0;
+	}
+/* End pings */
+
+
+/* Begin Comment */
+#xpress-comments-block {
+	margin-top: 0px;
+	margin-bottom: 5px;
+	margin-left: 5px;
+	margin-right: 5px;
+	padding-top:0px;
+	padding-left:20px;
+	padding-right:5px;
+	padding-bottom:10px;
+	clear: both;
+	}
+
+#xpress_commentlist {
+	margin: 0px;
+	padding-left: 20px;
+	}
+
+#xpress_commentlist ol{
+	font-size: 1em;
+	list-style-image:none;
+	list-style-position:inside;
+	list-style-type:none;
+	}
+	
+#xpress_commentlist li{
+	margin: 0px;
+	padding-top: 5px;
+	padding-bottom: 0px;
+	padding-left: 5px;
+	padding-right: 1px;
+	font-size: 1em;
+	list-style-image:none;
+	list-style-position:inside;
+	list-style-type:none;
+	}
+	
+#xpress_commentlist .even {
+	background:#F4F4F4 none repeat scroll 0 0;
+	margin-top: 4px;
+	padding-top: 0px;
+	padding-bottom: 4px;
+	padding-left: 10px;
+	padding-right:0px
+	}
+
+#xpress_commentlist .odd {
+	background:#EFEFEF none repeat scroll 0 0;
+	margin-top: 4px;
+	padding-top: 0px;
+	padding-bottom: 4px;
+	padding-left: 10px;
+	padding-right:0px
+	}
+	
+#xpress_commentlist .avatar { 
+	float: right;
+	border: 1px solid #eee;
+	padding: 2px;
+	background: #efefef;
+	}
+
+#xpress_commentlist cite, .commentlist cite a {
+	font-weight: bold;
+	font-style: normal;
+	font-size: 1.1em;
+	}
+
+#xpress-comment-form {
+	margin: 0px;
+	padding-top: 0px;
+	padding-bottom: 0px;
+	padding-left: 20px;
+	padding-right: 5px;
+	font-size: 18px;
+
+}
+
+#xpress-respond {
+	margin: 0px;
+	padding-top: 10px;
+	padding-bottom: 5px;
+	padding-left: 0px;
+	padding-right: 0px;
+}
+
+#xpress-comment-user {
+	margin: 0px;
+	padding-top: 0px;
+	padding-bottom: 0px;
+	padding-left: 20px;
+	padding-right: 0px;
+}
+
+#xpress-comment-form .xpress-comment-submit{
+	margin: 0px;
+	padding-top: 5px;
+	padding-bottom: 0px;
+	padding-left: 0px;
+	padding-right: 0px;
+	font-size: 12px;
+
+}
+
+.nocomments {
+	text-align: center;
+	margin: 0;
+	padding: 0;
+	}
+/* End Comments */
+
+
+/* Begin Footer Title */
+#xpress_footer {
+	padding-top: 0px;
+	margin: 0 auto;
+	width: 100%;
+	clear: both;
+	text-align: center;
+	}
+#xpress_footer p {
+	font-size: 0.9em;
+}	
+
+#xpress_footer .xpress_rss {
+	margin: 0;
+	padding: 0;
+	text-align: right;
+	}
+
+#xpress_footer .xpress_credit {
+	margin: 0;
+	padding: 0;
+	text-align: center;
+	font-size: 10px;
+	color: #BDBDBD;
+	}
+	
+#xpress_footer .xpress_credit a {
+	font-size: 10px;
+	color: #BDBDBD;
+	}
+/* End Footer Title */
+
+
+/* Begin Sidebar */
+#xpress_sidebar {
+	float: right;
+	display:inline;
+	margin-top: 0px;
+	margin-bottom: 0px;
+	margin-left: 10px;
+	margin-right: 0px;
+	padding-top: 0px;
+	padding-bottom: 0px;
+	padding-left: 100px
+	padding-right: 0px
+	font-size: 0.8em;
+	width: 180px;
+	}
+	
+#xpress_sidebar h2 {
+	margin: 5px 0 0;
+	padding: 0;
+	font-size: 14px;
+	}
+
+#xpress_sidebar form {
+	margin: 0;
+	}
+
+#xpress_sidebar ul ul li:before {
+	content: "\00BB \0020";
+	}
+
+#xpress_sidebar ul, #xpress_sidebar ul ol {
+	margin: 0;
+	padding: 0;
+	list-style-type: none;
+	list-style-image: none;
+	list-style: none;
+	list-style-position:inside;
+	}
+
+#xpress_sidebar ul li {
+	list-style-type: none;
+	list-style-image: none;
+	margin-bottom: 15px;
+	}
+
+#xpress_sidebar ul p, #xpress_sidebar ul select {
+	margin: 5px 0 8px;
+	}
+
+#xpress_sidebar ul ul, #xpress_sidebar ul ol {
+	margin: 5px 0 0 10px;
+	}
+
+#xpress_sidebar ul ul ul, #xpress_sidebar ul ol {
+	margin: 0 0 0 10px;
+	}
+
+
+#xpress_sidebar ul ul li, #xpress_sidebar ul ol li {
+	margin: 3px 0 0;
+	padding: 0;
+	}
+
+#xpress_sidebar #searchform {
+	margin: 0px ;
+	padding: 0px;
+	text-align: left;
+	}
+
+#xpress_sidebar #searchform #s {
+	width: 108px;
+	padding: 2px;
+	}
+
+#xpress_sidebar #searchsubmit {
+	padding: 1px;
+	}
+/* End Sidebar */
+
+
+/* Begin Calendar */
+#wp-calendar {
+	empty-cells: show;
+	margin: 10px auto 0;
+	width: 155px;
+	}
+
+#wp-calendar #next a {
+	padding-right: 10px;
+	text-align: right;
+	font-size: 9pt;
+	background-color: #fff;
+	}
+
+#wp-calendar #prev a {
+	padding-left: 10px;
+	text-align: left;
+	font-size: 9pt;
+	background-color: #fff;
+	}
+
+#wp-calendar a {
+	display: block;
+	text-decoration: none;
+	font-weight: bold;
+	font-size: 14px;
+	background-color: #ddd;
+	}
+
+#wp-calendar caption {
+	text-align: center;
+	width: 100%;
+	font: bold 1.3em;
+	}
+
+#wp-calendar td {
+	padding: 3px 0;
+	text-align: center;
+	}
+
+#wp-calendar td.pad:hover { /* Doesn't work in IE */
+	background-color: #fff; }
+
+#wp-calendar th {
+	font-style: normal;
+	text-transform: capitalize;
+	}
+/* End Calendar */
+	
+
+
+/* Nocheck Under css */
+
+
+.widecolumn .entry {
+	font-size: 1.05em;
+	}
+
+.narrowcolumn .entry,.narrowcolumn_nonside .entry, .widecolumn .entry {
+	line-height: 1.4em;
+	}
+	
+p.postmeta{
+	line-height: 1.2em;
+	font-size: 0.9em;
+	}
+
+
+#xpress_headerimg .description {
+	font-size: 1.2em;
+	}
+
+
+.xpress_pagetitle {
+	font-size: 1.5em;
+	font-weight: bold;
+	}
+	
+.xpress_commentmetadata {
+	font-size: 11px;
+	font-weight: normal;
+	}
+
+.postmetadata {
+	font-size: 0.9em;
+	}
+
+
+
+acronym, abbr, span.caps
+{
+	font-size: 0.9em;
+	letter-spacing: .07em;
+	}
+
+.widecolumn { 
+	width: 500px; /*width of single page*/
+	margin: 0 auto;
+	}	
+
+.entry {
+	clear:both;
+	padding:10px 0 0;
+	}
+	
+.entry p{
+	padding: 5px 0;
+	}
+
+p.postmeta{
+	padding-top: 20px;
+	}
+	
+.narrowcolumn_nonside .postmetadata,
+.narrowcolumn .postmetadata {
+	padding-top: 10px;
+	/*text-align:center;*//*postmeta of index page*/
+	}
+
+.widecolumn .postmetadata {
+	margin: 30px 0;
+	padding:5px 10px;
+	}
+
+.widecolumn .smallattachment {
+	text-align: center;
+	float: left;
+	width: 128px;
+	margin: 5px 5px 5px 0px;
+}
+
+.widecolumn .attachment {
+	text-align: center;
+	margin: 5px 0px;
+}
+
+
+/* End Headers */
+
+/* Begin Images */
+
+/*	Using 'class="alignright"' on an image will (who would've
+	thought?!) align the image to the right. And using 'class="centered',
+	will of course center the image. This is much better than using
+	align="center", being much more futureproof (and valid) */
+
+img.centered {
+	display: block;
+	margin-left: auto;
+	margin-right: auto;
+	}
+
+img.alignright {
+	padding: 4px;
+	margin: 0 0 2px 7px;
+	display: inline;
+	}
+
+img.alignleft {
+	padding: 4px;
+	margin: 0 7px 2px 0;
+	display: inline;
+	}
+
+.alignright {
+	float: right;
+	}
+
+.alignleft {
+	float: left
+	}
+/* End Images */
+
+
+
+/* Begin Lists
+
+	Special stylized non-IE bullets
+	Do not work in Internet Explorer, which merely default to normal bullets. */
+
+html>body .entry ul {
+	margin-left: 0px;
+	padding: 0 0 0 30px;
+	list-style: none;
+	padding-left: 10px;
+	text-indent: -10px;
+	}
+
+html>body .entry li {
+	margin: 7px 0 8px 10px;
+	}
+
+.entry ul li:before{
+	content: "\00BB \0020";
+	}
+	
+.entry ol {
+	padding: 0 0 0 35px;
+	margin: 0;
+	}
+
+.entry ol li {
+	margin: 0;
+	padding: 0;
+	}
+
+.postmetadata ul, .postmetadata li {
+	display: inline;
+	list-style-type: none;
+	list-style-image: none;
+	}
+
+
+.entry form { /* This is mainly for password protected posts, makes them look better. */
+	text-align:center;
+	}
+
+	
+
+
+
+
+
+
+
+
+
+
+/* Begin Various Tags & Classes */
+acronym, abbr, span.caps {
+	cursor: help;
+	}
+
+acronym, abbr {
+	border-bottom: 1px dashed #999;
+	}
+
+blockquote {
+	margin: 15px 30px 0 10px;
+	padding-left: 20px;
+	border-left: 5px solid #ddd;
+	}
+
+blockquote cite {
+	margin: 5px 0 0;
+	display: block;
+	}
+
+.xpress_single_navigation {
+	display:block;
+	width: 500px;
+	margin: 0 auto;	
+	}
+	
+.xpress_index_navigation {
+	display:block;
+	width: 100%;
+	margin: 0 auto;	
+	}
+	
+
+/* End Various Tags & Classes*/
+
+
+
+/* Captions */
+.aligncenter,
+div.aligncenter {
+	display: block;
+	margin-left: auto;
+	margin-right: auto;
+}
+
+.wp-caption {
+	border: 1px solid #ddd;
+	text-align: center;
+	background-color: #f3f3f3;
+	padding-top: 4px;
+	margin: 10px;
+	-moz-border-radius: 3px;
+	-khtml-border-radius: 3px;
+	-webkit-border-radius: 3px;
+	border-radius: 3px;
+}
+
+.wp-caption img {
+	margin: 0;
+	padding: 0;
+	border: 0 none;
+}
+
+.wp-caption p.wp-caption-text {
+	font-size: 11px;
+	line-height: 17px;
+	padding: 0 4px 5px;
+	margin: 0;
+}
+.dateblock{
+	margin:-12px 0 0 -5px!important;
+	}
+
+.nocomments, .postmetadata, blockquote, strike {
+	color: #777;
+	}
+	
+
+/* =Menu
+-------------------------------------------------------------- */
+#menu_div {
+	border-bottom: 1px solid #000;
+//	background: #fff;
+	margin: 0 auto;
+	display:block;
+	clear:both;
+	height:20px;
+//	float:left;
+}
+.xpress-header-title{
+	padding-left: 5px;
+	padding-top: 5px;
+}
+#access{
+//	background: #fff;
+	margin: 0 auto;
+	display:block;
+	padding-left: 0px;
+	float:left;
+}
+#xpress-menu {
+//	background: #fff;
+	margin: 0 auto;
+	display:block;
+	float:right;
+}
+#access .menu-header,
+#access .menu,
+#xpress-menu .menu-header {
+	font-size: 11px;
+	margin-left: 12px;
+}
+#access .menu-header ul,
+#access .menu ul,
+#xpress-menu .menu-header ul {
+	list-style: none;
+	margin: 0;
+}
+#access .menu-header li,
+#access .menu li,
+#xpress-menu .menu-header li {
+	float:left;
+	list-style: none;
+	position: relative;
+}
+#access a,
+#xpress-menu a {
+	display:block;
+	text-decoration:none;
+//	color:#aaa;
+	padding:0 2px;
+	line-height:16px;
+}
+#access ul ul,
+#xpress-menu ul ul {
+	display:none;
+	position:absolute;
+	top:16px;
+	left:0;
+	float:left;
+	-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
+	-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
+	box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
+	z-index: 99999;
+}
+#access ul ul ul,
+#xpress-menu ul ul ul {
+	left:100%;
+	top:0;
+}
+#access ul ul a,
+#xpress-menu ul ul a {
+	background:#AAAAAA;
+	height:auto;
+	line-height:1em;
+	padding:3px;
+	width: 130px;
+}
+#access li:hover > a,
+#access ul ul :hover > a,
+#xpress-menu li:hover > a,
+#xpress-menu ul ul :hover > a {
+	color:#fff;
+	background:#333;
+}
+
+#access ul li:hover > ul,
+#xpress-menu ul li:hover > ul {
+	display:block;
+}
+
+#ed_toolbar input
+{
+	background: #14181B;
+	color: white;
+	border:2px dashed #323136; 
+	padding: 0px;
+	width: 65px;
+}
+#ed_toolbar input:hover 
+{
+	background: #323136;
+	color: white;
+	border:2px dashed #14181B; 
+	padding: 0px;
+	width: 65px;
+}
+
+#footer-widget-area {
+	overflow: hidden;
+	margin-top: 5px;
+	text-align: left;
+}
+#footer-widget-area .widget-area-type1 {
+	float: left;
+	padding-top: 0;
+	width:100%;
+}
+#footer-widget-area .widget-area-type2 {
+	float: left;
+	padding-top: 0;
+	width:49%;
+}
+#footer-widget-area .widget-area-type3 {
+	float: left;
+	padding-top: 0;
+	width:33%;
+}
+#footer-widget-area .widget-area-type4 {
+	float: left;
+	padding-top: 0;
+	width:24%;
+}
+#footer-widget-area .widget-area-type5 {
+	float: left;
+	padding-top: 0;
+	width:19%;
+}
+
+#footer-widget-area ul {
+	margin-top: 0;
+	list-style-type:none;
+	padding-left: 20px;
+
+}
+#footer-widget-area .widget-title {
+	margin-top: 0;
+	margin-bottom: 2px;
+}
Index: /tags/Ver2.5.4/xpressme_integration_kit/xoops_version.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/xoops_version.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/xoops_version.php	(revision 866)
@@ -0,0 +1,535 @@
+<?php
+/**
+ * XPressME - WordPress for XOOPS
+ *
+ * Adding multi-author features to XPress
+ *
+ * @copyright	toemon
+ * @license		GNU public license
+ * @author		"toemon ( http://ja.xpressme.info)"
+ * @package		module::xpressme
+ */
+
+if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ;
+
+if (!function_exists('wp_version_compare')){
+	function wp_version_compare($wp_version , $operator='==',$comp_version){
+		$inc_wp_version = str_replace("ME", "", $wp_version);
+	 	return version_compare($inc_wp_version, $comp_version, $operator);
+	}
+}
+
+if (!function_exists('mod_access_level')){
+	function mod_access_level(){
+		global $current_user;
+
+		$level = @$current_user->user_level;
+		$role = @$current_user->roles[0];
+		switch ($role){
+			case 'administrator':
+				$role_level = 10;
+				break;
+			case 'editor':
+				$role_level = 7;
+				break;
+			case 'author':
+				$role_level = 2;
+				break;
+			case 'contributor':
+				$role_level = 1;
+				break;
+			default:
+				$role_level = 0;
+		}
+
+		if ($level > $role_level){
+			return $level;
+		} else {
+			return $role_level;
+		}
+	}
+}
+if (!function_exists('is_show_multi_blog_block')){
+	function is_show_multi_blog_block($mydirname = ''){
+		if(empty($mydirname)) return false;
+		// Before loading xpressme.
+		// The multi blog is judged by the presence of the blogs table.
+		global $xoopsDB;
+		$wp_prefix = preg_replace('/wordpress/','wp',$mydirname);
+		$wp_blogs_tbl = $xoopsDB->prefix($wp_prefix) . '_blogs';
+		$sql = "SHOW TABLES LIKE '$wp_blogs_tbl'";
+		$result = $xoopsDB->queryf($sql, 0, 0);
+		if ($xoopsDB->getRowsNum($result)) return true;
+	 	return false;
+	}
+}
+
+$mydirpath = dirname(__FILE__);
+$mydirname = basename($mydirpath);
+
+$lang = @$GLOBALS["xoopsConfig"]['language'];
+
+// language file (modinfo.php)
+
+if( file_exists( $mydirpath .'/language/'.$lang.'/modinfo.php' ) ) {
+	include_once $mydirpath .'/language/'.$lang.'/modinfo.php' ;
+} else if( file_exists(  $mydirpath .'/language/english/modinfo.php' ) ) {
+	include_once $mydirpath .'/language/english/modinfo.php' ;
+}
+global $wp_db_version,$wp_version;
+
+include $mydirpath .'/wp-includes/version.php' ;
+
+$modversion['name'] = ucfirst($mydirname) . ' ' . constant('_MI_XP2_NAME') ;
+$modversion['description'] = constant( '_MI_XP2_DESC');
+$modversion['version'] = "2.54";
+$modversion['credits'] = "Wordpress DEV (http://wordpress.org/) XPressME DEV Toemon) (http://ja.xpressme.info) ;";
+$modversion['author'] = "toemon (http://ja.xpressme.info)";
+$modversion['license'] = "GPL see LICENSE";
+$modversion['official'] = 0 ;
+$modversion['image'] =  'module_icon.php' ;
+$modversion['dirname'] = $mydirname;
+
+// status
+$modversion['codename'] = "";
+
+// onInstall, onUpdate, onUninstall
+$modversion['onInstall'] = 'include/oninstall.php' ;
+$modversion['onUpdate'] = 'include/onupdate.php' ;
+$modversion['onUninstall'] = 'include/onuninstall.php' ;
+
+// Sql file (must contain sql generated by phpMyAdmin or phpPgAdmin)
+//$modversion['sqlfile']['mysql'] = "sql/mysql.sql";
+
+$db_prefix = preg_replace('/wordpress/','wp',$mydirname);
+
+/*
+ * Table information is not described.
+ *
+ * The create of the table is do with oninstall.php.
+ * The drop of the table is do with onuninstall.php.
+ *
+ * $modversion['tables'] = array( ,,,);
+ */
+
+
+// Search
+$modversion['hasSearch'] = 1 ;
+$modversion['search']['file'] = 'include/search.php' ;
+$modversion['search']['func'] = $mydirname.'_global_search' ;
+//Admin things
+$modversion['hasAdmin'] = 1;
+$modversion['adminindex'] = "admin/index.php";
+$modversion['adminmenu'] = "admin/menu.php";
+
+$modversion['hasMain'] = 1;
+
+if (function_exists('get_bloginfo')){
+	//$add_url for wpmu multiblog
+	$pattern = '/.*\/' . $mydirname . '/';
+	$add_url = preg_replace($pattern,'',get_bloginfo('url'));
+	if (!empty($add_url)){
+	    $pattern = '/^\//';
+	    $add_url = preg_replace($pattern,'',$add_url) . '/';
+	}
+
+	if(is_object($GLOBALS["xoopsUser"])){
+		global $current_user , $xoops_config;
+		if (mod_access_level() > 0) {
+		$modversion['sub'][1]['name'] = constant( '_MI_XP2_MENU_POST_NEW');
+		if (wp_version_compare($wp_version, '>=','2.1'))
+			$modversion['sub'][1]['url'] = $add_url . "wp-admin/post-new.php";
+		else
+			$modversion['sub'][1]['url'] = $add_url . "wp-admin/post.php";
+		$modversion['sub'][2]['name'] = constant( '_MI_XP2_MENU_EDIT');
+		$modversion['sub'][2]['url'] = $add_url . "wp-admin/edit.php";
+		$modversion['sub'][3]['name'] = constant( '_MI_XP2_MENU_ADMIN');
+		$modversion['sub'][3]['url'] = $add_url . "wp-admin/";
+		}
+		if (mod_access_level() > 9) {
+			$modversion['sub'][4]['name'] = constant( '_MI_XP2_MENU_XPRESS');
+			$modversion['sub'][4]['url'] = $add_url . "wp-admin/admin.php?page=xpressme/xpressme.php";
+		}
+		if($GLOBALS["xoopsUserIsAdmin"]){
+			$modversion['sub'][5]['name'] = constant( '_MI_XP2_MOD_ADMIN');
+			$modversion['sub'][5]['url'] = "admin/index.php";
+		}
+		if (function_exists('xpress_create_new_blog'))$create_new_blog = xpress_create_new_blog();
+		if(!empty($create_new_blog)){
+			$modversion['sub'][6]['name'] = $create_new_blog['title'];
+			$modversion['sub'][6]['url'] = $create_new_blog['menu_url'];
+		}
+		if (function_exists('xpress_primary_blog_link'))$primaryw_blog = xpress_primary_blog_link();
+		if(!empty($primaryw_blog)){
+			$modversion['sub'][7]['name'] = $primaryw_blog['title'];
+			$modversion['sub'][7]['url'] = $primaryw_blog['menu_url'];
+		}
+	}
+}
+
+// Use smarty
+$modversion["use_smarty"] = 1;
+
+/**
+* Templates
+*/
+// All Templates can't be touched by modulesadmin.
+$modversion['templates'] = array() ;
+
+$modversion['hasconfig'] = 1;
+$modversion['config'][] = array(
+	'name'			=> 'libxml_patch' ,
+	'title'			=>  '_MI_LIBXML_PATCH' ,
+	'description'	=>  '_MI_LIBXML_PATCH_DESC' ,
+	'formtype'		=> 'yesno' ,
+	'valuetype'		=> 'int' ,
+	'default'		=> 0 ,
+);
+$modversion['config'][] = array(
+	'name'			=> 'memory_limit' ,
+	'title'			=>  '_MI_MEMORY_LIMIT' ,
+	'description'	=>  '_MI_MEMORY_LIMIT_DESC' ,
+	'formtype'		=> 'textbox' ,
+	'valuetype'		=> 'int' ,
+	'default'		=> 64 ,
+);
+
+//BLOCKS
+$b_no =1;
+$modversion['blocks'][$b_no] = array(
+	'file' 			=> 'recent_posts_content_block.php' ,
+	'name' 			=> constant('_MI_XP2_BLOCK_CONTENT') ,
+	'description'	=> '' ,
+	'show_func' 	=> "b_". $mydirname . "_content_show" ,
+	'edit_func' 	=> "b_". $mydirname . "_content_edit" ,
+	'template'		=> '' ,
+	'options'		=> $mydirname. '||10|0|100||||0|0|0' ,
+	'can_clone'		=> true ,
+	'func_num'		=> $b_no,
+);
+$b_no++;
+$modversion['blocks'][$b_no] = array(
+	'file' 			=> 'recent_posts_list_block.php' ,
+	'name' 			=> constant('_MI_XP2_BLOCK_POSTS') ,
+	'description'	=> '' ,
+	'show_func' 	=> "b_". $mydirname . "_posts_show" ,
+	'edit_func' 	=> "b_". $mydirname . "_posts_edit" ,
+	'options'		=> $mydirname. '||10|1|7||||0' ,
+	'can_clone'		=> true ,
+	'func_num'		=> $b_no,
+);
+$b_no++;
+$modversion['blocks'][$b_no] = array(
+	'file' 			=> 'popular_posts_block.php' ,
+	'name' 			=> constant('_MI_XP2_BLOCK_POPULAR') ,
+	'description'	=> '' ,
+	'show_func' 	=> "b_". $mydirname . "_popular_show" ,
+	'edit_func' 	=> "b_". $mydirname . "_popular_edit" ,
+	'options'		=> $mydirname. '||10|0||||0' ,
+	'can_clone'		=> true ,
+	'func_num'		=> $b_no,
+);
+$b_no++;
+$modversion['blocks'][$b_no] = array(
+	'file' 			=> 'page_block.php' ,
+	'name' 			=> constant('_MI_XP2_BLOCK_PAGE') ,
+	'description'	=> '' ,
+	'show_func' 	=> "b_". $mydirname . "_page_show" ,
+	'edit_func' 	=> "b_". $mydirname . "_page_edit" ,
+	'options'		=> $mydirname. '||post_title|asc||||0|0|none||1||' ,
+	'can_clone'		=> true ,
+	'func_num'		=> $b_no,
+);
+$b_no++;
+$modversion['blocks'][$b_no] = array(
+	'file' 			=> 'recent_comments_block.php' ,
+	'name' 			=> constant('_MI_XP2_BLOCK_COMMENTS') ,
+	'description'	=> '' ,
+	'show_func' 	=> "b_". $mydirname . "_comments_show" ,
+	'edit_func' 	=> "b_". $mydirname . "_comments_edit" ,
+	'template'		=> '' ,
+	'options'		=> $mydirname. '||10|30|||0' ,
+	'can_clone'		=> true ,
+	'func_num'		=> $b_no,
+);
+$b_no++;
+$modversion['blocks'][$b_no] = array(
+	'file' 			=> 'sidebar_block.php' ,
+	'name' 			=> constant('_MI_XP2_BLOCK_SIDEBAR') ,
+	'description'	=> '' ,
+	'show_func' 	=> "b_". $mydirname . "_sidebar_show" ,
+	'edit_func' 	=> '' ,
+	'options'		=> '' ,
+	'can_clone'		=> false ,
+	'func_num'		=> $b_no,
+);
+$b_no++;
+$modversion['blocks'][$b_no] = array(
+	'file' 			=> 'search_block.php' ,
+	'name' 			=> constant('_MI_XP2_BLOCK_SEARCH') ,
+	'description'	=> '' ,
+	'show_func' 	=> "b_". $mydirname . "_search_show" ,
+	'edit_func' 	=> "b_". $mydirname . "_search_edit" ,
+	'options'		=> $mydirname. '||18' ,
+	'can_clone'		=> false ,
+	'func_num'		=> $b_no ,
+);
+$b_no++;
+$modversion['blocks'][$b_no] = array(
+	'file' 			=> 'calender_block.php' ,
+	'name' 			=> constant('_MI_XP2_BLOCK_CALENDER') ,
+	'description'	=> '' ,
+	'show_func' 	=> "b_". $mydirname . "_calender_show" ,
+	'edit_func' 	=> "b_". $mydirname . "_calender_edit" ,
+	'options'		=> $mydirname. '||#DB0000|#004D99' ,
+	'can_clone'		=> false ,
+	'func_num'		=> $b_no,
+);
+$b_no++;
+$modversion['blocks'][$b_no] = array(
+	'file' 			=> 'archives_block.php' ,
+	'name' 			=> constant('_MI_XP2_BLOCK_ARCHIVE') ,
+	'description'	=> '' ,
+	'show_func' 	=> "b_". $mydirname . "_archives_show" ,
+	'edit_func' 	=> "b_". $mydirname . "_archives_edit" ,
+	'options'		=> $mydirname. '||monthly|0|1|0' ,
+	'can_clone'		=> true ,
+	'func_num'		=> $b_no,
+);
+$b_no++;
+$modversion['blocks'][$b_no] = array(
+	'file' 			=> 'authors_block.php' ,
+	'name' 			=> constant('_MI_XP2_BLOCK_AUTHORS') ,
+	'description'	=> '' ,
+	'show_func' 	=> "b_". $mydirname . "_authors_show" ,
+	'edit_func' 	=> "b_". $mydirname . "_authors_edit" ,
+	'options'		=> $mydirname. '||0|1|0|1' ,
+	'can_clone'		=> false ,
+	'func_num'		=> $b_no,
+);
+if (wp_version_compare($wp_version, '>=','2.3')){
+	$b_no++;
+	$modversion['blocks'][$b_no] = array(
+		'file' 			=> 'tag_cloud_block.php' ,
+		'name' 			=> constant('_MI_XP2_BLOCK_TAG') ,
+		'description'	=> '' ,
+		'show_func' 	=> "b_". $mydirname . "_tag_cloud_show" ,
+		'edit_func' 	=> "b_". $mydirname . "_tag_cloud_edit" ,
+		'options'		=> $mydirname. '||8|22|pt|45|flat|name|ASC||' ,
+		'can_clone'		=> false ,
+		'func_num'		=> $b_no,
+	);
+}
+$b_no++;
+$modversion['blocks'][$b_no] = array(
+	'file' 			=> 'category_block.php' ,
+	'name' 			=> constant('_MI_XP2_BLOCK_CATEGORY') ,
+	'description'	=> '' ,
+	'show_func' 	=> "b_". $mydirname . "_category_show" ,
+	'edit_func' 	=> "b_". $mydirname . "_category_edit" ,
+	'options'		=> $mydirname. '||ALL|name|ASC|0|0|1|1|||1|0' ,
+	'can_clone'		=> false ,
+	'func_num'		=> $b_no,
+);
+$b_no++;
+$modversion['blocks'][$b_no] = array(
+	'file' 			=> 'meta_block.php' ,
+	'name' 			=> constant('_MI_XP2_BLOCK_META') ,
+	'description'	=> '' ,
+	'show_func' 	=> "b_". $mydirname . "_meta_show" ,
+	'edit_func' 	=> "b_". $mydirname . "_meta_edit" ,
+	'options'		=> $mydirname. '||1|1|1|1|1|1|1|1' ,
+	'can_clone'		=> false ,
+	'func_num'		=> $b_no,
+);
+if (wp_version_compare($wp_version, '>=','2.7')){
+	$b_no++;
+	$modversion['blocks'][$b_no] = array(
+		'file' 			=> 'widget_block.php' ,
+		'name' 			=> constant('_MI_XP2_BLOCK_WIDGET') ,
+		'description'	=> '' ,
+		'show_func' 	=> "b_". $mydirname . "_widget_show" ,
+		'edit_func' 	=> "b_". $mydirname . "_widget_edit" ,
+		'options'		=> $mydirname. '||1|' ,
+		'can_clone'		=> true ,
+		'func_num'		=> $b_no,
+	);
+}
+$b_no++;
+$modversion['blocks'][$b_no] = array(
+	'file' 			=> 'enhanced_block.php' ,
+	'name' 			=> constant('_MI_XP2_BLOCK_ENHANCED') ,
+	'description'	=> '' ,
+	'show_func' 	=> "b_". $mydirname . "_enhanced_show" ,
+	'edit_func' 	=> "b_". $mydirname . "_enhanced_edit" ,
+	'options'		=> $mydirname. '||' ,
+	'can_clone'		=> true ,
+	'func_num'		=> $b_no,
+);
+if (wp_version_compare($wp_version, '>=','3.0-alpha') && is_show_multi_blog_block($mydirname)){
+	$b_no++;
+	$modversion['blocks'][$b_no] = array(
+		'file' 			=> 'blog_list_block.php' ,
+		'name' 			=> constant('_MI_XP2_BLOCK_BLOG_LIST') ,
+		'description'	=> '' ,
+		'show_func' 	=> "b_". $mydirname . "_blog_list_show" ,
+		'edit_func' 	=> "b_". $mydirname . "_blog_list_edit" ,
+		'options'		=> $mydirname. '||name|ASC' ,
+		'can_clone'		=> false ,
+		'func_num'		=> $b_no,
+	);
+	$b_no++;
+	$modversion['blocks'][$b_no] = array(
+		'file' 			=> 'global_recent_posts_list_block.php' ,
+		'name' 			=> constant('_MI_XP2_BLOCK_GLOBAL_POSTS') ,
+		'description'	=> '' ,
+		'show_func' 	=> "b_". $mydirname . "_global_posts_show" ,
+		'edit_func' 	=> "b_". $mydirname . "_global_posts_edit" ,
+		'options'		=> $mydirname. '||10|1|7||0|0' ,
+		'can_clone'		=> true ,
+		'func_num'		=> $b_no,
+	);
+	$b_no++;
+	$modversion['blocks'][$b_no] = array(
+		'file' 			=> 'global_recent_comments_block.php' ,
+		'name' 			=> constant('_MI_XP2_BLOCK_GLOBAL_COMM') ,
+		'description'	=> '' ,
+		'show_func' 	=> "b_". $mydirname . "_global_comments_show" ,
+		'edit_func' 	=> "b_". $mydirname . "_global_comments_edit" ,
+		'template'		=> '' ,
+		'options'		=> $mydirname. '||10|30|||0' ,
+		'can_clone'		=> true ,
+		'func_num'		=> $b_no,
+	);
+	$b_no++;
+	$modversion['blocks'][$b_no] = array(
+		'file' 			=> 'global_popular_posts_block.php' ,
+		'name' 			=> constant('_MI_XP2_BLOCK_GLOBAL_POPU') ,
+		'description'	=> '' ,
+		'show_func' 	=> "b_". $mydirname . "_global_popular_show" ,
+		'edit_func' 	=> "b_". $mydirname . "_global_popular_edit" ,
+		'options'		=> $mydirname. '||10|0||' ,
+		'can_clone'		=> true ,
+		'func_num'		=> $b_no,
+	);
+}
+
+// Notification
+$modversion['hasNotification'] = 1;
+$modversion['notification'] = array(
+	'lookup_file' => 'include/notification.inc.php' ,
+	'lookup_func' => "xpress_notify" ,
+	'category' => array(
+		array(
+			'name' => 'global' ,
+			'title' => constant('_MI_XP2_NOTCAT_GLOBAL') ,
+			'description' => constant('_MI_XP2_NOTCAT_GLOBALDSC') ,
+			'subscribe_from' => 'index.php' ,
+		) ,
+		array(
+			'name' => 'category' ,
+			'title' => constant('_MI_XP2_NOTCAT_CAT') ,
+			'description' => constant('_MI_XP2_NOTCAT_CATDSC') ,
+			'subscribe_from' => 'index.php' ,
+			'item_name' => 'cat' ,
+			'allow_bookmark' => 1 ,
+		) ,
+		array(
+			'name' => 'author' ,
+			'title' => constant('_MI_XP2_NOTCAT_AUTHOR') ,
+			'description' => constant('_MI_XP2_NOTCAT_AUTHORDSC') ,
+			'subscribe_from' => 'index.php' ,
+			'item_name' => 'author' ,
+			'allow_bookmark' => 1 ,
+		) ,
+		array(
+			'name' => 'post' ,
+			'title' => constant('_MI_XP2_NOTCAT_POST') ,
+			'description' => constant('_MI_XP2_NOTCAT_POSTDSC') ,
+			'subscribe_from' => 'index.php' ,
+			'item_name' => 'p' ,
+			'allow_bookmark' => 1 ,
+		) ,
+	) ,
+	'event' => array(
+		array(
+			'name' => 'waiting' ,
+			'category' => 'global' ,
+			'title' => constant('_MI_XP2_NOTIFY_GLOBAL_WAITING') ,
+			'caption' => constant('_MI_XP2_NOTIFY_GLOBAL_WAITINGCAP') ,
+			'description' => constant('_MI_XP2_NOTIFY_GLOBAL_WAITINGCAP') ,
+			'mail_template' => 'global_waiting' ,
+			'mail_subject' => constant('_MI_XP2_NOTIFY_GLOBAL_WAITINGSBJ') ,
+			'admin_only' => 1 ,
+		) ,
+		array(
+			'name' => 'newpost' ,
+			'category' => 'global' ,
+			'title' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWPOST') ,
+			'caption' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWPOSTCAP') ,
+			'description' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWPOSTCAP') ,
+			'mail_template' => 'global_newpost' ,
+			'mail_subject' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWPOSTSBJ') ,
+		) ,
+		array(
+			'name' => 'comment' ,
+			'category' => 'global' ,
+			'title' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENT') ,
+			'caption' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENTCAP') ,
+			'description' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENTCAP') ,
+			'mail_template' => 'global_newcomment' ,
+			'mail_subject' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENTSBJ') ,
+		) ,
+
+		array(
+			'name' => 'newpost' ,
+			'category' => 'category' ,
+			'title' => constant('_MI_XP2_NOTIFY_CAT_NEWPOST') ,
+			'caption' => constant('_MI_XP2_NOTIFY_CAT_NEWPOSTCAP') ,
+			'description' => constant('_MI_XP2_NOTIFY_CAT_NEWPOSTCAP') ,
+			'mail_template' => 'category_newpost' ,
+			'mail_subject' => constant('_MI_XP2_NOTIFY_CAT_NEWPOSTSBJ') ,
+		) ,
+		array(
+			'name' => 'comment' ,
+			'category' => 'category' ,
+			'title' => constant('_MI_XP2_NOTIFY_CAT_NEWCOMMENT') ,
+			'caption' => constant('_MI_XP2_NOTIFY_CAT_NEWCOMMENTCAP') ,
+			'description' => constant('_MI_XP2_NOTIFY_CAT_NEWCOMMENTCAP') ,
+			'mail_template' => 'category_newcomment' ,
+			'mail_subject' => constant('_MI_XP2_NOTIFY_CAT_NEWCOMMENTSBJ') ,
+		) ,
+
+		array(
+			'name' => 'newpost' ,
+			'category' => 'author' ,
+			'title' => constant('_MI_XP2_NOTIFY_AUT_NEWPOST') ,
+			'caption' => constant('_MI_XP2_NOTIFY_AUT_NEWPOSTCAP') ,
+			'description' => constant('_MI_XP2_NOTIFY_AUT_NEWPOSTCAP') ,
+			'mail_template' => 'author_newpost' ,
+			'mail_subject' => constant('_MI_XP2_NOTIFY_AUT_NEWPOSTSBJ') ,
+		) ,
+		array(
+			'name' => 'comment' ,
+			'category' => 'author' ,
+			'title' => constant('_MI_XP2_NOTIFY_AUT_NEWCOMMENT') ,
+			'caption' => constant('_MI_XP2_NOTIFY_AUT_NEWCOMMENTCAP') ,
+			'description' => constant('_MI_XP2_NOTIFY_AUT_NEWCOMMENTCAP') ,
+			'mail_template' => 'author_newcomment' ,
+			'mail_subject' => constant('_MI_XP2_NOTIFY_AUT_NEWCOMMENTSBJ') ,
+		) ,
+
+		array(
+			'name' => 'comment' ,
+			'category' => 'post' ,
+			'title' => constant('_MI_XP2_NOTIFY_POST_NEWCOMMENT') ,
+			'caption' => constant('_MI_XP2_NOTIFY_POST_NEWCOMMENTCAP') ,
+			'description' => constant('_MI_XP2_NOTIFY_POST_NEWCOMMENTCAP') ,
+			'mail_template' => 'post_newcomment' ,
+			'mail_subject' => constant('_MI_XP2_NOTIFY_POST_NEWCOMMENTSBJ') ,
+		) ,
+	) ,
+) ;
+
+
+?>
Index: /tags/Ver2.5.4/xpressme_integration_kit/xp-config-sample.php
===================================================================
--- /tags/Ver2.5.4/xpressme_integration_kit/xp-config-sample.php	(revision 866)
+++ /tags/Ver2.5.4/xpressme_integration_kit/xp-config-sample.php	(revision 866)
@@ -0,0 +1,61 @@
+<?php
+/*
+ *	This file is a sample of xp-config.php. 
+ *	Please use xp-config.php when XPressME cannot acquire the data base connection information more automatically than XOOPS. 
+ *
+ *  Each definition sets the same value as the one set to mainfile.php of XOOPS.
+ */
+ 
+ 
+ if ( !defined("XPESS_MAINFILE_INCLUDED") ) {
+    define("XPESS_MAINFILE_INCLUDED",1);
+
+    // XOOPS Physical Path
+    // Physical path to your main XOOPS directory WITHOUT trailing slash
+    // Example: define('XP_XOOPS_ROOT_PATH', '/path/to/xoops/directory');
+    define('XP_XOOPS_ROOT_PATH', '');
+	
+    // XOOPS Trusted Path
+    // This is option. If you need this path, input value. The trusted path
+    // should be a safety directory which web browsers can't access directly.
+    define('XP_XOOPS_TRUST_PATH', '');
+
+    // XOOPS Virtual Path (URL)
+    // Virtual path to your main XOOPS directory WITHOUT trailing slash
+    // Example: define('XP_XOOPS_URL', 'http://url_to_xoops_directory');
+    define('XP_XOOPS_URL', 'http://');
+
+    // Database
+    // Choose the database to be used
+    define('XP_XOOPS_DB_TYPE', 'mysql');
+
+    // Table Prefix
+    // This prefix will be added to all new tables created to avoid name conflict in the database. If you are unsure, just use the default 'xoops'.
+    define('XP_XOOPS_DB_PREFIX', '');
+
+	// SALT
+	// This plays a supplementary role to generate secret code and token.
+    define('XP_XOOPS_SALT', '');
+
+    // Database Hostname
+    // Hostname of the database server. If you are unsure, 'localhost' works in most cases.
+    define('XP_XOOPS_DB_HOST', 'localhost');
+
+    // Database Username
+    // Your database user account on the host
+    define('XP_XOOPS_DB_USER', '');
+
+    // Database Password
+    // Password for your database user account
+    define('XP_XOOPS_DB_PASS', '');
+
+    // Database Name
+    // The name of database on the host. The installer will attempt to create the database if not exist
+    define('XP_XOOPS_DB_NAME', '');
+
+	// Password Salt Key $mainSalt
+	// This salt will be appended to passwords in the icms_encryptPass() function.
+	// Do NOT change this once your site is Live, doing so will invalidate everyones Password.
+	define( 'XP_XOOPS_DB_SALT', '' );
+}
+?>
