[Svn-src-all:3662] [version-2_12-dev 22574] #2153 (各種テンプレート修正)
Qwert
admin @ mail.ec-cube.net
2013年 2月 20日 (水) 13:49:21 JST
Subversion committed to /home/svn/open 22574
http://svn.ec-cube.net/open_trac/changeset/22574
┌────────────────────────────┐
│更新者 : Qwert │
│更新日時: 2013-02-20 13:49:20 +0900 (水, 20 2月 2013)│
└────────────────────────────┘
Log:
--------------------------------------------------------
#2153 (各種テンプレート修正)
モバイル版テンプレートを修正。重複するidの修正に伴いcssも修正。
Changed: [U:修正,A:追加,D:削除]
--------------------------------------------------------
U branches/version-2_12-dev/data/Smarty/templates/sphone/cart/index.tpl
U branches/version-2_12-dev/data/Smarty/templates/sphone/contact/index.tpl
U branches/version-2_12-dev/data/Smarty/templates/sphone/frontparts/form_personal_input.tpl
U branches/version-2_12-dev/data/Smarty/templates/sphone/mypage/change_confirm.tpl
U branches/version-2_12-dev/data/Smarty/templates/sphone/mypage/delivery_addr.tpl
U branches/version-2_12-dev/data/Smarty/templates/sphone/mypage/history.tpl
U branches/version-2_12-dev/data/Smarty/templates/sphone/popup_header.tpl
U branches/version-2_12-dev/data/Smarty/templates/sphone/products/detail.tpl
U branches/version-2_12-dev/data/Smarty/templates/sphone/products/review.tpl
U branches/version-2_12-dev/data/Smarty/templates/sphone/products/review_confirm.tpl
U branches/version-2_12-dev/data/Smarty/templates/sphone/shopping/multiple.tpl
U branches/version-2_12-dev/html/user_data/packages/sphone/css/mypage.css
変更: branches/version-2_12-dev/data/Smarty/templates/sphone/cart/index.tpl
===================================================================
--- branches/version-2_12-dev/data/Smarty/templates/sphone/cart/index.tpl 2013-02-20 04:21:02 UTC (rev 22573)
+++ branches/version-2_12-dev/data/Smarty/templates/sphone/cart/index.tpl 2013-02-20 04:49:20 UTC (rev 22574)
@@ -124,7 +124,7 @@
<ul>
<li class="quantity"><span class="mini">数量:</span><!--{$arrItem.quantity|number_format}--></li>
<li class="quantity_btn"><img src="<!--{$TPL_URLPATH}-->img/button/btn_plus.png" width="22" height="21" alt="+" onclick="fnFormModeSubmit('form<!--{$key}-->', 'up','cart_no','<!--{$arrItem.cart_no}-->'); return false" /></li>
- <li class="quantity_btn"><img src="<!--{$TPL_URLPATH}-->img/button/btn_minus.png" width="22" height="21" alt="-" onclick="fnFormModeSubmit('form<!--{$key}-->', 'down','cart_no','<!--{$arrItem.cart_no}-->'); return false" /></a></li>
+ <li class="quantity_btn"><img src="<!--{$TPL_URLPATH}-->img/button/btn_minus.png" width="22" height="21" alt="-" onclick="fnFormModeSubmit('form<!--{$key}-->', 'down','cart_no','<!--{$arrItem.cart_no}-->'); return false" /></li>
<li class="result"><span class="mini">小計:</span><!--{$arrItem.total_inctax|number_format}-->円</li>
</ul>
</div>
変更: branches/version-2_12-dev/data/Smarty/templates/sphone/contact/index.tpl
===================================================================
--- branches/version-2_12-dev/data/Smarty/templates/sphone/contact/index.tpl 2013-02-20 04:21:02 UTC (rev 22573)
+++ branches/version-2_12-dev/data/Smarty/templates/sphone/contact/index.tpl 2013-02-20 04:49:20 UTC (rev 22574)
@@ -61,7 +61,7 @@
<input type="text" name="kana01"
value="<!--{$arrForm.kana01.value|default:$arrData.kana01|h}-->"
maxlength="<!--{$smarty.const.STEXT_LEN}-->"
- style="<!--{$arrErr.kana01|sfGetErrorColor}-->"class="boxHarf text data-role-none" placeholder="セイ"/>
+ style="<!--{$arrErr.kana01|sfGetErrorColor}-->" class="boxHarf text data-role-none" placeholder="セイ"/>
<input type="text" name="kana02"
value="<!--{$arrForm.kana02.value|default:$arrData.kana02|h}-->"
maxlength="<!--{$smarty.const.STEXT_LEN}-->"
@@ -92,7 +92,7 @@
<dd>
<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>
+ <option value="">都道府県</option>
<!--{html_options options=$arrPref selected=$arrForm.pref.value|default:$arrData.pref|h}-->
</select>
変更: branches/version-2_12-dev/data/Smarty/templates/sphone/frontparts/form_personal_input.tpl
===================================================================
--- branches/version-2_12-dev/data/Smarty/templates/sphone/frontparts/form_personal_input.tpl 2013-02-20 04:21:02 UTC (rev 22573)
+++ branches/version-2_12-dev/data/Smarty/templates/sphone/frontparts/form_personal_input.tpl 2013-02-20 04:49:20 UTC (rev 22574)
@@ -64,7 +64,7 @@
<div class="attention"><!--{$arrErr[$key3]}--><!--{$arrErr[$key4]}--><!--{$arrErr[$key5]}--></div>
<!--{/if}-->
<select name="<!--{$key3}-->" style="<!--{$arrErr[$key3]|sfGetErrorColor}-->" class="boxHarf top data-role-none">
- <option value="" selected="selected">都道府県</option>
+ <option value="">都道府県</option>
<!--{html_options options=$arrPref selected=$arrForm[$key3]}-->
</select>
@@ -127,8 +127,8 @@
<div class="attention"><!--{$arrErr[$key1]}--></div>
<!--{/if}-->
<span style="<!--{$arrErr[$key1]|sfGetErrorColor}-->">
- <p><input type="radio" id="man" name="<!--{$key1}-->" value="1" <!--{if $arrForm[$key1] eq 1}--> checked="checked" <!--{/if}--> class="data-role-none" /><label for="man">男性</label>
- <input type="radio" id="woman" name="<!--{$key1}-->" value="2" <!--{if $arrForm[$key1] eq 2}--> checked="checked" <!--{/if}--> class="data-role-none" /><label for="woman">女性</label></p>
+ <input type="radio" id="man" name="<!--{$key1}-->" value="1" <!--{if $arrForm[$key1] eq 1}--> checked="checked" <!--{/if}--> class="data-role-none" /><label for="man">男性</label>
+ <input type="radio" id="woman" name="<!--{$key1}-->" value="2" <!--{if $arrForm[$key1] eq 2}--> checked="checked" <!--{/if}--> class="data-role-none" /><label for="woman">女性</label>
</span>
</dd>
@@ -139,7 +139,7 @@
<div class="attention"><!--{$arrErr[$key1]}--></div>
<!--{/if}-->
<select name="<!--{$key1}-->" class="boxLong data-role-none">
- <option value="" selected="selected">選択してください</option>
+ <option value="">選択してください</option>
<!--{html_options options=$arrJob selected=$arrForm[$key1]}-->
</select>
</dd>
@@ -178,7 +178,7 @@
<div class="attention"><!--{$arrErr.reminder}--><!--{$arrErr.reminder_answer}--></div>
<!--{/if}-->
<select name="reminder" style="<!--{$arrErr.reminder|sfGetErrorColor}-->" class="boxLong top data-role-none">
- <option value="" selected="selected">質問を選択してください</option>
+ <option value="">質問を選択してください</option>
<!--{html_options options=$arrReminder selected=$arrForm.reminder}-->
</select>
変更: branches/version-2_12-dev/data/Smarty/templates/sphone/mypage/change_confirm.tpl
===================================================================
--- branches/version-2_12-dev/data/Smarty/templates/sphone/mypage/change_confirm.tpl 2013-02-20 04:21:02 UTC (rev 22573)
+++ branches/version-2_12-dev/data/Smarty/templates/sphone/mypage/change_confirm.tpl 2013-02-20 04:49:20 UTC (rev 22574)
@@ -110,7 +110,7 @@
<div class="btn_area">
<ul class="btn_btm">
- <li><input type="submit" value="完了ページへ" class="btn data-role-none" alt="完了ページへ" name="complete" id="complete" /></li>
+ <li><input type="submit" value="完了ページへ" class="btn data-role-none" name="complete" id="complete" /></li>
<li><a class="btn_back" href="Javascript:fnModeSubmit('return', '', '');" rel="external">戻る</a></li>
</ul>
</div>
変更: branches/version-2_12-dev/data/Smarty/templates/sphone/mypage/delivery_addr.tpl
===================================================================
--- branches/version-2_12-dev/data/Smarty/templates/sphone/mypage/delivery_addr.tpl 2013-02-20 04:21:02 UTC (rev 22573)
+++ branches/version-2_12-dev/data/Smarty/templates/sphone/mypage/delivery_addr.tpl 2013-02-20 04:49:20 UTC (rev 22574)
@@ -24,7 +24,7 @@
<!--{include file="`$smarty.const.SMARTPHONE_TEMPLATE_REALDIR`popup_header.tpl" subtitle="新しいお届け先の追加・変更"}-->
-<section id="windowcolumn">
+<section>
<h2 class="title"><!--{$tpl_title|h}--></h2>
<!--★インフォメーション★-->
変更: branches/version-2_12-dev/data/Smarty/templates/sphone/mypage/history.tpl
===================================================================
--- branches/version-2_12-dev/data/Smarty/templates/sphone/mypage/history.tpl 2013-02-20 04:21:02 UTC (rev 22573)
+++ branches/version-2_12-dev/data/Smarty/templates/sphone/mypage/history.tpl 2013-02-20 04:49:20 UTC (rev 22574)
@@ -52,7 +52,7 @@
</div>
<!--{foreach item=shippingItem name=shippingItem from=$arrShipping}-->
<h3>お届け先<!--{if $isMultiple}--><!--{$smarty.foreach.shippingItem.iteration}--><!--{/if}--></h3>
- <div id="historyBox">
+ <div class="historyBox">
<p>
<!--{if $isMultiple}-->
<!--{foreach item=item from=$shippingItem.shipment_item}-->
変更: branches/version-2_12-dev/data/Smarty/templates/sphone/popup_header.tpl
===================================================================
--- branches/version-2_12-dev/data/Smarty/templates/sphone/popup_header.tpl 2013-02-20 04:21:02 UTC (rev 22573)
+++ branches/version-2_12-dev/data/Smarty/templates/sphone/popup_header.tpl 2013-02-20 04:49:20 UTC (rev 22574)
@@ -28,8 +28,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=0" />
<meta name="format-detection" content="telephone=no">
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
- <meta http-equiv="Content-Style-Type" content="text/css" />
<!--{* 共通CSS *}-->
<link rel="stylesheet" media="only screen" href="<!--{$TPL_URLPATH}-->css/import.css" />
変更: branches/version-2_12-dev/data/Smarty/templates/sphone/products/detail.tpl
===================================================================
--- branches/version-2_12-dev/data/Smarty/templates/sphone/products/detail.tpl 2013-02-20 04:21:02 UTC (rev 22573)
+++ branches/version-2_12-dev/data/Smarty/templates/sphone/products/detail.tpl 2013-02-20 04:49:20 UTC (rev 22574)
@@ -369,7 +369,7 @@
<div class="review_btn">
<!--{if count($arrReview) < $smarty.const.REVIEW_REGIST_MAX}-->
<!--★新規コメントを書き込む★-->
- <a href="./review.php?product_id=<!--{$arrProduct.product_id}-->" target="_blank" class="btn_sub" />新規コメントを書き込む</a>
+ <a href="./review.php?product_id=<!--{$arrProduct.product_id}-->" target="_blank" class="btn_sub">新規コメントを書き込む</a>
<!--{/if}-->
</div>
</div>
変更: branches/version-2_12-dev/data/Smarty/templates/sphone/products/review.tpl
===================================================================
--- branches/version-2_12-dev/data/Smarty/templates/sphone/products/review.tpl 2013-02-20 04:21:02 UTC (rev 22573)
+++ branches/version-2_12-dev/data/Smarty/templates/sphone/products/review.tpl 2013-02-20 04:49:20 UTC (rev 22574)
@@ -78,7 +78,7 @@
</tr>
</table>
<div class="btn_area">
- <p><input type="submit" value="次へ" class="btn data-role-none" alt="次へ" name="next" id="next" /></p>
+ <p><input type="submit" value="次へ" class="btn data-role-none" name="next" id="next" /></p>
</div>
</form>
</div>
変更: branches/version-2_12-dev/data/Smarty/templates/sphone/products/review_confirm.tpl
===================================================================
--- branches/version-2_12-dev/data/Smarty/templates/sphone/products/review_confirm.tpl 2013-02-20 04:21:02 UTC (rev 22573)
+++ branches/version-2_12-dev/data/Smarty/templates/sphone/products/review_confirm.tpl 2013-02-20 04:49:20 UTC (rev 22574)
@@ -64,7 +64,7 @@
</table>
<div class="btn_area">
<ul class="btn_btm">
- <li><input type="submit" value="完了ページへ" class="btn data-role-none" alt="完了ページへ" name="complete" id="complete" /></li>
+ <li><input type="submit" value="完了ページへ" class="btn data-role-none" name="complete" id="complete" /></li>
<li><a class="btn_back" href="Javascript:fnModeSubmit('return', '', '');" rel="external">戻る</a></li>
</ul>
</div>
変更: branches/version-2_12-dev/data/Smarty/templates/sphone/shopping/multiple.tpl
===================================================================
--- branches/version-2_12-dev/data/Smarty/templates/sphone/shopping/multiple.tpl 2013-02-20 04:21:02 UTC (rev 22573)
+++ branches/version-2_12-dev/data/Smarty/templates/sphone/shopping/multiple.tpl 2013-02-20 04:49:20 UTC (rev 22574)
@@ -69,7 +69,7 @@
<!--{$arrForm.price.value[$index]|sfCalcIncTax|number_format}-->円
</p>
<ul>
- <li class="result"><span class="mini">数量</li>
+ <li class="result"><span class="mini">数量</span></li>
<li>
<input type="number" name="<!--{$key}-->[<!--{$index}-->]" class="cartin_quantity txt" value="<!--{$arrForm[$key].value[$index]}-->" max="9" style="" />
</li>
変更: branches/version-2_12-dev/html/user_data/packages/sphone/css/mypage.css
===================================================================
--- branches/version-2_12-dev/html/user_data/packages/sphone/css/mypage.css 2013-02-20 04:21:02 UTC (rev 22573)
+++ branches/version-2_12-dev/html/user_data/packages/sphone/css/mypage.css 2013-02-20 04:49:20 UTC (rev 22574)
@@ -113,7 +113,7 @@
padding: 10px 0;
}
-#historyBox {
+.historyBox {
padding: 10px 10px 5px;
background: #F7F5F0;
border: #A9ABAD solid 1px;
@@ -122,13 +122,13 @@
-webkit-border-radius: 7px;
margin-bottom: 10px;
}
-#historyBox p {
+.historyBox p {
font-size: 12px;
width: 70%;
display: inline;
float: left;
}
-#historyBox .btn_reorder {
+.historyBox .btn_reorder {
width: 5em;
float: right;
padding: 15px;
Svn-src-all メーリングリストの案内