Changeset 183 for trunk/blocks/archives_block.php
- Timestamp:
- Apr 20, 2009, 6:16:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/blocks/archives_block.php
r125 r183 30 30 $form .= "<input type='hidden' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />"; 31 31 $form .= "<br />"; 32 $a_month = _MB_XP RESS_ARC_MONTH ;33 $a_week = _MB_XP RESS_ARC_WEEK ;32 $a_month = _MB_XP2_ARC_MONTH ; 33 $a_week = _MB_XP2_ARC_WEEK ; 34 34 35 $form .= _MB_XP RESS_ARC_TYPE .": ";35 $form .= _MB_XP2_ARC_TYPE .": "; 36 36 $form .= "<select name='options[2]'>"; 37 37 if ($type =='yearly') 38 $form .= "<option value='yearly' selected='selected'>". _MB_XP RESS_ARC_YEAR;38 $form .= "<option value='yearly' selected='selected'>". _MB_XP2_ARC_YEAR; 39 39 else 40 $form .= "<option value='yearly'>". _MB_XP RESS_ARC_YEAR;40 $form .= "<option value='yearly'>". _MB_XP2_ARC_YEAR; 41 41 42 42 if ($type =='monthly') 43 $form .= "<option value='monthly' selected='selected'>". _MB_XP RESS_ARC_MONTH;43 $form .= "<option value='monthly' selected='selected'>". _MB_XP2_ARC_MONTH; 44 44 else 45 $form .= "<option value='monthly'>". _MB_XP RESS_ARC_MONTH;45 $form .= "<option value='monthly'>". _MB_XP2_ARC_MONTH; 46 46 47 47 if ($type =='weekly') 48 $form .= "<option value='weekly' selected='selected'>". _MB_XP RESS_ARC_WEEK;48 $form .= "<option value='weekly' selected='selected'>". _MB_XP2_ARC_WEEK; 49 49 else 50 $form .= "<option value='weekly'>". _MB_XP RESS_ARC_WEEK;50 $form .= "<option value='weekly'>". _MB_XP2_ARC_WEEK; 51 51 52 52 if ($type =='daily') 53 $form .= "<option value='daily' selected='selected'>". _MB_XP RESS_ARC_DAY;53 $form .= "<option value='daily' selected='selected'>". _MB_XP2_ARC_DAY; 54 54 else 55 $form .= "<option value='daily'>". _MB_XP RESS_ARC_DAY;55 $form .= "<option value='daily'>". _MB_XP2_ARC_DAY; 56 56 57 57 if ($type =='postbypost') 58 $form .= "<option value='postbypost' selected='selected'>". _MB_XP RESS_ARC_POST;58 $form .= "<option value='postbypost' selected='selected'>". _MB_XP2_ARC_POST; 59 59 else 60 $form .= "<option value='postbypost'>". _MB_XP RESS_ARC_POST;60 $form .= "<option value='postbypost'>". _MB_XP2_ARC_POST; 61 61 62 62 $form .= "</select><br/>"; 63 63 64 $form .= "<br />" . _MB_XP RESS_COUNT_ZERO_ALL . " <input type='text' name='options[3]' value='" . $limit . "' />";65 $form .= "<br />" . yes_no_radio_option('options[4]', _MB_XP RESS_SHOW_NUM_OF_POST , $show_post_count);66 $form .= "<br />" . yes_no_radio_option('options[5]', _MB_XP RESS_SHOW_DROP_DOWN , $drop_down);64 $form .= "<br />" . _MB_XP2_COUNT_ZERO_ALL . " <input type='text' name='options[3]' value='" . $limit . "' />"; 65 $form .= "<br />" . yes_no_radio_option('options[4]', _MB_XP2_SHOW_NUM_OF_POST , $show_post_count); 66 $form .= "<br />" . yes_no_radio_option('options[5]', _MB_XP2_SHOW_DROP_DOWN , $drop_down); 67 67 // $form .="<br /><input type='text' size='60' name='options[5]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' />"; 68 68
Note: See TracChangeset
for help on using the changeset viewer.