Changeset 145 for trunk/blocks/recent_posts_content_block.php
- Timestamp:
- Mar 31, 2009, 7:00:25 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/blocks/recent_posts_content_block.php
r142 r145 20 20 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_recent_posts_content_block.html' : trim( $options[1] ); 21 21 $disp_count = ($options[2])?intval($options[2]):10; 22 $exce pt = empty( $options[3] ) ? false : true ;23 $exce pt_size = ($options[4])?intval($options[4]):100;22 $excerpt = empty( $options[3] ) ? false : true ; 23 $excerpt_size = ($options[4])?intval($options[4]):100; 24 24 $date_format = empty( $options[5] ) ? '' : $options[5] ; 25 25 $time_format = empty( $options[6] ) ? '' : $options[6] ; … … 35 35 $form .= "<br />"; 36 36 $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_EXCE PT , $except) . "<br />\n";38 $form .= _MB_XPRESS_P_EXCE PT_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"; 39 39 $form .= _MB_XPRESS_DATE_FORMAT .": <input type='text' name='options[5]' value='" . $date_format . "' /><br />\n"; 40 40 $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.