1 | <br> |
---|
2 | <div id="colorpicker" style="float: right;"></div> |
---|
3 | <table> |
---|
4 | |
---|
5 | <tr> |
---|
6 | <td colspan="3" align="left"><label>{'PV_options_label'|@translate}</label> |
---|
7 | </td> |
---|
8 | </tr> |
---|
9 | <tr> |
---|
10 | <td>{'PV_cellDimension'|@translate}</td> |
---|
11 | <td colspan="2"><input type="text" size="3" maxlength="3" name="PV_cellDimension" value="{$PV_cellDimension}" /> px</td> |
---|
12 | </tr> |
---|
13 | <tr> |
---|
14 | <td>{'PV_columns'|@translate}</td> |
---|
15 | <td colspan="2"><input type="text" size="2" maxlength="2" name="PV_columns" value="{$PV_columns}" /></td> |
---|
16 | </tr> |
---|
17 | <tr> |
---|
18 | <td>{'PV_zoomOutPerc'|@translate}</td> |
---|
19 | <td colspan="2"><input type="text" size="3" maxlength="3" name="PV_zoomOutPerc" value="{$PV_zoomOutPerc}" /> %</td> |
---|
20 | </tr> |
---|
21 | <tr> |
---|
22 | <td>{'PV_zoomInPerc'|@translate}</td> |
---|
23 | <td colspan="2"><input type="text" size="3" maxlength="3" name="PV_zoomInPerc" value="{$PV_zoomInPerc}" /> %</td> |
---|
24 | </tr> |
---|
25 | <tr> |
---|
26 | <td>{'PV_frameWidth'|@translate}</td> |
---|
27 | <td colspan="2"><input type="text" size="2" maxlength="2" name="PV_frameWidth" value="{$PV_frameWidth}" /> px</td> |
---|
28 | </tr> |
---|
29 | <tr> |
---|
30 | <td>{'PV_frameColor'|@translate}</td> |
---|
31 | <td colspan="2"><input type="text" size="7" maxlength="7" name="PV_frameColor" class="colorwell" value="{$PV_frameColor}" /></td> |
---|
32 | </tr> |
---|
33 | <tr> |
---|
34 | <td>{'PV_captionColor'|@translate}</td> |
---|
35 | <td colspan="2"><input type="text" size="7" maxlength="7" name="PV_captionColor" class="colorwell" value="{$PV_captionColor}" /></td> |
---|
36 | </tr> |
---|
37 | <tr> |
---|
38 | <td>{'PV_enableRightClickOpen'|@translate}</td> |
---|
39 | <td colspan="2"><input type="checkbox" name="PV_enableRightClickOpen" {$PV_enableRightClickOpen}/></td> |
---|
40 | </tr> |
---|
41 | <tr> |
---|
42 | <td>{'PV_langOpenImage'|@translate}</td> |
---|
43 | <td colspan="2"><input type="text" size="40" maxlength="40" name="PV_langOpenImage" value="{$PV_langOpenImage}" /></td> |
---|
44 | </tr> |
---|
45 | <tr> |
---|
46 | <td>{'PV_langAbout'|@translate}</td> |
---|
47 | <td colspan="2"><input type="text" size="40" maxlength="40" name="PV_langAbout" value="{$PV_langAbout}" /></td> |
---|
48 | </tr> |
---|
49 | |
---|
50 | |
---|
51 | </table> |
---|
52 | |
---|
53 | {literal} |
---|
54 | |
---|
55 | <script type="text/javascript" charset="utf-8"> |
---|
56 | $(document).ready(function() { |
---|
57 | var f = $.farbtastic('#colorpicker'); |
---|
58 | var selected; |
---|
59 | $('.colorwell') |
---|
60 | .each(function () { f.linkTo(this); }) |
---|
61 | .focus(function() { |
---|
62 | f.linkTo(this); |
---|
63 | |
---|
64 | }); |
---|
65 | }); |
---|
66 | </script> |
---|
67 | {/literal} |
---|
68 | |
---|