Index: /trunk/extras/for_wordpressme2011/ja_EUC/wp-content/plugins/xpressme/language/xpressme-ja_EUC.po
===================================================================
--- /trunk/extras/for_wordpressme2011/ja_EUC/wp-content/plugins/xpressme/language/xpressme-ja_EUC.po	(revision 444)
+++ /trunk/extras/for_wordpressme2011/ja_EUC/wp-content/plugins/xpressme/language/xpressme-ja_EUC.po	(revision 445)
@@ -9,5 +9,5 @@
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2009-10-06 21:59+0900\n"
-"PO-Revision-Date: 2009-11-16 11:37+0900\n"
+"PO-Revision-Date: 2009-11-19 20:55+0900\n"
 "Last-Translator: toemon <info@toemon.com>\n"
 "Language-Team: toemon <info@toemon.com>\n"
@@ -427,23 +427,57 @@
 msgstr "XPressME メニュー"
 
-#: xpressme_widget_class.php:76
+#: 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 "WordPress管理"
+
+#: 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設定"
+
+#: 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:77
-msgid "Site Home"
-msgstr "サイトホーム"
-
-#: xpressme_widget_class.php:103
+#: xpressme_widget_class.php:245
 msgid "Title:"
 msgstr "タイトル:"
-
-#: xpressme_widget_class.php:104
-msgid "Title"
-msgstr "タイトル"
-
-#: xpressme_widget_class.php:104
-msgid "URL"
-msgstr "URL"
 
 #: include/custom_functions.php:74
@@ -574,62 +608,66 @@
 msgstr "WordPressモードへ切替"
 
-#: include/xpress_upgrade.php:11
+#: include/xpress_upgrade.php:13
 msgid "XPressME Upgrade"
 msgstr "XPressME アップグレード"
 
-#: include/xpress_upgrade.php:26
+#: include/xpress_upgrade.php:28
 #, php-format
 msgid "You are using a XPressME Integration Kit development version (%1$s). Cool! Please <a href=\"%2$s\">stay updated</a>."
 msgstr "お使いの XPressME Integration Kit は開発版 (%1$s) です。すばらしい ! どうぞ<a href=\"%2$s\">最新版を使い続けてください</a>。"
 
-#: include/xpress_upgrade.php:30
+#: include/xpress_upgrade.php:32
 msgid "There is a new version of XPressME Integration Kit available for upgrade"
 msgstr "新しいバージョンの XPressME Integration Kit にアップグレードが可能です"
 
-#: include/xpress_upgrade.php:33
+#: include/xpress_upgrade.php:35
 #, php-format
 msgid "You can upgrade to version %s download the package and install it manually:"
 msgstr "バージョン %s のパッケージを手動でダウンロードしてインストールすることができます。"
 
-#: include/xpress_upgrade.php:36
-#: include/xpress_upgrade.php:56
+#: include/xpress_upgrade.php:38
+#: include/xpress_upgrade.php:61
 #, php-format
 msgid "Download %s"
 msgstr "%s をダウンロード"
 
-#: include/xpress_upgrade.php:41
+#: include/xpress_upgrade.php:43
 #, php-format
 msgid "You can download the differential file from version %s to %s and upgrade it manually:"
 msgstr "バージョン%sから%sへの差分ファイルをダウンロードし、手動でアップグレードすることができます："
 
-#: include/xpress_upgrade.php:44
+#: include/xpress_upgrade.php:46
 #, php-format
 msgid "Download differential file for %s"
 msgstr "%sの差分ファイルをダウンロード"
 
-#: include/xpress_upgrade.php:48
+#: include/xpress_upgrade.php:50
 msgid "You have the latest version of XPressME Integration Kit. You do not need to upgrade"
 msgstr "最新バージョンの XPressME Integration Kit をご利用中です。アップグレードの必要はありません。"
 
-#: include/xpress_upgrade.php:53
+#: include/xpress_upgrade.php:58
 #, php-format
 msgid "You can use the development version %s download the package and install it manually:"
 msgstr "開発バージョン %s のパッケージを手動でダウンロードしてインストールすることができます。"
 
-#: include/xpress_upgrade.php:62
+#: include/xpress_upgrade.php:67
 #, 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:207
+#: include/xpress_upgrade.php:212
 #, 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:209
