Changeset 142 for trunk/blocks/recent_posts_content_block.php
- Timestamp:
- Mar 30, 2009, 2:01:07 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/blocks/recent_posts_content_block.php
r121 r142 22 22 $except = empty( $options[3] ) ? false : true ; 23 23 $except_size = ($options[4])?intval($options[4]):100; 24 $tag_select = $options[5] ; 25 $selected = array_slice($options,6); // get allowed cats 24 $date_format = empty( $options[5] ) ? '' : $options[5] ; 25 $time_format = empty( $options[6] ) ? '' : $options[6] ; 26 $tag_select = $options[7] ; 27 $selected = array_slice($options,8); // get allowed cats 26 28 27 29 $mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname; … … 35 37 $form .= yes_no_radio_option('options[3]', _MB_XPRESS_P_EXCEPT , $except) . "<br />\n"; 36 38 $form .= _MB_XPRESS_P_EXCEPT_SIZE .": <input type='text' name='options[4]' value='" . $except_size . "' /><br />\n"; 39 $form .= _MB_XPRESS_DATE_FORMAT .": <input type='text' name='options[5]' value='" . $date_format . "' /><br />\n"; 40 $form .= _MB_XPRESS_TIME_FORMAT .": <input type='text' name='options[6]' value='" . $time_format . "' /><br />\n"; 37 41 38 42 $form .= "<br />\n"; 39 $form .= _MB_XPRESS_TAGS_SELECT .": <input type='text' name='options[ 5]' value='" . $tag_select . "' /><br />\n";43 $form .= _MB_XPRESS_TAGS_SELECT .": <input type='text' name='options[7]' value='" . $tag_select . "' /><br />\n"; 40 44 $form .= _MB_XPRESS_CATS_SELECT ."<br />\n"; 41 45 $isAll = (count($selected)==0||empty($selected[0]))?true:false;
Note: See TracChangeset
for help on using the changeset viewer.