| 1 | <!--{* |
---|
| 2 | /* |
---|
| 3 | * This file is part of EC-CUBE |
---|
| 4 | * |
---|
| 5 | * Copyright(c) 2000-2011 LOCKON CO.,LTD. All Rights Reserved. |
---|
| 6 | * |
---|
| 7 | * http://www.lockon.co.jp/ |
---|
| 8 | * |
---|
| 9 | * This program is free software; you can redistribute it and/or |
---|
| 10 | * modify it under the terms of the GNU General Public License |
---|
| 11 | * as published by the Free Software Foundation; either version 2 |
---|
| 12 | * of the License, or (at your option) any later version. |
---|
| 13 | * |
---|
| 14 | * This program is distributed in the hope that it will be useful, |
---|
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
| 17 | * GNU General Public License for more details. |
---|
| 18 | * |
---|
| 19 | * You should have received a copy of the GNU General Public License |
---|
| 20 | * along with this program; if not, write to the Free Software |
---|
| 21 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
| 22 | */ |
---|
| 23 | *}--> |
---|
| 24 | <form name="form1" id="form1" method="post" action=""> |
---|
| 25 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
| 26 | <input type="hidden" name="mode" value="edit" /> |
---|
| 27 | <input type="hidden" name="classcategory_id" value="<!--{$tpl_classcategory_id}-->" /> |
---|
| 28 | <!--{foreach key=key item=item from=$arrHidden}--> |
---|
| 29 | <input type="hidden" name="<!--{$key}-->" value="<!--{$item|h}-->" /> |
---|
| 30 | <!--{/foreach}--> |
---|
| 31 | <div id="products" class="contents-main"> |
---|
| 32 | |
---|
| 33 | <table> |
---|
| 34 | <tr> |
---|
| 35 | <th>規格名</th> |
---|
| 36 | <td><!--{$tpl_class_name}--></td> |
---|
| 37 | </tr> |
---|
| 38 | <tr> |
---|
| 39 | <th>分類名<span class="attention"> *</span></th> |
---|
| 40 | <td> |
---|
| 41 | <!--{if $arrErr.name}--> |
---|
| 42 | <span class="attention"><!--{$arrErr.name}--></span> |
---|
| 43 | <!--{/if}--> |
---|
| 44 | <input type="text" name="name" value="<!--{$arrForm.name|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="" size="30" class="box30" /> |
---|
| 45 | <span class="attention"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span> |
---|
| 46 | </td> |
---|
| 47 | </tr> |
---|
| 48 | </table> |
---|
| 49 | <div class="btn-area"> |
---|
| 50 | <ul> |
---|
| 51 | <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'edit', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li> |
---|
| 52 | </ul> |
---|
| 53 | </div> |
---|
| 54 | |
---|
| 55 | <table class="list"> |
---|
| 56 | <col /> |
---|
| 57 | <col width="10%" /> |
---|
| 58 | <col width="10%" /> |
---|
| 59 | <col width="15%" /> |
---|
| 60 | <tr> |
---|
| 61 | <th>分類名</th> |
---|
| 62 | <th class="edit">編集</th> |
---|
| 63 | <th class="delete">削除</th> |
---|
| 64 | <th>移動</th> |
---|
| 65 | </tr> |
---|
| 66 | <!--{section name=cnt loop=$arrClassCat}--> |
---|
| 67 | <tr style="background:<!--{if $tpl_classcategory_id != $arrClassCat[cnt].classcategory_id}-->#ffffff<!--{else}--><!--{$smarty.const.SELECT_RGB}--><!--{/if}-->;"> |
---|
| 68 | <td><!--{* 規格名 *}--><!--{$arrClassCat[cnt].name|h}--></td> |
---|
| 69 | <td align="center" > |
---|
| 70 | <!--{if $tpl_classcategory_id != $arrClassCat[cnt].classcategory_id}--> |
---|
| 71 | <a href="?" onclick="fnModeSubmit('pre_edit','classcategory_id', <!--{$arrClassCat[cnt].classcategory_id}-->); return false;">編集</a> |
---|
| 72 | <!--{else}--> |
---|
| 73 | 編集中 |
---|
| 74 | <!--{/if}--> |
---|
| 75 | </td> |
---|
| 76 | <td align="center"> |
---|
| 77 | <a href="?" onclick="fnModeSubmit('delete','classcategory_id', <!--{$arrClassCat[cnt].classcategory_id}-->); return false;">削除</a> |
---|
| 78 | </td> |
---|
| 79 | <td align="center"> |
---|
| 80 | <!--{if $smarty.section.cnt.iteration != 1}--> |
---|
| 81 | <a href="?" onclick="fnModeSubmit('up','classcategory_id', <!--{$arrClassCat[cnt].classcategory_id}-->); return false;">上へ</a> |
---|
| 82 | <!--{/if}--> |
---|
| 83 | <!--{if $smarty.section.cnt.iteration != $smarty.section.cnt.last}--> |
---|
| 84 | <a href="?" onclick="fnModeSubmit('down','classcategory_id', <!--{$arrClassCat[cnt].classcategory_id}-->); return false;">下へ</a> |
---|
| 85 | <!--{/if}--> |
---|
| 86 | </td> |
---|
| 87 | </tr> |
---|
| 88 | <!--{/section}--> |
---|
| 89 | </table> |
---|
| 90 | <div class="btn"> |
---|
| 91 | <a class="btn-action" href="./class.php"><span class="btn-prev">規格一覧に戻る</span></a> |
---|
| 92 | </div> |
---|
| 93 | </div> |
---|
| 94 | </form> |
---|