Changeset 463 for trunk/xpressme_integration_kit/blocks
- Timestamp:
- Nov 27, 2009, 3:27:01 PM (15 years ago)
- Location:
- trunk/xpressme_integration_kit/blocks
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/blocks/archives_block.php
r232 r463 28 28 29 29 $form = "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />"; 30 $form .= "<input type='hidden' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />";30 $form .= _MB_XP2_THISTEMPLATE . "<input type='text' size='50' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />"; 31 31 $form .= "<br />"; 32 32 $a_month = _MB_XP2_ARC_MONTH ; … … 62 62 $form .= "</select><br/>"; 63 63 64 $form .= "<br />" . _MB_XP2_COUNT_ZERO_ALL . " <input type='text' name='options[3]' value='" . $limit . "' />";64 $form .= "<br />" . _MB_XP2_COUNT_ZERO_ALL . " <input type='text' size='3' name='options[3]' value='" . $limit . "' />"; 65 65 $form .= "<br />" . yes_no_radio_option('options[4]', _MB_XP2_SHOW_NUM_OF_POST , $show_post_count); 66 66 $form .= "<br />" . yes_no_radio_option('options[5]', _MB_XP2_SHOW_DROP_DOWN , $drop_down); -
trunk/xpressme_integration_kit/blocks/authors_block.php
r232 r463 28 28 29 29 $form = "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />"; 30 $form .= "<input type='hidden' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />";30 $form .= _MB_XP2_THISTEMPLATE . "<input type='text' size='50' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />"; 31 31 $form .= "<br />"; 32 32 $form .= yes_no_radio_option('options[2]', _MB_XP2_SHOW_NUM_OF_POST , $optioncount); -
trunk/xpressme_integration_kit/blocks/calender_block.php
r232 r463 26 26 27 27 $form = "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />\n"; 28 $form .= "<input type='hidden' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />";28 $form .= _MB_XP2_THISTEMPLATE . "<input type='text' size='50' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />"; 29 29 $form .= "<br />"; 30 30 $form .= _MB_XP2_SUN_COLOR .": <input type='text' name='options[2]' value='" . $sun_color . "' /><br />\n"; -
trunk/xpressme_integration_kit/blocks/category_block.php
r232 r463 35 35 36 36 $form = "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' />"; 37 $form .= "<input type='hidden' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />";37 $form .= _MB_XP2_THISTEMPLATE . "<input type='text' size='50' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />"; 38 38 $form .= "<br />"; 39 39 $form .= _MB_XP2_CAT_ALL_STR . " <input type='text' name='options[2]' value='" . $show_option_all . "' /><br />"; -
trunk/xpressme_integration_kit/blocks/enhanced_block.php
r232 r463 19 19 $mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ; 20 20 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_enhanced_block.html' : trim( $options[1] ); 21 $form .= _MB_XP2_THISTEMPLATE . "<input type='text' size='50' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />"; 21 22 $include_file = empty( $options[2] ) ? '' : $options[2] ; 22 23 -
trunk/xpressme_integration_kit/blocks/meta_block.php
r232 r463 31 31 32 32 $form = "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />"; 33 $form .= "<input type='hidden' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />";33 $form .= _MB_XP2_THISTEMPLATE . "<input type='text' size='50' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />"; 34 34 $form .= "<br />"; 35 35 $form .= yes_no_radio_option('options[2]', _MB_XP2_META_WP_LINK , $wp_link) . "<br />\n"; -
trunk/xpressme_integration_kit/blocks/page_block.php
r386 r463 35 35 36 36 $form = "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />"; 37 $form .= "<input type='hidden' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />";37 $form .= _MB_XP2_THISTEMPLATE . "<input type='text' size='50' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />"; 38 38 $form .= "<br />"; 39 39 $form .= _MB_XP2_PAGE_ORDERBY .": "; -
trunk/xpressme_integration_kit/blocks/popular_posts_block.php
r435 r463 30 30 31 31 $form = "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />\n"; 32 $form .= "<input type='hidden' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />\n";32 $form .= _MB_XP2_THISTEMPLATE . "<input type='text' size='50' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />"; 33 33 $form .= "<br />\n"; 34 34 $form .= _MB_XP2_COUNT .": <input type='text' name='options[2]' value='" . $disp_count . "' /><br />\n"; -
trunk/xpressme_integration_kit/blocks/recent_comments_block.php
r436 r463 30 30 31 31 $form = "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />\n"; 32 $form .= "<input type='hidden' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />\n";32 $form .= _MB_XP2_THISTEMPLATE . "<input type='text' size='50' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />"; 33 33 $form .= "<br />"; 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";34 $form .= _MB_XP2_COUNT .": <input type='text' size='3' name='options[2]' value='" . $disp_count . "' /><br />\n"; 35 $form .= _MB_XP2_LENGTH .": <input type='text' size='3' name='options[3]' value='" . $disp_length . "' /><br />\n"; 36 36 $form .= _MB_XP2_DATE_FORMAT .": <input type='text' name='options[4]' value='" . $date_format . "' /><br />\n"; 37 37 $form .= _MB_XP2_TIME_FORMAT .": <input type='text' name='options[5]' value='" . $time_format . "' /><br />\n"; -
trunk/xpressme_integration_kit/blocks/recent_posts_content_block.php
r435 r463 34 34 35 35 $form = "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />\n"; 36 $form .= "<input type='hidden' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />";37 $form .= _MB_XP2_COUNT .": <input type='text' name='options[2]' value='" . $disp_count . "' /><br />\n";36 $form .= _MB_XP2_THISTEMPLATE . "<input type='text' size='50' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />"; 37 $form .= _MB_XP2_COUNT .": <input type='text' size='3' name='options[2]' value='" . $disp_count . "' /><br />\n"; 38 38 $form .= yes_no_radio_option('options[3]', _MB_XP2_P_EXCERPT , $excerpt) . "<br />\n"; 39 39 $form .= _MB_XP2_P_EXCERPT_SIZE .": <input type='text' name='options[4]' value='" . $excerpt_size . "' /><br />\n"; -
trunk/xpressme_integration_kit/blocks/recent_posts_list_block.php
r435 r463 31 31 32 32 $form = "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />\n"; 33 $form .= "<input type='hidden' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />\n";33 $form .= _MB_XP2_THISTEMPLATE . "<input type='text' size='50' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />"; 34 34 $form .= "<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";35 $form .= _MB_XP2_COUNT .": <input type='text' size='3' name='options[2]' value='" . $disp_count . "' /><br />\n"; 36 $form .= _MB_XP2_REDNEW_DAYS .": <input type='text' size='3' name='options[3]' value='" . $disp_red . "' /><br />\n"; 37 $form .= _MB_XP2_GREENNEW_DAYS .": <input type='text' size='3' name='options[4]' value='" . $disp_green . "' /><br />\n"; 38 38 $form .= _MB_XP2_DATE_FORMAT .": <input type='text' name='options[5]' value='" . $date_format . "' /><br />\n"; 39 39 $form .= _MB_XP2_TIME_FORMAT .": <input type='text' name='options[6]' value='" . $time_format . "' /><br />\n"; -
trunk/xpressme_integration_kit/blocks/search_block.php
r232 r463 25 25 26 26 $form = "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />"; 27 $form .= "<input type='hidden' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />";27 $form .= _MB_XP2_THISTEMPLATE . "<input type='text' size='50' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />"; 28 28 $form .= "<br />"; 29 $form .= _MB_XP2_SEARCH_LENGTH .": <input type='text' name='options[2]' value='" . $disp_count . "' /><br />";29 $form .= _MB_XP2_SEARCH_LENGTH .": <input type='text' size='3' name='options[2]' value='" . $disp_count . "' /><br />"; 30 30 // $form .="<br /><input type='text' size='60' name='options[2]' value='".htmlspecialchars($this_template,ENT_QUOTES)."' />"; 31 31 -
trunk/xpressme_integration_kit/blocks/tag_cloud_block.php
r232 r463 32 32 33 33 $form = "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />"; 34 $form .= "<input type='hidden' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />";34 $form .= _MB_XP2_THISTEMPLATE . "<input type='text' size='50' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />"; 35 35 $form .= "<br />"; 36 36 $form .= _MB_XP2_CLOUD_SMALLEST .": <input type='text' size='4' name='options[2]' value='" . $smallest . "' /><br />"; -
trunk/xpressme_integration_kit/blocks/widget_block.php
r437 r463 46 46 47 47 $form = "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />"; 48 $form .= "<input type='hidden' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />";48 $form .= _MB_XP2_THISTEMPLATE . "<input type='text' size='50' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />"; 49 49 $form .= "<br />" . yes_no_radio_option('options[2]', _MB_XP2_WIDGET_TITLE_SHOW , $title_show); 50 50 $form .= "<br />";
Note: See TracChangeset
for help on using the changeset viewer.