Changeset 183 for trunk/blocks/recent_comments_block.php
- Timestamp:
- Apr 20, 2009, 6:16:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/blocks/recent_comments_block.php
r142 r183 32 32 $form .= "<input type='hidden' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />\n"; 33 33 $form .= "<br />"; 34 $form .= _MB_XP RESS_COUNT .": <input type='text' name='options[2]' value='" . $disp_count . "' /><br />\n";35 $form .= _MB_XP RESS_LENGTH .": <input type='text' name='options[3]' value='" . $disp_length . "' /><br />\n";36 $form .= _MB_XP RESS_DATE_FORMAT .": <input type='text' name='options[4]' value='" . $date_format . "' /><br />\n";37 $form .= _MB_XP RESS_TIME_FORMAT .": <input type='text' name='options[5]' value='" . $time_format . "' /><br />\n";34 $form .= _MB_XP2_COUNT .": <input type='text' name='options[2]' value='" . $disp_count . "' /><br />\n"; 35 $form .= _MB_XP2_LENGTH .": <input type='text' name='options[3]' value='" . $disp_length . "' /><br />\n"; 36 $form .= _MB_XP2_DATE_FORMAT .": <input type='text' name='options[4]' value='" . $date_format . "' /><br />\n"; 37 $form .= _MB_XP2_TIME_FORMAT .": <input type='text' name='options[5]' value='" . $time_format . "' /><br />\n"; 38 38 $form .= "<br />\n"; 39 $form .= _MB_XP RESS_COM_TYPE . "<br />\n";39 $form .= _MB_XP2_COM_TYPE . "<br />\n"; 40 40 $isAll = (count($selected)==0||empty($selected[0]))?true:false; 41 41 $form .= " <select name=\"options[]\" multiple=\"multiple\">"; 42 42 $form .= "<option value=\"0\" "; 43 43 if ($isAll) $form .= " selected=\"selected\""; 44 $form .= ">"._MB_XP RESS_ALL ."</option>";44 $form .= ">"._MB_XP2_ALL ."</option>"; 45 45 46 46 $form .= "<option value=\"1\" "; 47 47 if (in_array(1, $selected)) 48 48 $form .= " selected=\"selected\""; 49 $form .= ">"._MB_XP RESS_COMMENT ."</option>";49 $form .= ">"._MB_XP2_COMMENT ."</option>"; 50 50 51 51 $form .= "<option value=\"2\" "; 52 52 if (in_array(2, $selected)) 53 53 $form .= " selected=\"selected\""; 54 $form .= ">"._MB_XP RESS_TRUCKBACK ."</option>";54 $form .= ">"._MB_XP2_TRUCKBACK ."</option>"; 55 55 56 56 $form .= "<option value=\"3\" "; 57 57 if (in_array(3, $selected)) 58 58 $form .= " selected=\"selected\""; 59 $form .= ">"._MB_XP RESS_PINGBACK ."</option>";59 $form .= ">"._MB_XP2_PINGBACK ."</option>"; 60 60 $form .= "</select><br />"; 61 61 // $form .="<br /><input type='text' size='60' name='options[5]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' />";
Note: See TracChangeset
for help on using the changeset viewer.