1 | {literal} |
---|
2 | <style> |
---|
3 | .ui-slider { |
---|
4 | width:360px; |
---|
5 | height:10px; |
---|
6 | border-width:1px; |
---|
7 | border-style:solid; |
---|
8 | margin-right:5px; |
---|
9 | padding-right:14px; |
---|
10 | } |
---|
11 | .ui-slider-handle { |
---|
12 | width:12px; |
---|
13 | height:12px; |
---|
14 | position:relative; |
---|
15 | top:-2px; |
---|
16 | border-width:1px; |
---|
17 | border-style:solid; |
---|
18 | display:block; |
---|
19 | } |
---|
20 | </style> |
---|
21 | |
---|
22 | <script type="text/javascript"> |
---|
23 | var rpc; |
---|
24 | |
---|
25 | $(window).load( |
---|
26 | function () |
---|
27 | { |
---|
28 | rpc=new randomPictConfig( |
---|
29 | {}, |
---|
30 | { |
---|
31 | g002_setting_randompic_periodicchange_deactivated:"{/literal}{'g002_setting_randompic_periodicchange_deactivated'|@translate}{literal}", |
---|
32 | g002_setting_randompic_height_auto:"{/literal}{'g002_setting_randompic_height_auto'|@translate}{literal}" |
---|
33 | }, |
---|
34 | '{/literal}{$token}{literal}', |
---|
35 | { |
---|
36 | 'selectMode':"{/literal}{$datas.config.selectMode}{literal}", |
---|
37 | 'selectCat':{/literal}{$datas.config.selectCat}{literal}, |
---|
38 | 'infosName':"{/literal}{$datas.config.infosName}{literal}", |
---|
39 | 'infosComment':"{/literal}{$datas.config.infosComment}{literal}", |
---|
40 | 'freqDelay':"{/literal}{$datas.config.freqDelay}{literal}", |
---|
41 | 'blockHeight':"{/literal}{$datas.config.blockHeight}{literal}", |
---|
42 | 'blockTitles': |
---|
43 | { |
---|
44 | {/literal} |
---|
45 | {foreach from=$datas.config.blockTitles name=items key=langCode item=title} |
---|
46 | "{$langCode}":"{$title}"{if !$smarty.foreach.items.last},{/if} |
---|
47 | {/foreach} |
---|
48 | {literal} |
---|
49 | }, |
---|
50 | 'userLang':'{/literal}{$datas.selectedLang}{literal}', |
---|
51 | 'langs':[ |
---|
52 | {/literal} |
---|
53 | {foreach from=$datas.config.blockTitles name=items key=langCode item=title} |
---|
54 | "{$langCode}"{if !$smarty.foreach.items.last},{/if} |
---|
55 | {/foreach} |
---|
56 | {literal} |
---|
57 | ] |
---|
58 | } |
---|
59 | ); |
---|
60 | } |
---|
61 | ); |
---|
62 | |
---|
63 | </script> |
---|
64 | {/literal} |
---|
65 | |
---|
66 | <div id='iBDProcessing' style="display:none;position:absolute;left:0;top:0;width:100%;height:100%;background:#000000;opacity:0.75;z-index:800;"> |
---|
67 | <img src="plugins/GrumPluginClasses/icons/processing.gif" style="margin-top:20%;"> |
---|
68 | </div> |
---|
69 | |
---|
70 | <div id='iConfigState' style='display:none;'> |
---|
71 | </div> |
---|
72 | |
---|
73 | <form method="post" action="" class="general"> |
---|
74 | <fieldset> |
---|
75 | <legend>{'g002_setting_block_menu'|@translate}</legend> |
---|
76 | |
---|
77 | <table class="formtable"> |
---|
78 | <tr> |
---|
79 | <td>{'g002_setting_block_title'|@translate}</td> |
---|
80 | <td colspan="2"> |
---|
81 | <div id="iamm_randompicture_title"></div> |
---|
82 | |
---|
83 | <div id="islang" style='display:none;'> |
---|
84 | [ |
---|
85 | {foreach from=$datas.langs key=langCode item=langLabel name=items} |
---|
86 | {ldelim}"value":"{$langCode}","cols":["{$langLabel}"]{rdelim}{if !$smarty.foreach.items.last},{/if} |
---|
87 | {/foreach} |
---|
88 | ] |
---|
89 | </div> |
---|
90 | </td> |
---|
91 | </tr> |
---|
92 | |
---|
93 | <tr> |
---|
94 | <td>{'g002_setting_randompic_height'|@translate}</td> |
---|
95 | <td> |
---|
96 | <div id="iamm_rp_height_slider" class="gcBgInput gcBorderInput"></div> |
---|
97 | </td> |
---|
98 | <td width="90px"> |
---|
99 | <div id="iamm_rp_height_display"></div> |
---|
100 | </td> |
---|
101 | </tr> |
---|
102 | |
---|
103 | |
---|
104 | </table> |
---|
105 | |
---|
106 | </fieldset> |
---|
107 | |
---|
108 | <fieldset> |
---|
109 | <legend>{'g002_setting_randompic_aboutpicture'|@translate}</legend> |
---|
110 | <table class="formtable"> |
---|
111 | <tr> |
---|
112 | <td>{'g002_setting_randompic_showname'|@translate}</td> |
---|
113 | <td> |
---|
114 | <div id="iamm_randompicture_showname" style='display:none;'> |
---|
115 | [ |
---|
116 | {ldelim}"value":"n","cols":["{'g002_show_n'|@translate}"]{rdelim}, |
---|
117 | {ldelim}"value":"o","cols":["{'g002_show_o'|@translate}"]{rdelim}, |
---|
118 | {ldelim}"value":"u","cols":["{'g002_show_u'|@translate}"]{rdelim} |
---|
119 | ] |
---|
120 | </div> |
---|
121 | </td> |
---|
122 | </tr> |
---|
123 | |
---|
124 | <tr> |
---|
125 | <td>{'g002_setting_randompic_showcomment'|@translate}</td> |
---|
126 | <td> |
---|
127 | <div id="iamm_randompicture_showcomment" style='display:none;'> |
---|
128 | [ |
---|
129 | {ldelim}"value":"n","cols":["{'g002_show_n'|@translate}"]{rdelim}, |
---|
130 | {ldelim}"value":"o","cols":["{'g002_show_o'|@translate}"]{rdelim}, |
---|
131 | {ldelim}"value":"u","cols":["{'g002_show_u'|@translate}"]{rdelim} |
---|
132 | ] |
---|
133 | </div> |
---|
134 | </td> |
---|
135 | </tr> |
---|
136 | |
---|
137 | </table> |
---|
138 | </fieldset> |
---|
139 | |
---|
140 | |
---|
141 | <fieldset> |
---|
142 | <legend>{'g002_setting_randompic_periodicchange'|@translate}</legend> |
---|
143 | <table class="formtable"> |
---|
144 | <tr> |
---|
145 | <td>{'g002_setting_randompic_periodicchange_delay'|@translate}</td> |
---|
146 | <td> |
---|
147 | <div id="iamm_rp_pc_slider" class="gcBgInput gcBorderInput"></div> |
---|
148 | </td> |
---|
149 | <td width="70px"> |
---|
150 | <div id="iamm_rp_pc_display"></div> |
---|
151 | </td> |
---|
152 | </tr> |
---|
153 | </table> |
---|
154 | </fieldset> |
---|
155 | |
---|
156 | |
---|
157 | <fieldset> |
---|
158 | <legend>{'g002_selectedpict'|@translate}</legend> |
---|
159 | <table class="formtable"> |
---|
160 | <tr> |
---|
161 | <td> |
---|
162 | <div id='iamm_randompicture_selectedMode'> |
---|
163 | <label><input type="radio" value="a"> {'g002_selected_all_gallery'|@translate}<br></label> |
---|
164 | <label><input type="radio" value="f"> {'g002_selected_favorites_wm'|@translate}<br></label> |
---|
165 | <label><input type="radio" value="c"> {'g002_selected_categories'|@translate}<br></label> |
---|
166 | <div id='iamm_randompicture_selectedCat'></div> |
---|
167 | </div> |
---|
168 | </td> |
---|
169 | </tr> |
---|
170 | </table> |
---|
171 | </fieldset> |
---|
172 | |
---|
173 | <p> |
---|
174 | <input type="button" id="iamm_submit_apply" value="{'g002_apply'|@translate}" onclick="rpc.submit();"> |
---|
175 | </p> |
---|
176 | |
---|
177 | |
---|
178 | </form> |
---|