[6174] | 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"} |
---|
[7175] | 3 | {known_script id="gpc.pagesNavigator" src=$ROOT_URL|@cat:"plugins/GrumPluginClasses/js/pagesNavigator.packed.js"} |
---|
[7370] | 4 | {known_script id="gpc.rbSearch" src=$ROOT_URL|@cat:"plugins/GrumPluginClasses/js/rbSearch.packed.js"} |
---|
[6174] | 5 | |
---|
| 6 | {foreach from=$datas.dialogBox item=dialogBox} |
---|
| 7 | {$dialogBox.content} |
---|
| 8 | {/foreach} |
---|
[7317] | 9 | |
---|
| 10 | {if is_admin()} |
---|
[6894] | 11 | <div id='iRBCaddieNfo'></div> |
---|
[7317] | 12 | {/if} |
---|
[6174] | 13 | |
---|
[7370] | 14 | <form id='iRBCriteriaForm'> |
---|
[6174] | 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' > |
---|
[7327] | 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> |
---|
[6174] | 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 | |
---|
[7327] | 45 | <input type="button" class='cRequestCriterions' onclick="cb.doAction('send');" value="{'gpc_rb_search'|@translate}"> |
---|
[6174] | 46 | </form> |
---|
| 47 | |
---|
| 48 | |
---|
[7317] | 49 | <fieldset id='iResultQuery' style='display:none;' class='cResultQuery'> |
---|
| 50 | <legend>{'gpc_rb_result_query'|@translate}</legend> |
---|
[6174] | 51 | |
---|
[7317] | 52 | <div id='iResultQueryContent' style='width:100%;min-height:250px;max-height:450px;overflow:auto;margin-bottom:8px;'></div> |
---|
[7312] | 53 | |
---|
[7317] | 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> |
---|
[6894] | 69 | </div> |
---|
[7312] | 70 | </div> |
---|
[7317] | 71 | </div> |
---|
| 72 | {/if} |
---|
[6894] | 73 | |
---|
[6174] | 74 | </div> |
---|
[7317] | 75 | </div> |
---|
| 76 | </fieldset> |
---|
[6174] | 77 | |
---|
| 78 | |
---|
| 79 | <script type="text/javascript"> |
---|
| 80 | {foreach from=$datas.dialogBox item=dialogBox} |
---|
| 81 | var {$dialogBox.handle}=new {$dialogBox.dialogBoxClass}(); |
---|
| 82 | {/foreach} |
---|
| 83 | |
---|
[7349] | 84 | $('.ui-dialog').css('overflow', 'visible'); |
---|
| 85 | |
---|
[6174] | 86 | init(); |
---|
| 87 | </script> |
---|