1 | <br> |
---|
2 | <div id="colorpicker" style="float: right;"></div> |
---|
3 | <table> |
---|
4 | |
---|
5 | |
---|
6 | |
---|
7 | <tr> |
---|
8 | <td colspan="3" align="left"><label>{'StackG_options_label'|@translate}</label> |
---|
9 | </td> |
---|
10 | </tr> |
---|
11 | |
---|
12 | <tr><td colspan="3"><hr></td></tr> |
---|
13 | <tr> |
---|
14 | <td colspan="3" align="left"><label>{'StackG_option_button_label'|@translate}</label> |
---|
15 | </td> |
---|
16 | </tr> |
---|
17 | <tr> |
---|
18 | <td>{'StackG_html_title'|@translate}</td> |
---|
19 | <td colspan="2"><input type="text" size="40" maxlength="40" name="StackG_html_title" value="{$StackG_html_title}" /></td> |
---|
20 | </tr> |
---|
21 | <tr> |
---|
22 | <td>{'StackG_photoDynamicShow'|@translate}</td> |
---|
23 | <td colspan="2"><input type="checkbox" name="StackG_photoDynamicShow" {$StackG_photoDynamicShow}/></td> |
---|
24 | </tr> |
---|
25 | <tr> |
---|
26 | <td>{'StackG_enableURL'|@translate}</td> |
---|
27 | <td colspan="2"><input type="checkbox" name="StackG_enableURL" {$StackG_enableURL}/></td> |
---|
28 | </tr> |
---|
29 | <tr> |
---|
30 | <td>{'StackG_startAutoPlay'|@translate}</td> |
---|
31 | <td colspan="2"><input type="checkbox" name="StackG_startAutoPlay" {$StackG_startAutoPlay}/></td> |
---|
32 | </tr> |
---|
33 | |
---|
34 | |
---|
35 | |
---|
36 | <tr><td colspan="3"><hr></td></tr> |
---|
37 | <tr> |
---|
38 | <td colspan="3" align="left"><label>{'StackG_option_desc_label'|@translate}</label> |
---|
39 | </td> |
---|
40 | </tr> |
---|
41 | <tr> |
---|
42 | <td>{'StackG_DbackgroundColor'|@translate}</td> |
---|
43 | <td colspan="2"><input type="text" size="7" maxlength="7" name="StackG_DbackgroundColor" class="colorwell" value="{$StackG_DbackgroundColor}" /></td> |
---|
44 | </tr> |
---|
45 | |
---|
46 | <tr> |
---|
47 | <td>{'StackG_backgroundAlpha'|@translate}</td> |
---|
48 | <td colspan="2"><input type="text" size="2" maxlength="2" name="StackG_backgroundAlpha" value="{$StackG_backgroundAlpha}" /></td> |
---|
49 | </tr> |
---|
50 | |
---|
51 | <tr><td colspan="3"><hr></td></tr> |
---|
52 | <tr> |
---|
53 | <td colspan="3" align="left"><label>{'StackG_option_back_label'|@translate}</label> |
---|
54 | </td> |
---|
55 | </tr> |
---|
56 | <tr> |
---|
57 | <td>{'StackG_BbackgroundColor'|@translate}</td> |
---|
58 | <td colspan="2"><input type="text" size="7" maxlength="7" name="StackG_BbackgroundColor" class="colorwell" value="{$StackG_BbackgroundColor}" /></td> |
---|
59 | </tr> |
---|
60 | |
---|
61 | <tr><td colspan="3"><hr></td></tr> |
---|
62 | <tr> |
---|
63 | <td colspan="3" align="left"><label>{'StackG_option_photo_label'|@translate}</label> |
---|
64 | </td> |
---|
65 | </tr> |
---|
66 | |
---|
67 | <tr> |
---|
68 | <td>{'StackG_PhotoMaxWidth'|@translate}</td> |
---|
69 | <td colspan="2"><input type="text" size="3" maxlength="3" name="StackG_PhotoMaxWidth" value="{$StackG_PhotoMaxWidth}" /> px.</td> |
---|
70 | </tr> |
---|
71 | <tr> |
---|
72 | <td>{'StackG_PhotoMaxHeight'|@translate}</td> |
---|
73 | <td colspan="2"><input type="text" size="3" maxlength="3" name="StackG_PhotoMaxHeight" value="{$StackG_PhotoMaxHeight}" /> px.</td> |
---|
74 | </tr> |
---|
75 | <tr> |
---|
76 | <td>{'StackG_photoborder'|@translate}</td> |
---|
77 | <td colspan="2"><input type="text" size="3" maxlength="3" name="StackG_photoborder" value="{$StackG_photoborder}" /></td> |
---|
78 | </tr> |
---|
79 | <tr> |
---|
80 | <td>{'StackG_photoBackColor'|@translate}</td> |
---|
81 | <td colspan="2"><input type="text" size="7" maxlength="7" name="StackG_photoBackColor" class="colorwell" value="{$StackG_photoBackColor}" /></td> |
---|
82 | </tr> |
---|
83 | |
---|
84 | <tr> |
---|
85 | <td>{'StackG_EnablephotoTitle'|@translate}</td> |
---|
86 | <td colspan="2"><input type="checkbox" name="StackG_EnablephotoTitle" {$StackG_EnablephotoTitle}/></td> |
---|
87 | </tr> |
---|
88 | |
---|
89 | <tr> |
---|
90 | <td>{'StackG_photolineColor'|@translate}</td> |
---|
91 | <td colspan="2"><input type="text" size="7" maxlength="7" name="StackG_photolineColor" class="colorwell" value="{$StackG_photolineColor}" /></td> |
---|
92 | </tr> |
---|
93 | <tr> |
---|
94 | <td>{'StackG_photoButtonColor'|@translate}</td> |
---|
95 | <td colspan="2"><input type="text" size="7" maxlength="7" name="StackG_photoButtonColor" class="colorwell" value="{$StackG_photoButtonColor}" /></td> |
---|
96 | </tr> |
---|
97 | <tr> |
---|
98 | <td>{'StackG_photoTitleColor'|@translate}</td> |
---|
99 | <td colspan="2"><input type="text" size="7" maxlength="7" name="StackG_photoTitleColor" class="colorwell" value="{$StackG_photoTitleColor}" /></td> |
---|
100 | </tr> |
---|
101 | |
---|
102 | <tr> |
---|
103 | <td>{'StackG_pagedirection'|@translate}</td> |
---|
104 | <td> |
---|
105 | <select id="StackG_pagedirection" name="StackG_pagedirection"> |
---|
106 | {foreach from=$StackG_pagedirection item=StackG_pagedirection} |
---|
107 | <option value="{$StackG_pagedirection.ID}" {$StackG_pagedirection.SELECTED}>{$StackG_pagedirection.NAME}</option> |
---|
108 | {/foreach} |
---|
109 | </select> |
---|
110 | </td> |
---|
111 | </tr> |
---|
112 | |
---|
113 | <tr> |
---|
114 | <td>{'StackG_rotationangle'|@translate}</td> |
---|
115 | <td colspan="2"><input type="text" size="2" maxlength="2" name="StackG_rotationangle" value="{$StackG_rotationangle}" /></td> |
---|
116 | </tr> |
---|
117 | <tr> |
---|
118 | <td>{'StackG_pageSpeed'|@translate}</td> |
---|
119 | <td colspan="2"><input type="text" size="2" maxlength="2" name="StackG_pageSpeed" value="{$StackG_pageSpeed}" /> sec.</td> |
---|
120 | </tr> |
---|
121 | <tr> |
---|
122 | <td>{'StackG_waitTime'|@translate}</td> |
---|
123 | <td colspan="2"><input type="text" size="2" maxlength="2" name="StackG_waitTime" value="{$StackG_waitTime}" /> sec.</td> |
---|
124 | </tr> |
---|
125 | |
---|
126 | |
---|
127 | </table> |
---|
128 | |
---|
129 | {literal} |
---|
130 | |
---|
131 | <script type="text/javascript" charset="utf-8"> |
---|
132 | $(document).ready(function() { |
---|
133 | var f = $.farbtastic('#colorpicker'); |
---|
134 | var selected; |
---|
135 | $('.colorwell') |
---|
136 | .each(function () { f.linkTo(this); }) |
---|
137 | .focus(function() { |
---|
138 | f.linkTo(this); |
---|
139 | |
---|
140 | }); |
---|
141 | }); |
---|
142 | </script> |
---|
143 | {/literal} |
---|
144 | |
---|