+#: include/xpress_upgrade.php:214
 #, php-format
 msgid "XPressME Integration Kit Version %1$s is available! Please notify the site administrator."
 msgstr "XPressME Integration Kit Version %1$s が利用可能です ! サイト管理者に連絡してください。"
 
+#~ msgid "Title"
+#~ msgstr "タイトル"
+#~ msgid "URL"
+#~ msgstr "URL"
 #~ msgid "more"
 #~ msgstr "続きを読む"
Index: /trunk/extras/for_wordpressme2011/ja_UTF/wp-content/plugins/xpressme/language/xpressme-ja_UTF.po
===================================================================
--- /trunk/extras/for_wordpressme2011/ja_UTF/wp-content/plugins/xpressme/language/xpressme-ja_UTF.po	(revision 444)
+++ /trunk/extras/for_wordpressme2011/ja_UTF/wp-content/plugins/xpressme/language/xpressme-ja_UTF.po	(revision 445)
@@ -9,5 +9,5 @@
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2009-10-06 21:59+0900\n"
-"PO-Revision-Date: 2009-11-16 11:37+0900\n"
+"PO-Revision-Date: 2009-11-19 20:57+0900\n"
 "Last-Translator: toemon <info@toemon.com>\n"
 "Language-Team: toemon <info@toemon.com>\n"
@@ -427,23 +427,57 @@
 msgstr "XPressME メニュー"
 
-#: xpressme_widget_class.php:76
+#: 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 "WordPress管理"
+
+#: 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設定"
+
+#: 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:77
-msgid "Site Home"
-msgstr "サイトホーム"
-
-#: xpressme_widget_class.php:103
+#: xpressme_widget_class.php:245
 msgid "Title:"
 msgstr "タイトル:"
-
-#: xpressme_widget_class.php:104
-msgid "Title"
-msgstr "タイトル"
-
-#: xpressme_widget_class.php:104
-msgid "URL"
-msgstr "URL"
 
 #: include/custom_functions.php:74
@@ -574,62 +608,66 @@
 msgstr "WordPressモードへ切替"
 
-#: include/xpress_upgrade.php:11
+#: include/xpress_upgrade.php:13
 msgid "XPressME Upgrade"
 msgstr "XPressME アップグレード"
 
-#: include/xpress_upgrade.php:26
+#: include/xpress_upgrade.php:28
 #, php-format
 msgid "You are using a XPressME Integration Kit development version (%1$s). Cool! Please <a href=\"%2$s\">stay updated</a>."
 msgstr "お使いの XPressME Integration Kit は開発版 (%1$s) です。すばらしい ! どうぞ<a href=\"%2$s\">最新版を使い続けてください</a>。"
 
-#: include/xpress_upgrade.php:30
+#: include/xpress_upgrade.php:32
 msgid "There is a new version of XPressME Integration Kit available for upgrade"
 msgstr "新しいバージョンの XPressME Integration Kit にアップグレードが可能です"
 
-#: include/xpress_upgrade.php:33
+#: include/xpress_upgrade.php:35
 #, php-format
 msgid "You can upgrade to version %s download the package and install it manually:"
 msgstr "バージョン %s のパッケージを手動でダウンロードしてインストールすることができます。"
 
-#: include/xpress_upgrade.php:36
-#: include/xpress_upgrade.php:56
+#: include/xpress_upgrade.php:38
+#: include/xpress_upgrade.php:61
 #, php-format
 msgid "Download %s"
 msgstr "%s をダウンロード"
 
-#: include/xpress_upgrade.php:41
+#: include/xpress_upgrade.php:43
 #, php-format
 msgid "You can download the differential file from version %s to %s and upgrade it manually:"
 msgstr "バージョン%sから%sへの差分ファイルをダウンロードし、手動でアップグレードすることができます："
 
-#: include/xpress_upgrade.php:44
+#: include/xpress_upgrade.php:46
 #, php-format
 msgid "Download differential file for %s"
 msgstr "%sの差分ファイルをダウンロード"
 
-#: include/xpress_upgrade.php:48
+#: include/xpress_upgrade.php:50
 msgid "You have the latest version of XPressME Integration Kit. You do not need to upgrade"
 msgstr "最新バージョンの XPressME Integration Kit をご利用中です。アップグレードの必要はありません。"
 
