Changeset 183 for trunk/blocks/tag_cloud_block.php
- Timestamp:
- Apr 20, 2009, 6:16:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/blocks/tag_cloud_block.php
r122 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_CLOUD_SMALLEST .": <input type='text' size='4' name='options[2]' value='" . $smallest . "' /><br />";37 $form .= _MB_XP RESS_CLOUD_LARGEST .": <input type='text' size='4' name='options[3]' value='" . $largest . "' /><br />";38 $form .= _MB_XP RESS_CLOUD_UNIT .": ";36 $form .= _MB_XP2_CLOUD_SMALLEST .": <input type='text' size='4' name='options[2]' value='" . $smallest . "' /><br />"; 37 $form .= _MB_XP2_CLOUD_LARGEST .": <input type='text' size='4' name='options[3]' value='" . $largest . "' /><br />"; 38 $form .= _MB_XP2_CLOUD_UNIT .": "; 39 39 $form .= "<select name='options[4]'>"; 40 40 if ($unit =='pt') … … 56 56 $form .= "</select><br/>"; 57 57 58 $form .= _MB_XP RESS_CLOUD_NUMBER .": <input type='text' size='4' name='options[5]' value='" . $number . "' /><br />";58 $form .= _MB_XP2_CLOUD_NUMBER .": <input type='text' size='4' name='options[5]' value='" . $number . "' /><br />"; 59 59 60 $form .= _MB_XP RESS_CLOUD_FORMAT .": ";60 $form .= _MB_XP2_CLOUD_FORMAT .": "; 61 61 $form .= "<select name='options[6]'>"; 62 62 if ($format =='flat') 63 $form .= "<option value='flat' selected='selected'>" . _MB_XP RESS_FLAT;63 $form .= "<option value='flat' selected='selected'>" . _MB_XP2_FLAT; 64 64 else 65 $form .= "<option value='flat'>" . _MB_XP RESS_FLAT;65 $form .= "<option value='flat'>" . _MB_XP2_FLAT; 66 66 if ($format =='list') 67 $form .= "<option value='list' selected='selected'>". _MB_XP RESS_LIST;67 $form .= "<option value='list' selected='selected'>". _MB_XP2_LIST; 68 68 else 69 $form .= "<option value='list'>". _MB_XP RESS_LIST;69 $form .= "<option value='list'>". _MB_XP2_LIST; 70 70 $form .= "</select><br/>"; 71 71 72 $form .= _MB_XP RESS_CLOUD_ORDERBY .": ";72 $form .= _MB_XP2_CLOUD_ORDERBY .": "; 73 73 $form .= "<select name='options[7]'>"; 74 74 if ($orderby =='name') 75 $form .= "<option value='name' selected='selected'>". _MB_XP RESS_TAG_NAME;75 $form .= "<option value='name' selected='selected'>". _MB_XP2_TAG_NAME; 76 76 else 77 $form .= "<option value='name'>". _MB_XP RESS_TAG_NAME;77 $form .= "<option value='name'>". _MB_XP2_TAG_NAME; 78 78 if ($orderby =='count') 79 $form .= "<option value='count' selected='selected'>". _MB_XP RESS_TAG_COUNT;79 $form .= "<option value='count' selected='selected'>". _MB_XP2_TAG_COUNT; 80 80 else 81 $form .= "<option value='count'>". _MB_XP RESS_TAG_COUNT;81 $form .= "<option value='count'>". _MB_XP2_TAG_COUNT; 82 82 $form .= "</select><br/>"; 83 83 84 $form .= _MB_XP RESS_CLOUD_ORDER .": ";84 $form .= _MB_XP2_CLOUD_ORDER .": "; 85 85 $form .= "<select name='options[8]'>"; 86 86 if ($order =='ASC') 87 $form .= "<option value='ASC' selected='selected'>" . _MB_XP RESS_SORT_ASC;87 $form .= "<option value='ASC' selected='selected'>" . _MB_XP2_SORT_ASC; 88 88 else 89 $form .= "<option value='ASC'>" . _MB_XP RESS_SORT_ASC;89 $form .= "<option value='ASC'>" . _MB_XP2_SORT_ASC; 90 90 if ($order =='DESC') 91 $form .= "<option value='DESC' selected='selected'>" . _MB_XP RESS_SORT_DESC;91 $form .= "<option value='DESC' selected='selected'>" . _MB_XP2_SORT_DESC; 92 92 else 93 $form .= "<option value='DESC'>" . _MB_XP RESS_SORT_DESC;93 $form .= "<option value='DESC'>" . _MB_XP2_SORT_DESC; 94 94 if ($order =='RAND') 95 $form .= "<option value='RAND' selected='selected'>" . _MB_XP RESS_RAND;95 $form .= "<option value='RAND' selected='selected'>" . _MB_XP2_RAND; 96 96 else 97 $form .= "<option value='RAND'>" . _MB_XP RESS_RAND;97 $form .= "<option value='RAND'>" . _MB_XP2_RAND; 98 98 $form .= "</select><br/>"; 99 99 100 $form .= _MB_XP RESS_CLOUD_EXCLUDE .": <input type='text' size='25' name='options[9]' value='" . $exclude . "' /><br />";101 $form .= _MB_XP RESS_CLOUD_INCLUDE .": <input type='text' size='25' name='options[10]' value='" . $wp_include . "' /><br />";100 $form .= _MB_XP2_CLOUD_EXCLUDE .": <input type='text' size='25' name='options[9]' value='" . $exclude . "' /><br />"; 101 $form .= _MB_XP2_CLOUD_INCLUDE .": <input type='text' size='25' name='options[10]' value='" . $wp_include . "' /><br />"; 102 102 103 103
Note: See TracChangeset
for help on using the changeset viewer.