1 | <br> |
---|
2 | <div id="colorpicker" style="float: right;"></div> |
---|
3 | <table> |
---|
4 | |
---|
5 | <tr> |
---|
6 | <td colspan="3" align="left"><label>{'TV_options_label'|@translate}</label> |
---|
7 | </td> |
---|
8 | </tr> |
---|
9 | <tr> |
---|
10 | <td>{'TV_useReloadButton'|@translate}</td> |
---|
11 | <td colspan="2"><input type="checkbox" name="TV_useReloadButton" {$TV_useReloadButton}/></td> |
---|
12 | </tr> |
---|
13 | <tr> |
---|
14 | <td>{'TV_showFlipButton'|@translate}</td> |
---|
15 | <td colspan="2"><input type="checkbox" name="TV_showFlipButton" {$TV_showFlipButton}/></td> |
---|
16 | </tr> |
---|
17 | <tr> |
---|
18 | <td>{'TV_showLinkButton'|@translate}</td> |
---|
19 | <td colspan="2"><input type="checkbox" name="TV_showLinkButton" {$TV_showLinkButton}/></td> |
---|
20 | </tr> |
---|
21 | <tr> |
---|
22 | <td>{'TV_allowFullScreen'|@translate}</td> |
---|
23 | <td colspan="2"><input type="checkbox" name="TV_allowFullScreen" {$TV_allowFullScreen}/></td> |
---|
24 | </tr> |
---|
25 | <tr> |
---|
26 | <td>{'TV_maxJPGSize'|@translate}</td> |
---|
27 | <td colspan="2"><input type="text" size="3" maxlength="3" name="TV_maxJPGSize" value="{$TV_maxJPGSize}" /></td> |
---|
28 | </tr> |
---|
29 | |
---|
30 | <tr> |
---|
31 | <td> </td> |
---|
32 | <td>{'TV_columns'|@translate}</label></td> |
---|
33 | <td>{'TV_rows'|@translate}</td> |
---|
34 | </tr> |
---|
35 | <tr> |
---|
36 | <td>{'TV_thumbnail'|@translate}</td> |
---|
37 | <td><input type="text" size="2" maxlength="2" name="TV_columns" value="{$TV_columns}" /></td> |
---|
38 | <td><input type="text" size="2" maxlength="2" name="TV_rows" value="{$TV_rows}" /></td> |
---|
39 | </tr> |
---|
40 | |
---|
41 | <tr> |
---|
42 | <td>{'TV_linkLabel'|@translate}</td> |
---|
43 | <td colspan="2"><input type="text" size="30" maxlength="30" name="TV_linkLabel" value="{$TV_linkLabel}" /></td> |
---|
44 | </tr> |
---|
45 | <tr> |
---|
46 | <td>{'TV_frameColor'|@translate}</td> |
---|
47 | <td colspan="2"><input type="text" size="7" maxlength="7" name="TV_frameColor" class="colorwell" value="{$TV_frameColor}" /></td> |
---|
48 | </tr> |
---|
49 | <tr> |
---|
50 | <td>{'TV_backColor'|@translate}</td> |
---|
51 | <td colspan="2"><input type="text" size="7" maxlength="7" name="TV_backColor" class="colorwell" value="{$TV_backColor}" /></td> |
---|
52 | </tr> |
---|
53 | <tr> |
---|
54 | <td>{'TV_bkgndInnerColor'|@translate}</td> |
---|
55 | <td colspan="2"><input type="text" size="7" maxlength="7" name="TV_bkgndInnerColor" class="colorwell" value="{$TV_bkgndInnerColor}" /></td> |
---|
56 | </tr> |
---|
57 | <tr> |
---|
58 | <td>{'TV_bkgndOuterColor'|@translate}</td> |
---|
59 | <td colspan="2"><input type="text" size="7" maxlength="7" name="TV_bkgndOuterColor" class="colorwell" value="{$TV_bkgndOuterColor}" /></td> |
---|
60 | </tr> |
---|
61 | <tr> |
---|
62 | <td>{'TV_langGoFull'|@translate}</td> |
---|
63 | <td colspan="2"><input type="text" size="30" maxlength="30" name="TV_langGoFull" value="{$TV_langGoFull}" /></td> |
---|
64 | </tr> |
---|
65 | <tr> |
---|
66 | <td>{'TV_langExitFull'|@translate}</td> |
---|
67 | <td colspan="2"><input type="text" size="30" maxlength="30" name="TV_langExitFull" value="{$TV_langExitFull}" /></td> |
---|
68 | </tr> |
---|
69 | <tr> |
---|
70 | <td>{'TV_langAbout'|@translate}</td> |
---|
71 | <td colspan="2"><input type="text" size="30" maxlength="30" name="TV_langAbout" value="{$TV_langAbout}" /></td> |
---|
72 | </tr> |
---|
73 | |
---|
74 | </table> |
---|
75 | |
---|
76 | {literal} |
---|
77 | |
---|
78 | <script type="text/javascript" charset="utf-8"> |
---|
79 | $(document).ready(function() { |
---|
80 | var f = $.farbtastic('#colorpicker'); |
---|
81 | var selected; |
---|
82 | $('.colorwell') |
---|
83 | .each(function () { f.linkTo(this); }) |
---|
84 | .focus(function() { |
---|
85 | f.linkTo(this); |
---|
86 | |
---|
87 | }); |
---|
88 | }); |
---|
89 | </script> |
---|
90 | {/literal} |
---|
91 | |
---|