Changeset 121
- Timestamp:
- Mar 19, 2009, 6:14:15 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/blocks/archives_block.php
r120 r121 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 />"; 31 $form .= "<br />"; 30 32 $a_month = _MB_XPRESS_ARC_MONTH ; 31 33 $a_week = _MB_XPRESS_ARC_WEEK ; 32 34 33 $form .= "<br />" . yes_no_radio_option('options[ 1]', _MB_XPRESS_ARC_TYPE , $type,$a_month,$a_week);35 $form .= "<br />" . yes_no_radio_option('options[2]', _MB_XPRESS_ARC_TYPE , $type,$a_month,$a_week); 34 36 $form .= "<br />" . _MB_XPRESS_COUNT . " <input type='text' name='options[3]' value='" . $limit . "' />"; 35 37 $form .= "<br />" . yes_no_radio_option('options[4]', _MB_XPRESS_SHOW_NUM_OF_POST , $show_post_count); -
trunk/blocks/authors_block.php
r120 r121 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 />"; 31 $form .= "<br />"; 30 32 $form .= yes_no_radio_option('options[2]', _MB_XPRESS_SHOW_NUM_OF_POST , $optioncount); 31 33 $form .= "<br />" . yes_no_radio_option('options[3]', _MB_XPRESS_EXCLUEDEADMIN , $exclude_admin); -
trunk/blocks/calender_block.php
r120 r121 26 26 27 27 $form = "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />\n"; 28 $form .= _MB_XPRESS_SUN_COLOR .": <input type='text' name='options[1]' value='" . $sun_color . "' /><br />\n"; 29 $form .= _MB_XPRESS_SAT_COLOR .": <input type='text' name='options[2]' value='" . $sat_color . "' /><br />\n"; 28 $form .= "<input type='hidden' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />"; 29 $form .= "<br />"; 30 $form .= _MB_XPRESS_SUN_COLOR .": <input type='text' name='options[2]' value='" . $sun_color . "' /><br />\n"; 31 $form .= _MB_XPRESS_SAT_COLOR .": <input type='text' name='options[3]' value='" . $sat_color . "' /><br />\n"; 30 32 31 33 return $form; -
trunk/blocks/page_block.php
r118 r121 27 27 28 28 $form = "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />"; 29 $form .= "<input type='hidden' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />"; 30 $form .= "<br />"; 29 31 $form .= _MB_XPRESS_SORT_COLUMN ."\n"; 30 32 $form .= "<select name='options[2]' size='1'>\n"; -
trunk/blocks/popular_posts_block.php
r120 r121 27 27 28 28 $form = "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />\n"; 29 $form .= "<input type='hidden' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />"; 30 $form .= "<br />"; 29 31 $form .= _MB_XPRESS_COUNT .": <input type='text' name='options[2]' value='" . $disp_count . "' /><br />\n"; 30 32 $form .= _MB_MONTH_RANGE .": <input type='text' name='options[3]' value='" . $show_month_range . "' /><br />\n"; -
trunk/blocks/recent_comments_block.php
r120 r121 27 27 28 28 $form = "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />"; 29 $form .= "<input type='hidden' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />"; 30 $form .= "<br />"; 29 31 $form .= _MB_XPRESS_COUNT .": <input type='text' name='options[2]' value='" . $disp_count . "' /><br />"; 30 32 $form .= _MB_XPRESS_LENGTH .": <input type='text' name='options[3]' value='" . $disp_length . "' />"; -
trunk/blocks/recent_posts_content_block.php
r120 r121 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 />"; 33 $form .= "<br />"; 32 34 $form .= _MB_XPRESS_COUNT .": <input type='text' name='options[2]' value='" . $disp_count . "' /><br />\n"; 33 35 $form .= yes_no_radio_option('options[3]', _MB_XPRESS_P_EXCEPT , $except) . "<br />\n"; -
trunk/blocks/recent_posts_list_block.php
r120 r121 28 28 29 29 $form = "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />\n"; 30 $form .= "<input type='hidden' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />"; 31 $form .= "<br />"; 30 32 $form .= _MB_XPRESS_COUNT .": <input type='text' name='options[2]' value='" . $disp_count . "' /><br />\n"; 31 33 $form .= _MB_XPRESS_REDNEW_DAYS .": <input type='text' name='options[3]' value='" . $disp_red . "' /><br />\n"; -
trunk/blocks/search_block.php
r120 r121 25 25 26 26 $form = "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />"; 27 $form .= _MB_XPRESS_SEARCH_LENGTH .": <input type='text' name='options[1]' value='" . $disp_count . "' /><br />"; 27 $form .= "<input type='hidden' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />"; 28 $form .= "<br />"; 29 $form .= _MB_XPRESS_SEARCH_LENGTH .": <input type='text' name='options[2]' value='" . $disp_count . "' /><br />"; 28 30 // $form .="<br /><input type='text' size='60' name='options[2]' value='".htmlspecialchars($this_template,ENT_QUOTES)."' />"; 29 31 -
trunk/templates/source/archives_block.html
r115 r121 12 12 ************************* End of usage ************************ *}> 13 13 <{* Start Template *}> 14 14 15 <div class="xpress_block"> 16 <{$block.err_message}> 15 17 <div class="xpress_archive_block"> 16 <{$block.err_message}>17 18 <{if $block.config.is_archive_doropdown}> 18 19 <{$block.archive_dropdown}> -
trunk/templates/source/authors_block.html
r115 r121 10 10 ************************* End of usage ************************ *}> 11 11 <{* Start Template *}> 12 12 13 <div class="xpress_block"> 14 <{$block.err_message}> 13 15 <div class="xpress_authors_block"> 14 <{$block.err_message}>15 16 <ul> 16 17 <{foreach from=$block.contents item=content}> -
trunk/templates/source/calender_block.html
r115 r121 5 5 ************************* End of usage ************************ *}> 6 6 <{* Start Template *}> 7 7 8 <div class="xpress_block"> 9 <{$block.err_message}> 8 10 <div class="xpress_calender_block"> 9 <{$block.err_message}>10 11 <{$block.calender}> 11 12 </div> -
trunk/templates/source/page_block.html
r118 r121 10 10 ************************* End of usage ************************ *}> 11 11 <{* Start Template *}> 12 12 13 <div class="xpress_block"> 13 14 <{$block.err_message}> 14 <div class='xpress_page_block >15 <div class='xpress_page_block'> 15 16 <ul> 16 17 <{foreach from=$block.contents item=content}> -
trunk/templates/source/popular_posts_block.html
r115 r121 23 23 ************************* End of usage ************************ *}> 24 24 <{* Start Template *}> 25 25 26 <div class="xpress_block"> 27 <{$block.err_message}> 26 28 <div class="xpress_popular_post_block"> 27 <{$block.err_message}>28 29 <ul> 29 30 <{foreach from=$block.contents item=content}> -
trunk/templates/source/recent_comments_block.html
r115 r121 26 26 ************************* End of usage ************************ *}> 27 27 <{* Start Template *}> 28 28 29 <div class="xpress_block"> 30 <{$block.err_message}> 29 31 <div class="xpress_recent_comments_block"> 30 <{$block.err_message}>31 32 <ul> 32 33 <{foreach from=$block.contents item=content}> -
trunk/templates/source/recent_posts_content_block.html
r115 r121 24 24 ************************* End of usage ************************ *}> 25 25 <{* Start Template *}> 26 26 27 <div class="xpress_block"> 28 <{$block.err_message}> 27 29 <div class="xpress_recent_post_content_block"> 28 <{$block.err_message}>29 30 <ul> 30 31 <{foreach from=$block.contents item=content}> -
trunk/templates/source/recent_posts_list_block.html
r115 r121 24 24 ************************* End of usage ************************ *}> 25 25 <{* Start Template *}> 26 26 27 <div class="xpress_block"> 28 <{$block.err_message}> 27 29 <div class="xpress_recent_post_list_block"> 28 30 <{$block.err_message}> -
trunk/templates/source/search_block.html
r119 r121 5 5 ************************* End of usage ************************ *}> 6 6 <{* Start Template *}> 7 7 8 <div class="xpress_block"> 9 <{$block.err_message}> 8 10 <div class="xpress_search_block"> 9 <{$block.err_message}>10 11 <{$block.search}> 11 12 </div> -
trunk/wp-content/themes/xpress_default/blocks/page_block_theme.php
r118 r121 5 5 $mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ; 6 6 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_page_block.html' : trim( $options[1] ); 7 $sort_column = empty( $options[2] ) ? 0 : $options[ 1] ;7 $sort_column = empty( $options[2] ) ? 0 : $options[2] ; 8 8 $sort_order_asc = empty( $options[3] ) ? 0 : 1 ; 9 9 $show_date = empty( $options[4] ) ? 0 : 1 ; -
trunk/wp-content/themes/xpress_default/blocks/recent_posts_list_block_theme.php
r120 r121 93 93 $new_mark = ''; 94 94 if ($elapse < $red_sec ) { 95 $new_mark = '<em style="color: red; font-size: small;">New! </em>';95 $new_mark = '<em style="color: red; font-size: small;">New! </em>'; 96 96 97 97 } else if ($elapse < $green_sec) { 98 $new_mark = '<em style="color: green; font-size: small;">New! </em>';98 $new_mark = '<em style="color: green; font-size: small;">New! </em>'; 99 99 } 100 100 -
trunk/wp-content/themes/xpress_default/blocks/search_block_theme.php
r119 r121 5 5 $mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ; 6 6 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_block_search.html' : trim( $options[1] ); 7 $input_length = empty( $options[2] ) ? '18' : $options[ 1] ;7 $input_length = empty( $options[2] ) ? '18' : $options[2] ; 8 8 $mydirpath = get_xpress_dir_path(); 9 9
Note: See TracChangeset
for help on using the changeset viewer.