source: extensions/paMOOramics/admin.tpl @ 24331

Last change on this file since 24331 was 10928, checked in by repie38, 14 years ago

2.2.x compatible version

File size: 4.9 KB
Line 
1<div class="titrePage">
2  <h2>paMOOramics</h2>
3</div>
4<p>
5
6
7{'pamooramics_description'|@translate} :<br />
8<a href="http://www.silverscripting.com/pamoorama/index.php">PAMOORAMA</a> ({'pamooramics_by'|@translate} SilverTab)
9{'pamooramics_and'|@translate} <a href="http://www.mootools.net/">MOOTOOLS</A><br/>
10
11<br/>
12
13
14</p>
15<form method="post" action="{$TESTPLUGIN_F_ACTION}" class="general">
16 <fieldset id="paMOOfieldset">
17  <legend>{'pamooramics_admin_form_legend'|@translate}</legend>
18  <div id="colorpicker"></div>
19  <table id="paMOOtable">
20   <tr>
21    <td class="paMOOlabel">{'pamooramics_use_name'|@translate}</td>
22    <td><input type="radio" id="paMOOramics_mode" name="paMOOramics_mode" value="modename" {$PAMOORAMICS_USENAME} /></td>
23   </tr>
24   <tr>
25    <td class="paMOOlabel">{'pamooramics_name'|@translate}</td>
26    <td><input type="text" class="paMOOfield" name="paMOOramics_name" value="{$PAMOORAMICS_NAME}" width="200px;"/></td>
27   </tr>
28  <tr>
29    <td class="paMOOlabel">{'pamooramics_use_ratio'|@translate}</td>
30    <td><input type="radio" id="paMOOramics_mode" name="paMOOramics_mode"  value="moderatio" {$PAMOORAMICS_USERATIO} /></td>
31   </tr>
32   <tr>
33    <td class="paMOOlabel">{'pamooramics_ratio'|@translate}</td>
34    <td><input type="text" class="paMOOfield" name="paMOOramics_ratio" value="{$PAMOORAMICS_RATIO}" /></td>
35   </tr>
36
37   <tr>
38    <td class="paMOOlabel">{'pamooramics_width'|@translate}</td>
39    <td><input type="text" name="paMOOramics_width" class="paMOOfield" value="{$PAMOORAMICS_WIDTH}" /> px</td>
40   </tr>
41
42   <tr>
43    <td class="paMOOlabel">{'pamooramics_border_size'|@translate}</td>
44    <td><input type="text" name="paMOOramics_border" class="paMOOfield" value="{$PAMOORAMICS_BORDER}" /> px</td>
45   </tr>
46
47   <tr>
48    <td class="paMOOlabel">{'pamooramics_border_color'|@translate}</td>
49    <td><input type="text" name="paMOOramics_bordercolor" id="paMOOramics_bordercolor" class="paMOOfield colorwell" value="{$PAMOORAMICS_BORDERCOLOR}" /></td>
50   </tr>
51
52   <tr>
53    <td class="paMOOlabel">{'pamooramics_footer_color'|@translate}</td>
54    <td><input type="text" name="paMOOramics_footercolor" id="paMOOramics_footercolor" class="paMOOfield colorwell" value="{$PAMOORAMICS_FOOTERCOLOR}" /></td>
55   </tr>
56
57   <tr>
58    <td class="paMOOlabel">{'pamooramics_caption_color'|@translate}</td>
59    <td><input type="text" name="paMOOramics_captioncolor" id="paMOOramics_captioncolor" class="paMOOfield colorwell" value="{$PAMOORAMICS_CAPTIONCOLOR}" /></td>
60   </tr>
61
62
63   <tr>
64    <td class="paMOOlabel">{'pamooramics_autoscroll_speed'|@translate}</td>
65    <td><input type="text" name="paMOOramics_autoscrollSpeed" class="paMOOfield" value="{$PAMOORAMICS_AUTOSCROLLSPEED}" /> ms</td>
66   </tr>
67
68   <tr>
69    <td class="paMOOlabel">{'pamooramics_activateslider'|@translate}</td>
70    <td><input type="checkbox" name="paMOOramics_activateSlider" id="paMOOramics_activateSlider" {$PAMOORAMICS_ACTIVATESLIDER} /></td>
71   </tr>
72
73   <tr>
74    <td class="paMOOlabel">{'pamooramics_enable_autoscroll'|@translate}</td>
75    <td><input type="checkbox" name="paMOOramics_enableAutoscroll" id="paMOOramics_enableAutoscroll" onClick="Pamooscript()" {$PAMOORAMICS_ENABLEAUTOSCROLL} /></td>
76   </tr>
77
78   <tr>
79    <td class="paMOOlabel">{'pamooramics_autoscroll_onload'|@translate}</td>
80    <td><input type="checkbox" id="paMOOramics_autoscrollOnLoad" name="paMOOramics_autoscrollOnLoad" {$PAMOORAMICS_AUTOSCROLLONLOAD} /></td>
81   </tr>
82
83   <tr>
84       <td class="paMOOlabel">{'pamooramics_displayfooter'|@translate}</td>
85       <td><input type="checkbox" id="paMOOramics_displayfooter" name="paMOOramics_displayfooter" onClick="if (this.checked) {ldelim}document.getElementById('paMOOramics_activateSlider').checked=true;}" {$PAMOORAMICS_DISPLAYFOOTER} /></td>
86   </tr>
87   <tr>
88                <td class="paMOOlabel">{'pamooramics_Slideshow_displayfooter'|@translate}</td>
89        <td><input type="checkbox" name="pamooramics_Slideshow_displayfooter" id="pamooramics_Slideshow_displayfooter" {$PAMOORAMICS_SLIDE_DISPLAYFOOTER} /></td>
90   </tr>
91  </table>
92 </fieldset>
93
94
95
96
97
98
99
100
101 <p><input type="submit" value="{'pamooramics_save_config'|@translate}" name="submit" /></p>
102</form>
103
104<script type="text/javascript" charset="utf-8">
105 $(document).ready(function() {ldelim}
106     var f = $.farbtastic('#colorpicker');
107     var selected;
108     $('.colorwell')
109       .each(function () {ldelim} f.linkTo(this);  })
110       .focus(function() {ldelim}
111        f.linkTo(this);
112
113       });
114  });
115function Pamooscript(){ldelim}
116        if (!document.getElementById("paMOOramics_enableAutoscroll").checked) {ldelim}
117                document.getElementById("paMOOramics_autoscrollOnLoad").disabled=true;
118                document.getElementById("paMOOramics_autoscrollOnLoad").checked=false;
119        }
120        else {ldelim}
121                document.getElementById("paMOOramics_autoscrollOnLoad").disabled=false;
122        }
123}
124
125</script>
Note: See TracBrowser for help on using the repository browser.