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"> |
---|
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></td> |
---|
95 | <td style="font-size:80%;" colspan="2"> |
---|
96 | <a style="cursor:pointer;" onclick="$('#iamm_randompicture_title').inputText('doTranslation');">{'g002_translate'|@translate}</a> |
---|
97 | </td> |
---|
98 | </tr> |
---|
99 | |
---|
100 | <tr> |
---|
101 | <td>{'g002_setting_randompic_height'|@translate}</td> |
---|
102 | <td> |
---|
103 | <div id="iamm_rp_height_slider" class="gcBgInput gcBorderInput"></div> |
---|
104 | </td> |
---|
105 | <td width="90px"> |
---|
106 | <div id="iamm_rp_height_display"></div> |
---|
107 | </td> |
---|
108 | </tr> |
---|
109 | |
---|
110 | |
---|
111 | </table> |
---|
112 | |
---|
113 | </fieldset> |
---|
114 | |
---|
115 | <fieldset> |
---|
116 | <legend>{'g002_setting_randompic_aboutpicture'|@translate}</legend> |
---|
117 | <table class="formtable"> |
---|
118 | <tr> |
---|
119 | <td>{'g002_setting_randompic_showname'|@translate}</td> |
---|
120 | <td> |
---|
121 | <div id="iamm_randompicture_showname"> |
---|
122 | [ |
---|
123 | {ldelim}"value":"n","cols":["{'g002_show_n'|@translate}"]{rdelim}, |
---|
124 | {ldelim}"value":"o","cols":["{'g002_show_o'|@translate}"]{rdelim}, |
---|
125 | {ldelim}"value":"u","cols":["{'g002_show_u'|@translate}"]{rdelim} |
---|
126 | ] |
---|
127 | </div> |
---|
128 | </td> |
---|
129 | </tr> |
---|
130 | |
---|
131 | <tr> |
---|
132 | <td>{'g002_setting_randompic_showcomment'|@translate}</td> |
---|
133 | <td> |
---|
134 | <div id="iamm_randompicture_showcomment"> |
---|
135 | [ |
---|
136 | {ldelim}"value":"n","cols":["{'g002_show_n'|@translate}"]{rdelim}, |
---|
137 | {ldelim}"value":"o","cols":["{'g002_show_o'|@translate}"]{rdelim}, |
---|
138 | {ldelim}"value":"u","cols":["{'g002_show_u'|@translate}"]{rdelim} |
---|
139 | ] |
---|
140 | </div> |
---|
141 | </td> |
---|
142 | </tr> |
---|
143 | |
---|
144 | </table> |
---|
145 | </fieldset> |
---|
146 | |
---|
147 | |
---|
148 | <fieldset> |
---|
149 | <legend>{'g002_setting_randompic_periodicchange'|@translate}</legend> |
---|
150 | <table class="formtable"> |
---|
151 | <tr> |
---|
152 | <td>{'g002_setting_randompic_periodicchange_delay'|@translate}</td> |
---|
153 | <td> |
---|
154 | <div id="iamm_rp_pc_slider" class="gcBgInput gcBorderInput"></div> |
---|
155 | </td> |
---|
156 | <td width="70px"> |
---|
157 | <div id="iamm_rp_pc_display"></div> |
---|
158 | </td> |
---|
159 | </tr> |
---|
160 | </table> |
---|
161 | </fieldset> |
---|
162 | |
---|
163 | |
---|
164 | <fieldset> |
---|
165 | <legend>{'g002_selectedpict'|@translate}</legend> |
---|
166 | <table class="formtable"> |
---|
167 | <tr> |
---|
168 | <td> |
---|
169 | <div id='iamm_randompicture_selectedMode'> |
---|
170 | <label><input type="radio" value="a"> {'g002_selected_all_gallery'|@translate}<br></label> |
---|
171 | <label><input type="radio" value="f"> {'g002_selected_favorites_wm'|@translate}<br></label> |
---|
172 | <label><input type="radio" value="c"> {'g002_selected_categories'|@translate}<br></label> |
---|
173 | <div id='iamm_randompicture_selectedCat'></div> |
---|
174 | </div> |
---|
175 | </td> |
---|
176 | </tr> |
---|
177 | </table> |
---|
178 | </fieldset> |
---|
179 | |
---|
180 | <p> |
---|
181 | <input type="button" id="iamm_submit_apply" value="{'g002_apply'|@translate}" onclick="rpc.submit();"> |
---|
182 | </p> |
---|
183 | |
---|
184 | |
---|
185 | </form> |
---|