Changeset 21811


Ignore:
Timestamp:
2012/05/07 15:17:27 (8 years ago)
Author:
h_yoshimoto
Message:

#1793 メンバー登録フォームにエスケープ処理を追加

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/Smarty/templates/admin/system/input.tpl

    r21539 r21811  
    4747        <td> 
    4848            <!--{if $arrErr.name}--><span class="attention"><!--{$arrErr.name}--></span><!--{/if}--> 
    49             <input type="text" name="name" size="30" class="box30" value="<!--{$arrForm.name}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" /> 
     49            <input type="text" name="name" size="30" class="box30" value="<!--{$arrForm.name|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" /> 
    5050            <span class="attention">※必須入力</span> 
    5151        </td> 
     
    5555        <td> 
    5656            <!--{if $arrErr.department}--><span class="attention"><!--{$arrErr.department}--></span><!--{/if}--> 
    57             <input type="text" name="department" size="30" class="box30" value="<!--{$arrForm.department}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" /> 
     57            <input type="text" name="department" size="30" class="box30" value="<!--{$arrForm.department|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" /> 
    5858        </td> 
    5959    </tr> 
     
    6262        <td> 
    6363            <!--{if $arrErr.login_id}--><span class="attention"><!--{$arrErr.login_id}--></span><!--{/if}--> 
    64             <input type="text" name="login_id" size="20" class="box20"    value="<!--{$arrForm.login_id}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->"/> 
     64            <input type="text" name="login_id" size="20" class="box20"    value="<!--{$arrForm.login_id|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->"/> 
    6565            <span class="attention">※必須入力</span><br /> 
    6666            ※半角英数字<!--{$smarty.const.ID_MIN_LEN}-->~<!--{$smarty.const.ID_MAX_LEN}-->文字 
Note: See TracChangeset for help on using the changeset viewer.