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