XPressME Integration Kit

Trac

Changeset 445


Ignore:
Timestamp:
Nov 19, 2009, 8:49:32 PM (14 years ago)
Author:
toemon
Message:

ユーザメニュー用のウィジェット追加 Fixes #220

Location:
trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/extras/for_wordpressme2011/ja_EUC/wp-content/plugins/xpressme/language/xpressme-ja_EUC.po

    r443 r445  
    99"Report-Msgid-Bugs-To: \n" 
    1010"POT-Creation-Date: 2009-10-06 21:59+0900\n" 
    11 "PO-Revision-Date: 2009-11-16 11:37+0900\n" 
     11"PO-Revision-Date: 2009-11-19 20:55+0900\n" 
    1212"Last-Translator: toemon <info@toemon.com>\n" 
    1313"Language-Team: toemon <info@toemon.com>\n" 
     
    427427msgstr "XPressME メニュー" 
    428428 
    429 #: xpressme_widget_class.php:76 
     429#: xpressme_widget_class.php:143 
     430#: xpressme_widget_class.php:195 
     431#: xpressme_widget_class.php:200 
     432#: xpressme_widget_class.php:205 
     433msgid "Link" 
     434msgstr "リンク" 
     435 
     436#: xpressme_widget_class.php:144 
     437#: xpressme_widget_class.php:160 
     438msgid "Site Home" 
     439msgstr "サイトホーム" 
     440 
     441#: xpressme_widget_class.php:145 
     442#: xpressme_widget_class.php:165 
     443msgid "Add New" 
     444msgstr "新規投稿" 
     445 
     446#: xpressme_widget_class.php:146 
     447#: xpressme_widget_class.php:170 
     448msgid "User Profile" 
     449msgstr "ユーザプロファイル" 
     450 
     451#: xpressme_widget_class.php:147 
     452#: xpressme_widget_class.php:176 
     453msgid "WordPress Admin" 
     454msgstr "WordPress管理" 
     455 
     456#: xpressme_widget_class.php:148 
     457#: xpressme_widget_class.php:181 
     458msgid "Module Admin" 
     459msgstr "モジュール管理" 
     460 
     461#: xpressme_widget_class.php:149 
     462#: xpressme_widget_class.php:186 
     463msgid "XPressME Setting" 
     464msgstr "XPressME設定" 
     465 
     466#: xpressme_widget_class.php:150 
     467msgid "Display Mode Select" 
     468msgstr "表示モード選択" 
     469 
     470#: xpressme_widget_class.php:152 
     471#: xpressme_widget_class.php:171 
     472msgid "Auto Setting" 
     473msgstr "自動設定" 
     474 
     475#: xpressme_widget_class.php:157 
    430476msgid "User Menu" 
    431477msgstr "ユーザメニュー" 
    432478 
    433 #: xpressme_widget_class.php:77 
    434 msgid "Site Home" 
    435 msgstr "サイトホーム" 
    436  
    437 #: xpressme_widget_class.php:103 
     479#: xpressme_widget_class.php:245 
    438480msgid "Title:" 
    439481msgstr "タイトル:" 
    440  
    441 #: xpressme_widget_class.php:104 
    442 msgid "Title" 
    443 msgstr "タイトル" 
    444  
    445 #: xpressme_widget_class.php:104 
    446 msgid "URL" 
    447 msgstr "URL" 
    448482 
    449483#: include/custom_functions.php:74 
     
    574608msgstr "WordPressモードへ切替" 
    575609 
    576 #: include/xpress_upgrade.php:11 
     610#: include/xpress_upgrade.php:13 
    577611msgid "XPressME Upgrade" 
    578612msgstr "XPressME アップグレード" 
    579613 
    580 #: include/xpress_upgrade.php:26 
     614#: include/xpress_upgrade.php:28 
    581615#, php-format 
    582616msgid "You are using a XPressME Integration Kit development version (%1$s). Cool! Please <a href=\"%2$s\">stay updated</a>." 
    583617msgstr "お使いの XPressME Integration Kit は開発版 (%1$s) です。すばらしい ! どうぞ<a href=\"%2$s\">最新版を使い続けてください</a>。" 
    584618 
    585 #: include/xpress_upgrade.php:30 
     619#: include/xpress_upgrade.php:32 
    586620msgid "There is a new version of XPressME Integration Kit available for upgrade" 
    587621msgstr "新しいバージョンの XPressME Integration Kit にアップグレードが可能です" 
    588622 
    589 #: include/xpress_upgrade.php:33 
     623#: include/xpress_upgrade.php:35 
    590624#, php-format 
    591625msgid "You can upgrade to version %s download the package and install it manually:" 
    592626msgstr "バージョン %s のパッケージを手動でダウンロードしてインストールすることができます。" 
    593627 
    594 #: include/xpress_upgrade.php:36 
    595 #: include/xpress_upgrade.php:56 
     628#: include/xpress_upgrade.php:38 
     629#: include/xpress_upgrade.php:61 
    596630#, php-format 
    597631msgid "Download %s" 
    598632msgstr "%s をダウンロード" 
    599633 
    600 #: include/xpress_upgrade.php:41 
     634#: include/xpress_upgrade.php:43 
    601635#, php-format 
    602636msgid "You can download the differential file from version %s to %s and upgrade it manually:" 
    603637msgstr "バージョン%sから%sへの差分ファイルをダウンロードし、手動でアップグレードすることができます:" 
    604638 
    605 #: include/xpress_upgrade.php:44 
     639#: include/xpress_upgrade.php:46 
    606640#, php-format 
    607641msgid "Download differential file for %s" 
    608642msgstr "%sの差分ファイルをダウンロード" 
    609643 
    610 #: include/xpress_upgrade.php:48 
     644#: include/xpress_upgrade.php:50 
    611645msgid "You have the latest version of XPressME Integration Kit. You do not need to upgrade" 
    612646msgstr "最新バージョンの XPressME Integration Kit をご利用中です。アップグレードの必要はありません。" 
    613647 
    614 #: include/xpress_upgrade.php:53 
     648#: include/xpress_upgrade.php:58 
    615649#, php-format 
    616650msgid "You can use the development version %s download the package and install it manually:" 
    617651msgstr "開発バージョン %s のパッケージを手動でダウンロードしてインストールすることができます。" 
    618652 
    619 #: include/xpress_upgrade.php:62 
     653#: include/xpress_upgrade.php:67 
    620654#, php-format 
    621655msgid "There is no response from <a href=\"%s\">version check API</a> now. sorry, please confirm it after." 
    622656msgstr "現在、<a href=\"%s\">version check API</a>からのレスポンスがありません。 申し訳ありませんが、しばらく後で確認してください。" 
    623657 
    624 #: include/xpress_upgrade.php:207 
     658#: include/xpress_upgrade.php:212 
    625659#, php-format 
    626660msgid "XPressME Integration Kit Version %1$s is available! <a href=\"%2$s\">Please update now</a>." 
    627661msgstr "XPressME Integration Kit Version %1$s が利用可能です ! <a href=\"%2$s\">アップデートしてください</a>。" 
    628662 
    629 #: include/xpress_upgrade.php:209 
     663#: include/xpress_upgrade.php:214 
    630664#, php-format 
    631665msgid "XPressME Integration Kit Version %1$s is available! Please notify the site administrator." 
    632666msgstr "XPressME Integration Kit Version %1$s が利用可能です ! サイト管理者に連絡してください。" 
    633667 
     668#~ msgid "Title" 
     669#~ msgstr "タイトル" 
     670#~ msgid "URL" 
     671#~ msgstr "URL" 
    634672#~ msgid "more" 
    635673#~ msgstr "続きを読む" 
  • trunk/extras/for_wordpressme2011/ja_UTF/wp-content/plugins/xpressme/language/xpressme-ja_UTF.po

    r443 r445  
    99"Report-Msgid-Bugs-To: \n" 
    1010"POT-Creation-Date: 2009-10-06 21:59+0900\n" 
    11 "PO-Revision-Date: 2009-11-16 11:37+0900\n" 
     11"PO-Revision-Date: 2009-11-19 20:57+0900\n" 
    1212"Last-Translator: toemon <info@toemon.com>\n" 
    1313"Language-Team: toemon <info@toemon.com>\n" 
     
    427427msgstr "XPressME メニュー" 
    428428 
    429 #: xpressme_widget_class.php:76 
     429#: xpressme_widget_class.php:143 
     430#: xpressme_widget_class.php:195 
     431#: xpressme_widget_class.php:200 
     432#: xpressme_widget_class.php:205 
     433msgid "Link" 
     434msgstr "リンク" 
     435 
     436#: xpressme_widget_class.php:144 
     437#: xpressme_widget_class.php:160 
     438msgid "Site Home" 
     439msgstr "サイトホーム" 
     440 
     441#: xpressme_widget_class.php:145 
     442#: xpressme_widget_class.php:165 
     443msgid "Add New" 
     444msgstr "新規投稿" 
     445 
     446#: xpressme_widget_class.php:146 
     447#: xpressme_widget_class.php:170 
     448msgid "User Profile" 
     449msgstr "ユーザプロファイル" 
     450 
     451#: xpressme_widget_class.php:147 
     452#: xpressme_widget_class.php:176 
     453msgid "WordPress Admin" 
     454msgstr "WordPress管理" 
     455 
     456#: xpressme_widget_class.php:148 
     457#: xpressme_widget_class.php:181 
     458msgid "Module Admin" 
     459msgstr "モジュール管理" 
     460 
     461#: xpressme_widget_class.php:149 
     462#: xpressme_widget_class.php:186 
     463msgid "XPressME Setting" 
     464msgstr "XPressME設定" 
     465 
     466#: xpressme_widget_class.php:150 
     467msgid "Display Mode Select" 
     468msgstr "表示モード選択" 
     469 
     470#: xpressme_widget_class.php:152 
     471#: xpressme_widget_class.php:171 
     472msgid "Auto Setting" 
     473msgstr "自動設定" 
     474 
     475#: xpressme_widget_class.php:157 
    430476msgid "User Menu" 
    431477msgstr "ユーザメニュー" 
    432478 
    433 #: xpressme_widget_class.php:77 
    434 msgid "Site Home" 
    435 msgstr "サイトホーム" 
    436  
    437 #: xpressme_widget_class.php:103 
     479#: xpressme_widget_class.php:245 
    438480msgid "Title:" 
    439481msgstr "タイトル:" 
    440  
    441 #: xpressme_widget_class.php:104 
    442 msgid "Title" 
    443 msgstr "タイトル" 
    444  
    445 #: xpressme_widget_class.php:104 
    446 msgid "URL" 
    447 msgstr "URL" 
    448482 
    449483#: include/custom_functions.php:74 
     
    574608msgstr "WordPressモードへ切替" 
    575609 
    576 #: include/xpress_upgrade.php:11 
     610#: include/xpress_upgrade.php:13 
    577611msgid "XPressME Upgrade" 
    578612msgstr "XPressME アップグレード" 
    579613 
    580 #: include/xpress_upgrade.php:26 
     614#: include/xpress_upgrade.php:28 
    581615#, php-format 
    582616msgid "You are using a XPressME Integration Kit development version (%1$s). Cool! Please <a href=\"%2$s\">stay updated</a>." 
    583617msgstr "お使いの XPressME Integration Kit は開発版 (%1$s) です。すばらしい ! どうぞ<a href=\"%2$s\">最新版を使い続けてください</a>。" 
    584618 
    585 #: include/xpress_upgrade.php:30 
     619#: include/xpress_upgrade.php:32 
    586620msgid "There is a new version of XPressME Integration Kit available for upgrade" 
    587621msgstr "新しいバージョンの XPressME Integration Kit にアップグレードが可能です" 
    588622 
    589 #: include/xpress_upgrade.php:33 
     623#: include/xpress_upgrade.php:35 
    590624#, php-format 
    591625msgid "You can upgrade to version %s download the package and install it manually:" 
    592626msgstr "バージョン %s のパッケージを手動でダウンロードしてインストールすることができます。" 
    593627 
    594 #: include/xpress_upgrade.php:36 
    595 #: include/xpress_upgrade.php:56 
     628#: include/xpress_upgrade.php:38 
     629#: include/xpress_upgrade.php:61 
    596630#, php-format 
    597631msgid "Download %s" 
    598632msgstr "%s をダウンロード" 
    599633 
    600 #: include/xpress_upgrade.php:41 
     634#: include/xpress_upgrade.php:43 
    601635#, php-format 
    602636msgid "You can download the differential file from version %s to %s and upgrade it manually:" 
    603637msgstr "バージョン%sから%sへの差分ファイルをダウンロードし、手動でアップグレードすることができます:" 
    604638 
    605 #: include/xpress_upgrade.php:44 
     639#: include/xpress_upgrade.php:46 
    606640#, php-format 
    607641msgid "Download differential file for %s" 
    608642msgstr "%sの差分ファイルをダウンロード" 
    609643 
    610 #: include/xpress_upgrade.php:48 
     644#: include/xpress_upgrade.php:50 
    611645msgid "You have the latest version of XPressME Integration Kit. You do not need to upgrade" 
    612646msgstr "最新バージョンの XPressME Integration Kit をご利用中です。アップグレードの必要はありません。" 
    613647 
    614 #: include/xpress_upgrade.php:53 
     648#: include/xpress_upgrade.php:58 
    615649#, php-format 
    616650msgid "You can use the development version %s download the package and install it manually:" 
    617651msgstr "開発バージョン %s のパッケージを手動でダウンロードしてインストールすることができます。" 
    618652 
    619 #: include/xpress_upgrade.php:62 
     653#: include/xpress_upgrade.php:67 
    620654#, php-format 
    621655msgid "There is no response from <a href=\"%s\">version check API</a> now. sorry, please confirm it after." 
    622656msgstr "現在、<a href=\"%s\">version check API</a>からのレスポンスがありません。 申し訳ありませんが、しばらく後で確認してください。" 
    623657 
    624 #: include/xpress_upgrade.php:207 
     658#: include/xpress_upgrade.php:212 
    625659#, php-format 
    626660msgid "XPressME Integration Kit Version %1$s is available! <a href=\"%2$s\">Please update now</a>." 
    627661msgstr "XPressME Integration Kit Version %1$s が利用可能です ! <a href=\"%2$s\">アップデートしてください</a>。" 
    628662 
    629 #: include/xpress_upgrade.php:209 
     663#: include/xpress_upgrade.php:214 
    630664#, php-format 
    631665msgid "XPressME Integration Kit Version %1$s is available! Please notify the site administrator." 
    632666msgstr "XPressME Integration Kit Version %1$s が利用可能です ! サイト管理者に連絡してください。" 
    633667 
     668#~ msgid "Title" 
     669#~ msgstr "タイトル" 
     670#~ msgid "URL" 
     671#~ msgstr "URL" 
    634672#~ msgid "more" 
    635673#~ msgstr "続きを読む" 
  • trunk/extras/xpress_i18n/portuguese-br/xpressme_modules_root/wp-content/plugins/xpressme/language/xpressme-pt_BR.po

    r443 r445  
    77"Project-Id-Version: XPressME Plugin\n" 
    88"Report-Msgid-Bugs-To: \n" 
    9 "POT-Creation-Date: 2009-11-16 11:30+0900\n" 
    10 "PO-Revision-Date: 2009-11-16 11:44+0900\n" 
     9"POT-Creation-Date: 2009-11-19 20:53+0900\n" 
     10"PO-Revision-Date: 2009-11-19 21:04+0900\n" 
    1111"Last-Translator: toemon <info@toemon.com>\n" 
    1212"Language-Team: Marcelo Yuji Himoro <yuji@yuji.ws>\n" 
     
    425425msgstr "XPressME MENU" 
    426426 
    427 #: xpressme_widget_class.php:76 
     427#: xpressme_widget_class.php:143 
     428#: xpressme_widget_class.php:195 
     429#: xpressme_widget_class.php:200 
     430#: xpressme_widget_class.php:205 
     431msgid "Link" 
     432msgstr "Ligação" 
     433 
     434#: xpressme_widget_class.php:144 
     435#: xpressme_widget_class.php:160 
     436msgid "Site Home" 
     437msgstr "Site Home" 
     438 
     439#: xpressme_widget_class.php:145 
     440#: xpressme_widget_class.php:165 
     441msgid "Add New" 
     442msgstr "Some Novo" 
     443 
     444#: xpressme_widget_class.php:146 
     445#: xpressme_widget_class.php:170 
     446msgid "User Profile" 
     447msgstr "Perfil de usuário" 
     448 
     449#: xpressme_widget_class.php:147 
     450#: xpressme_widget_class.php:176 
     451msgid "WordPress Admin" 
     452msgstr "WordPress Admin" 
     453 
     454#: xpressme_widget_class.php:148 
     455#: xpressme_widget_class.php:181 
     456msgid "Module Admin" 
     457msgstr "Module Admin" 
     458 
     459#: xpressme_widget_class.php:149 
     460#: xpressme_widget_class.php:186 
     461msgid "XPressME Setting" 
     462msgstr "Colocação de XPressME" 
     463 
     464#: xpressme_widget_class.php:150 
     465msgid "Display Mode Select" 
     466msgstr "Exiba Modo Selecione" 
     467 
     468#: xpressme_widget_class.php:152 
     469#: xpressme_widget_class.php:171 
     470msgid "Auto Setting" 
     471msgstr "Colocação de auto" 
     472 
     473#: xpressme_widget_class.php:157 
    428474msgid "User Menu" 
    429475msgstr "User Menu" 
    430476 
    431 #: xpressme_widget_class.php:77 
    432 msgid "Site Home" 
    433 msgstr "Site Home" 
    434  
    435 #: xpressme_widget_class.php:103 
     477#: xpressme_widget_class.php:245 
    436478msgid "Title:" 
    437479msgstr "Title:" 
    438  
    439 #: xpressme_widget_class.php:104 
    440 msgid "Title" 
    441 msgstr "Title" 
    442  
    443 #: xpressme_widget_class.php:104 
    444 msgid "URL" 
    445 msgstr "URL" 
    446480 
    447481#: include/custom_functions.php:74 
     
    572606msgstr "Mudar para o WordPress" 
    573607 
    574 #: include/xpress_upgrade.php:11 
     608#: include/xpress_upgrade.php:13 
    575609msgid "XPressME Upgrade" 
    576610msgstr "XPressME Atualizar" 
    577611 
    578 #: include/xpress_upgrade.php:26 
     612#: include/xpress_upgrade.php:28 
    579613#, php-format 
    580614msgid "You are using a XPressME Integration Kit development version (%1$s). Cool! Please <a href=\"%2$s\">stay updated</a>." 
    581615msgstr "Você está usando uma versão para XPressME Integration Kit desenvolvedores (%1$s). Legal! Por favor, <a href=\"%2$s\">mantenha-se atualizado</a>." 
    582616 
    583 #: include/xpress_upgrade.php:30 
     617#: include/xpress_upgrade.php:32 
    584618msgid "There is a new version of XPressME Integration Kit available for upgrade" 
    585619msgstr "Há uma versão nova do XPressME Integration Kit disponível para atualização" 
    586620 
    587 #: include/xpress_upgrade.php:33 
     621#: include/xpress_upgrade.php:35 
    588622#, php-format 
    589623msgid "You can upgrade to version %s download the package and install it manually:" 
    590624msgstr "Você pode atualizar para a versão %s  fazer o download e instalar manualmente:" 
    591625 
    592 #: include/xpress_upgrade.php:36 
    593 #: include/xpress_upgrade.php:56 
     626#: include/xpress_upgrade.php:38 
     627#: include/xpress_upgrade.php:61 
    594628#, php-format 
    595629msgid "Download %s" 
    596630msgstr "Download %s" 
    597631 
    598 #: include/xpress_upgrade.php:41 
     632#: include/xpress_upgrade.php:43 
    599633#, php-format 
    600634msgid "You can download the differential file from version %s to %s and upgrade it manually:" 
    601635msgstr "You can download the differential file from version %s to %s and upgrade it manually:" 
    602636 
    603 #: include/xpress_upgrade.php:44 
     637#: include/xpress_upgrade.php:46 
    604638#, php-format 
    605639msgid "Download differential file for %s" 
    606640msgstr "Download differential file for %s" 
    607641 
    608 #: include/xpress_upgrade.php:48 
     642#: include/xpress_upgrade.php:50 
    609643msgid "You have the latest version of XPressME Integration Kit. You do not need to upgrade" 
    610644msgstr "Sua versão do XPressME Integration Kit é a mais recente. Não é necessário atualizá-la." 
    611645 
    612 #: include/xpress_upgrade.php:53 
     646#: include/xpress_upgrade.php:58 
    613647#, php-format 
    614648msgid "You can use the development version %s download the package and install it manually:" 
    615649msgstr "You can use the development version %s download the package and install it manually:" 
    616650 
    617 #: include/xpress_upgrade.php:62 
     651#: include/xpress_upgrade.php:67 
    618652#, php-format 
    619653msgid "There is no response from <a href=\"%s\">version check API</a> now. sorry, please confirm it after." 
    620654msgstr "Não há nenhuma resposta de <a href=\"%s\">cheque de versão API</a> agora. arrependido, por favor confirme depois de." 
    621655 
    622 #: include/xpress_upgrade.php:207 
     656#: include/xpress_upgrade.php:212 
    623657#, php-format 
    624658msgid "XPressME Integration Kit Version %1$s is available! <a href=\"%2$s\">Please update now</a>." 
    625659msgstr "O XPressME Integration Kit %1$s está disponível! <a href=\"%2$s\">Por favor, atualize agora</a>." 
    626660 
    627 #: include/xpress_upgrade.php:209 
     661#: include/xpress_upgrade.php:214 
    628662#, php-format 
    629663msgid "XPressME Integration Kit Version %1$s is available! Please notify the site administrator." 
    630664msgstr "O XPressME Integration Kit Versão %1$s está disponível! Por favor, avise o administrador do site." 
    631665 
     666#~ msgid "Title" 
     667#~ msgstr "Title" 
     668#~ msgid "URL" 
     669#~ msgstr "URL" 
    632670#~ msgid "more" 
    633671#~ msgstr "続きを読む" 
  • trunk/extras/xpress_i18n/template/xpressme_modules_root/wp-content/plugins/xpressme/language/xpressme-lang.pot

    r443 r445  
    88"Project-Id-Version: XPressME Plugin\n" 
    99"Report-Msgid-Bugs-To: \n" 
    10 "POT-Creation-Date: 2009-11-16 11:30+0900\n" 
     10"POT-Creation-Date: 2009-11-19 20:53+0900\n" 
    1111"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 
    1212"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 
     
    421421msgstr "" 
    422422 
    423 #: xpressme_widget_class.php:76 
     423#: xpressme_widget_class.php:143 
     424#: xpressme_widget_class.php:195 
     425#: xpressme_widget_class.php:200 
     426#: xpressme_widget_class.php:205 
     427msgid "Link" 
     428msgstr "" 
     429 
     430#: xpressme_widget_class.php:144 
     431#: xpressme_widget_class.php:160 
     432msgid "Site Home" 
     433msgstr "" 
     434 
     435#: xpressme_widget_class.php:145 
     436#: xpressme_widget_class.php:165 
     437msgid "Add New" 
     438msgstr "" 
     439 
     440#: xpressme_widget_class.php:146 
     441#: xpressme_widget_class.php:170 
     442msgid "User Profile" 
     443msgstr "" 
     444 
     445#: xpressme_widget_class.php:147 
     446#: xpressme_widget_class.php:176 
     447msgid "WordPress Admin" 
     448msgstr "" 
     449 
     450#: xpressme_widget_class.php:148 
     451#: xpressme_widget_class.php:181 
     452msgid "Module Admin" 
     453msgstr "" 
     454 
     455#: xpressme_widget_class.php:149 
     456#: xpressme_widget_class.php:186 
     457msgid "XPressME Setting" 
     458msgstr "" 
     459 
     460#: xpressme_widget_class.php:150 
     461msgid "Display Mode Select" 
     462msgstr "" 
     463 
     464#: xpressme_widget_class.php:152 
     465#: xpressme_widget_class.php:171 
     466msgid "Auto Setting" 
     467msgstr "" 
     468 
     469#: xpressme_widget_class.php:157 
    424470msgid "User Menu" 
    425471msgstr "" 
    426472 
    427 #: xpressme_widget_class.php:77 
    428 msgid "Site Home" 
    429 msgstr "" 
    430  
    431 #: xpressme_widget_class.php:103 
     473#: xpressme_widget_class.php:245 
    432474msgid "Title:" 
    433 msgstr "" 
    434  
    435 #: xpressme_widget_class.php:104 
    436 msgid "Title" 
    437 msgstr "" 
    438  
    439 #: xpressme_widget_class.php:104 
    440 msgid "URL" 
    441475msgstr "" 
    442476 
     
    568602msgstr "" 
    569603 
    570 #: include/xpress_upgrade.php:11 
     604#: include/xpress_upgrade.php:13 
    571605msgid "XPressME Upgrade" 
    572606msgstr "" 
    573607 
    574 #: include/xpress_upgrade.php:26 
     608#: include/xpress_upgrade.php:28 
    575609#, php-format 
    576610msgid "You are using a XPressME Integration Kit development version (%1$s). Cool! Please <a href=\"%2$s\">stay updated</a>." 
    577611msgstr "" 
    578612 
    579 #: include/xpress_upgrade.php:30 
     613#: include/xpress_upgrade.php:32 
    580614msgid "There is a new version of XPressME Integration Kit available for upgrade" 
    581615msgstr "" 
    582616 
    583 #: include/xpress_upgrade.php:33 
     617#: include/xpress_upgrade.php:35 
    584618#, php-format 
    585619msgid "You can upgrade to version %s download the package and install it manually:" 
    586620msgstr "" 
    587621 
    588 #: include/xpress_upgrade.php:36 
    589 #: include/xpress_upgrade.php:56 
     622#: include/xpress_upgrade.php:38 
     623#: include/xpress_upgrade.php:61 
    590624#, php-format 
    591625msgid "Download %s" 
    592626msgstr "" 
    593627 
    594 #: include/xpress_upgrade.php:41 
     628#: include/xpress_upgrade.php:43 
    595629#, php-format 
    596630msgid "You can download the differential file from version %s to %s and upgrade it manually:" 
    597631msgstr "" 
    598632 
    599 #: include/xpress_upgrade.php:44 
     633#: include/xpress_upgrade.php:46 
    600634#, php-format 
    601635msgid "Download differential file for %s" 
    602636msgstr "" 
    603637 
    604 #: include/xpress_upgrade.php:48 
     638#: include/xpress_upgrade.php:50 
    605639msgid "You have the latest version of XPressME Integration Kit. You do not need to upgrade" 
    606640msgstr "" 
    607641 
    608 #: include/xpress_upgrade.php:53 
     642#: include/xpress_upgrade.php:58 
    609643#, php-format 
    610644msgid "You can use the development version %s download the package and install it manually:" 
    611645msgstr "" 
    612646 
    613 #: include/xpress_upgrade.php:62 
     647#: include/xpress_upgrade.php:67 
    614648#, php-format 
    615649msgid "There is no response from <a href=\"%s\">version check API</a> now. sorry, please confirm it after." 
    616650msgstr "" 
    617651 
    618 #: include/xpress_upgrade.php:207 
     652#: include/xpress_upgrade.php:212 
    619653#, php-format 
    620654msgid "XPressME Integration Kit Version %1$s is available! <a href=\"%2$s\">Please update now</a>." 
    621655msgstr "" 
    622656 
    623 #: include/xpress_upgrade.php:209 
     657#: include/xpress_upgrade.php:214 
    624658#, php-format 
    625659msgid "XPressME Integration Kit Version %1$s is available! Please notify the site administrator." 
    626660msgstr "" 
    627661 
     662#~ msgid "Title" 
     663#~ msgstr "" 
     664#~ msgid "URL" 
     665#~ msgstr "" 
    628666#~ msgid "more" 
    629667#~ msgstr "" 
  • trunk/xpressme_integration_kit/wp-content/plugins/xpressme/language/xpressme-ja.po

    r443 r445  
    88"Project-Id-Version: XPressME Plugin\n" 
    99"Report-Msgid-Bugs-To: \n" 
    10 "POT-Creation-Date: 2009-11-16 11:30+0900\n" 
    11 "PO-Revision-Date: 2009-11-16 11:34+0900\n" 
     10"POT-Creation-Date: 2009-11-19 20:53+0900\n" 
     11"PO-Revision-Date: 2009-11-19 20:53+0900\n" 
    1212"Last-Translator: toemon <info@toemon.com>\n" 
    1313"Language-Team: toemon <info@toemon.com>\n" 
     
    427427msgstr "XPressME メニュー" 
    428428 
    429 #: xpressme_widget_class.php:76 
     429#: xpressme_widget_class.php:143 
     430#: xpressme_widget_class.php:195 
     431#: xpressme_widget_class.php:200 
     432#: xpressme_widget_class.php:205 
     433msgid "Link" 
     434msgstr "リンク" 
     435 
     436#: xpressme_widget_class.php:144 
     437#: xpressme_widget_class.php:160 
     438msgid "Site Home" 
     439msgstr "サイトホーム" 
     440 
     441#: xpressme_widget_class.php:145 
     442#: xpressme_widget_class.php:165 
     443msgid "Add New" 
     444msgstr "新規投稿" 
     445 
     446#: xpressme_widget_class.php:146 
     447#: xpressme_widget_class.php:170 
     448msgid "User Profile" 
     449msgstr "ユーザプロファイル" 
     450 
     451#: xpressme_widget_class.php:147 
     452#: xpressme_widget_class.php:176 
     453msgid "WordPress Admin" 
     454msgstr "WordPress管理" 
     455 
     456#: xpressme_widget_class.php:148 
     457#: xpressme_widget_class.php:181 
     458msgid "Module Admin" 
     459msgstr "モジュール管理" 
     460 
     461#: xpressme_widget_class.php:149 
     462#: xpressme_widget_class.php:186 
     463msgid "XPressME Setting" 
     464msgstr "XPressME設定" 
     465 
     466#: xpressme_widget_class.php:150 
     467msgid "Display Mode Select" 
     468msgstr "表示モード選択" 
     469 
     470#: xpressme_widget_class.php:152 
     471#: xpressme_widget_class.php:171 
     472msgid "Auto Setting" 
     473msgstr "自動設定" 
     474 
     475#: xpressme_widget_class.php:157 
    430476msgid "User Menu" 
    431477msgstr "ユーザメニュー" 
    432478 
    433 #: xpressme_widget_class.php:77 
    434 msgid "Site Home" 
    435 msgstr "サイトホーム" 
    436  
    437 #: xpressme_widget_class.php:103 
     479#: xpressme_widget_class.php:245 
    438480msgid "Title:" 
    439481msgstr "タイトル:" 
    440  
    441 #: xpressme_widget_class.php:104 
    442 msgid "Title" 
    443 msgstr "タイトル" 
    444  
    445 #: xpressme_widget_class.php:104 
    446 msgid "URL" 
    447 msgstr "URL" 
    448482 
    449483#: include/custom_functions.php:74 
     
    574608msgstr "WordPressモードへ切替" 
    575609 
    576 #: include/xpress_upgrade.php:11 
     610#: include/xpress_upgrade.php:13 
    577611msgid "XPressME Upgrade" 
    578612msgstr "XPressME アップグレード" 
    579613 
    580 #: include/xpress_upgrade.php:26 
     614#: include/xpress_upgrade.php:28 
    581615#, php-format 
    582616msgid "You are using a XPressME Integration Kit development version (%1$s). Cool! Please <a href=\"%2$s\">stay updated</a>." 
    583617msgstr "お使いの XPressME Integration Kit は開発版 (%1$s) です。すばらしい ! どうぞ<a href=\"%2$s\">最新版を使い続けてください</a>。" 
    584618 
    585 #: include/xpress_upgrade.php:30 
     619#: include/xpress_upgrade.php:32 
    586620msgid "There is a new version of XPressME Integration Kit available for upgrade" 
    587621msgstr "新しいバージョンの XPressME Integration Kit にアップグレードが可能です" 
    588622 
    589 #: include/xpress_upgrade.php:33 
     623#: include/xpress_upgrade.php:35 
    590624#, php-format 
    591625msgid "You can upgrade to version %s download the package and install it manually:" 
    592626msgstr "バージョン %s のパッケージを手動でダウンロードしてインストールすることができます。" 
    593627 
    594 #: include/xpress_upgrade.php:36 
    595 #: include/xpress_upgrade.php:56 
     628#: include/xpress_upgrade.php:38 
     629#: include/xpress_upgrade.php:61 
    596630#, php-format 
    597631msgid "Download %s" 
    598632msgstr "%s をダウンロード" 
    599633 
    600 #: include/xpress_upgrade.php:41 
     634#: include/xpress_upgrade.php:43 
    601635#, php-format 
    602636msgid "You can download the differential file from version %s to %s and upgrade it manually:" 
    603637msgstr "バージョン%sから%sへの差分ファイルをダウンロードし、手動でアップグレードすることができます:" 
    604638 
    605 #: include/xpress_upgrade.php:44 
     639#: include/xpress_upgrade.php:46 
    606640#, php-format 
    607641msgid "Download differential file for %s" 
    608642msgstr "%sの差分ファイルをダウンロード" 
    609643 
    610 #: include/xpress_upgrade.php:48 
     644#: include/xpress_upgrade.php:50 
    611645msgid "You have the latest version of XPressME Integration Kit. You do not need to upgrade" 
    612646msgstr "最新バージョンの XPressME Integration Kit をご利用中です。アップグレードの必要はありません。" 
    613647 
    614 #: include/xpress_upgrade.php:53 
     648#: include/xpress_upgrade.php:58 
    615649#, php-format 
    616650msgid "You can use the development version %s download the package and install it manually:" 
    617651msgstr "開発バージョン %s のパッケージを手動でダウンロードしてインストールすることができます。" 
    618652 
    619 #: include/xpress_upgrade.php:62 
     653#: include/xpress_upgrade.php:67 
    620654#, php-format 
    621655msgid "There is no response from <a href=\"%s\">version check API</a> now. sorry, please confirm it after." 
    622656msgstr "現在、<a href=\"%s\">version check API</a>からのレスポンスがありません。 申し訳ありませんが、しばらく後で確認してください。" 
    623657 
    624 #: include/xpress_upgrade.php:207 
     658#: include/xpress_upgrade.php:212 
    625659#, php-format 
    626660msgid "XPressME Integration Kit Version %1$s is available! <a href=\"%2$s\">Please update now</a>." 
    627661msgstr "XPressME Integration Kit Version %1$s が利用可能です ! <a href=\"%2$s\">アップデートしてください</a>。" 
    628662 
    629 #: include/xpress_upgrade.php:209 
     663#: include/xpress_upgrade.php:214 
    630664#, php-format 
    631665msgid "XPressME Integration Kit Version %1$s is available! Please notify the site administrator." 
    632666msgstr "XPressME Integration Kit Version %1$s が利用可能です ! サイト管理者に連絡してください。" 
    633667 
     668#~ msgid "Title" 
     669#~ msgstr "タイトル" 
     670#~ msgid "URL" 
     671#~ msgstr "URL" 
    634672#~ msgid "more" 
    635673#~ msgstr "続きを読む" 
  • trunk/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme_widget_class.php

    r403 r445  
    1616        function XPress_Menu_Widget(){ 
    1717                $widget_ops = array('classname' => 'widget_xpress', 'description' => __( "XPressME User Menu Widget") ); 
    18                 $control_ops = array('width' => 400, 'height' => 300); 
     18                $control_ops = array('width' => 600, 'height' => 300); 
    1919                $this->WP_Widget('XPress_Menu', __('XPressME MENU'), $widget_ops, $control_ops); 
    2020        } 
     
    2626        function widget($args, $instance){ 
    2727                global $xpress_config,$xoops_config; 
     28                global $current_user; 
    2829 
    2930                extract($args); 
     
    3839 
    3940                # Make the XPressME MENU widget 
     41                $menu = array(); 
     42                for($i = 0; $i < 10; $i++) { 
     43                        $menu[$i]['Type'] = $instance['Type_' . $i]; 
     44                        $menu[$i]['Title'] = $instance['Title_' . $i]; 
     45                        $menu[$i]['URL'] = $instance['URL_' . $i]; 
     46                        $menu[$i]['Visible'] = $instance['Visible_' . $i]; 
     47                        $menu[$i]['Weight'] = $instance['Weight_' . $i]; 
     48                }                        
    4049                echo '<ul>'; 
    4150                for($i = 0; $i < 10; $i++) { 
    42                         $link_name = $instance['name' . $i]; 
    43                         $link_url = $instance['link' . $i]; 
    44                         if (!empty($link_name)) echo '<li><a href="' . $link_url . '">' . $link_name . '</a></li>'; 
     51                        $type = $menu[$i]['Type']; 
     52                        if ($menu[$i]['Visible'] && !empty($menu[$i]['Title']) ){ 
     53                                switch($type){ 
     54                                        case 0: 
     55                                        case 1: 
     56                                                echo '<li><a href="' . $menu[$i]['URL'] . '">' . $menu[$i]['Title'] . '</a></li>'; 
     57                                                break; 
     58                                        case 2: // Add New 
     59                                                if (is_user_logged_in()){ 
     60                                                        if ($current_user->user_level > 0){ 
     61                                                                if (xpress_is_wp_version('<','2.1') ){ 
     62                                                                        echo '<li><a href="'.get_settings('siteurl').'/wp-admin/post.php" title="'. $menu[$i]['Title'] .'">'. $menu[$i]['Title'] .'</a></li>'; 
     63                                                                } else { 
     64                                                                        echo '<li><a href="'.get_settings('siteurl').'/wp-admin/post-new.php" title="'. $menu[$i]['Title'] .'">'. $menu[$i]['Title'] .'</a></li>'; 
     65                                                                } 
     66                                                        } 
     67                                                } 
     68                                                break; 
     69                                        case 3: // User Profile 
     70                                                if (is_user_logged_in()) {  
     71                                                        echo '<li><a href="'.get_settings('siteurl').'/wp-admin/profile.php" title="' . $menu[$i]['Title'] .'">'. $menu[$i]['Title'] .'</a></li>'; 
     72                                                } 
     73                                                break; 
     74                                        case 4: // WordPress Admin 
     75                                                if (is_user_logged_in()){ 
     76                                                        if ($current_user->user_level > 7){ 
     77                                                                echo '<li><a href="'.get_settings('siteurl').'/wp-admin/" title="'. $menu[$i]['Title'] .'">'. $menu[$i]['Title'] .'</a></li>'; 
     78                                                        } 
     79                                                } 
     80                                                break; 
     81                                        case 5: // Module Admin 
     82                                                if($GLOBALS["xoopsUserIsAdmin"]){ 
     83                                                        echo '<li><a href="'.get_settings('siteurl').'/admin/index.php"  title="'. $menu[$i]['Title'] .'">'. $menu[$i]['Title'] .'</a></li>'; 
     84                                                } 
     85                                                break; 
     86                                        case 6: // XPressME Setting 
     87                                                if (is_user_logged_in()){ 
     88                                                        if ($current_user->user_level > 7){ 
     89                                                                echo '<li><a href="'.get_settings('siteurl').'/wp-admin/admin.php?page=xpressme\\xpressme.php" title="'. $menu[$i]['Title'] .'">'. $menu[$i]['Title'] .'</a></li>'; 
     90                                                        } 
     91                                                } 
     92                                                break; 
     93                                        case 7: // Display Mode Select 
     94                                                if ($xpress_config->viewer_type == 'user_select'){ 
     95                                                        echo disp_mode_set(); 
     96                                                } 
     97                                                break; 
     98                                        default: 
     99                                } 
     100                        } 
    45101                } 
     102 
    46103                echo '</ul>'; 
    47104                # After the widget 
     
    58115                 
    59116                for($i = 0; $i < 10; $i++) { 
    60                         $instance['name'. $i] = strip_tags(stripslashes($new_instance['name'. $i])); 
    61                         $instance['link' . $i] = strip_tags(stripslashes($new_instance['link'. $i])); 
     117                        $instance['Type_'. $i] = strip_tags(stripslashes($new_instance['Type_'. $i])); 
     118                        $instance['Title_' . $i] = strip_tags(stripslashes($new_instance['Title_'. $i])); 
     119                        if ($instance['Type_'. $i] < 2){ 
     120                                $instance['URL_' . $i] = strip_tags(stripslashes($new_instance['URL_'. $i])); 
     121                        } else { 
     122                                $instance['URL_' . $i] = ''; 
     123                        } 
     124                        $instance['Visible_' . $i] = strip_tags(stripslashes($new_instance['Visible_'. $i])); 
    62125                } 
    63126 
     
    71134        function form($instance){ 
    72135                global $xpress_config,$xoops_config; 
     136                 
     137                if (xpress_is_wp_version('<','2.1') ){ 
     138                        $addnew = get_settings('siteurl').'/wp-admin/post.php'; 
     139                } else { 
     140                        $addnew = get_settings('siteurl').'/wp-admin/post-new.php'; 
     141                } 
     142                $type = array(); 
     143                $type[0] = __('Link', 'xpressme'); 
     144                $type[1] = __('Site Home', 'xpressme'); 
     145                $type[2] = __('Add New', 'xpressme'); 
     146                $type[3] = __('User Profile', 'xpressme'); 
     147                $type[4] = __('WordPress Admin', 'xpressme'); 
     148                $type[5] = __('Module Admin', 'xpressme'); 
     149                $type[6] = __('XPressME Setting', 'xpressme'); 
     150                $type[7] = __('Display Mode Select', 'xpressme'); 
     151                 
     152                $auto_setting = __('Auto Setting', 'xpressme'); 
     153                 
    73154                //Defaults 
    74155                $instance = wp_parse_args( (array) $instance,  
    75156                array( 
    76                         'title'=> __('User Menu'), 
    77                         'name0' => __('Site Home'), 
    78                         'link0' => $xoops_config->xoops_url, 
    79                         'name1' => '', 
    80                         'link1' => '', 
    81                         'name2' => '', 
    82                         'link2' => '', 
    83                         'name3' => '', 
    84                         'link3' => '', 
    85                         'name4' => '', 
    86                         'link4' => '', 
    87                         'name5' => '', 
    88                         'link5' => '', 
    89                         'name6' => '', 
    90                         'link6' => '', 
    91                         'name7' => '', 
    92                         'link7' => '', 
    93                         'name8' => '', 
    94                         'link8' => '', 
    95                         'name9' => '', 
    96                         'link9' => '' 
     157                        'title'=> __('User Menu', 'xpressme'), 
     158                         
     159                        'Type_0' =>1 ,  
     160                        'Title_0' => __('Site Home', 'xpressme'), 
     161                        'URL_0' => get_xoops_url(), 
     162                        'Visible_0' => 1, 
     163                         
     164                        'Type_1' =>2 ,  
     165                        'Title_1' => __('Add New', 'xpressme'), 
     166                        'URL_1' => $auto_setting, 
     167                        'Visible_1' => 1, 
     168                                 
     169                        'Type_2' =>3 ,  
     170                        'Title_2' => __('User Profile', 'xpressme'), 
     171                        'URL_2' => __('Auto Setting', 'xpressme'), 
     172                        'Visible_2' => 1, 
     173                                 
     174                        'Weight_2' => 3, 
     175                        'Type_3' =>4 ,  
     176                        'Title_3' => __('WordPress Admin', 'xpressme'), 
     177                        'URL_3' => $auto_setting, 
     178                        'Visible_3' => 1, 
     179                                 
     180                        'Type_4' =>5 ,  
     181                        'Title_4' => __('Module Admin', 'xpressme'), 
     182                        'URL_4' => $auto_setting, 
     183                        'Visible_4' => 1, 
     184                                 
     185                        'Type_5' =>6 ,  
     186                        'Title_5' => __('XPressME Setting', 'xpressme'), 
     187                        'URL_5' => $auto_setting, 
     188                        'Visible_5' => 1, 
     189                                 
     190                        'Type_6' =>7 ,  
     191                        'Title_6' => $auto_setting, 
     192                        'URL_6' => $auto_setting, 
     193                        'Visible_6' => 1, 
     194                        'Type_7' =>0 ,  
     195                        'Title_7' => __('Link', 'xpressme'), 
     196                        'URL_7' => '', 
     197                        'Visible_7' => 0, 
     198                                 
     199                        'Type_8' =>0 ,  
     200                        'Title_8' => __('Link', 'xpressme'), 
     201                        'URL_8' => '', 
     202                        'Visible_8' => 0, 
     203                                 
     204                        'Type_9' =>0 ,  
     205                        'Title_9' => __('Link', 'xpressme'), 
     206                        'URL_9' => '', 
     207                        'Visible_9' => 0, 
    97208                ) ); 
    98  
    99                 $title = htmlspecialchars($instance['title']); 
     209                 
     210                echo ' 
     211                <script type="text/javascript"> 
     212                    function TypeSelect(type_id,title_id,url_id){ 
     213                                var type=document.getElementById(type_id); 
     214                                var title=document.getElementById(title_id); 
     215                                var link_url=document.getElementById(url_id); 
     216                                var auto_set = \''. $auto_setting .'\'; 
     217                                title.value = type[type.value].text; 
     218                                if(type.value > 1){ 
     219                                        link_url.value = auto_set; 
     220                                        link_url.disabled = true; 
     221                                        link_url.style.backgroundColor = \'transparent\'; 
     222                        } else { 
     223                                if (link_url.value == auto_set) link_url.value = \'\'; 
     224                                        link_url.disabled = false; 
     225                                        link_url.style.backgroundColor = \'#FFFFEE\'; 
     226                                } 
     227                        if(type.value == 1){ 
     228                                        link_url.value = \''.get_xoops_url() . '\'; 
     229                        } 
     230                                if(type.value == 7){ 
     231                                        title.value = auto_set; 
     232                                        title.disabled = true; 
     233                                        title.style.backgroundColor = \'transparent\'; 
     234                        } else { 
     235                                if (title.value == auto_set) title.value = \'\'; 
     236                                        title.disabled = false; 
     237                                        title.style.backgroundColor = \'#FFFFEE\'; 
     238                                } 
     239 
     240                    } 
     241                </script>'; 
    100242 
    101243                // Output the options 
    102244                echo '<p><label for="' . $this->get_field_name('title') . '">'. "\n"; 
    103                 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"; 
    104                 echo '<label>' . __('Title') . '</label>' . '<label style="margin-left:120px;">' . __('URL') . '</label>' . "\n"; 
     245                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"; 
     246                echo " 
     247                    <table width='100%' class='outer' cellpadding='4' cellspacing='1' border=\"1\" bordercolor=\"#888888\"> 
     248                    <tr valign='middle' align='center' style=\"background-color:#2E323B;color:#FFFFFF\"> 
     249                    <th width='10%'>Type</th> 
     250                    <th width='15%'>Title</th> 
     251                    <th width='10%'>URL</th> 
     252                    <th width='10px'>Visible</th> 
     253                        </tr> 
     254                "; 
    105255                for($i = 0; $i < 10; $i++) { 
    106                 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"; 
    107                 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"; 
     256                        $even = $i % 2; 
     257                        if ($even) { 
     258                                $back_color = ' style="background-color:#E3E3E3"'; 
     259                        } else { 
     260                                $back_color = ' style="background-color:#F5F5F5"'; 
     261                        } 
     262                        $text_back_color = ' style="background-color:#FFFFEE"'; 
     263                        echo "<tr $back_color>"; 
     264 
     265                        $select_arg = "'" . $this->get_field_id('Type_' . $i) . "','" . $this->get_field_id('Title_' . $i) . "','" . $this->get_field_id('URL_' . $i) . "'"; 
     266                        echo '<th><select id="' . $this->get_field_id('Type_' . $i) . '" name="' . $this->get_field_name('Type_' . $i) . '" ' .$back_color . 'onchange="TypeSelect(' . $select_arg . ')">'; 
     267                        for ($j = 0; $j < 8; $j++) { 
     268                                if ($instance['Type_'. $i] == $j) $select = ' selected="selected"'; else $select = ''; 
     269                                echo '<option ' . $select . 'value="'. $j . '">' . $type[$j] . '</option>'; 
     270                        } 
     271                        echo '</select></th>'; 
     272                         
     273                        if ($instance['Type_'. $i] == 7) { 
     274                                $title_disible = 'disabled=disabled'; 
     275                                $title_back_color = $back_color; 
     276                                $title_value = $auto_setting; 
     277 
     278                        } else { 
     279                                $title_disible = ''; 
     280                                $title_back_color = $text_back_color; 
     281                                $title_value = $instance['Title_'. $i]; 
     282                        } 
     283                        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"; 
     284                        if ($instance['Type_'. $i] > 1) { 
     285                                $url_disible = 'disabled=disabled'; 
     286                                $url_back_color = $back_color; 
     287                                $url_value = $auto_setting; 
     288                        } else { 
     289                                $url_disible = ''; 
     290                                $url_back_color = $text_back_color; 
     291                                $url_value = $instance['URL_'. $i]; 
     292                        } 
     293                        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"; 
     294                        if ($instance['Visible_'. $i]) $check = ' checked="checked"'; else $check = ''; 
     295                        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"; 
     296                        echo '</tr>'; 
    108297                } 
     298                echo    '</table>'; 
    109299        } 
    110300 
Note: See TracChangeset for help on using the changeset viewer.