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