1 | {html_head} |
---|
2 | <link rel="stylesheet" type="text/css" href="{$ASP.Path}css/AS_Panorama_admin.css"> |
---|
3 | {/html_head} |
---|
4 | <div class="titrePage"> |
---|
5 | <h2>Panoramas</h2> |
---|
6 | </div> |
---|
7 | <p> |
---|
8 | |
---|
9 | </p> |
---|
10 | <form method="post" action="" class="general"> |
---|
11 | <fieldset id="ASP_Config"> |
---|
12 | <legend>{'Panoramas configuration'|@translate}</legend> |
---|
13 | <table id="table" style="float:left"> |
---|
14 | <tr> |
---|
15 | <td class="label">{'Viewport height [pixels > 500]'|@translate}</td> |
---|
16 | <td><input type="text" class="field" name="viewport_height" value="{$ASP.viewport_height}" size="20" maxlength="3"/></td> |
---|
17 | </tr> |
---|
18 | |
---|
19 | <tr> |
---|
20 | <td class="label">{'Viewport width [% between 50-100]'|@translate}</td> |
---|
21 | <td><input type="text" class="field" name="viewport_width" value="{$ASP.viewport_width}" size="20" maxlength="3"/></td> |
---|
22 | </tr> |
---|
23 | <tr> |
---|
24 | <td class="label">{'Viewport minimal width [pixels > 320]'|@translate}</td> |
---|
25 | <td><input type="text" class="field" name="min_viewport_width" value="{$ASP.min_viewport_width}" size="20" maxlength="3"/></td> |
---|
26 | </tr> |
---|
27 | <tr> |
---|
28 | <td class="label">{'Viewport maximal width [pixels >= minimal width]'|@translate}</td> |
---|
29 | <td><input type="text" class="field" name="max_viewport_width" value="{$ASP.max_viewport_width}" size="20" maxlength="4"/></td> |
---|
30 | </tr> |
---|
31 | |
---|
32 | <tr> |
---|
33 | <td class="label">{'Border width'|@translate}</td> |
---|
34 | <td><input type="text" class="field" name="cont_border" value="{$ASP.cont_border}" size="20" maxlength="2"/></td> |
---|
35 | </tr> |
---|
36 | <tr> |
---|
37 | <td class="label">{'Border color'|@translate}</td> |
---|
38 | <td><input type="text" class="field colorwell" name="cont_border_color" value="{$ASP.cont_border_color}" size="20" maxlength="7"/></td> |
---|
39 | </tr> |
---|
40 | |
---|
41 | <tr> |
---|
42 | <td class="label">{'Relative speed factor [10-90]'|@translate}</td> |
---|
43 | <td><input type="text" class="field" name="speed" value="{$ASP.speed}" size="20" maxlength="2"/></td> |
---|
44 | </tr> |
---|
45 | <tr> |
---|
46 | <td class="label">{'Rotation direction'|@translate}</td> |
---|
47 | <td> |
---|
48 | <input type="radio" value="left" name="direction" {if ($ASP.direction=='left')} checked="checked" {/if}/>{'Left'|@translate} |
---|
49 | <input type="radio" value="right" name="direction" {if ($ASP.direction=='right')} checked="checked" {/if}/>{'Right'|@translate} |
---|
50 | </td> |
---|
51 | </tr> |
---|
52 | <tr> |
---|
53 | <td class="label">{'Control display'|@translate}</td> |
---|
54 | <td> |
---|
55 | <input type="radio" value="auto" name="control_display" {if ($ASP.control_display=='auto')} checked="checked" {/if}/>{'Auto'|@translate} |
---|
56 | <input type="radio" value="yes" name="control_display" {if ($ASP.control_display=='yes')} checked="checked" {/if}/>{'Permanent'|@translate} |
---|
57 | </td> |
---|
58 | </tr> |
---|
59 | <tr> |
---|
60 | <td class="label">{'Footer display'|@translate}</td> |
---|
61 | <td> |
---|
62 | <input type="radio" value="visible" name="footer_display" {if ($ASP.footer_display=='visible')} checked="checked" {/if}/>{'Visible'|@translate} |
---|
63 | <input type="radio" value="invisible" name="footer_display" {if ($ASP.footer_display=='invisible')} checked="checked" {/if}/>{'Invisible'|@translate} |
---|
64 | </td> |
---|
65 | </tr> |
---|
66 | |
---|
67 | <tr> |
---|
68 | <td class="label">{'Footer Color'|@translate}</td> |
---|
69 | <td><input type="text" class="field colorwell" name="footer_color" value="{$ASP.footer_color}" size="20" maxlength="7"/></td> |
---|
70 | </tr> |
---|
71 | <tr> |
---|
72 | <td class="label">{'Footer Control Color'|@translate}</td> |
---|
73 | <td><input type="text" class="field colorwell" name="footer_control_color" value="{$ASP.footer_control_color}" size="20" maxlength="7"/></td> |
---|
74 | </tr> |
---|
75 | <tr> |
---|
76 | <td class="label">{'Caption Color'|@translate}</td> |
---|
77 | <td><input type="text" class="field colorwell" name="caption_color" value="{$ASP.caption_color}" size="20" maxlength="7"/></td> |
---|
78 | </tr> |
---|
79 | |
---|
80 | <tr> |
---|
81 | <td class="label">{'Start position [% between 0-99]'|@translate}</td> |
---|
82 | <td><input type="text" class="field" name="start_position" value="{$ASP.start_position}" size="20" maxlength="2"/></td> |
---|
83 | </tr> |
---|
84 | <tr> |
---|
85 | <td class="label">{'Automatic start'|@translate}</td> |
---|
86 | <td> |
---|
87 | <input type="radio" value="1" name="auto_start" {if ($ASP.auto_start)} checked="checked" {/if}/>{'On'|@translate} |
---|
88 | <input type="radio" value="0" name="auto_start" {if (!$ASP.auto_start)} checked="checked" {/if}/>{'Off'|@translate} |
---|
89 | </td> |
---|
90 | </tr> |
---|
91 | <tr> |
---|
92 | <td class="label">{'Mode 360'|@translate}</td> |
---|
93 | <td> |
---|
94 | <input type="radio" value="1" name="mode_360" {if ($ASP.mode_360)} checked="checked" {/if}/>{'On'|@translate} |
---|
95 | <input type="radio" value="0" name="mode_360" {if (!$ASP.mode_360)} checked="checked" {/if}/>{'Off'|@translate} |
---|
96 | </td> |
---|
97 | </tr> |
---|
98 | <tr> |
---|
99 | <td class="label">{'Mode 180 (Alternative left-right restart)'|@translate}</td> |
---|
100 | <td> |
---|
101 | <input type="radio" value="1" name="loop_180" {if ($ASP.loop_180)} checked="checked" {/if}/>{'On'|@translate} |
---|
102 | <input type="radio" value="0" name="loop_180" {if (!$ASP.loop_180)} checked="checked" {/if}/>{'Off'|@translate} |
---|
103 | </td> |
---|
104 | </tr> |
---|
105 | <tr> |
---|
106 | <td class="label">{'Picture name substring to display in Mode 360'|@translate}</td> |
---|
107 | <td><input type="text" class="field" name="in_mode_360" value="{$ASP.in_mode_360}" size="20" maxlength="8"/></td> |
---|
108 | </tr> |
---|
109 | <tr> |
---|
110 | <td class="label">{'Picture name substring to display in Mode 180 [ != previous substring ]'|@translate}</td> |
---|
111 | <td><input type="text" class="field" name="in_mode_180" value="{$ASP.in_mode_180}" size="20" maxlength="8"/></td> |
---|
112 | </tr> |
---|
113 | <tr> |
---|
114 | <td class="label">{'Remove substring from picture title'|@translate}</td> |
---|
115 | <td> |
---|
116 | <input type="radio" value="1" name="In_name_display_removal" {if ($ASP.In_name_display_removal)} checked="checked" {/if}/>{'On'|@translate} |
---|
117 | <input type="radio" value="0" name="In_name_display_removal" {if (!$ASP.In_name_display_removal)} checked="checked" {/if}/>{'Off'|@translate} |
---|
118 | </td> |
---|
119 | </tr> |
---|
120 | </table> |
---|
121 | <div id="colorpicker" style="float:right"></div> |
---|
122 | </fieldset> |
---|
123 | |
---|
124 | <p><input type="submit" value="{'Submit'|@translate}" name="submit" /></p> |
---|
125 | </form> |
---|
126 | |
---|
127 | <script type="text/javascript" charset="utf-8"> |
---|
128 | $(document).ready(function() {ldelim} |
---|
129 | var f = $.farbtastic('#colorpicker'); |
---|
130 | var selected; |
---|
131 | $('.colorwell') |
---|
132 | .each(function () {ldelim} f.linkTo(this); }) |
---|
133 | .focus(function() {ldelim} |
---|
134 | f.linkTo(this); |
---|
135 | |
---|
136 | }); |
---|
137 | }); |
---|
138 | </script> |
---|
139 | |
---|
140 | {html_head} |
---|
141 | <script type="text/javascript"> |
---|
142 | jQuery(document).ready(function() {ldelim} |
---|
143 | jQuery(".infos").fadeOut(800).fadeIn(1200).fadeOut(400).fadeIn(800).fadeOut(400); |
---|
144 | jQuery(".errors").fadeOut(200).fadeIn(200).fadeOut(300).fadeIn(300).fadeOut(400).fadeIn(400); |
---|
145 | jQuery('#theAdminPage #the_page').addClass('{$themeconf.name}'); |
---|
146 | }); |
---|
147 | </script> |
---|
148 | |
---|
149 | {/html_head} |
---|