XPressME Integration Kit

Trac


Ignore:
Timestamp:
Sep 8, 2009, 6:18:52 PM (15 years ago)
Author:
toemon
Message:

表示設定ページに ダッシュボードのフィードにXPressMEブログとフォーラムの表示有無設定を追加
および関連言語ファイル修正
fixed #206 #207

Location:
trunk/xpressme_integration_kit/wp-content/plugins/xpressme
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/dashboard_feed.php

    r376 r379  
    66function xpress_register_dashboard_widget() { 
    77        global $wp_registered_widgets, $wp_registered_widget_controls, $wp_dashboard_control_callbacks; 
     8        global $xpress_config; 
    89 
    910        $widget_options = get_option( 'xpress_dashboard_widget_options' ); 
     
    3738        } 
    3839        update_option( 'xpress_dashboard_widget_options', $widget_options ); 
    39          
    40         wp_add_dashboard_widget( 'xpress_dashboard_primary', $widget_options['xpress_dashboard_primary']['title'], 'xpress_dashboard_primary', 'xpress_dashboard_primary_control' ); 
    41         wp_add_dashboard_widget( 'xpress_dashboard_secondary', $widget_options['xpress_dashboard_secondary']['title'], 'xpress_dashboard_secondary', 'xpress_dashboard_secondary_control'); 
     40        if ($xpress_config->is_dashboard_blog_disp){ 
     41                wp_add_dashboard_widget( 'xpress_dashboard_primary', $widget_options['xpress_dashboard_primary']['title'], 'xpress_dashboard_primary', 'xpress_dashboard_primary_control' ); 
     42        } 
     43        if ($xpress_config->is_dashboard_forum_disp){ 
     44                wp_add_dashboard_widget( 'xpress_dashboard_secondary', $widget_options['xpress_dashboard_secondary']['title'], 'xpress_dashboard_secondary', 'xpress_dashboard_secondary_control'); 
     45        } 
    4246} 
    4347 
  • trunk/xpressme_integration_kit/wp-content/plugins/xpressme/language/xpressme-ja.po

    r368 r379  
    88"Project-Id-Version: XPressME Plugin\n" 
    99"Report-Msgid-Bugs-To: \n" 
    10 "POT-Creation-Date: 2009-08-24 20:14+0900\n" 
    11 "PO-Revision-Date: 2009-08-24 20:26+0900\n" 
     10"POT-Creation-Date: 2009-09-08 18:08+0900\n" 
     11"PO-Revision-Date: 2009-09-08 18:09+0900\n" 
    1212"Last-Translator: toemon <info@toemon.com>\n" 
    1313"Language-Team: toemon <info@toemon.com>\n" 
     
    5252 
    5353#: xpressme.php:145 
    54 #: xpressme.php:234 
    55 #: xpressme.php:240 
    56 #: xpressme.php:245 
    57 #: xpressme.php:251 
    58 #: xpressme_class.php:271 
    59 #: xpressme_class.php:287 
    60 msgid "YES" 
    61 msgstr "はい" 
    62  
    63 #: xpressme.php:146 
    6454#: xpressme.php:235 
    6555#: xpressme.php:241 
    6656#: xpressme.php:246 
    6757#: xpressme.php:252 
    68 #: xpressme_class.php:272 
    69 #: xpressme_class.php:288 
     58#: xpressme_class.php:277 
     59#: xpressme_class.php:293 
     60#: xpressme_class.php:425 
     61#: xpressme_class.php:436 
     62msgid "YES" 
     63msgstr "はい" 
     64 
     65#: xpressme.php:146 
     66#: xpressme.php:236 
     67#: xpressme.php:242 
     68#: xpressme.php:247 
     69#: xpressme.php:253 
     70#: xpressme_class.php:278 
     71#: xpressme_class.php:294 
     72#: xpressme_class.php:426 
     73#: xpressme_class.php:437 
    7074msgid "NO" 
    7175msgstr "いいえ" 
    72  
    73 #: xpressme.php:154 
    74 #: xpressme.php:203 
    75 #: xpressme.php:257 
    76 msgid "Update Config" 
    77 msgstr "更新" 
    7876 
    7977#: xpressme.php:155 
    8078#: xpressme.php:204 
    8179#: xpressme.php:258 
     80msgid "Update Config" 
     81msgstr "更新" 
     82 
     83#: xpressme.php:156 
     84#: xpressme.php:205 
     85#: xpressme.php:259 
    8286msgid "Preset Config" 
    8387msgstr "プリセット" 
    8488 
    85 #: xpressme.php:187 
     89#: xpressme.php:188 
    8690msgid "XPressME Integration Setting" 
    8791msgstr "XPressME 統合設定" 
    8892 
    89 #: xpressme.php:192 
     93#: xpressme.php:193 
    9094msgid "Media Upload Base Path" 
    9195msgstr "メディアアップロードのベースパス設定" 
    9296 
    93 #: xpressme.php:193 
     97#: xpressme.php:194 
    9498msgid "Use XOOPS UPLOAD PATH" 
    9599msgstr "XOOPSのアップロードパスを使用する。" 
    96100 
    97 #: xpressme.php:194 
     101#: xpressme.php:195 
    98102msgid "USE WordPress BASE_PATH" 
    99103msgstr "WordPressのベースパスを使用する。" 
    100104 
    101 #: xpressme.php:228 
     105#: xpressme.php:229 
    102106msgid "XPressME Other Setting" 
    103107msgstr "XPressME その他の設定" 
    104108 
    105 #: xpressme.php:233 
     109#: xpressme.php:234 
    106110msgid "The change tracking of the post is preserved" 
    107111msgstr "投稿の変更履歴を有効にする。" 
    108112 
    109 #: xpressme.php:239 
     113#: xpressme.php:240 
    110114msgid "Select Multi user mode" 
    111115msgstr "マルチユーザーモードを選択" 
    112116 
    113 #: xpressme.php:244 
     117#: xpressme.php:245 
    114118msgid "Is the posts author views counted?" 
    115119msgstr "投稿者の閲覧をカウントしますか?" 
    116120 
    117 #: xpressme.php:250 
     121#: xpressme.php:251 
    118122msgid "Is SQL debugging window displayed?" 
    119123msgstr "SQLデバッグウィンドを表示しますか?" 
    120124 
    121 #: xpressme.php:274 
     125#: xpressme.php:275 
    122126msgid "XPressME Upgrade" 
    123127msgstr "XPressME アップグレード" 
    124128 
    125 #: xpressme.php:288 
     129#: xpressme.php:289 
    126130#, php-format 
    127131msgid "You are using a XPressME Integration Kit development version (%1$s). Cool! Please <a href=\"%2$s\">stay updated</a>." 
    128132msgstr "お使いの XPressME Integration Kit は開発版 (%1$s) です。すばらしい ! どうぞ<a href=\"%2$s\">最新版を使い続けてください</a>。" 
    129133 
    130 #: xpressme.php:292 
     134#: xpressme.php:293 
    131135msgid "There is a new version of XPressME Integration Kit available for upgrade" 
    132136msgstr "新しいバージョンの XPressME Integration Kit にアップグレードが可能です" 
    133137 
    134 #: xpressme.php:295 
     138#: xpressme.php:296 
    135139#, php-format 
    136140msgid "You can upgrade to version %s download the package and install it manually:" 
    137141msgstr "バージョン %s のパッケージを手動でダウンロードしてインストールすることができます。" 
    138142 
    139 #: xpressme.php:298 
     143#: xpressme.php:299 
    140144#, php-format 
    141145msgid "Download %s" 
    142146msgstr "%s をダウンロード" 
    143147 
    144 #: xpressme.php:301 
     148#: xpressme.php:302 
    145149msgid "You have the latest version of XPressME Integration Kit. You do not need to upgrade" 
    146150msgstr "最新バージョンの XPressME Integration Kit をご利用中です。アップグレードの必要はありません。" 
    147151 
    148 #: xpressme.php:305 
     152#: xpressme.php:306 
    149153#, php-format 
    150154msgid "There is no response from <a href=\"%s\">version check API</a> now. sorry, please confirm it after." 
    151155msgstr "現在、<a href=\"%s\">version check API</a>からのレスポンスがありません。 申し訳ありませんが、しばらく後で確認してください。" 
    152156 
    153 #: xpressme.php:398 
     157#: xpressme.php:425 
    154158#, php-format 
    155159msgid "XPressME Integration Kit Version %1$s is available! <a href=\"%2$s\">Please update now</a>." 
    156160msgstr "XPressME Integration Kit Version %1$s が利用可能です ! <a href=\"%2$s\">アップデートしてください</a>。" 
    157161 
    158 #: xpressme.php:400 
     162#: xpressme.php:427 
    159163#, php-format 
    160164msgid "XPressME Integration Kit Version %1$s is available! Please notify the site administrator." 
    161165msgstr "XPressME Integration Kit Version %1$s が利用可能です ! サイト管理者に連絡してください。" 
    162166 
    163 #: xpressme_class.php:52 
    164 #: xpressme_class.php:223 
     167#: xpressme_class.php:54 
     168#: xpressme_class.php:229 
    165169msgid "Older Post" 
    166170msgstr "前の投稿へ" 
    167171 
    168 #: xpressme_class.php:53 
    169 #: xpressme_class.php:226 
     172#: xpressme_class.php:55 
     173#: xpressme_class.php:232 
    170174msgid "Newer Post" 
    171175msgstr "次の投稿へ" 
    172176 
    173 #: xpressme_class.php:55 
    174 #: xpressme_class.php:229 
     177#: xpressme_class.php:57 
     178#: xpressme_class.php:235 
    175179msgid "Older Entries" 
    176180msgstr "前ページへ" 
    177181 
    178 #: xpressme_class.php:56 
    179 #: xpressme_class.php:232 
     182#: xpressme_class.php:58 
     183#: xpressme_class.php:238 
    180184msgid "Newer Entries" 
    181185msgstr "次ページへ" 
    182186 
    183 #: xpressme_class.php:70 
    184 #: xpressme_class.php:71 
    185 #: xpressme_class.php:235 
     187#: xpressme_class.php:72 
     188#: xpressme_class.php:73 
     189#: xpressme_class.php:241 
    186190msgid "Read the rest of this entry &raquo;" 
    187191msgstr "この投稿の続きを読む &raquo;" 
    188192 
    189 #: xpressme_class.php:330 
     193#: xpressme_class.php:336 
    190194msgid "Single Post Navi Setting" 
    191195msgstr "シングルポストナビの設定" 
    192196 
    193 #: xpressme_class.php:335 
    194 #: xpressme_class.php:380 
     197#: xpressme_class.php:341 
     198#: xpressme_class.php:386 
    195199msgid "Adjustment of Navi link display position" 
    196200msgstr "リンクの表示位置設定" 
    197201 
    198 #: xpressme_class.php:338 
     202#: xpressme_class.php:344 
    199203msgid "'Old Post Link' is displayed in the left, and 'Newer Post Link' is displayed in the right" 
    200204msgstr "以前の記事へのリンクを左に、より新しい記事へのリンクを右に表示" 
    201205 
    202 #: xpressme_class.php:339 
     206#: xpressme_class.php:345 
    203207msgid "'Newer Post Link' is displayed in the left, and 'Old Post Link' is displayed in the right" 
    204208msgstr "より新しい記事へのリンクを左に、古い記事へのリンクを右に表示" 
    205209 
    206 #: xpressme_class.php:345 
     210#: xpressme_class.php:351 
    207211msgid "Select Display name of PostNavi Link" 
    208212msgstr "表示するリンクテキストを選択" 
    209213 
    210 #: xpressme_class.php:348 
     214#: xpressme_class.php:354 
    211215msgid "Title of post" 
    212216msgstr "投稿記事のタイトルを表示" 
    213217 
    214 #: xpressme_class.php:349 
     218#: xpressme_class.php:355 
    215219msgid "Title of Navi" 
    216220msgstr "ナビタイトルを表示" 
    217221 
    218 #: xpressme_class.php:355 
     222#: xpressme_class.php:361 
    219223msgid "Display Navi Title of Old Post Link" 
    220224msgstr "古い記事へのナビタイトルを設定" 
    221225 
    222 #: xpressme_class.php:362 
     226#: xpressme_class.php:368 
    223227msgid "Display Navi Title of Newer Post Link" 
    224228msgstr "より新しい記事へのナビタイトルを設定" 
    225229 
    226 #: xpressme_class.php:375 
     230#: xpressme_class.php:381 
    227231msgid "Posts List Page Navi Setting" 
    228232msgstr "ポストリストページナビの設定" 
    229233 
    230 #: xpressme_class.php:383 
     234#: xpressme_class.php:389 
    231235msgid "'Old Page Link' is displayed in the left, and 'Newer Page Link' is displayed in the right" 
    232236msgstr "古いページへのリンクを左に、より新しいページへのリンクを右に表示" 
    233237 
    234 #: xpressme_class.php:384 
     238#: xpressme_class.php:390 
    235239msgid "'Newer Page Link' is displayed in the left, and 'Old Page Link' is displayed in the right" 
    236240msgstr "より新しいページへのリンクを左に、古いページへのリンクを右に表示" 
    237241 
    238 #: xpressme_class.php:390 
     242#: xpressme_class.php:396 
    239243msgid "Display Navi Title of Old Page Link" 
    240244msgstr "古いページへのナビタイトルを設定" 
    241245 
    242 #: xpressme_class.php:397 
     246#: xpressme_class.php:403 
    243247msgid "Display Navi Title of Newer Page Link" 
    244248msgstr "より新しいページへのナビタイトルを設定" 
    245249 
    246 #: xpressme_class.php:412 
     250#: xpressme_class.php:416 
     251msgid "Dashboard feed Display Setting" 
     252msgstr "ダッシュボード フィード表示設定" 
     253 
     254#: xpressme_class.php:422 
     255msgid "Display XPressMe Integration Kit Blog" 
     256msgstr "XPressME Integration Kit ブログを表示する。" 
     257 
     258#: xpressme_class.php:433 
     259msgid "Display XPressMe Integration Kit Forum" 
     260msgstr "XPressME Integration Kit フォーラムを表示する。" 
     261 
     262#: xpressme_class.php:450 
    247263msgid "Role Setting at Login" 
    248264msgstr "ログイン時の権限設定" 
    249265 
    250 #: xpressme_class.php:415 
     266#: xpressme_class.php:453 
    251267msgid "XOOPS Groupe" 
    252268msgstr "XOOPSグループ名" 
    253269 
    254 #: xpressme_class.php:415 
     270#: xpressme_class.php:453 
    255271msgid "WordPress Role" 
    256272msgstr "WordPressでの権限" 
    257273 
    258 #: xpressme_class.php:415 
     274#: xpressme_class.php:453 
    259275msgid "Role is set at each login" 
    260276msgstr "ログイン時、常に権限を更新する" 
    261277 
    262 #: xpressme_class.php:441 
    263 #: xpressme_class.php:445 
    264 #: xpressme_class.php:448 
     278#: xpressme_class.php:479 
     279#: xpressme_class.php:483 
     280#: xpressme_class.php:486 
    265281msgid "Default Role of WordPress" 
    266282msgstr "WordPressのデフォルト権限" 
    267283 
    268 #: xpressme_class.php:442 
    269 #: xpressme_class.php:446 
    270 #: xpressme_class.php:449 
     284#: xpressme_class.php:480 
     285#: xpressme_class.php:484 
     286#: xpressme_class.php:487 
    271287msgid "Group User Doesn't Register" 
    272288msgstr "ユーザ登録しない" 
    273289 
    274 #: xpressme_class.php:480 
     290#: xpressme_class.php:518 
    275291msgid "WordPress MU cannot integrate the comments." 
    276292msgstr "WordPress MUはコメント統合できません。" 
    277293 
    278 #: xpressme_class.php:482 
     294#: xpressme_class.php:520 
    279295msgid "Do Not Comment Integration." 
    280296msgstr "コメント統合しません。" 
    281297 
    282 #: xpressme_class.php:517 
     298#: xpressme_class.php:555 
    283299msgid "Comment integration with D3Forum" 
    284300msgstr "D3Forumとのコメント統合" 
    285301 
    286 #: xpressme_class.php:519 
     302#: xpressme_class.php:557 
    287303msgid "Select the forum of D3Forum that does the comment integration from the following lists." 
    288304msgstr "以下のリストからコメント統合をするD3Forumのフォーラムを選択してください。" 
    289305 
    290 #: xpressme_class.php:524 
     306#: xpressme_class.php:562 
    291307msgid "Select the Type of display of D3Forum comment." 
    292308msgstr "D3Forumの表示タイプを選択" 
    293309 
    294 #: xpressme_class.php:526 
    295 #: xpressme_class.php:529 
     310#: xpressme_class.php:564 
     311#: xpressme_class.php:567 
    296312msgid "Flat" 
    297313msgstr "フラット" 
    298314 
    299 #: xpressme_class.php:527 
    300 #: xpressme_class.php:530 
     315#: xpressme_class.php:565 
     316#: xpressme_class.php:568 
    301317msgid "Threaded" 
    302318msgstr "スレッド" 
    303319 
    304 #: xpressme_class.php:533 
     320#: xpressme_class.php:571 
    305321msgid "Select the order of display of D3Forum comment." 
    306322msgstr "D3Forumコメントの表示順を選択" 
    307323 
    308 #: xpressme_class.php:535 
    309 #: xpressme_class.php:538 
     324#: xpressme_class.php:573 
     325#: xpressme_class.php:576 
    310326msgid "DESC" 
    311327msgstr "降順" 
    312328 
    313 #: xpressme_class.php:536 
    314 #: xpressme_class.php:539 
     329#: xpressme_class.php:574 
     330#: xpressme_class.php:577 
    315331msgid "ASC" 
    316332msgstr "昇順" 
    317333 
    318 #: xpressme_class.php:542 
     334#: xpressme_class.php:580 
    319335msgid "Number of displays of D3Forum comments." 
    320336msgstr "D3Forumのコメント表示数" 
    321337 
    322 #: xpressme_class.php:545 
     338#: xpressme_class.php:583 
    323339msgid "The import and the export between Wordpress Comments and the D3Forum Posts can be done. " 
    324340msgstr "WordPressコメントとD3Forumポスト間の一括転送(エクスポート・インポート)" 
    325341 
    326 #: xpressme_class.php:546 
     342#: xpressme_class.php:584 
    327343msgid "Export to D3Forum" 
    328344msgstr "D3Forumへ一括エクスポート" 
    329345 
    330 #: xpressme_class.php:547 
     346#: xpressme_class.php:585 
    331347msgid "Import from D3Forum" 
    332348msgstr "D3Forumから一括インポート" 
    333349 
    334 #: xpressme_class.php:560 
     350#: xpressme_class.php:598 
    335351msgid "Contents Excerpt Setting" 
    336352msgstr "記事抜粋の設定" 
    337353 
    338 #: xpressme_class.php:565 
     354#: xpressme_class.php:603 
    339355msgid "Is the excerpt display done with the archive of contents?" 
    340356msgstr "記事のアーカイブで抜粋表示を行いますか?" 
    341357 
    342 #: xpressme_class.php:572 
     358#: xpressme_class.php:610 
    343359msgid "When ASCII character more than the set ratio is included, it is judged ASCII contents. " 
    344360msgstr "ASCII文字が含まれる比率が設定された値より大きい場合、ASCII文字コンテンツと判断します。" 
    345361 
    346 #: xpressme_class.php:579 
     362#: xpressme_class.php:617 
    347363msgid "Excerpt length of word for ASCII contents" 
    348364msgstr "ASCIIコンテンツの抜粋単語数" 
    349365 
    350 #: xpressme_class.php:586 
     366#: xpressme_class.php:624 
    351367msgid "Excerpt length of character for multibyte contents" 
    352368msgstr "マルチバイトコンテンツの抜粋文字数" 
    353369 
    354 #: xpressme_class.php:593 
     370#: xpressme_class.php:631 
    355371msgid "This text is displayed in the link that reads contents not excerpted.(Is not displayed for the blank.)" 
    356372msgstr "抜粋されていないコンテンツを読むためのリンクに表示されるテキスト(空白の場合リンクを表示しません)" 
    357373 
    358 #: xpressme_class.php:600 
     374#: xpressme_class.php:638 
    359375msgid "This text is displayed in the link that more tag (&lt;!--more--&gt;). " 
    360376msgstr "more タグ (&lt;!--more--&gt;)のリンクに表示されるテキスト" 
    361377 
    362 #: xpressme_class.php:612 
     378#: xpressme_class.php:650 
    363379msgid "Display Mode Setting" 
    364380msgstr "表示モード設定" 
    365381 
    366 #: xpressme_class.php:615 
     382#: xpressme_class.php:653 
    367383msgid "Select the XPressME Display Mode." 
    368384msgstr "XPressMEの表示モードの選択" 
    369385 
    370 #: xpressme_class.php:620 
     386#: xpressme_class.php:658 
    371387msgid "Xoops Mode" 
    372388msgstr "XOOPSモード" 
    373389 
    374 #: xpressme_class.php:624 
     390#: xpressme_class.php:662 
    375391msgid "WordPress Mode" 
    376392msgstr "WordPressモード" 
    377393 
    378 #: xpressme_class.php:628 
     394#: xpressme_class.php:666 
    379395msgid "User select" 
    380396msgstr "ユーザによる選択" 
    381397 
    382 #: xpressme_class.php:638 
     398#: xpressme_class.php:676 
    383399msgid "Header Meta Option" 
    384400msgstr "ヘッダメタ オプション" 
    385401 
    386 #: xpressme_class.php:643 
     402#: xpressme_class.php:681 
    387403msgid "Select the Header keyword." 
    388404msgstr "ヘッダで使用するキーワードの選択" 
    389405 
    390 #: xpressme_class.php:648 
     406#: xpressme_class.php:686 
    391407msgid "Xoops KeyWord" 
    392408msgstr "XOOPSのキーワード" 
    393409 
    394 #: xpressme_class.php:651 
     410#: xpressme_class.php:689 
    395411msgid "WordPress KeyWord" 
    396412msgstr "WordPressのキーワード" 
    397413 
    398 #: xpressme_class.php:654 
     414#: xpressme_class.php:692 
    399415msgid "WordPress & Xoops KeyWord" 
    400416msgstr "WordPressjとXOOPSのキーワード" 
    401417 
    402 #: xpressme_class.php:660 
     418#: xpressme_class.php:698 
    403419msgid "Select the Header Description." 
    404420msgstr "ヘッダで使用するディスクリプション(説明)の選択" 
    405421 
    406 #: xpressme_class.php:665 
     422#: xpressme_class.php:703 
    407423msgid "Xoops Description" 
    408424msgstr "XOOPSのディスクリプション" 
    409425 
    410 #: xpressme_class.php:668 
     426#: xpressme_class.php:706 
    411427msgid "WordPress Description" 
    412428msgstr "WordPressのディスクリプション" 
    413429 
    414 #: xpressme_class.php:671 
     430#: xpressme_class.php:709 
    415431msgid "WordPress & Xoops Description" 
    416432msgstr "WordPressとXOOPSのディスクリプション" 
    417433 
    418 #: xpressme_class.php:677 
     434#: xpressme_class.php:715 
    419435msgid "Select the Header Robots Index." 
    420436msgstr "ヘッダで使用するロボットインデックスの選択" 
    421437 
    422 #: xpressme_class.php:682 
     438#: xpressme_class.php:720 
    423439msgid "Xoops Robots Index" 
    424440msgstr "XOOPSのロボットインデックス" 
    425441 
    426 #: xpressme_class.php:685 
     442#: xpressme_class.php:723 
    427443msgid "WordPress Robots Index" 
    428444msgstr "WordPressのロボットインデックス" 
    429445 
    430 #: xpressme_class.php:714 
     446#: xpressme_class.php:752 
    431447#, php-format 
    432448msgid "Unable to create directory %s. Is its parent directory writable by the server?" 
     
    517533msgid "% TrackBack/Pingback" 
    518534msgstr "トラックバック・ピンバック % 件" 
     535 
     536#: include/dashboard_feed.php:19 
     537msgid "XPressME Integration Kit Blog" 
     538msgstr "XPressME Integration Kit ブログ" 
     539 
     540#: include/dashboard_feed.php:32 
     541msgid "XPressME Integration Kit Folum" 
     542msgstr "XPressME Integration Kit フォーラム" 
     543 
     544#: include/dashboard_feed.php:92 
     545msgid "Unknown Feed" 
     546msgstr "不明なフィード" 
    519547 
    520548#: include/functions_for_wp_old.php:21 
  • trunk/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme.php

    r376 r379  
    149149                echo                            $xpress_config->posts_page_navi_option(); 
    150150                echo                            $xpress_config->excerpt_option(); 
     151                echo                            $xpress_config->dashboard_display_option(); 
    151152                echo                    "</table>\n"; 
    152153                 
  • trunk/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme_class.php

    r350 r379  
    3333        var $meta_description_type; 
    3434        var $meta_robot_type; 
     35        var $is_dashboard_blog_disp; 
     36        var $is_dashboard_forum_disp; 
    3537        //constructor 
    3638        function XPressME_Class() 
     
    7577                $this->meta_description_type = 'xoops'; 
    7678                $this->meta_robot_type = 'xoops';        
     79                $this->is_dashboard_blog_disp = true; 
     80                $this->is_dashboard_forum_disp = true; 
    7781        } 
    7882         
     
    126130                        'meta_keyword_type' => $this->meta_keyword_type, 
    127131                        'meta_description_type' => $this->meta_description_type, 
    128                         'meta_robot_type' => $this->meta_robot_type 
     132                        'meta_robot_type' => $this->meta_robot_type, 
     133                        'is_dashboard_blog_disp' => $this->is_dashboard_blog_disp, 
     134                        'is_dashboard_forum_disp' => $this->is_dashboard_forum_disp 
    129135                ); 
    130136                if ($mode == 'add_new') { 
     
    405411 
    406412        } 
     413         
     414        function dashboard_display_option(){ 
     415                $form = ''; 
     416                $form .= '<tr><th><label for="posts_page_navi">' .__('Dashboard feed Display Setting', 'xpressme') . '</label></th>'; 
     417                $form .= "<td>\n"; 
     418                $form .= "<table>\n"; 
     419                 
     420                $form .= "<tr>\n"; 
     421                 
     422                $form .= "<td>" . __('Display XPressMe Integration Kit Blog','xpressme') . "</td>\n";            
     423                $form .= "<td>\n"; 
     424                $form .=  $this->yes_no_radio_option_sub('is_dashboard_blog_disp', 
     425                                                                                                __('YES','xpressme'), 
     426                                                                                                __('NO','xpressme') 
     427                                                                                                ); 
     428                $form .= "</td>\n"; 
     429                $form .= "</tr>\n"; 
     430                 
     431                $form .= "<tr>\n"; 
     432                 
     433                $form .= "<td>" . __('Display XPressMe Integration Kit Forum','xpressme') . "</td>\n";           
     434                $form .= "<td>\n"; 
     435                $form .=  $this->yes_no_radio_option_sub('is_dashboard_forum_disp', 
     436                                                                                                __('YES','xpressme'), 
     437                                                                                                __('NO','xpressme') 
     438                                                                                                ); 
     439                $form .= "</td>\n"; 
     440                $form .= "</tr>\n"; 
     441                 
     442                $form .= "</table></td></tr>\n"; 
     443            return $form; 
     444        } 
    407445 
    408446        function groupe_role_option(){ 
Note: See TracChangeset for help on using the changeset viewer.