/
configure.tpl
executable file
·44 lines (42 loc) · 1.46 KB
/
configure.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{*
* Copyright (c) 2004-2011 OIC Group, Inc.
* Written and Designed by Adam Kessler
*
* This file is part of Exponent
*
* Exponent is free software; you can redistribute
* it and/or modify it under the terms of the GNU
* General Public License as published by the Free
* Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
* GPL: http://www.gnu.org/licenses/gpl.txt
*
*}
<div id="authcfg">
<div id="authcfg-tabs" class="yui-navset exp-skin-tabview hide">
<ul class="yui-nav">
<li class="selected"><a href="#tab1"><em>{'General'|gettext}</em></a></li>
</ul>
<div class="yui-content">
<div id="tab1">
{control type="text" name="rate" label="In Store Pickup Charge"|gettext size=5 filter=money value=$calculator->configdata.rate}
</div>
</div>
</div>
<div class="loadingdiv">{'Loading'|gettext}</div>
</div>
{script unique="editform" yui3mods=1}
{literal}
// YUI(EXPONENT.YUI3_CONFIG).use('node','yui2-tabview','yui2-element', function(Y) {
// var YAHOO=Y.YUI2;
// var tabView = new YAHOO.widget.TabView('auth');
// Y.one('#authcfg').removeClass('hide').next().remove();
YUI(EXPONENT.YUI3_CONFIG).use('tabview', function(Y) {
var tabview = new Y.TabView({srcNode:'#authcfg-tabs'});
tabview.render();
Y.one('#authcfg-tabs').removeClass('hide');
Y.one('.loadingdiv').remove();
});
{/literal}
{/script}