-#: include/xpress_upgrade.php:53
+#: include/xpress_upgrade.php:58
 #, php-format
 msgid "You can use the development version %s download the package and install it manually:"
 msgstr "開発バージョン %s のパッケージを手動でダウンロードしてインストールすることができます。"
 
-#: include/xpress_upgrade.php:62
+#: include/xpress_upgrade.php:67
 #, 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:207
+#: include/xpress_upgrade.php:212
 #, 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:209
+#: include/xpress_upgrade.php:214
 #, php-format
 msgid "XPressME Integration Kit Version %1$s is available! Please notify the site administrator."
 msgstr "XPressME Integration Kit Version %1$s が利用可能です ! サイト管理者に連絡してください。"
 
+#~ msgid "Title"
+#~ msgstr "タイトル"
+#~ msgid "URL"
+#~ msgstr "URL"
 #~ msgid "more"
 #~ msgstr "続きを読む"
Index: /trunk/extras/xpress_i18n/portuguese-br/xpressme_modules_root/wp-content/plugins/xpressme/language/xpressme-pt_BR.po
===================================================================
--- /trunk/extras/xpress_i18n/portuguese-br/xpressme_modules_root/wp-content/plugins/xpressme/language/xpressme-pt_BR.po	(revision 444)
+++ /trunk/extras/xpress_i18n/portuguese-br/xpressme_modules_root/wp-content/plugins/xpressme/language/xpressme-pt_BR.po	(revision 445)
@@ -7,6 +7,6 @@
 "Project-Id-Version: XPressME Plugin\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-11-16 11:30+0900\n"
-"PO-Revision-Date: 2009-11-16 11:44+0900\n"
+"POT-Creation-Date: 2009-11-19 20:53+0900\n"
+"PO-Revision-Date: 2009-11-19 21:04+0900\n"
 "Last-Translator: toemon <info@toemon.com>\n"
 "Language-Team: Marcelo Yuji Himoro <yuji@yuji.ws>\n"
@@ -425,23 +425,57 @@
 msgstr "XPressME MENU"
 
-#: xpressme_widget_class.php:76
+#: xpressme_widget_class.php:143
+#: xpressme_widget_class.php:195
+#: xpressme_widget_class.php:200
+#: xpressme_widget_class.php:205
+msgid "Link"
+msgstr "Ligação"
+
+#: xpressme_widget_class.php:144
+#: xpressme_widget_class.php:160
+msgid "Site Home"
+msgstr "Site Home"
+
+#: xpressme_widget_class.php:145
+#: xpressme_widget_class.php:165
+msgid "Add New"
+msgstr "Some Novo"
+
+#: xpressme_widget_class.php:146
+#: xpressme_widget_class.php:170
+msgid "User Profile"
+msgstr "Perfil de usuário"
+
+#: xpressme_widget_class.php:147
+#: xpressme_widget_class.php:176
+msgid "WordPress Admin"
+msgstr "WordPress Admin"
+
+#: xpressme_widget_class.php:148
+#: xpressme_widget_class.php:181
+msgid "Module Admin"
+msgstr "Module Admin"
+
+#: xpressme_widget_class.php:149
+#: xpressme_widget_class.php:186
+msgid "XPressME Setting"
+msgstr "Colocação de XPressME"
+
+#: xpressme_widget_class.php:150
+msgid "Display Mode Select"
+msgstr "Exiba Modo Selecione"
+
+#: xpressme_widget_class.php:152
+#: xpressme_widget_class.php:171
+msgid "Auto Setting"
+msgstr "Colocação de auto"
+
+#: xpressme_widget_class.php:157
 msgid "User Menu"
 msgstr "User Menu"
 
-#: xpressme_widget_class.php:77
-msgid "Site Home"
-msgstr "Site Home"
-
-#: xpressme_widget_class.php:103
+#: xpressme_widget_class.php:245
 msgid "Title:"
 msgstr "Title:"
-
-#: xpressme_widget_class.php:104
-msgid "Title"
-msgstr "Title"
-
-#: xpressme_widget_class.php:104
-msgid "URL"
-msgstr "URL"
 
 #: include/custom_functions.php:74
@@ -572,62 +606,66 @@
 msgstr "Mudar para o WordPress"
 
