Plugin Directory

Changeset 170980


Ignore:
Timestamp:
11/06/2009 03:33:32 PM (16 years ago)
Author:
sakuratan
Message:

`Display your Twitter icon' option added.

Location:
nitwpress/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • nitwpress/trunk/nitwpress.php

    r158647 r170980  
    66Author: sakuratan
    77Author URI: http://sakuratan.biz/
    8 Version: 0.9.2.5
     8Version: 0.9.2.6
    99*/
    1010
     
    4646    'interval' => 15,
    4747    'logo' => true,
     48    'icon' => true,
    4849    'iconframe' => false,
    4950    'iconframecolor' => '#c0c0c0',
     
    6364
    6465    $options['logo'] = false;
     66    $options['icon'] = false;
    6567    $options['iconframe'] = false;
    6668    $options['profile_background_tile'] = false;
     
    7072    if ( array_key_exists( $nkey, $newvars ) ) {
    7173        $newvalue = $newvars[$nkey];
    72         if ( ( $key == 'logo' || $key == 'iconframe' ||
     74        if ( ( $key == 'logo' || $key == 'icon' || $key == 'iconframe' ||
    7375           $key == 'profile_background_tile' ) && $newvalue ) {
    7476        $options[$key] = true;
     
    145147    if ( !$options['logo'] ) {
    146148        $_flashvars['disablelogo'] = '1';
     149    }
     150
     151    if ( !$options['icon'] ) {
     152        $_flashvars['disableicon'] = '1';
    147153    }
    148154
     
    251257
    252258  <p><?php _e( '(Use hash color code (e.g. #ffffff) or &quot;auto&quot; for these fields. HTML color name (e.g. white) is not acceptable. The widget will read default font and link colors from Twitter API if you choose &quot;auto&quot;.)', 'nitwpress', 'nitwpress' ) ?></p>
    253   <h3><?php _e( 'Frame for icon image', 'nitwpress' ) ?></h3>
     259
     260  <h3><?php _e( 'Icon', 'nitwpress' ) ?></h3>
     261
     262  <p><input type="checkbox" id="nitwpress_icon" name="nitwpress_icon" value="1" <?php if ( $options['icon'] ) { echo 'checked="checked"'; }?> />
     263  <label for="nitwpress_icon"><?php _e( 'Display your Twitter icon.', 'nitwpress' ) ?></label></p>
    254264
    255265  <p><input type="checkbox" id="nitwpress_iconframe_checkbox" name="nitwpress_iconframe" value="1" <?php if ( $options['iconframe'] ) { echo 'checked="checked"'; } ?> />
  • nitwpress/trunk/po/nitwpress-ja.po

    r158607 r170980  
    99"Project-Id-Version: NiTwPress\n"
    1010"Report-Msgid-Bugs-To: http://wordpress.org/tag/nitwpress\n"
    11 "POT-Creation-Date: 2009-09-28 23:49+0900\n"
    12 "PO-Revision-Date: 2009-09-29 00:10+0900\n"
     11"POT-Creation-Date: 2009-11-06 23:49+0900\n"
     12"POT-Creation-Date: 2009-11-06 23:54+0900\n"
    1313"Last-Translator: sakuratan <[email protected]>\n"
    1414"Language-Team: \n"
     
    1717"Content-Transfer-Encoding: 8bit\n"
    1818
    19 #: nitwpress.php:215
     19#: nitwpress.php:221
    2020msgid "Twitter account"
    2121msgstr "Twitter アカウント"
    2222
    23 #: nitwpress.php:218
     23#: nitwpress.php:224
    2424msgid "Username:"
    2525msgstr "ユーザー"
    2626
    27 #: nitwpress.php:223
     27#: nitwpress.php:229
    2828msgid "Password:"
    2929msgstr "パスワード"
    3030
    31 #: nitwpress.php:228
     31#: nitwpress.php:234
    3232msgid "Widget title"
    3333msgstr "ウィジェットタイトル"
    3434
    35 #: nitwpress.php:232
     35#: nitwpress.php:238
    3636msgid "(The widget suppress the widget title when this field is empty.)"
    3737msgstr "(省略するとウィジェットのタイトルは表示されません)"
    3838
    39 #: nitwpress.php:234
     39#: nitwpress.php:240
    4040msgid "CSS for widget content"
    4141msgstr "ウィジェットコンテントの CSS"
    4242
    43 #: nitwpress.php:237
     43#: nitwpress.php:243
    4444msgid ""
    4545"(The widget content area have &quot;nitwpress_widget_content&quot; class. "
     
    4949"この項目を使用せずにスタイルを変更することもできます)"
    5050
    51 #: nitwpress.php:239
     51#: nitwpress.php:245
    5252msgid "Font colors"
    5353msgstr "フォントの色"
    5454
    55 #: nitwpress.php:243
     55#: nitwpress.php:249
    5656msgid "Color of comments:"
    5757msgstr "コメント"
    5858
    59 #: nitwpress.php:247
     59#: nitwpress.php:253
    6060msgid "Color of links:"
    6161msgstr "リンク"
    6262
    63 #: nitwpress.php:252
     63#: nitwpress.php:258
    6464msgid ""
    6565"(Use hash color code (e.g. #ffffff) or &quot;auto&quot; for these fields. "
     
    7070"&quot;auto&quot; を指定した場合、Twitter API よりデフォルトの色を取得します)"
    7171
    72 #: nitwpress.php:253
    73 msgid "Frame for icon image"
    74 msgstr "アイコン画像の枠"
     72#: nitwpress.php:260
     73msgid "Icon"
     74msgstr "アイコン"
    7575
    76 #: nitwpress.php:256
     76#: nitwpress.php:263
     77msgid "Display your Twitter icon."
     78msgstr "アイコン画像を表示する"
     79
     80#: nitwpress.php:266
    7781msgid "Enable icon image frame."
    7882msgstr "アイコン画像に枠を付ける"
    7983
    80 #: nitwpress.php:257
     84#: nitwpress.php:267
    8185msgid "Color of icon frame:"
    8286msgstr "枠の色"
    8387
    84 #: nitwpress.php:258
     88#: nitwpress.php:268
    8589msgid ""
    8690"(Use hash color code (e.g. #ffffff) for this field. HTML color name (e.g. "
     
    8993"white などの HTML 色名は使用できません)"
    9094
    91 #: nitwpress.php:260
     95#: nitwpress.php:270
    9296msgid "Background Image"
    9397msgstr "背景画像"
    9498
    95 #: nitwpress.php:262
     99#: nitwpress.php:272
    96100msgid ""
    97101"Enter image URL if you want to use different background image from Twitter"
    98102msgstr "Twitter とは異なる背景画像を使用する場合は、以下に画像ファイルの URL を入力してください"
    99103
    100 #: nitwpress.php:266
     104#: nitwpress.php:276
    101105msgid "Tile background image"
    102106msgstr "背景画像をタイル化する"
    103107
    104 #: nitwpress.php:268
     108#: nitwpress.php:278
    105109msgid "Miscellaneous options"
    106110msgstr "その他のオプション"
    107111
    108 #: nitwpress.php:270
     112#: nitwpress.php:280
    109113msgid "Cache updating interval:"
    110114msgstr "キャッシュ更新インターバル:"
    111115
    112 #: nitwpress.php:270
     116#: nitwpress.php:280
    113117msgid "(minutes)"
    114118msgstr "(分)"
    115119
    116 #: nitwpress.php:273
     120#: nitwpress.php:283
    117121msgid "Display NiTwPress logo on Flash."
    118122msgstr "二TwPress ロゴを Flash に表示する"
    119123
    120 #: nitwpress.php:279
     124#: nitwpress.php:289
    121125#, php-format
    122126msgid ""
     
    126130"問題を解決してください。"
    127131
    128 #: nitwpress.php:283
     132#: nitwpress.php:293
    129133msgid "Missing cURL module."
    130134msgstr "cURL モジュールが必要です。"
    131135
    132 #: nitwpress.php:323
     136#: nitwpress.php:333
    133137msgid "Schedule for NiTwPress plugins"
    134138msgstr ""
  • nitwpress/trunk/po/nitwpress.pot

    r158607 r170980  
    99"Project-Id-Version: PACKAGE VERSION\n"
    1010"Report-Msgid-Bugs-To: http://wordpress.org/tag/nitwpress\n"
    11 "POT-Creation-Date: 2009-09-28 23:49+0900\n"
     11"POT-Creation-Date: 2009-11-06 23:49+0900\n"
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1717"Content-Transfer-Encoding: 8bit\n"
    1818
    19 #: nitwpress.php:215
     19#: nitwpress.php:221
    2020msgid "Twitter account"
    2121msgstr ""
    2222
    23 #: nitwpress.php:218
     23#: nitwpress.php:224
    2424msgid "Username:"
    2525msgstr ""
    2626
    27 #: nitwpress.php:223
     27#: nitwpress.php:229
    2828msgid "Password:"
    2929msgstr ""
    3030
    31 #: nitwpress.php:228
     31#: nitwpress.php:234
    3232msgid "Widget title"
    3333msgstr ""
    3434
    35 #: nitwpress.php:232
     35#: nitwpress.php:238
    3636msgid "(The widget suppress the widget title when this field is empty.)"
    3737msgstr ""
    3838
    39 #: nitwpress.php:234
     39#: nitwpress.php:240
    4040msgid "CSS for widget content"
    4141msgstr ""
    4242
    43 #: nitwpress.php:237
     43#: nitwpress.php:243
    4444msgid ""
    4545"(The widget content area have &quot;nitwpress_widget_content&quot; class. "
     
    4747msgstr ""
    4848
    49 #: nitwpress.php:239
     49#: nitwpress.php:245
    5050msgid "Font colors"
    5151msgstr ""
    5252
    53 #: nitwpress.php:243
     53#: nitwpress.php:249
    5454msgid "Color of comments:"
    5555msgstr ""
    5656
    57 #: nitwpress.php:247
     57#: nitwpress.php:253
    5858msgid "Color of links:"
    5959msgstr ""
    6060
    61 #: nitwpress.php:252
     61#: nitwpress.php:258
    6262msgid ""
    6363"(Use hash color code (e.g. #ffffff) or &quot;auto&quot; for these fields. "
     
    6666msgstr ""
    6767
    68 #: nitwpress.php:253
    69 msgid "Frame for icon image"
     68#: nitwpress.php:260
     69msgid "Icon"
    7070msgstr ""
    7171
    72 #: nitwpress.php:256
     72#: nitwpress.php:263
     73msgid "Display your Twitter icon."
     74msgstr ""
     75
     76#: nitwpress.php:266
    7377msgid "Enable icon image frame."
    7478msgstr ""
    7579
    76 #: nitwpress.php:257
     80#: nitwpress.php:267
    7781msgid "Color of icon frame:"
    7882msgstr ""
    7983
    80 #: nitwpress.php:258
     84#: nitwpress.php:268
    8185msgid ""
    8286"(Use hash color code (e.g. #ffffff) for this field. HTML color name (e.g. "
     
    8488msgstr ""
    8589
    86 #: nitwpress.php:260
     90#: nitwpress.php:270
    8791msgid "Background Image"
    8892msgstr ""
    8993
    90 #: nitwpress.php:262
     94#: nitwpress.php:272
    9195msgid ""
    9296"Enter image URL if you want to use different background image from Twitter"
    9397msgstr ""
    9498
    95 #: nitwpress.php:266
     99#: nitwpress.php:276
    96100msgid "Tile background image"
    97101msgstr ""
    98102
    99 #: nitwpress.php:268
     103#: nitwpress.php:278
    100104msgid "Miscellaneous options"
    101105msgstr ""
    102106
    103 #: nitwpress.php:270
     107#: nitwpress.php:280
    104108msgid "Cache updating interval:"
    105109msgstr ""
    106110
    107 #: nitwpress.php:270
     111#: nitwpress.php:280
    108112msgid "(minutes)"
    109113msgstr ""
    110114
    111 #: nitwpress.php:273
     115#: nitwpress.php:283
    112116msgid "Display NiTwPress logo on Flash."
    113117msgstr ""
    114118
    115 #: nitwpress.php:279
     119#: nitwpress.php:289
    116120#, php-format
    117121msgid ""
     
    120124msgstr ""
    121125
    122 #: nitwpress.php:283
     126#: nitwpress.php:293
    123127msgid "Missing cURL module."
    124128msgstr ""
    125129
    126 #: nitwpress.php:323
     130#: nitwpress.php:333
    127131msgid "Schedule for NiTwPress plugins"
    128132msgstr ""
  • nitwpress/trunk/readme.txt

    r158647 r170980  
    55Requires at least: 2.7.0
    66Tested up to: 2.8.4
    7 Stable tag: 0.9.2.5
     7Stable tag: 0.9.2.6
    88
    99A Twitter client widget.
     
    2222
    2323== Changelog ==
     24
     25= 0.9.2.6 =
     26* `Display your Twitter icon' option added.
    2427
    2528= 0.9.2.5 =
Note: See TracChangeset for help on using the changeset viewer.