1 | |
---|
2 | {foreach from=$datas.dialogBox item=dialogBox} |
---|
3 | {$dialogBox.content} |
---|
4 | {/foreach} |
---|
5 | |
---|
6 | {if is_admin()} |
---|
7 | <div id='iRBCaddieNfo'></div> |
---|
8 | {/if} |
---|
9 | |
---|
10 | <form id='iRBCriteriaForm'> |
---|
11 | <fieldset> |
---|
12 | <legend>{'gpc_rb_search_criterion'|@translate}</legend> |
---|
13 | |
---|
14 | <div id='iRequestCriterions' class='cRequestCriterions'> |
---|
15 | <div style='width:100%;min-height:250px;margin-bottom:8px;'> |
---|
16 | <ul id='iListSelectedCriterions'> |
---|
17 | </ul> |
---|
18 | </div> |
---|
19 | |
---|
20 | <div id='iMenuCriterions' > |
---|
21 | <div id='iMenuCTitle' class='gcLink gcBgInput cbButtons'> |
---|
22 | <div id='iMenuCText'>{'gpc_rb_add_criterions'|@translate} ⇓</div> |
---|
23 | <div id='iMenuCItems'> |
---|
24 | <ul class='gcBgInput'> |
---|
25 | {foreach from=$datas.dialogBox item=dialogBox} |
---|
26 | <li class='gcBgInput'><a onclick="{$dialogBox.handle}.show({literal}{cBuilder:cb}{/literal});">{$dialogBox.label}</a></li> |
---|
27 | {/foreach} |
---|
28 | </ul> |
---|
29 | </div> |
---|
30 | </div> |
---|
31 | </div> |
---|
32 | |
---|
33 | <div class='gcBgInput cbButtons'>{literal}<a onclick="cb.doAction('clear');">{/literal}{'gpc_rb_clear_criterions'|@translate}</a></div> |
---|
34 | </div> |
---|
35 | <div class='cModifyRequest' style='display:none;'> |
---|
36 | <div class='gcBgInput cbButtons'>{literal}<a onclick="im.doAction('show', 'buildQuery');">{/literal}{'gpc_rb_do_modify_request'|@translate}</a></div> |
---|
37 | </div> |
---|
38 | |
---|
39 | </fieldset> |
---|
40 | |
---|
41 | <input type="button" class='cRequestCriterions' onclick="cb.doAction('send');" value="{'gpc_rb_search'|@translate}"> |
---|
42 | </form> |
---|
43 | |
---|
44 | |
---|
45 | <fieldset id='iResultQuery' style='display:none;' class='cResultQuery'> |
---|
46 | <legend>{'gpc_rb_result_query'|@translate}</legend> |
---|
47 | |
---|
48 | <div id='iResultQueryContent' style='width:100%;min-height:250px;max-height:450px;overflow:auto;margin-bottom:8px;'></div> |
---|
49 | |
---|
50 | <div class='gcBgInput gcTextInput'> |
---|
51 | <div id='iPagesNavigator' style='float:right;'></div> |
---|
52 | <div style='text-align:left;padding:4px;'> |
---|
53 | {'gpc_rb_number_of_item_found'|@translate} : <span id='iResultQueryNfo'></span> |
---|
54 | |
---|
55 | {if is_admin()} |
---|
56 | <div id='iMenuCaddie' style='display:inline-block;'> |
---|
57 | <div id='iMenuCaddieBar'> |
---|
58 | <div id='iMenuCaddieText' class='gcLink gcBgInput'>{'gpc_manage_caddie'|@translate}⇓ |
---|
59 | <div id='iMenuCaddieImg' style='display:none;width:16px;height:16px;background:url(./plugins/GrumPluginClasses/icons/processing.gif) no-repeat 0 0 transparent;'> </div> |
---|
60 | <div id='iMenuCaddieItems'> |
---|
61 | <ul class='gcBgInput'> |
---|
62 | <li class='gcBgInput'><a onclick="im.doAction('fillCaddie', 'add');">{'gpc_add_caddie'|@translate}</a></li> |
---|
63 | <li class='gcBgInput'><a onclick="im.doAction('fillCaddie', 'replace');">{'gpc_replace_caddie'|@translate}</a></li> |
---|
64 | </ul> |
---|
65 | </div> |
---|
66 | </div> |
---|
67 | </div> |
---|
68 | {/if} |
---|
69 | |
---|
70 | </div> |
---|
71 | </div> |
---|
72 | </fieldset> |
---|
73 | |
---|
74 | |
---|
75 | <script type="text/javascript"> |
---|
76 | {foreach from=$datas.dialogBox item=dialogBox} |
---|
77 | var {$dialogBox.handle}=new {$dialogBox.dialogBoxClass}(); |
---|
78 | {/foreach} |
---|
79 | |
---|
80 | $('.ui-dialog').css('overflow', 'visible'); |
---|
81 | |
---|
82 | init(); |
---|
83 | </script> |
---|