-#: include/xpress_upgrade.php:11
+#: include/xpress_upgrade.php:13
 msgid "XPressME Upgrade"
 msgstr "XPressME Atualizar"
 
-#: include/xpress_upgrade.php:26
+#: include/xpress_upgrade.php:28
 #, php-format
 msgid "You are using a XPressME Integration Kit development version (%1$s). Cool! Please <a href=\"%2$s\">stay updated</a>."
 msgstr "Você está usando uma versão para XPressME Integration Kit desenvolvedores (%1$s). Legal! Por favor, <a href=\"%2$s\">mantenha-se atualizado</a>."
 
-#: include/xpress_upgrade.php:30
+#: include/xpress_upgrade.php:32
 msgid "There is a new version of XPressME Integration Kit available for upgrade"
 msgstr "Há uma versão nova do XPressME Integration Kit disponível para atualização"
 
-#: include/xpress_upgrade.php:33
+#: include/xpress_upgrade.php:35
 #, 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:36
-#: include/xpress_upgrade.php:56
+#: include/xpress_upgrade.php:38
+#: include/xpress_upgrade.php:61
 #, php-format
 msgid "Download %s"
 msgstr "Download %s"
 
-#: include/xpress_upgrade.php:41
+#: include/xpress_upgrade.php:43
 #, php-format
 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:"
 
-#: include/xpress_upgrade.php:44
+#: include/xpress_upgrade.php:46
 #, php-format
 msgid "Download differential file for %s"
 msgstr "Download differential file for %s"
 
-#: include/xpress_upgrade.php:48
+#: include/xpress_upgrade.php:50
 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:53
+#: include/xpress_upgrade.php:58
 #, php-format
 msgid "You can use the development version %s download the package and install it manually:"
 msgstr "You can use the development version %s download the package and install it manually:"
 
-#: include/xpress_upgrade.php:62
+#: include/xpress_upgrade.php:67
 #, 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:207
+#: include/xpress_upgrade.php:212
 #, 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:209
+#: include/xpress_upgrade.php:214
 #, 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 "Title"
+#~ msgstr "Title"
+#~ msgid "URL"
+#~ msgstr "URL"
 #~ msgid "more"
 #~ msgstr "続きを読む"
Index: /trunk/extras/xpress_i18n/template/xpressme_modules_root/wp-content/plugins/xpressme/language/xpressme-lang.pot
===================================================================
--- /trunk/extras/xpress_i18n/template/xpressme_modules_root/wp-content/plugins/xpressme/language/xpressme-lang.pot	(revision 444)
+++ /trunk/extras/xpress_i18n/template/xpressme_modules_root/wp-content/plugins/xpressme/language/xpressme-lang.pot	(revision 445)
@@ -8,5 +8,5 @@
 "Project-Id-Version: XPressME Plugin\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-11-16 11:30+0900\n"
+"POT-Creation-Date: 2009-11-19 20:53+0900\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
@@ -421,22 +421,56 @@
 msgstr ""
 
-#: xpressme_widget_class.php:76
+#: 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:77
-msgid "Site Home"
-msgstr ""
-
-#: xpressme_widget_class.php:103
+#: xpressme_widget_class.php:245
 msgid "Title:"
-msgstr ""
-
-#: xpressme_widget_class.php:104
-msgid "Title"
-msgstr ""
-
-#: xpressme_widget_class.php:104
-msgid "URL"
 msgstr ""
 
@@ -568,62 +602,66 @@
 msgstr ""
 
-#: include/xpress_upgrade.php:11
+#: include/xpress_upgrade.php:13
 msgid "XPressME Upgrade"
 msgstr ""
 
-#: include/xpress_upgrade.php:26
+#: include/xpress_upgrade.php:28
 #, 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:30
+#: include/xpress_upgrade.php:32
 msgid "There is a new version of XPressME Integration Kit available for upgrade"
 msgstr ""
 
-#: include/xpress_upgrade.php:33
+#: include/xpress_upgrade.php:35
 #, 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:56
+#: include/xpress_upgrade.php:38
+#: include/xpress_upgrade.php:61
 #, php-format
 msgid "Download %s"
 msgstr ""
 
