Skip to content

Commit

Permalink
fix #124 selected 属性の h 修飾子を削除
Browse files Browse the repository at this point in the history
  • Loading branch information
nobuhiko committed Jul 27, 2018
1 parent 3bda4df commit c53c4a6
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 26 deletions.
10 changes: 5 additions & 5 deletions data/Smarty/templates/admin/basis/tax.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -64,23 +64,23 @@

<select name="<!--{$key1}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->">
<option value="" selected="selected">------</option>
<!--{html_options options=$arrYear selected=$arrForm[$key1].value|h}-->
<!--{html_options options=$arrYear selected=$arrForm[$key1].value}-->
</select>年
<select name="<!--{$key2}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->">
<option value="" selected="selected">----</option>
<!--{html_options options=$objDate->getMonth() selected=$arrForm[$key2].value|h}-->
<!--{html_options options=$objDate->getMonth() selected=$arrForm[$key2].value}-->
</select>月
<select name="<!--{$key3}-->" style="<!--{$arrErr[$key3]|sfGetErrorColor}-->">
<option value="" selected="selected">----</option>
<!--{html_options options=$objDate->getDay() selected=$arrForm[$key3].value|h}-->
<!--{html_options options=$objDate->getDay() selected=$arrForm[$key3].value}-->
</select>日
<select name="<!--{$key4}-->" style="<!--{$arrErr[$key4]|sfGetErrorColor}-->">
<option value="" selected="selected">----</option>
<!--{html_options options=$objDate->getHour() selected=$arrForm[$key4].value|h}-->
<!--{html_options options=$objDate->getHour() selected=$arrForm[$key4].value}-->
</select>時
<select name="<!--{$key5}-->" style="<!--{$arrErr[$key5]|sfGetErrorColor}-->">
<option value="" selected="selected">----</option>
<!--{html_options options=$arrMinutes selected=$arrForm[$key5].value|h}-->
<!--{html_options options=$arrMinutes selected=$arrForm[$key5].value}-->
</select>分
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion data/Smarty/templates/admin/order/mail.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<span class="attention"><!--{$arrErr[$key]}--></span>
<select name="template_id" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" onchange="eccube.setModeAndSubmit('change', '', '');">
<option value="" selected="selected">選択してください</option>
<!--{html_options options=$arrMAILTEMPLATE selected=$arrForm[$key].value|h}-->
<!--{html_options options=$arrMAILTEMPLATE selected=$arrForm[$key].value}-->
</select>
</td>
</tr>
Expand Down
16 changes: 8 additions & 8 deletions data/Smarty/templates/admin/products/review.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<!--{assign var=key value=search_recommend_level}-->
<select name="<!--{$key}-->">
<option value="" selected="selected">選択してください</option>
<!--{html_options options=$arrRECOMMEND selected=$arrForm[$key].value|h}-->
<!--{html_options options=$arrRECOMMEND selected=$arrForm[$key].value}-->
</select>
</td>
</tr>
Expand All @@ -64,27 +64,27 @@
<!--{/if}-->
<select name="search_startyear" style="<!--{$arrErr.search_startyear|sfGetErrorColor}-->">
<option value="">----</option>
<!--{html_options options=$arrStartYear selected=$arrForm.search_startyear|h}-->
<!--{html_options options=$arrStartYear selected=$arrForm.search_startyear}-->
</select>年
<select name="search_startmonth" style="<!--{$arrErr.search_startyear|sfGetErrorColor}-->">
<option value="">--</option>
<!--{html_options options=$arrStartMonth selected=$arrForm.search_startmonth|h}-->
<!--{html_options options=$arrStartMonth selected=$arrForm.search_startmonth}-->
</select>月
<select name="search_startday" style="<!--{$arrErr.search_startyear|sfGetErrorColor}-->">
<option value="">--</option>
<!--{html_options options=$arrStartDay selected=$arrForm.search_startday|h}-->
<!--{html_options options=$arrStartDay selected=$arrForm.search_startday}-->
</select>日~
<select name="search_endyear" style="<!--{$arrErr.search_endyear|sfGetErrorColor}-->">
<option value="">----</option>
<!--{html_options options=$arrEndYear selected=$arrForm.search_endyear|h}-->
<!--{html_options options=$arrEndYear selected=$arrForm.search_endyear}-->
</select>年
<select name="search_endmonth" style="<!--{$arrErr.search_endyear|sfGetErrorColor}-->">
<option value="">--</option>
<!--{html_options options=$arrEndMonth selected=$arrForm.search_endmonth|h}-->
<!--{html_options options=$arrEndMonth selected=$arrForm.search_endmonth}-->
</select>月
<select name="search_endday" style="<!--{$arrErr.search_endyear|sfGetErrorColor}-->">
<option value="">--</option>
<!--{html_options options=$arrEndDay selected=$arrForm.search_endday|h}-->
<!--{html_options options=$arrEndDay selected=$arrForm.search_endday}-->
</select>日
</td>
</tr>
Expand All @@ -97,7 +97,7 @@
<span class="attention"><!--{$arrErr[$key]}--></span>
<!--{/if}-->
<select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
<!--{html_options options=$arrPageMax selected=$arrForm.search_page_max|h}-->
<!--{html_options options=$arrPageMax selected=$arrForm.search_page_max}-->
</select> 件</p>
<div class="btn-area">
<ul>
Expand Down
12 changes: 6 additions & 6 deletions data/Smarty/templates/admin/total/index.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -63,27 +63,27 @@
<!--{/if}-->
<select name="search_startyear" style="<!--{$arrErr.search_startyear|sfGetErrorColor}-->">
<option value="">----</option>
<!--{html_options options=$arrYear selected=$arrForm.search_startyear.value|h}-->
<!--{html_options options=$arrYear selected=$arrForm.search_startyear.value}-->
</select>年
<select name="search_startmonth" style="<!--{$arrErr.search_startyear|sfGetErrorColor}-->">
<option value="">--</option>
<!--{html_options options=$arrMonth selected=$arrForm.search_startmonth.value|h}-->
<!--{html_options options=$arrMonth selected=$arrForm.search_startmonth.value}-->
</select>月
<select name="search_startday" style="<!--{$arrErr.search_startyear|sfGetErrorColor}-->">
<option value="">--</option>
<!--{html_options options=$arrDay selected=$arrForm.search_startday.value|h}-->
<!--{html_options options=$arrDay selected=$arrForm.search_startday.value}-->
</select>日~
<select name="search_endyear" style="<!--{$arrErr.search_endyear|sfGetErrorColor}-->">
<option value="">----</option>
<!--{html_options options=$arrYear selected=$arrForm.search_endyear.value|h}-->
<!--{html_options options=$arrYear selected=$arrForm.search_endyear.value}-->
</select>年
<select name="search_endmonth" style="<!--{$arrErr.search_endyear|sfGetErrorColor}-->">
<option value="">--</option>
<!--{html_options options=$arrMonth selected=$arrForm.search_endmonth.value|h}-->
<!--{html_options options=$arrMonth selected=$arrForm.search_endmonth.value}-->
</select>月
<select name="search_endday" style="<!--{$arrErr.search_endyear|sfGetErrorColor}-->">
<option value="">--</option>
<!--{html_options options=$arrDay selected=$arrForm.search_endday.value|h}-->
<!--{html_options options=$arrDay selected=$arrForm.search_endday.value}-->
</select>日
<a class="btn-normal" href="javascript:;" onclick="eccube.fnFormModeSubmit('search_form2', 'search', '', ''); return false;" name="subm">期間で集計する</a>
</form>
Expand Down
2 changes: 1 addition & 1 deletion data/Smarty/templates/default/contact/index.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<span class="attention"><!--{$arrErr.pref}--><!--{$arrErr.addr01}--><!--{$arrErr.addr02}--></span>

