XPressME Integration Kit

Trac

Changeset 119


Ignore:
Timestamp:
Mar 18, 2009, 10:14:51 PM (15 years ago)
Author:
toemon
Message:

#26 検索ブロックの実装

Location:
trunk
Files:
3 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/xpress_templates_make.php

    r118 r119  
    8181                'authors_block.html', 
    8282                'page_block.html', 
     83                'search_block.html', 
    8384                'index.html', 
    8485        ); 
  • trunk/language/ja_utf8/blocks.php

    r118 r119  
    5555        define("_MB_XPRESS_MENU_ORDER","メニューオーダー"); 
    5656        define("_MB_XPRESS_SORT_COLUMN","並び順の項目"); 
    57  
     57         
     58// Search 
     59        define("_MB_XPRESS_SEARCH_LENGTH","検索BOXの長さ"); 
    5860} 
    5961?> 
  • trunk/language/ja_utf8/modinfo.php

    r118 r119  
    2525        define("_MI_XPRESS_BLOCK_AUTHORS","投稿者"); 
    2626        define("_MI_XPRESS_BLOCK_PAGE","ページ"); 
     27        define("_MI_XPRESS_BLOCK_SEARCH","検索"); 
    2728         
    2829        // Notify Categories 
  • trunk/wp-content/themes/xpress_default/blocks/block_style.css

    r116 r119  
    246246 
    247247} 
     248 
     249/*********** Search block    ***************/ 
     250.xpress_search_block { 
     251 
     252} 
  • trunk/xoops_version.php

    r118 r119  
    190190        'func_num'              => $b_no,        
    191191); 
    192  
     192$b_no++; 
     193$modversion['blocks'][$b_no] = array( 
     194        'file'                  => 'search_block.php' , 
     195        'name'                  => constant('_MI_XPRESS_BLOCK_SEARCH') , 
     196        'description'   => '' , 
     197        'show_func'     => "b_". $mydirname . "_search_show" , 
     198        'edit_func'     => "b_". $mydirname . "_search_edit" , 
     199        'options'               => $mydirname. '||18' , 
     200        'can_clone'             => false , 
     201        'func_num'              => $b_no ,       
     202); 
    193203// Notification 
    194204$modversion['hasNotification'] = 1; 
Note: See TracChangeset for help on using the changeset viewer.