source: extensions/Flash_Gallery/modules/JWImageRotator/admin/config.tpl @ 4312

Last change on this file since 4312 was 4312, checked in by tiico, 14 years ago

[Flash_Gallery] bug 1230 : Update JWImageRotator module with autostart option

File size: 3.8 KB
Line 
1<br>
2<div id="colorpicker" style="float: right;"></div>      
3<table>
4
5
6        <tr>
7                <td colspan="3" align="left"><label>{'JWIR_options_label'|@translate}</label>
8                </td>
9        </tr>
10        <tr>
11                        <td>&nbsp;</td>
12                        <td align="center">{'JWIR_height'|@translate}</label></td>
13                        <td align="center">{'JWIR_width'|@translate}</td>
14        </tr>
15        <tr>
16                <td>{'JWIR_size'|@translate}</td>
17                <td align="center"><input type="text" size="3" maxlength="3" name="JWIR_height" value="{$JWIR_height}" /></td>
18                <td align="center"><input type="text" size="3" maxlength="3" name="JWIR_width" value="{$JWIR_width}" /></td>
19        </tr>
20
21
22        <tr>
23                <td>{'JWIR_backcolor'|@translate}</td>                 
24                <td colspan="2"><input type="text" size="7" maxlength="7" name="JWIR_backcolor" class="colorwell" value="{$JWIR_backcolor}" /></td>
25        </tr>
26        <tr>
27                <td>{'JWIR_frontcolor'|@translate}</td>                 
28                <td colspan="2"><input type="text" size="7" maxlength="7" name="JWIR_frontcolor" class="colorwell" value="{$JWIR_frontcolor}" /></td>
29        </tr>
30        <tr>
31                <td>{'JWIR_lightcolor'|@translate}</td>                 
32                <td colspan="2"><input type="text" size="7" maxlength="7" name="JWIR_lightcolor" class="colorwell" value="{$JWIR_lightcolor}" /></td>
33        </tr>
34        <tr>
35                <td>{'JWIR_overstretch'|@translate}</td>
36                <td colspan="2">
37                        <select id="JWIR_overstretch" name="JWIR_overstretch">
38                        {foreach from=$JWIR_overstretch item=JWIR_overstretch}
39                                <option value="{$JWIR_overstretch.ID}" {$JWIR_overstretch.SELECTED}>{$JWIR_overstretch.NAME}</option>
40                        {/foreach}
41                        </select>
42                </td>
43        </tr>
44        <tr>
45                <td>{'JWIR_screencolor'|@translate}</td>                       
46                <td colspan="2"><input type="text" size="7" maxlength="7" name="JWIR_screencolor" class="colorwell" value="{$JWIR_screencolor}" /></td>
47        </tr>
48       
49        <tr>
50                <td>{'JWIR_showicons'|@translate}</td>
51                <td colspan="2"><input type="checkbox" name="JWIR_showicons" {$JWIR_showicons}/></td>
52        </tr>
53        <tr>
54                <td>{'JWIR_shownavigation'|@translate}</td>
55                <td colspan="2"><input type="checkbox" name="JWIR_shownavigation" {$JWIR_shownavigation}/></td>
56        </tr>
57        <tr>
58                <td>{'JWIR_transition'|@translate}</td>
59                <td colspan="2">
60                        <select id="JWIR_transition" name="JWIR_transition">
61                        {foreach from=$JWIR_transition item=JWIR_transition}
62                                <option value="{$JWIR_transition.ID}" {$JWIR_transition.SELECTED}>{$JWIR_transition.NAME}</option>
63                        {/foreach}
64                        </select>
65                </td>
66        </tr>
67        <tr>
68                <td>{'JWIR_usefullscreen'|@translate}</td>
69                <td colspan="2"><input type="checkbox" name="JWIR_usefullscreen" {$JWIR_usefullscreen}/></td>
70        </tr>
71        <tr>
72                <td>{'JWIR_linkfromdisplay'|@translate}</td>
73                <td colspan="2"><input type="checkbox" name="JWIR_linkfromdisplay" {$JWIR_linkfromdisplay}/></td>
74        </tr>
75        <tr>
76                <td>{'JWIR_linktarget'|@translate}</td>
77                <td colspan="2">
78                        <select id="JWIR_linktarget" name="JWIR_linktarget">
79                        {foreach from=$JWIR_linktarget item=JWIR_linktarget}
80                                <option value="{$JWIR_linktarget.ID}" {$JWIR_linktarget.SELECTED}>{$JWIR_linktarget.NAME}</option>
81                        {/foreach}
82                        </select>
83                </td>
84        </tr>
85
86
87
88        <tr>
89                <td>{'JWIR_repeat'|@translate}</td>
90                <td colspan="2"><input type="checkbox" name="JWIR_repeat" {$JWIR_repeat}/></td>
91        </tr>
92
93        <tr>
94                <td>{'JWIR_rotatetime'|@translate}</td>
95                <td colspan="2"><input type="text" size="2" maxlength="2" name="JWIR_rotatetime" value="{$JWIR_rotatetime}" />sec.</td>
96        </tr>
97        <tr>
98                <td>{'JWIR_shuffle'|@translate}</td>
99                <td colspan="2"><input type="checkbox" name="JWIR_shuffle" {$JWIR_shuffle}/></td>
100        </tr>
101        <tr>
102                <td>{'JWIR_autostart'|@translate}</td>
103                <td colspan="2"><input type="checkbox" name="JWIR_autostart" {$JWIR_autostart}/></td>
104        </tr>
105       
106</table>
107
108{literal}
109
110<script type="text/javascript" charset="utf-8">
111 $(document).ready(function() {
112     var f = $.farbtastic('#colorpicker');
113     var selected;
114     $('.colorwell')
115       .each(function () { f.linkTo(this);  })
116       .focus(function() {
117        f.linkTo(this);
118
119       });
120  });
121</script>
122{/literal}
123       
Note: See TracBrowser for help on using the repository browser.