Ignore:
Timestamp:
2013/08/15 08:54:40 (9 years ago)
Author:
pineray
Message:

#2342 JavaScript?のグローバルな宣言を減らす
eccubeオブジェクト内の階層を減らす.

File:
1 edited

Legend:

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

    r23064 r23066  
    4242        <textarea id="header-area" class="top" name="header" rows="<!--{$header_row}-->" style="width: 100%;"><!--{"\n"}--><!--{$header_data|h|smarty:nodefaults}--></textarea> 
    4343        <div class="btn"> 
    44             <a id="header-area-resize-btn" class="btn-normal" href="javascript:;" onclick="eccube.common.toggleRows('#header-area-resize-btn', '#header-area', 50, 13); $('input[name=header_row]').val($('#header-area').attr('rows'));return false;"><span>拡大</span></a> 
     44            <a id="header-area-resize-btn" class="btn-normal" href="javascript:;" onclick="eccube.toggleRows('#header-area-resize-btn', '#header-area', 50, 13); $('input[name=header_row]').val($('#header-area').attr('rows'));return false;"><span>拡大</span></a> 
    4545        </div> 
    4646 
    4747        <div class="btn-area"> 
    4848                <ul> 
    49                     <li><a class="btn-action" href="javascript:;" name='subm' onclick="eccube.common.fnFormModeSubmit('form_header','regist','',''); return false;"><span class="btn-next">登録する</span></a></li> 
     49                    <li><a class="btn-action" href="javascript:;" name='subm' onclick="eccube.fnFormModeSubmit('form_header','regist','',''); return false;"><span class="btn-next">登録する</span></a></li> 
    5050                </ul> 
    5151        </div> 
     
    6565        <textarea id="footer-area" class="top" name="footer" rows="<!--{$footer_row}-->" style="width: 100%;"><!--{"\n"}--><!--{$footer_data|h|smarty:nodefaults}--></textarea> 
    6666        <div class="btn"> 
    67             <a id="footer-area-resize-btn" class="btn-normal" href="javascript:;" onclick="eccube.common.toggleRows('#footer-area-resize-btn', '#footer-area', 50, 13); $('input[name=footer_row]').val($('#footer-area').attr('rows'));return false;"><span>拡大</span></a> 
     67            <a id="footer-area-resize-btn" class="btn-normal" href="javascript:;" onclick="eccube.toggleRows('#footer-area-resize-btn', '#footer-area', 50, 13); $('input[name=footer_row]').val($('#footer-area').attr('rows'));return false;"><span>拡大</span></a> 
    6868        </div> 
    6969 
    7070        <div class="btn-area"> 
    7171                <ul> 
    72                     <li><a class="btn-action" href="javascript:;" name='subm' onclick="eccube.common.fnFormModeSubmit('form_footer','regist','',''); return false;"><span class="btn-next">登録する</span></a></li> 
     72                    <li><a class="btn-action" href="javascript:;" name='subm' onclick="eccube.fnFormModeSubmit('form_footer','regist','',''); return false;"><span class="btn-next">登録する</span></a></li> 
    7373                </ul> 
    7474        </div> 
Note: See TracChangeset for help on using the changeset viewer.