Ignore:
Timestamp:
2013/08/14 19:09:44 (11 years ago)
Author:
pineray
Message:

#2342 JavaScript?のグローバルな宣言を減らす
フォーム関連.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/Smarty/templates/admin/order/index.tpl

    r23061 r23063  
    308308            <div class="btn-area"> 
    309309                <ul> 
    310                     <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('search_form', 'search', '', ''); return false;"><span class="btn-next">この条件で検索する</span></a></li> 
     310                    <li><a class="btn-action" href="javascript:;" onclick="eccube.common.fnFormModeSubmit('search_form', 'search', '', ''); return false;"><span class="btn-next">この条件で検索する</span></a></li> 
    311311                </ul> 
    312312            </div> 
     
    335335                <span class="attention"><!--検索結果数--><!--{$tpl_linemax}-->件</span>&nbsp;が該当しました。 
    336336                <!--{if $smarty.const.ADMIN_MODE == '1'}--> 
    337                 <a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('delete_all','',''); return false;"><span>検索結果を全て削除</span></a> 
     337                <a class="btn-normal" href="javascript:;" onclick="eccube.common.setModeAndSubmit('delete_all','',''); return false;"><span>検索結果を全て削除</span></a> 
    338338                <!--{/if}--> 
    339                 <a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('csv','',''); return false;">CSV ダウンロード</a> 
     339                <a class="btn-normal" href="javascript:;" onclick="eccube.common.setModeAndSubmit('csv','',''); return false;">CSV ダウンロード</a> 
    340340                <a class="btn-normal" href="../contents/csv.php?tpl_subno_csv=order">CSV 出力項目設定</a> 
    341341                <a class="btn-normal" href="javascript:;" onclick="fnSelectCheckSubmit('pdf.php'); return false;"><span>PDF一括出力</span></a> 
     
    393393                                    <a href="./" onClick="eccube.common.win02('pdf.php?order_id=<!--{$arrResults[cnt].order_id}-->','pdf_input','620','650'); return false;"><span class="icon_class">個別出力</span></a> 
    394394                                </td> 
    395                                 <td class="center"><a href="?" onclick="fnChangeAction('<!--{$smarty.const.ADMIN_ORDER_EDIT_URLPATH}-->'); fnModeSubmit('pre_edit', 'order_id', '<!--{$arrResults[cnt].order_id}-->'); return false;"><span class="icon_edit">編集</span></a></td> 
     395                                <td class="center"><a href="?" onclick="eccube.common.changeAction('<!--{$smarty.const.ADMIN_ORDER_EDIT_URLPATH}-->'); eccube.common.setModeAndSubmit('pre_edit', 'order_id', '<!--{$arrResults[cnt].order_id}-->'); return false;"><span class="icon_edit">編集</span></a></td> 
    396396                                <td class="center"> 
    397397                                    <!--{if $arrResults[cnt].order_email|strlen >= 1}--> 
    398398                                        <input type="checkbox" name="mail_order_id[]" value="<!--{$arrResults[cnt].order_id}-->" id="mail_order_id_<!--{$arrResults[cnt].order_id}-->"/><label for="mail_order_id_<!--{$arrResults[cnt].order_id}-->">一括通知</label><br /> 
    399                                         <a href="?" onclick="fnChangeAction('<!--{$smarty.const.ADMIN_ORDER_MAIL_URLPATH}-->'); fnModeSubmit('pre_edit', 'order_id', '<!--{$arrResults[cnt].order_id}-->'); return false;"><span class="icon_mail">個別通知</span></a> 
     399                                        <a href="?" onclick="eccube.common.changeAction('<!--{$smarty.const.ADMIN_ORDER_MAIL_URLPATH}-->'); eccube.common.setModeAndSubmit('pre_edit', 'order_id', '<!--{$arrResults[cnt].order_id}-->'); return false;"><span class="icon_mail">個別通知</span></a> 
    400400                                    <!--{/if}--> 
    401401                                </td> 
    402                                 <td class="center"><a href="?" onclick="fnModeSubmit('delete', 'order_id', <!--{$arrResults[cnt].order_id}-->); return false;"><span class="icon_delete">削除</span></a></td> 
     402                                <td class="center"><a href="?" onclick="eccube.common.setModeAndSubmit('delete', 'order_id', <!--{$arrResults[cnt].order_id}-->); return false;"><span class="icon_delete">削除</span></a></td> 
    403403                            </tr> 
    404404                        <!--{/section}--> 
Note: See TracChangeset for help on using the changeset viewer.