XPressME Integration Kit

Trac

Changeset 89 for trunk/blocks


Ignore:
Timestamp:
Feb 5, 2009, 5:48:55 PM (15 years ago)
Author:
toemon
Message:

モジュール複製対応のブロック構成にしておく

Location:
trunk/blocks
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/blocks/recent_comments_block.php

    r46 r89  
    2121                $disp_length = empty( $options[2] ) ? '30' : $options[2] ; 
    2222            $selected = array_slice($options,3); // get allowed cats 
    23                 $this_template = empty( $options[4] ) ? 'db:'.$mydirname.'_block_comments.html' : trim( $options[4] ); 
     23                $this_template = empty( $options[4] ) ? 'db:'.$mydirname.'_block_recent_comments.html' : trim( $options[4] ); 
    2424                $mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname; 
    2525 
  • trunk/blocks/recent_posts_content_block.php

    r54 r89  
    2323                $tag_select = $options[4] ; 
    2424            $selected = array_slice($options,5); // get allowed cats 
    25                 $this_template = empty( $options[6] ) ? 'db:'.$mydirname.'_block_content.html' : trim( $options[5] ); 
     25                $this_template = empty( $options[6] ) ? 'db:'.$mydirname.'_block_recent_posts_content.html' : trim( $options[5] ); 
    2626 
    2727                $mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname; 
Note: See TracChangeset for help on using the changeset viewer.