XPressME Integration Kit

Trac


Ignore:
Timestamp:
Nov 20, 2009, 12:46:12 PM (15 years ago)
Author:
toemon
Message:

ブロックのバージョン管理実装 Fixes #246

Location:
trunk/xpressme_integration_kit/wp-content
Files:
20 edited

Legend:

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

    r389 r448  
    365365} 
    366366 
     367function get_block_file_path($mydirname,$file_name) 
     368{ 
     369        global $xoops_config, $xpress_config; 
     370        $mydirpath = $xoops_config->xoops_root_path . '/modules/' . $mydirname; 
     371        $select_theme = xpress_ThemeTemplate(get_xpress_theme_name($mydirname)); 
     372        $xpress_default_theme = 'xpress_default'; 
     373        $select_block = '/wp-content/themes/' . $select_theme . '/blocks/' . $file_name; 
     374        $default_block = '/wp-content/themes/xpress_default/blocks/' . $file_name; 
     375        $select_block_path = $mydirpath . $select_block; 
     376        $default_block_path =  $mydirpath . $default_block; 
     377 
     378        $block_file_data = array(); 
     379        $block_file_data['file_path'] = $default_block_path; 
     380        $block_file_data['error'] = ''; 
     381 
     382        if($select_theme != $xpress_default_theme){ 
     383                if (file_exists($select_block_path)){ 
     384                        $select_block_version = get_block_version($select_block_path); 
     385                        $default_block_version = get_block_version($default_block_path); 
     386                        if (version_compare($select_block_version,$default_block_version, "<")){ 
     387                                $block_file_data['file_path'] = $default_block_path; 
     388                                if ($xpress_config->is_block_error_display){ 
     389                                        $error_str = '<div style="color:red">'; 
     390                                        $error_str .= sprintf(__('Block file %1$s is an old version %2$s.<br />used block file %3$s of new version %4$s.','xpressme'),$select_block,$select_block_version,$default_block,$default_block_version); 
     391                                        $error_str .= '</div>'; 
     392                                        $block_file_data['error'] = $error_str; 
     393                                } 
     394                        } else { 
     395                                $block_file_data['file_path'] = $select_block_path; 
     396                                $block_file_data['error'] = ''; 
     397                        } 
     398                } 
     399        } 
     400        return $block_file_data; 
     401} 
     402 
     403function get_block_version($file_path = ''){ 
     404        $array_file = file($file_path); 
     405        $pattern = '^[\s|\/]*[B|b]lock\s+[V|v]ersion\s*[:|;]\s*([0-9|.]*)'; 
     406        $version = '0.1'; 
     407        if (empty($file_path)) return $version; 
     408        if (!file_exists($file_path)) return $version; 
     409        if (count($array_file) > 5) $file_count = 5; else $file_count = count($array_file); 
     410        for ($i = 0 ; $i < $file_count ; $i++){ 
     411                if (preg_match('/' . $pattern . '/' ,$array_file[$i],$matchs)){ 
     412                        $version = $matchs[1]; 
     413                        break; 
     414                } 
     415        } 
     416        return $version; 
     417} 
     418 
    367419?> 
  • trunk/xpressme_integration_kit/wp-content/plugins/xpressme/language/xpressme-ja.po

    r445 r448  
    88"Project-Id-Version: XPressME Plugin\n" 
    99"Report-Msgid-Bugs-To: \n" 
    10 "POT-Creation-Date: 2009-11-19 20:53+0900\n" 
    11 "PO-Revision-Date: 2009-11-19 20:53+0900\n" 
     10"POT-Creation-Date: 2009-11-20 12:51+0900\n" 
     11"PO-Revision-Date: 2009-11-20 12:51+0900\n" 
    1212"Last-Translator: toemon <info@toemon.com>\n" 
    1313"Language-Team: toemon <info@toemon.com>\n" 
     
    5656#: xpressme.php:274 
    5757#: xpressme.php:280 
    58 #: xpressme_class.php:293 
    59 #: xpressme_class.php:311 
    60 #: xpressme_class.php:442 
    61 #: xpressme_class.php:453 
     58#: xpressme_class.php:296 
     59#: xpressme_class.php:314 
     60#: xpressme_class.php:445 
     61#: xpressme_class.php:456 
    6262msgid "YES" 
    6363msgstr "はい" 
     
    6868#: xpressme.php:275 
    6969#: xpressme.php:281 
    70 #: xpressme_class.php:294 
    71 #: xpressme_class.php:312 
    72 #: xpressme_class.php:443 
    73 #: xpressme_class.php:454 
     70#: xpressme_class.php:297 
     71#: xpressme_class.php:315 
     72#: xpressme_class.php:446 
     73#: xpressme_class.php:457 
    7474msgid "NO" 
    7575msgstr "いいえ" 
     
    7777#: xpressme.php:181 
    7878#: xpressme.php:232 
    79 #: xpressme.php:286 
     79#: xpressme.php:291 
    8080msgid "Update Config" 
    8181msgstr "更新" 
     
    8383#: xpressme.php:182 
    8484#: xpressme.php:233 
    85 #: xpressme.php:287 
     85#: xpressme.php:292 
    8686msgid "Preset Config" 
    8787msgstr "プリセット" 
     
    123123msgstr "SQLデバッグウィンドを表示しますか?" 
    124124 
    125 #: xpressme_class.php:60 
    126 #: xpressme_class.php:240 
     125#: xpressme.php:284 
     126msgid "Select warning display of block file version check" 
     127msgstr "ブロックファイルのバージョンチェック時における警告表示" 
     128 
     129#: xpressme.php:285 
     130msgid "Do display" 
     131msgstr "表示する" 
     132 
     133#: xpressme.php:286 
     134msgid "Do not display" 
     135msgstr "表示しない" 
     136 
     137#: xpressme_class.php:61 
     138#: xpressme_class.php:243 
    127139msgid "Older Post" 
    128140msgstr "前の投稿へ" 
    129141 
    130 #: xpressme_class.php:61 
    131 #: xpressme_class.php:243 
     142#: xpressme_class.php:62 
     143#: xpressme_class.php:246 
    132144msgid "Newer Post" 
    133145msgstr "次の投稿へ" 
    134146 
    135 #: xpressme_class.php:63 
    136 #: xpressme_class.php:246 
     147#: xpressme_class.php:64 
     148#: xpressme_class.php:249 
    137149msgid "Older Entries" 
    138150msgstr "前ページへ" 
    139151 
    140 #: xpressme_class.php:64 
    141 #: xpressme_class.php:249 
     152#: xpressme_class.php:65 
     153#: xpressme_class.php:252 
    142154msgid "Newer Entries" 
    143155msgstr "次ページへ" 
    144156 
    145 #: xpressme_class.php:78 
    146157#: xpressme_class.php:79 
    147 #: xpressme_class.php:252 
     158#: xpressme_class.php:80 
     159#: xpressme_class.php:255 
    148160msgid "Read the rest of this entry &raquo;" 
    149161msgstr "この投稿の続きを読む &raquo;" 
    150162 
    151 #: xpressme_class.php:353 
     163#: xpressme_class.php:356 
    152164msgid "Single Post Navi Setting" 
    153165msgstr "シングルポストナビの設定" 
    154166 
    155 #: xpressme_class.php:358 
    156 #: xpressme_class.php:403 
     167#: xpressme_class.php:361 
     168#: xpressme_class.php:406 
    157169msgid "Adjustment of Navi link display position" 
    158170msgstr "リンクの表示位置設定" 
    159171 
    160 #: xpressme_class.php:361 
     172#: xpressme_class.php:364 
    161173msgid "'Old Post Link' is displayed in the left, and 'Newer Post Link' is displayed in the right" 
    162174msgstr "以前の記事へのリンクを左に、より新しい記事へのリンクを右に表示" 
    163175 
    164 #: xpressme_class.php:362 
     176#: xpressme_class.php:365 
    165177msgid "'Newer Post Link' is displayed in the left, and 'Old Post Link' is displayed in the right" 
    166178msgstr "より新しい記事へのリンクを左に、古い記事へのリンクを右に表示" 
    167179 
    168 #: xpressme_class.php:368 
     180#: xpressme_class.php:371 
    169181msgid "Select Display name of PostNavi Link" 
    170182msgstr "表示するリンクテキストを選択" 
    171183 
    172 #: xpressme_class.php:371 
     184#: xpressme_class.php:374 
    173185msgid "Title of post" 
    174186msgstr "投稿記事のタイトルを表示" 
    175187 
    176 #: xpressme_class.php:372 
     188#: xpressme_class.php:375 
    177189msgid "Title of Navi" 
    178190msgstr "ナビタイトルを表示" 
    179191 
    180 #: xpressme_class.php:378 
     192#: xpressme_class.php:381 
    181193msgid "Display Navi Title of Old Post Link" 
    182194msgstr "古い記事へのナビタイトルを設定" 
    183195 
    184 #: xpressme_class.php:385 
     196#: xpressme_class.php:388 
    185197msgid "Display Navi Title of Newer Post Link" 
    186198msgstr "より新しい記事へのナビタイトルを設定" 
    187199 
    188 #: xpressme_class.php:398 
     200#: xpressme_class.php:401 
    189201msgid "Posts List Page Navi Setting" 
    190202msgstr "ポストリストページナビの設定" 
    191203 
    192 #: xpressme_class.php:406 
     204#: xpressme_class.php:409 
    193205msgid "'Old Page Link' is displayed in the left, and 'Newer Page Link' is displayed in the right" 
    194206msgstr "古いページへのリンクを左に、より新しいページへのリンクを右に表示" 
    195207 
    196 #: xpressme_class.php:407 
     208#: xpressme_class.php:410 
    197209msgid "'Newer Page Link' is displayed in the left, and 'Old Page Link' is displayed in the right" 
    198210msgstr "より新しいページへのリンクを左に、古いページへのリンクを右に表示" 
    199211 
    200 #: xpressme_class.php:413 
     212#: xpressme_class.php:416 
    201213msgid "Display Navi Title of Old Page Link" 
    202214msgstr "古いページへのナビタイトルを設定" 
    203215 
    204 #: xpressme_class.php:420 
     216#: xpressme_class.php:423 
    205217msgid "Display Navi Title of Newer Page Link" 
    206218msgstr "より新しいページへのナビタイトルを設定" 
    207219 
    208 #: xpressme_class.php:433 
     220#: xpressme_class.php:436 
    209221msgid "Dashboard feed Display Setting" 
    210222msgstr "ダッシュボード フィード表示設定" 
    211223 
    212 #: xpressme_class.php:439 
     224#: xpressme_class.php:442 
    213225msgid "Display XPressMe Integration Kit Blog" 
    214226msgstr "XPressME Integration Kit ブログを表示する。" 
    215227 
    216 #: xpressme_class.php:450 
     228#: xpressme_class.php:453 
    217229msgid "Display XPressMe Integration Kit Forum" 
    218230msgstr "XPressME Integration Kit フォーラムを表示する。" 
    219231 
    220 #: xpressme_class.php:468 
     232#: xpressme_class.php:471 
    221233msgid "Role Setting at Login" 
    222234msgstr "ログイン時の権限設定" 
    223235 
    224 #: xpressme_class.php:471 
     236#: xpressme_class.php:474 
    225237msgid "XOOPS Groupe" 
    226238msgstr "XOOPSグループ名" 
    227239 
    228 #: xpressme_class.php:471 
     240#: xpressme_class.php:474 
    229241msgid "WordPress Role" 
    230242msgstr "WordPressでの権限" 
    231243 
    232 #: xpressme_class.php:471 
     244#: xpressme_class.php:474 
    233245msgid "Role is set at each login" 
    234246msgstr "ログイン時、常に権限を更新する" 
    235247 
    236 #: xpressme_class.php:497 
    237 #: xpressme_class.php:501 
     248#: xpressme_class.php:500 
    238249#: xpressme_class.php:504 
     250#: xpressme_class.php:507 
    239251msgid "Default Role of WordPress" 
    240252msgstr "WordPressのデフォルト権限" 
    241253 
    242 #: xpressme_class.php:498 
    243 #: xpressme_class.php:502 
     254#: xpressme_class.php:501 
    244255#: xpressme_class.php:505 
     256#: xpressme_class.php:508 
    245257msgid "Group User Doesn't Register" 
    246258msgstr "ユーザ登録しない" 
    247259 
    248 #: xpressme_class.php:518 
     260#: xpressme_class.php:521 
    249261msgid "Only the Admin can set Group Role Setting" 
    250262msgstr "管理者だけがグループ権限を設定できます。" 
    251263 
    252 #: xpressme_class.php:538 
     264#: xpressme_class.php:541 
    253265msgid "WordPress MU cannot integrate the comments." 
    254266msgstr "WordPress MUはコメント統合できません。" 
    255267 
    256 #: xpressme_class.php:540 
     268#: xpressme_class.php:543 
    257269msgid "Do Not Comment Integration." 
    258270msgstr "コメント統合しません。" 
    259271 
    260 #: xpressme_class.php:575 
     272#: xpressme_class.php:578 
    261273msgid "Comment integration with D3Forum" 
    262274msgstr "D3Forumとのコメント統合" 
    263275 
    264 #: xpressme_class.php:577 
     276#: xpressme_class.php:580 
    265277msgid "Select the forum of D3Forum that does the comment integration from the following lists." 
    266278msgstr "以下のリストからコメント統合をするD3Forumのフォーラムを選択してください。" 
    267279 
    268 #: xpressme_class.php:582 
     280#: xpressme_class.php:585 
    269281msgid "Select the Type of display of D3Forum comment." 
    270282msgstr "D3Forumの表示タイプを選択" 
    271283 
    272 #: xpressme_class.php:584 
    273284#: xpressme_class.php:587 
     285#: xpressme_class.php:590 
    274286msgid "Flat" 
    275287msgstr "フラット" 
    276288 
    277 #: xpressme_class.php:585 
    278289#: xpressme_class.php:588 
     290#: xpressme_class.php:591 
    279291msgid "Threaded" 
    280292msgstr "スレッド" 
    281293 
    282 #: xpressme_class.php:591 
     294#: xpressme_class.php:594 
    283295msgid "Select the order of display of D3Forum comment." 
    284296msgstr "D3Forumコメントの表示順を選択" 
    285297 
    286 #: xpressme_class.php:593 
    287298#: xpressme_class.php:596 
     299#: xpressme_class.php:599 
    288300msgid "DESC" 
    289301msgstr "降順" 
    290302 
    291 #: xpressme_class.php:594 
    292303#: xpressme_class.php:597 
     304#: xpressme_class.php:600 
    293305msgid "ASC" 
    294306msgstr "昇順" 
    295307 
    296 #: xpressme_class.php:600 
     308#: xpressme_class.php:603 
    297309msgid "Number of displays of D3Forum comments." 
    298310msgstr "D3Forumのコメント表示数" 
    299311 
    300 #: xpressme_class.php:603 
     312#: xpressme_class.php:606 
    301313msgid "The import and the export between Wordpress Comments and the D3Forum Posts can be done. " 
    302314msgstr "WordPressコメントとD3Forumポスト間の一括転送(エクスポート・インポート)" 
    303315 
    304 #: xpressme_class.php:604 
     316#: xpressme_class.php:607 
    305317msgid "Export to D3Forum" 
    306318msgstr "D3Forumへ一括エクスポート" 
    307319 
    308 #: xpressme_class.php:605 
     320#: xpressme_class.php:608 
    309321msgid "Import from D3Forum" 
    310322msgstr "D3Forumから一括インポート" 
    311323 
    312 #: xpressme_class.php:618 
     324#: xpressme_class.php:621 
    313325msgid "Contents Excerpt Setting" 
    314326msgstr "記事抜粋の設定" 
    315327 
    316 #: xpressme_class.php:623 
     328#: xpressme_class.php:626 
    317329msgid "Is the excerpt display done with the archive of contents?" 
    318330msgstr "記事のアーカイブで抜粋表示を行いますか?" 
    319331 
    320 #: xpressme_class.php:630 
     332#: xpressme_class.php:633 
    321333msgid "When ASCII character more than the set ratio is included, it is judged ASCII contents. " 
    322334msgstr "ASCII文字が含まれる比率が設定された値より大きい場合、ASCII文字コンテンツと判断します。" 
    323335 
    324 #: xpressme_class.php:637 
     336#: xpressme_class.php:640 
    325337msgid "Excerpt length of word for ASCII contents" 
    326338msgstr "ASCIIコンテンツの抜粋単語数" 
    327339 
    328 #: xpressme_class.php:644 
     340#: xpressme_class.php:647 
    329341msgid "Excerpt length of character for multibyte contents" 
    330342msgstr "マルチバイトコンテンツの抜粋文字数" 
    331343 
    332 #: xpressme_class.php:651 
     344#: xpressme_class.php:654 
    333345msgid "This text is displayed in the link that reads contents not excerpted.(Is not displayed for the blank.)" 
    334346msgstr "抜粋されていないコンテンツを読むためのリンクに表示されるテキスト(空白の場合リンクを表示しません)" 
    335347 
    336 #: xpressme_class.php:658 
     348#: xpressme_class.php:661 
    337349msgid "This text is displayed in the link that more tag (&lt;!--more--&gt;). " 
    338350msgstr "more タグ (&lt;!--more--&gt;)のリンクに表示されるテキスト" 
    339351 
    340 #: xpressme_class.php:670 
     352#: xpressme_class.php:673 
    341353msgid "Display Mode Setting" 
    342354msgstr "表示モード設定" 
    343355 
    344 #: xpressme_class.php:673 
     356#: xpressme_class.php:676 
    345357msgid "Select the XPressME Display Mode." 
    346358msgstr "XPressMEの表示モードの選択" 
    347359 
    348 #: xpressme_class.php:678 
     360#: xpressme_class.php:681 
    349361msgid "Xoops Mode" 
    350362msgstr "XOOPSモード" 
    351363 
    352 #: xpressme_class.php:682 
     364#: xpressme_class.php:685 
    353365msgid "WordPress Mode" 
    354366msgstr "WordPressモード" 
    355367 
    356 #: xpressme_class.php:686 
     368#: xpressme_class.php:689 
    357369msgid "User select" 
    358370msgstr "ユーザによる選択" 
    359371 
    360 #: xpressme_class.php:691 
     372#: xpressme_class.php:694 
    361373msgid "Select the theme used in the XOOPS Mode." 
    362374msgstr "XOOPSモードで使用するテーマを選択" 
    363375 
    364 #: xpressme_class.php:696 
     376#: xpressme_class.php:699 
    365377msgid "Use WordPress Selected Themes" 
    366378msgstr "WordPressで選択したテーマを使う" 
    367379 
    368 #: xpressme_class.php:714 
     380#: xpressme_class.php:717 
    369381msgid "Header Meta Option" 
    370382msgstr "ヘッダメタ オプション" 
    371383 
    372 #: xpressme_class.php:719 
     384#: xpressme_class.php:722 
    373385msgid "Select the Header keyword." 
    374386msgstr "ヘッダで使用するキーワードの選択" 
    375387 
    376 #: xpressme_class.php:724 
     388#: xpressme_class.php:727 
    377389msgid "Xoops KeyWord" 
    378390msgstr "XOOPSのキーワード" 
    379391 
    380 #: xpressme_class.php:727 
     392#: xpressme_class.php:730 
    381393msgid "WordPress KeyWord" 
    382394msgstr "WordPressのキーワード" 
    383395 
    384 #: xpressme_class.php:730 
     396#: xpressme_class.php:733 
    385397msgid "WordPress & Xoops KeyWord" 
    386398msgstr "WordPressjとXOOPSのキーワード" 
    387399 
    388 #: xpressme_class.php:736 
     400#: xpressme_class.php:739 
    389401msgid "Select the Header Description." 
    390402msgstr "ヘッダで使用するディスクリプション(説明)の選択" 
    391403 
    392 #: xpressme_class.php:741 
     404#: xpressme_class.php:744 
    393405msgid "Xoops Description" 
    394406msgstr "XOOPSのディスクリプション" 
    395407 
    396 #: xpressme_class.php:744 
     408#: xpressme_class.php:747 
    397409msgid "WordPress Description" 
    398410msgstr "WordPressのディスクリプション" 
    399411 
    400 #: xpressme_class.php:747 
     412#: xpressme_class.php:750 
    401413msgid "WordPress & Xoops Description" 
    402414msgstr "WordPressとXOOPSのディスクリプション" 
    403415 
    404 #: xpressme_class.php:753 
     416#: xpressme_class.php:756 
    405417msgid "Select the Header Robots Index." 
    406418msgstr "ヘッダで使用するロボットインデックスの選択" 
    407419 
    408 #: xpressme_class.php:758 
     420#: xpressme_class.php:761 
    409421msgid "Xoops Robots Index" 
    410422msgstr "XOOPSのロボットインデックス" 
    411423 
    412 #: xpressme_class.php:761 
     424#: xpressme_class.php:764 
    413425msgid "WordPress Robots Index" 
    414426msgstr "WordPressのロボットインデックス" 
    415427 
    416 #: xpressme_class.php:790 
     428#: xpressme_class.php:793 
    417429#, php-format 
    418430msgid "Unable to create directory %s. Is its parent directory writable by the server?" 
     
    607619msgid "Switch to WordPress mode" 
    608620msgstr "WordPressモードへ切替" 
     621 
     622#: include/xpress_common_functions.php:390 
     623#, php-format 
     624msgid "Block file %1$s is an old version %2$s.<br />used block file %3$s of new version %4$s." 
     625msgstr "ブロックファイル %1$s は古いバージョン %2$s の為、<br /> 新しいバージョン %4$s のブロックファイル %3$s を使用します。" 
    609626 
    610627#: include/xpress_upgrade.php:13 
  • trunk/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme.php

    r442 r448  
    281281                                                                                                __('NO','xpressme')              
    282282                                                                                                ); 
     283                echo                            $xpress_config->yes_no_radio_option('is_block_error_display', 
     284                                                                                                __('Select warning display of block file version check','xpressme'), 
     285                                                                                                __('Do display','xpressme'), 
     286                                                                                                __('Do not display','xpressme')          
     287                                                                                                ); 
    283288                echo                    "</table>\n"; 
    284289                 
  • trunk/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme_class.php

    r404 r448  
    3636        var $is_dashboard_forum_disp; 
    3737        var $theme_select; 
     38        var $is_block_error_display; 
    3839        //constructor 
    3940        function XPressME_Class() 
     
    8687                $this->is_dashboard_forum_disp = true; 
    8788                $this->theme_select = 'use_wordpress_select'; 
     89                $this->is_block_error_display = true; 
    8890        } 
    8991         
     
    143145                        'is_dashboard_blog_disp' => $this->is_dashboard_blog_disp, 
    144146                        'is_dashboard_forum_disp' => $this->is_dashboard_forum_disp, 
    145                         'theme_select' => $this->theme_select 
     147                        'theme_select' => $this->theme_select, 
     148                        'is_block_error_display' => $this->is_block_error_display 
    146149                ); 
    147150                if ($mode == 'add_new') { 
  • trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/archives_block_theme.php

    r125 r448  
    11<?php 
     2// Block Version: 1.0 
    23function archives_block($options) 
    34{ 
  • trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/authors_block_theme.php

    r360 r448  
    11<?php 
     2// Block Version: 1.0 
    23function authors_block($options) 
    34{ 
  • trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/calender_block_theme.php

    r272 r448  
    11<?php 
     2// Block Version: 1.0 
    23function calender_block($options) 
    34{ 
  • trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/category_block_theme.php

    r362 r448  
    11<?php 
    2  
     2// Block Version: 1.0 
    33function category_block($options) 
    44{ 
  • trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/enhanced_block_theme.php

    r138 r448  
    11<?php 
     2// Block Version: 1.0 
    23function enhanced_block($options) 
    34{ 
  • trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/meta_block_theme.php

    r360 r448  
    11<?php 
     2// Block Version: 1.0 
    23function meta_block($options) 
    34{ 
  • trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/page_block_theme.php

    r360 r448  
    11<?php 
    2  
     2// Block Version: 1.0 
    33function page_block($options) 
    44{ 
  • trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/popular_posts_block_theme.php

    r435 r448  
    11<?php 
     2// Block Version: 1.0 
    23function popular_posts_block($options) 
    34{ 
  • trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/recent_comments_block_theme.php

    r436 r448  
    11<?php 
    2 //if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ; 
    3  
     2// Block Version: 1.0 
    43function recent_comments_block($options) 
    54{ 
  • trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/recent_posts_content_block_theme.php

    r435 r448  
    11<?php 
    2 //if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ; 
    3  
     2// Block Version: 1.0 
    43function recent_posts_content_block($options) 
    54{ 
  • trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/recent_posts_list_block_theme.php

    r435 r448  
    11<?php 
     2// Block Version: 1.0 
    23function recent_posts_list_block($options) 
    34{ 
  • trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/search_block_theme.php

    r121 r448  
    11<?php 
    2  
     2// Block Version: 1.0 
    33function search_block($options) 
    44{ 
  • trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/sidebar_block_theme.php

    r254 r448  
    11<?php 
     2// Block Version: 1.0 
    23function sidebar_block($options) 
    34{ 
  • trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/tag_cloud_block_theme.php

    r252 r448  
    11<?php 
     2// Block Version: 1.0 
    23function tag_cloud_block($options) 
    34{ 
  • trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/widget_block_theme.php

    r437 r448  
    11<?php 
     2// Block Version: 1.0 
    23function widget_block($options) 
    34{ 
Note: See TracChangeset for help on using the changeset viewer.