<select name="pref" style="<!--{$arrErr.pref|sfGetErrorColor}-->">
<option value="">都道府県を選択</option><!--{html_options options=$arrPref selected=$arrForm.pref.value|default:$arrData.pref|h}--></select>
<option value="">都道府県を選択</option><!--{html_options options=$arrPref selected=$arrForm.pref.value|default:$arrData.pref}--></select>

<p>
<input type="text" class="box380" name="addr01" value="<!--{$arrForm.addr01.value|default:$arrData.addr01|h}-->" style="<!--{$arrErr.addr01|sfGetErrorColor}-->; ime-mode: active;" /><br />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
<!--{/if}-->
<select name="<!--{$key6}-->" style="<!--{$arrErr[$key6]|sfGetErrorColor}-->">
<option value="" selected="selected">国を選択</option>
<!--{html_options options=$arrCountry selected=$arrForm[$key6].value|h|default:$smarty.const.DEFAULT_COUNTRY_ID}-->
<!--{html_options options=$arrCountry selected=$arrForm[$key6].value|default:$smarty.const.DEFAULT_COUNTRY_ID}-->
</select>
</td>
</tr>
Expand Down Expand Up @@ -115,7 +115,7 @@
<!--{/if}-->
<select name="<!--{$key3}-->" style="<!--{$arrErr[$key3]|sfGetErrorColor}-->">
<option value="" selected="selected">都道府県を選択</option>
<!--{html_options options=$arrPref selected=$arrForm[$key3].value|h}-->
<!--{html_options options=$arrPref selected=$arrForm[$key3].value}-->
</select>
<p class="top"><input type="text" name="<!--{$key4}-->" value="<!--{$arrForm[$key4].value|h}-->" class="box300" style="<!--{$arrErr[$key4]|sfGetErrorColor}-->; ime-mode: active;" /><br />
<!--{$smarty.const.SAMPLE_ADDRESS1}--></p>
Expand Down
2 changes: 1 addition & 1 deletion data/Smarty/templates/sphone/contact/index.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
<span class="attention"><!--{$arrErr.pref}--><!--{$arrErr.addr01}--><!--{$arrErr.addr02}--></span>
<select name="pref" style="<!--{$arrErr.pref|sfGetErrorColor}-->" class="boxHarf top data-role-none">
<option value="" selected="selected">都道府県</option>
<!--{html_options options=$arrPref selected=$arrForm.pref.value|default:$arrData.pref|h}-->
<!--{html_options options=$arrPref selected=$arrForm.pref.value|default:$arrData.pref}-->
</select>

<input type="text" name="addr01"
Expand Down
4 changes: 2 additions & 2 deletions data/Smarty/templates/sphone/shopping/nonmember_input.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
<div class="attention"><!--{$arrErr[$key1]}--></div>
<select name="<!--{$key1}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->">
<option value="" selected="selected">国を選択</option>
<!--{html_options options=$arrCountry selected=$arrForm[$key1].value|h|default:$smarty.const.DEFAULT_COUNTRY_ID}-->
<!--{html_options options=$arrCountry selected=$arrForm[$key1].value|default:$smarty.const.DEFAULT_COUNTRY_ID}-->
</select>
</dd>
Expand Down Expand Up @@ -323,7 +323,7 @@
<div class="attention"><!--{$arrErr[$key1]}--></div>
<select name="<!--{$key1}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->">
<option value="" selected="selected">国を選択</option>
<!--{html_options options=$arrCountry selected=$arrForm[$key1].value|h|default:$smarty.const.DEFAULT_COUNTRY_ID}-->
<!--{html_options options=$arrCountry selected=$arrForm[$key1].value|default:$smarty.const.DEFAULT_COUNTRY_ID}-->
</select>
</dd>
Expand Down

0 comments on commit c53c4a6

Please sign in to comment.