XPressME Integration Kit

Trac


Ignore:
Timestamp:
Mar 31, 2009, 7:00:25 PM (15 years ago)
Author:
toemon
Message:

抜粋のロジックを、wp-multibyte-patchと同等の処理を行うようにする。 #82
XOOPS,WordPressの表示切替(ユーザ選択)機能 #11
bump Ver0.20

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/blocks/recent_posts_content_block.php

    r142 r145  
    2020                $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_recent_posts_content_block.html' : trim( $options[1] ); 
    2121                $disp_count =  ($options[2])?intval($options[2]):10; 
    22                 $except = empty( $options[3] ) ? false : true ; 
    23                 $except_size =  ($options[4])?intval($options[4]):100; 
     22                $excerpt = empty( $options[3] ) ? false : true ; 
     23                $excerpt_size =  ($options[4])?intval($options[4]):100; 
    2424                $date_format = empty( $options[5] ) ? '' : $options[5] ; 
    2525                $time_format = empty( $options[6] ) ? '' : $options[6] ; 
     
    3535                $form .= "<br />"; 
    3636                $form .= _MB_XPRESS_COUNT .": <input type='text' name='options[2]' value='" . $disp_count . "' /><br />\n"; 
    37                 $form .= yes_no_radio_option('options[3]', _MB_XPRESS_P_EXCEPT , $except) . "<br />\n"; 
    38                 $form .= _MB_XPRESS_P_EXCEPT_SIZE .": <input type='text' name='options[4]' value='" . $except_size . "' /><br />\n"; 
     37                $form .= yes_no_radio_option('options[3]', _MB_XPRESS_P_EXCERPT , $excerpt) . "<br />\n"; 
     38                $form .= _MB_XPRESS_P_EXCERPT_SIZE .": <input type='text' name='options[4]' value='" . $excerpt_size . "' /><br />\n"; 
    3939                $form .= _MB_XPRESS_DATE_FORMAT .": <input type='text' name='options[5]' value='" . $date_format . "' /><br />\n"; 
    4040                $form .= _MB_XPRESS_TIME_FORMAT .": <input type='text' name='options[6]' value='" . $time_format . "' /><br />\n"; 
Note: See TracChangeset for help on using the changeset viewer.