-#: include/xpress_upgrade.php:41
+#: include/xpress_upgrade.php:43
 #, 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:46
 #, php-format
 msgid "Download differential file for %s"
 msgstr ""
 
-#: include/xpress_upgrade.php:48
+#: include/xpress_upgrade.php:50
 msgid "You have the latest version of XPressME Integration Kit. You do not need to upgrade"
 msgstr ""
 
-#: include/xpress_upgrade.php:53
+#: include/xpress_upgrade.php:58
 #, php-format
 msgid "You can use the development version %s download the package and install it manually:"
 msgstr ""
 
-#: include/xpress_upgrade.php:62
+#: include/xpress_upgrade.php:67
 #, 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:207
+#: include/xpress_upgrade.php:212
 #, php-format
 msgid "XPressME Integration Kit Version %1$s is available! <a href=\"%2$s\">Please update now</a>."
 msgstr ""
 
-#: include/xpress_upgrade.php:209
+#: include/xpress_upgrade.php:214
 #, 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 ""
Index: /trunk/xpressme_integration_kit/wp-content/plugins/xpressme/language/xpressme-ja.po
===================================================================
--- /trunk/xpressme_integration_kit/wp-content/plugins/xpressme/language/xpressme-ja.po	(revision 444)
+++ /trunk/xpressme_integration_kit/wp-content/plugins/xpressme/language/xpressme-ja.po	(revision 445)
@@ -8,6 +8,6 @@
 "Project-Id-Version: XPressME Plugin\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-11-16 11:30+0900\n"
-"PO-Revision-Date: 2009-11-16 11:34+0900\n"
+"POT-Creation-Date: 2009-11-19 20:53+0900\n"
+"PO-Revision-Date: 2009-11-19 20:53+0900\n"
 "Last-Translator: toemon <info@toemon.com>\n"
 "Language-Team: toemon <info@toemon.com>\n"
@@ -427,23 +427,57 @@
 msgstr "XPressME メニュー"
 
-#: xpressme_widget_class.php:76
+#: 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 "WordPress管理"
+
+#: 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設定"
+
+#: 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:77
-msgid "Site Home"
-msgstr "サイトホーム"
-
-#: xpressme_widget_class.php:103
+#: xpressme_widget_class.php:245
 msgid "Title:"
 msgstr "タイトル:"
-
-#: xpressme_widget_class.php:104
-msgid "Title"
-msgstr "タイトル"
-
-#: xpressme_widget_class.php:104
-msgid "URL"
-msgstr "URL"
 
 #: include/custom_functions.php:74
@@ -574,62 +608,66 @@
 msgstr "WordPressモードへ切替"
 
-#: include/xpress_upgrade.php:11
+#: include/xpress_upgrade.php:13
 msgid "XPressME Upgrade"
 msgstr "XPressME アップグレード"
 
-#: include/xpress_upgrade.php:26
+#: include/xpress_upgrade.php:28
 #, php-format
 msgid "You are using a XPressME Integration Kit development version (%1$s). Cool! Please <a href=\"%2$s\">stay updated</a>."
 msgstr "お使いの XPressME Integration Kit は開発版 (%1$s) です。すばらしい ! どうぞ<a href=\"%2$s\">最新版を使い続けてください</a>。"
 
-#: include/xpress_upgrade.php:30
+#: include/xpress_upgrade.php:32
 msgid "There is a new version of XPressME Integration Kit available for upgrade"
 msgstr "新しいバージョンの XPressME Integration Kit にアップグレードが可能です"
 
-#: include/xpress_upgrade.php:33
+#: include/xpress_upgrade.php:35
 #, php-format
 msgid "You can upgrade to version %s download the package and install it manually:"
 msgstr "バージョン %s のパッケージを手動でダウンロードしてインストールすることができます。"
 
-#: include/xpress_upgrade.php:36
-#: include/xpress_upgrade.php:56
+#: include/xpress_upgrade.php:38
+#: include/xpress_upgrade.php:61
 #, php-format
 msgid "Download %s"
 msgstr "%s をダウンロード"
 
-#: include/xpress_upgrade.php:41
+#: include/xpress_upgrade.php:43
 #, php-format
 msgid "You can download the differential file from version %s to %s and upgrade it manually:"
 msgstr "バージョン%sから%sへの差分ファイルをダウンロードし、手動でアップグレードすることができます："
 
