Changeset 183 for trunk/blocks/recent_posts_content_block.php
- Timestamp:
- Apr 20, 2009, 6:16:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/blocks/recent_posts_content_block.php
r145 r183 34 34 $form .= "<input type='hidden' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />"; 35 35 $form .= "<br />"; 36 $form .= _MB_XP RESS_COUNT .": <input type='text' name='options[2]' value='" . $disp_count . "' /><br />\n";37 $form .= yes_no_radio_option('options[3]', _MB_XP RESS_P_EXCERPT , $excerpt) . "<br />\n";38 $form .= _MB_XP RESS_P_EXCERPT_SIZE .": <input type='text' name='options[4]' value='" . $excerpt_size . "' /><br />\n";39 $form .= _MB_XP RESS_DATE_FORMAT .": <input type='text' name='options[5]' value='" . $date_format . "' /><br />\n";40 $form .= _MB_XP RESS_TIME_FORMAT .": <input type='text' name='options[6]' value='" . $time_format . "' /><br />\n";36 $form .= _MB_XP2_COUNT .": <input type='text' name='options[2]' value='" . $disp_count . "' /><br />\n"; 37 $form .= yes_no_radio_option('options[3]', _MB_XP2_P_EXCERPT , $excerpt) . "<br />\n"; 38 $form .= _MB_XP2_P_EXCERPT_SIZE .": <input type='text' name='options[4]' value='" . $excerpt_size . "' /><br />\n"; 39 $form .= _MB_XP2_DATE_FORMAT .": <input type='text' name='options[5]' value='" . $date_format . "' /><br />\n"; 40 $form .= _MB_XP2_TIME_FORMAT .": <input type='text' name='options[6]' value='" . $time_format . "' /><br />\n"; 41 41 42 42 $form .= "<br />\n"; 43 $form .= _MB_XP RESS_TAGS_SELECT .": <input type='text' name='options[7]' value='" . $tag_select . "' /><br />\n";44 $form .= _MB_XP RESS_CATS_SELECT ."<br />\n";43 $form .= _MB_XP2_TAGS_SELECT .": <input type='text' name='options[7]' value='" . $tag_select . "' /><br />\n"; 44 $form .= _MB_XP2_CATS_SELECT ."<br />\n"; 45 45 $isAll = (count($selected)==0||empty($selected[0]))?true:false; 46 46 $form .= " <select name=\"options[]\" multiple=\"multiple\">\n"; 47 47 $form .= "\t<option value=\"0\" "; 48 48 if ($isAll) $form .= " selected=\"selected\""; 49 $form .= ">"._MB_XP RESS_ALL ."</option>\n";49 $form .= ">"._MB_XP2_ALL ."</option>\n"; 50 50 ob_start(); 51 51 dropdown_cats_options('ID','asc',$selected);
Note: See TracChangeset
for help on using the changeset viewer.