EC-CUBE2.12:管理画面の「コンテンツ管理>おすすめ商品管理」レイアウトを修正

■data/Smarty/templates/admin/contents/recommend.tpl

(1)テーブル設定を修正する

 セル設定の数を合わせる

<col width="13%" />
<col width="73%" />
<col width="7%" />
<col width="7%" />

↓(変更)

<col width="13%" />
<col width="66%" />
<col width="6%" />
<col width="6%" />
<col width="9%" />

 改行削除

上へ</a><br>&nbsp;

↓(変更)

上へ</a>&nbsp;

 colspanの変更とセンタリングの追加

<tr><td colspan="4" class="no-border-w center" height="20"></td></tr>
<!--{if $arrItems[$smarty.section.cnt.iteration].product_id}-->
<tr><td colspan="4" class="no-border">
<a class="btn-action" href="javascript:;" onclick="lfnCheckSubmit(document.form<!--{$smarty.section.cnt.iteration}-->); return false;"><span class="btn-next">この内容で登録する</span></a>

↓(変更)

<tr><td colspan="5" class="no-border-w center" height="20"></td></tr>
<!--{if $arrItems[$smarty.section.cnt.iteration].product_id}-->
<tr><td colspan="5" class="no-border">
<a class="btn-action" href="javascript:;" onclick="lfnCheckSubmit(document.form<!--{$smarty.section.cnt.iteration}-->); return false;"><span>この内容で登録する</span></a>

「編集」「削除」「上へ下へ」のtdタグにセンタリング属性を追加

<td class="center">

(2)画像を正方形にしない
  height=”100″を削除する

<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" />