XPressME Integration Kit

Trac

Changeset 195


Ignore:
Timestamp:
Apr 24, 2009, 12:33:23 AM (16 years ago)
Author:
toemon
Message:

blocksディレクトリ内のポカミス修正

Location:
trunk/blocks
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/blocks/archives_block.php

    r183 r195  
    1919        { 
    2020                $mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ; 
    21                 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_block_category.html' : trim( $options[1] ); 
     21                $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_archives_block.html' : trim( $options[1] ); 
    2222                $type = empty( $options[2] ) ? 'monthly' : $options[2] ; 
    2323                $limit  = !is_numeric( $options[3] ) ? 0 : $options[3] ; 
  • trunk/blocks/authors_block.php

    r183 r195  
    1919        { 
    2020                $mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ; 
    21                 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_block_authors.html' : trim( $options[1] ); 
     21                $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_authors_block.html' : trim( $options[1] ); 
    2222                $optioncount = empty( $options[2] ) ? false : true ; 
    2323                $exclude_admin = empty( $options[3] ) ? false : true ; 
  • trunk/blocks/enhanced_block.php

    r183 r195  
    1212' ) ; 
    1313 
    14 if( ! defined( 'XPRESS_TAG_CLOUD_BLOCK_INCLUDED' ) ) { 
    15         define( 'XPRESS_TAG_CLOUD_BLOCK_INCLUDED' , 1 ) ; 
     14if( ! defined( 'XPRESS_ENHANCED_BLOCK_INCLUDED' ) ) { 
     15        define( 'XPRESS_ENHANCED_BLOCK_INCLUDED' , 1 ) ; 
    1616         
    1717        function _b_enhanced_edit($options) 
  • trunk/blocks/meta_block.php

    r183 r195  
    1818        { 
    1919                $mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ; 
    20                 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_block_meta.html' : trim( $options[1] ); 
     20                $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_meta_block.html' : trim( $options[1] ); 
    2121                $wp_link = empty( $options[2] ) ? false : true ; 
    2222                $xoops_link = empty( $options[3] ) ? false : true ; 
  • trunk/blocks/page_block.php

    r183 r195  
    1313         
    1414if( ! defined( 'XPRESS_PAGE_BLOCK_INCLUDED' ) ) { 
    15         define( 'XPRESS_page_PAGE_INCLUDED' , 1 ) ; 
     15        define( 'XPRESS_PAGE_BLOCK_INCLUDED' , 1 ) ; 
    1616 
    1717        function _b_page_edit($options) 
  • trunk/blocks/popular_posts_block.php

    r183 r195  
    1717        { 
    1818                $mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ; 
    19                 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_block_popular.html' : trim( $options[1] ); 
     19                $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_popular_posts_block.html' : trim( $options[1] ); 
    2020                $disp_count = empty( $options[2] ) ? '10' : $options[2] ; 
    2121                $show_month_range = empty( $options[3] ) ? '0' : $options[3] ; 
  • trunk/blocks/tag_cloud_block.php

    r183 r195  
    1818        { 
    1919                $mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ; 
    20                 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_block_meta.html' : trim( $options[1] ); 
     20                $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_tag_cloud_block.html' : trim( $options[1] ); 
    2121                $smallest = !is_numeric( $options[2] ) ? 8 : $options[2] ; 
    2222                $largest = !is_numeric( $options[3] ) ? 22 : $options[3] ; 
  • trunk/blocks/widget_block.php

    r194 r195  
    1818        { 
    1919                $mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ; 
    20                 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_block_widget.html' : trim( $options[1] ); 
     20                $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_widget_block.html' : trim( $options[1] ); 
    2121        $selected = array_slice($options,2); // get allowed cats 
    2222                 
Note: See TracChangeset for help on using the changeset viewer.