XPressME Integration Kit

Trac


Ignore:
Timestamp:
Mar 19, 2009, 6:14:15 PM (15 years ago)
Author:
toemon
Message:

ブロックオプションのうち$this_templateをポストしていなかったため、オプション変更時にデータずれが発生するバグを修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/blocks/search_block.php

    r120 r121  
    2525                 
    2626                $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 />"; 
    2830//          $form .="<br /><input type='text' size='60' name='options[2]' value='".htmlspecialchars($this_template,ENT_QUOTES)."' />"; 
    2931 
Note: See TracChangeset for help on using the changeset viewer.