[Svn-src-all:3644] [version-2_12-dev 22556] #2147 「おすすめ商品管理画面のマークアップが不正」を修正

Qwert admin @ mail.ec-cube.net
2013年 2月 18日 (月) 11:54:20 JST


Subversion committed to /home/svn/open 22556
http://svn.ec-cube.net/open_trac/changeset/22556
┌────────────────────────────┐
│更新者 :  Qwert                                        │
│更新日時:  2013-02-18 11:54:20 +0900 (月, 18  2月 2013)│
└────────────────────────────┘

Log:
--------------------------------------------------------
#2147 「おすすめ商品管理画面のマークアップが不正」を修正

Changed:                      [U:修正,A:追加,D:削除]
--------------------------------------------------------
U   branches/version-2_12-dev/data/Smarty/templates/admin/contents/recommend.tpl
U   branches/version-2_12-dev/html/user_data/packages/admin/css/admin_contents.css

変更: branches/version-2_12-dev/data/Smarty/templates/admin/contents/recommend.tpl
===================================================================
--- branches/version-2_12-dev/data/Smarty/templates/admin/contents/recommend.tpl	2013-02-16 23:48:23 UTC (rev 22555)
+++ branches/version-2_12-dev/data/Smarty/templates/admin/contents/recommend.tpl	2013-02-18 02:54:20 UTC (rev 22556)
@@ -82,10 +82,9 @@
 //-->
 </script>
 
-        <!--{section name=cnt loop=$tpl_disp_max}-->
-
 <div id="admin-contents" class="contents-main">
-    <table class="list center" id="recommend-table">
+    <!--{section name=cnt loop=$tpl_disp_max}-->
+    <table class="list center recommend-table">
         <col width="13%" />
         <col width="73%" />
         <col width="7%" />
@@ -102,26 +101,27 @@
             <td>おすすめ商品(<!--{$smarty.section.cnt.iteration}-->)</td>
                 <!--{if $arrItems[$smarty.section.cnt.iteration].product_id}-->
                     <td>
-                        <div id="table-wrap" class="clearfix">
+                        <div class="clearfix table-wrap">
                             <div class="table-img">
                                 <!--{if $arrItems[$smarty.section.cnt.iteration].product_id}-->
                                     <img src="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrItems[$smarty.section.cnt.iteration].main_list_image|sfNoImageMainList|h}-->" alt="<!--{$arrItems[$smarty.section.cnt.iteration].name|h}-->" width="100" height="100" />
                                 <!--{/if}-->
                             </div>
                             <div class="table-detail">
-                                <div class="detail-name">商品名: <!--{$arrItems[$smarty.section.cnt.iteration].name|h}--></div>
-                                    <div class="detail-form">
-                                        <form name="form<!--{$smarty.section.cnt.iteration}-->" id="form<!--{$smarty.section.cnt.iteration}-->" method="post" action="?">
-                                            <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
-                                            <input type="hidden" name="mode" value="regist" />
-                                            <input type="hidden" name="product_id" value="<!--{$arrItems[$smarty.section.cnt.iteration].product_id|h}-->" />
-                                            <input type="hidden" name="category_id" value="<!--{$category_id|h}-->" />
-                                            <input type="hidden" name="rank" value="<!--{$arrItems[$smarty.section.cnt.iteration].rank|h}-->" />
-                                            <span class="attention"><!--{$arrErr[$smarty.section.cnt.iteration].comment}--></span>
-                                            <textarea class="top" name="comment" cols="45" rows="4" style="width: 586px; height: 80px; <!--{$arrErr[$smarty.section.cnt.iteration].comment|sfGetErrorColor}-->" <!--{$arrItems[$smarty.section.cnt.iteration].product_id|sfGetEnabled}-->><!--{"\n"}--><!--{$arrItems[$smarty.section.cnt.iteration].comment|h}--></textarea>
-                                        </form>
-                                    </div>
+                                <div class="detail-name">
+                                    商品名: <!--{$arrItems[$smarty.section.cnt.iteration].name|h}-->
                                 </div>
+                                <div class="detail-form">
+                                    <form name="form<!--{$smarty.section.cnt.iteration}-->" id="form<!--{$smarty.section.cnt.iteration}-->" method="post" action="?">
+                                        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
+                                        <input type="hidden" name="mode" value="regist" />
+                                        <input type="hidden" name="product_id" value="<!--{$arrItems[$smarty.section.cnt.iteration].product_id|h}-->" />
+                                        <input type="hidden" name="category_id" value="<!--{$category_id|h}-->" />
+                                        <input type="hidden" name="rank" value="<!--{$arrItems[$smarty.section.cnt.iteration].rank|h}-->" />
+                                        <span class="attention"><!--{$arrErr[$smarty.section.cnt.iteration].comment}--></span>
+                                        <textarea class="top" name="comment" cols="45" rows="4" style="width: 586px; height: 80px; <!--{$arrErr[$smarty.section.cnt.iteration].comment|sfGetErrorColor}-->" <!--{$arrItems[$smarty.section.cnt.iteration].product_id|sfGetEnabled}-->><!--{"\n"}--><!--{$arrItems[$smarty.section.cnt.iteration].comment|h}--></textarea>
+                                    </form>
+                                </div>
                             </div>
                         </div>
                     </td>
@@ -171,6 +171,6 @@
         </tr>
         <!--{/if}-->
     <!--▲おすすめ商品<!--{$smarty.section.cnt.iteration}-->-->
+    </table>
     <!--{/section}-->
-    </table>
 </div>

変更: branches/version-2_12-dev/html/user_data/packages/admin/css/admin_contents.css
===================================================================
--- branches/version-2_12-dev/html/user_data/packages/admin/css/admin_contents.css	2013-02-16 23:48:23 UTC (rev 22555)
+++ branches/version-2_12-dev/html/user_data/packages/admin/css/admin_contents.css	2013-02-18 02:54:20 UTC (rev 22556)
@@ -176,29 +176,29 @@
 
 /*おすすめ商品管理*/
 
-table#recommend-table {
+table.recommend-table {
     border-collapse: collapse;
     font-size: 100%;
     margin: 0 0 50px;
     width: 100%;
 }
 
-div#table-wrap {
+div.table-wrap {
     margin-top: 6px;
 }
 
-div#table-wrap div.table-img {
+div.table-wrap div.table-img {
     float: left;
     padding-left: 6px;
 }
 
-div#table-wrap div.table-detail {
+div.table-wrap div.table-detail {
     float: left;
     text-align: left;
     padding-left: 11px;
 }
 
-div#table-wrap div.table-detail div.detail-name {
+div.table-wrap div.table-detail div.detail-name {
     margin-bottom: 5px;
 }
 




Svn-src-all メーリングリストの案内