Changeset 792 for branches/Ver2.4/xpressme_integration_kit/blocks/global_recent_posts_list_block.php
- Timestamp:
- Oct 7, 2011, 8:59:37 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Ver2.4/xpressme_integration_kit/blocks/global_recent_posts_list_block.php
r537 r792 17 17 { 18 18 $mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ; 19 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_ recent_posts_list_block.html' : trim( $options[1] );19 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_global_recent_posts_list_block.html' : trim( $options[1] ); 20 20 $disp_count = empty( $options[2] ) ? '10' : $options[2] ; 21 21 $disp_red = empty( $options[3] ) ? '1' : $options[3] ; … … 23 23 $date_format = empty( $options[5] ) ? '' : $options[5] ; 24 24 $time_format = empty( $options[6] ) ? '' : $options[6] ; 25 $Shown_for_each_blog = empty( $options[7] ) ? false : true ; 26 $exclusion_blog = empty( $options[8] ) ? '0' : $options[8] ; 25 27 26 28 $mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname; … … 37 39 $form .= _MB_XP2_DATE_FORMAT .": <input type='text' name='options[5]' value='" . $date_format . "' /><br />\n"; 38 40 $form .= _MB_XP2_TIME_FORMAT .": <input type='text' name='options[6]' value='" . $time_format . "' /><br />\n"; 41 $form .= yes_no_radio_option('options[7]', _MB_XP2_SHOWN_FOR_EACH_BLOG , $Shown_for_each_blog) . "<br />\n"; 42 $form .= blog_select('options[8]' , $exclusion_blog,true); 39 43 40 44 return $form;
Note: See TracChangeset
for help on using the changeset viewer.