-#: include/xpress_upgrade.php:44
+#: include/xpress_upgrade.php:46
 #, php-format
 msgid "Download differential file for %s"
 msgstr "%sの差分ファイルをダウンロード"
 
-#: include/xpress_upgrade.php:48
+#: include/xpress_upgrade.php:50
 msgid "You have the latest version of XPressME Integration Kit. You do not need to upgrade"
 msgstr "最新バージョンの XPressME Integration Kit をご利用中です。アップグレードの必要はありません。"
 
-#: include/xpress_upgrade.php:53
+#: include/xpress_upgrade.php:58
 #, php-format
 msgid "You can use the development version %s download the package and install it manually:"
 msgstr "開発バージョン %s のパッケージを手動でダウンロードしてインストールすることができます。"
 
-#: include/xpress_upgrade.php:62
+#: include/xpress_upgrade.php:67
 #, 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:207
+#: include/xpress_upgrade.php:212
 #, 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:209
+#: include/xpress_upgrade.php:214
 #, php-format
 msgid "XPressME Integration Kit Version %1$s is available! Please notify the site administrator."
 msgstr "XPressME Integration Kit Version %1$s が利用可能です ! サイト管理者に連絡してください。"
 
+#~ msgid "Title"
+#~ msgstr "タイトル"
+#~ msgid "URL"
+#~ msgstr "URL"
 #~ msgid "more"
 #~ msgstr "続きを読む"
Index: /trunk/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme_widget_class.php
===================================================================
--- /trunk/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme_widget_class.php	(revision 444)
+++ /trunk/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme_widget_class.php	(revision 445)
@@ -16,5 +16,5 @@
 	function XPress_Menu_Widget(){
 		$widget_ops = array('classname' => 'widget_xpress', 'description' => __( "XPressME User Menu Widget") );
-		$control_ops = array('width' => 400, 'height' => 300);
+		$control_ops = array('width' => 600, 'height' => 300);
 		$this->WP_Widget('XPress_Menu', __('XPressME MENU'), $widget_ops, $control_ops);
 	}
@@ -26,4 +26,5 @@
 	function widget($args, $instance){
 		global $xpress_config,$xoops_config;
+		global $current_user;
 
 		extract($args);
@@ -38,10 +39,66 @@
 
 		# 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++) {
-			$link_name = $instance['name' . $i];
-			$link_url = $instance['link' . $i];
-			if (!empty($link_name))	echo '<li><a href="' . $link_url . '">' . $link_name . '</a></li>';
+			$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
@@ -58,6 +115,12 @@
 		
 		for($i = 0; $i < 10; $i++) {
-			$instance['name'. $i] = strip_tags(stripslashes($new_instance['name'. $i]));
-			$instance['link' . $i] = strip_tags(stripslashes($new_instance['link'. $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]));
 		}
 
@@ -71,40 +134,167 @@
 	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'),
-			'name0' => __('Site Home'),
-			'link0' => $xoops_config->xoops_url,
-			'name1' => '',
-			'link1' => '',
-			'name2' => '',
-			'link2' => '',
-			'name3' => '',
-			'link3' => '',
-			'name4' => '',
-			'link4' => '',
-			'name5' => '',
-			'link5' => '',
-			'name6' => '',
-			'link6' => '',
-			'name7' => '',
-			'link7' => '',
-			'name8' => '',
-			'link8' => '',
-			'name9' => '',
-			'link9' => ''
+			'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,
 		) );
-
-		$title = htmlspecialchars($instance['title']);
+		
+		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="' . $title . '" /></label></p>'. "\n";
-		echo '<label>' . __('Title') . '</label>' . '<label style="margin-left:120px;">' . __('URL') . '</label>' . "\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++) {
-		echo '<p><input style="width: 100px;" id="' . $this->get_field_id('name' . $i) . '" name="' . $this->get_field_name('name' . $i) . '" type="text" value="' . $instance['name'. $i] . '" />:'. "\n";
-		echo '<input style="width: 280px;" id="' . $this->get_field_id('link' . $i) . '" name="' . $this->get_field_name('link' . $i) . '" type="text" value="' . $instance['link'. $i] . '" /></p>'. "\n";
+			$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>';
 	}
 
