source: extensions/charlies_content/charlies_config.tpl @ 6220

Last change on this file since 6220 was 6220, checked in by vdigital, 14 years ago

Support: The basic 2.1 support

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 23.8 KB
Line 
1<div class="titrePage">
2        <h2>Charlies' content [{$Charlies.version}]</h2>
3</div>
4
5<form method="post" action="" class="Charlies properties">
6
7{if $page == 'templates'}
8<script type="text/javascript">
9jQuery().ready(function(){ldelim}
10  jQuery('.charlie-tlp').accordion();
11});
12</script>
13<fieldset>
14<legend>{'Charlies player template-mimetype association'|@translate}</legend>
15        <div class="charlie-tlp">
16                {foreach from=$players item=player name=player}
17                <a href="#" class="xl">charlie_{$player.name|@strtolower}.tpl</a>
18                <div>
19                        <table class="checking" summary="Extensions and templates">
20                                <tr>
21                                {foreach from=$extensions item=extension name=extension}
22                                {if ($smarty.foreach.extension.index - 1) % 10 == 9}</tr><tr>{/if}
23                                <td>
24                                        <input id="{$player.name}-{$smarty.foreach.extension.iteration}" type="checkbox"
25                                        {if in_array($extension, $player.ext)} checked {/if} value="{$extension}" name="{$player.name}[]"/> {$extension}
26                                </td>
27                                {/foreach}
28                                </tr>
29                        </table>
30                </div>
31                {/foreach}
32        </div>
33<input type="submit" value="{'Save Charlies\' configuration'|@translate}" name="submit" class="submit"/>
34        <p class="bot">[ {'Bind your prefered extensions to a template file (player) from:'|@translate} {$CHARLIES_PATH} ]<br />
35        [ {'Note: These options are available with the Maxi FLV Player. More details on all theses options on:'|@translate}
36        <a class="external" href="http://flv-player.net/en/players/maxi/documentation/" title="Documentation">FLV Player</a> (neolao production). ]</p>
37        <div><input type="hidden" name="from" value="templates" /></div>
38{/if}
39
40{if $page == 'options'}
41<script type="text/javascript">
42jQuery().ready(function(){ldelim}
43        $('#theAdminPage .titrePage h2').addClass('ct').fadeOut(10).fadeIn(2400);
44});
45</script>
46<fieldset>
47        <legend>{'Charlies players configuration'|@translate}</legend>
48
49        <div id="main-options">
50        <ul>
51                <li><a class="nlink" href="#fgeneral">{'General options'|@translate}</a></li>
52                <li><a class="nlink" href="#fbuffer">{'Buffering'|@translate}</a></li>
53                <li><a class="nlink" href="#felement">{'Config by element'|@translate}</a></li>
54                <li><a class="nlink" href="#fskin">{'Skin'|@translate}</a></li>
55                <li><a class="nlink" href="#ftitle">{'Titleling'|@translate}</a></li>
56                <li><a class="nlink" href="#fsubtitle">{'Subtitleling'|@translate}</a></li>
57                <li><a class="nlink" href="#fplayer">{'Player and Buttons'|@translate}</a></li>
58                <li><a class="nlink" href="#fmiscel">{'Miscellaneous'|@translate}</a></li>
59        </ul>
60 </div>
61        <div class="none" id="fgeneral">
62        <ul>
63                <li><table summary="General player options" style="width:100%;"><tr><td style="width:24.5%;">
64                        <span class="property">{'Autoload'|@translate}</span>
65                        <input type="radio" value="1" name="autoload" {if ($Charlies.autoload==1)} checked="checked" {/if} title="{'Display first picture'|@translate}" />{'On'|@translate}
66                        <input type="radio" value="0" name="autoload" {if ($Charlies.autoload==0)} checked="checked" {/if}/>{'Off'|@translate}
67                </td>
68                <td style="width:24.5%;">
69                        <span class="property">{'Autoplay'|@translate}</span>
70                        <input type="radio" value="1" name="autoplay" {if ($Charlies.autoplay==1)} checked="checked" {/if}/>{'On'|@translate}
71                        <input type="radio" value="0" name="autoplay" {if ($Charlies.autoplay==0)} checked="checked" {/if}/>{'Off'|@translate}
72                </td>
73                <td style="width:24.5%;">
74                        <span class="property">{'Loop'|@translate}</span>
75                        <input type="radio" value="1" name="loop" {if ($Charlies.loop==1)} checked="checked" {/if}/>{'On'|@translate}
76                        <input type="radio" value="0" name="loop" {if ($Charlies.loop==0)} checked="checked" {/if}/>{'Off'|@translate}
77                </td>
78                <td style="width:24.5%;">
79                        <span class="property">{'Fullscreen'|@translate}</span>
80                        <input type="radio" value="1" name="full" {if ($Charlies.full==1)} checked="checked" {/if} title="{'Flash Player 9.0.16.60 or above is required.'|@translate}"/>{'On'|@translate}
81                        <input type="radio" value="0" name="full" {if ($Charlies.full==0)} checked="checked" {/if}/>{'Off'|@translate}
82                </td><td style="width:210px;"></td></tr></table></li>
83                <li>
84                        <span class="property">{'Forced video width'|@translate}</span>
85                        <input type="text" id="forced_width" name="forced_width" value="{$Charlies.forced_width}" />
86                </li>
87                <li>
88                        <span class="property">{'Forced video height'|@translate}</span>
89                        <input type="text" id="forced_height" name="forced_height" value="{$Charlies.forced_height}" />
90                </li>
91                <li>
92                        <span class="property">{'Video default width'|@translate}</span>
93                        <input type="text" id="video_default_width" name="video_default_width" value="{$Charlies.video_default_width}" />
94                </li>
95                <li>
96                        <span class="property">{'Video default height'|@translate}</span>
97                        <input type="text" id="video_default_height" name="video_default_height" value="{$Charlies.video_default_height}" />
98                </li>
99                <li>
100                        <span class="property">{'Volume [0-200]'|@translate}</span>
101                        <input type="text" id="volume" maxlength="3" size="8" name="volume" value="{$Charlies.volume}" />
102                </li>
103                <li>
104                        <p class="property" style="text-align:center; width:100%;">{'Onclick URL'|@translate} <span style="font-weight:normal;font-size:0.8;font-style:italic;">{'or fullscreen or playpause or none'|@translate}</span><br />
105                        <input type="text" size="80" id="onclick" name="onclick" value="{$Charlies.onclick}" />
106                        <input type="radio" value="1" name="onclicktarget" {if ($Charlies.onclicktarget==1)} checked="checked" {/if}/>{'_blank'|@translate}
107                        <input type="radio" value="0" name="onclicktarget" {if ($Charlies.onclicktarget==0)} checked="checked" {/if}/>{'_self'|@translate}
108                        </p>
109                </li>
110                <li>
111                        <p class="property" style="text-align:center; width:100%;">{'On doubleclick URL'|@translate} <span style="font-weight:normal;font-size:0.8;font-style:italic;">{'or fullscreen or playpause or none'|@translate}</span><br />
112                        <input type="text" size="80" id="ondoubleclick" name="ondoubleclick" value="{$Charlies.ondoubleclick}" />
113                        <input type="radio" value="1" name="ondoubleclicktarget" {if ($Charlies.ondoubleclicktarget==1)} checked="checked" {/if}/>{'_blank'|@translate}
114                        <input type="radio" value="0" name="ondoubleclicktarget" {if ($Charlies.ondoubleclicktarget==0)} checked="checked" {/if}/>{'_self'|@translate}
115                        </p>
116                </li>
117        </ul>
118        </div>
119
120        <div class="none" id="fbuffer">
121        <ul>
122                <li>
123                        <span class="property">{'Video buffer size in seconds'|@translate}</span>
124                        <input type="text" id="buffer" maxlength="3" size="8" name="buffer" value="{$Charlies.buffer}" title="{'Default 5 seconds.'|@translate}" />
125                </li>
126                <li>
127                        <span class="property">{'Video buffer percent message'|@translate}</span>
128                        <input type="text" size="32" id="buffermessage" name="buffermessage" value="{$Charlies.buffermessage}" title="{'Buffering _n_'|@translate}" />
129                </li>
130                <li>
131                        <span class="property">{'Video buffer background'|@translate}</span>
132                        <input type="radio" value="1" name="buffershowbg" {if ($Charlies.buffershowbg==1)} checked="checked" {/if}/>{'On'|@translate}
133                        <input type="radio" value="0" name="buffershowbg" {if ($Charlies.buffershowbg==0)} checked="checked" {/if}/>{'Off'|@translate}
134                </li>
135        </ul>
136        </div>
137
138        <div class="none" id="felement">
139        <ul>
140                <li>
141                        <span class="property">{'Use existing .txt to config'|@translate}</span>
142                        <input type="radio" value="1" name="config" {if ($Charlies.config==1)} checked="checked" {/if} title="{'Filename.txt might be use as config.txt file'|@translate}" />{'On'|@translate}
143                        <input type="radio" value="0" name="config" {if ($Charlies.config==0)} checked="checked" {/if}/>{'Off'|@translate}
144                </li>
145                <li>
146                        <span class="property">{'Use existing .xml to config'|@translate}</span>
147                        <input type="radio" value="1" name="configxml" {if ($Charlies.configxml==1)} checked="checked" {/if} title="{'Filename.xml might be use as config.xml file'|@translate}" />{'On'|@translate}
148                        <input type="radio" value="0" name="configxml" {if ($Charlies.configxml==0)} checked="checked" {/if}/>{'Off'|@translate}
149                </li>
150        </ul>
151        </div>
152
153        <div class="none" id="fskin">
154        <ul>
155                <li>
156                        <span class="property">{'Margin for skin'|@translate}</span>
157                        <input type="text" id="margin" maxlength="2" size="8" name="margin" value="{$Charlies.margin}" />
158                </li>
159                <li>
160                        <p class="property" style="text-align:center; width:100%;">{'Skin image'|@translate} <span style="font-weight:normal;font-size:0.8;font-style:italic;">{'(URL of a non progressive jpg)'|@translate}</span><br />
161                        <input type="text" size="80" id="skin" name="skin" value="{$Charlies.skin}" /></p>
162                </li>
163        </ul>
164        </div>
165
166        <div class="none" id="ftitle">
167        <ul>
168                <li>
169                        <span class="property">{'Title'|@translate}</span>
170                        <input type="text" id="title" maxlength="32" size="32" name="title" value="{$Charlies.title|@stripslashes}" />
171                </li>
172                <li>
173                        <span class="property">{'Title font size [12-72]'|@translate}</span>
174                        <input type="text" id="titlesize" maxlength="2" size="8" name="titlesize" value="{$Charlies.titlesize}" title="{'Default size might be 20.'|@translate}" />
175                </li>
176                <li>
177                        <p class="property" style="text-align:center; width:100%;">{'Start image'|@translate} <span style="font-weight:normal;font-size:0.8;font-style:italic;">{'(URL of a non progressive jpg)'|@translate}</span><br />
178                        <input type="text" size="80" id="start_image" name="start_image" value="{$Charlies.start_image}" /></p>
179                </li>
180                <li>
181                        <span class="property">{'Title and start picture'|@translate}</span>
182                        <input type="radio" value="1" name="showtitleandstartimage" {if ($Charlies.showtitleandstartimage==1)} checked="checked" {/if}/>{'On'|@translate}
183                        <input type="radio" value="0" name="showtitleandstartimage" {if ($Charlies.showtitleandstartimage==0)} checked="checked" {/if}/>{'Off'|@translate}
184                </li>
185                <li>
186                        <span class="property">{'Play icon in middle'|@translate}</span>
187                        <input type="radio" value="1" name="showiconplay" {if ($Charlies.showiconplay==1)} checked="checked" {/if}/>{'On'|@translate}
188                        <input type="radio" value="0" name="showiconplay" {if ($Charlies.showiconplay==0)} checked="checked" {/if}/>{'Off'|@translate}
189                </li>
190                <li>
191                        <span class="property">{'Play icon transparency [0-100]'|@translate}</span>
192                        <input type="text" id="iconplaybgalpha" maxlength="3" size="8" name="iconplaybgalpha" value="{$Charlies.iconplaybgalpha}" />
193                </li>
194                <li>
195                        <p class="property" style="text-align:center; width:100%;">{'Load an image over video'|@translate} <span style="font-weight:normal;font-size:0.8;font-style:italic;">{'(URL|x|y : where x,y are the offsets to place the picture)'|@translate}</span><br />
196                        <input type="text" size="80" id="top1" name="top1" value="{$Charlies.top1}" /></p>
197                </li>
198        </ul>
199        </div>
200
201        <div class="none" id="fsubtitle">
202        <ul>
203                <li>
204                        <span class="property">{'Use subtitles'|@translate}</span>
205                        <input type="radio" value="1" name="srt" {if ($Charlies.srt==1)} checked="checked" {/if} title="{'Filename.srt might be use for captioning'|@translate}" />{'On'|@translate}
206                        <input type="radio" value="0" name="srt" {if ($Charlies.srt==0)} checked="checked" {/if}/>{'Off'|@translate}
207                </li>
208                <li>
209                        <span class="property">{'Subtitles font size [8-24]'|@translate}</span>
210                        <input type="text" id="srtsize" maxlength="2" size="8" name="srtsize" value="{$Charlies.srtsize}" title="{'Default size might be 11.'|@translate}" />
211                </li>
212                <li>
213                        <p class="property" style="text-align:center; width:100%;">{'Subtitles file URL'|@translate} <span style="font-weight:normal;font-size:0.8;font-style:italic;">{'(URL of .srt)'|@translate}</span><br />
214                        <input type="text" size="80" id="srturl" name="srturl" value="{$Charlies.srturl}" /></p>
215                </li>
216        </ul>
217        </div>
218
219        <div class="none" id="fplayer">
220        <ul>
221                <li>
222                        <span class="property">{'Show player'|@translate}</span>
223                        <input type="radio" value="1" name="showplayer" {if ($Charlies.showplayer==1)} checked="checked" {/if}/>{'Autohide'|@translate}
224                        <input type="radio" value="2" name="showplayer" {if ($Charlies.showplayer==2)} checked="checked" {/if}/>{'Always'|@translate}
225                        <input type="radio" value="0" name="showplayer" {if ($Charlies.showplayer==0)} checked="checked" {/if}/>{'Never'|@translate}
226                </li>
227                <li>
228                        <span class="property">{'Show loading'|@translate}</span>
229                        <input type="radio" value="1" name="showloading" {if ($Charlies.showloading==1)} checked="checked" {/if}/>{'Autohide'|@translate}
230                        <input type="radio" value="2" name="showloading" {if ($Charlies.showloading==2)} checked="checked" {/if}/>{'Always'|@translate}
231                        <input type="radio" value="0" name="showloading" {if ($Charlies.showloading==0)} checked="checked" {/if}/>{'Never'|@translate}
232                </li>
233                <li>
234                        <span class="property">{'Show mouse'|@translate}</span>
235                        <input type="radio" value="1" name="showmouse" {if ($Charlies.showmouse==1)} checked="checked" {/if}/>{'Autohide'|@translate}
236                        <input type="radio" value="2" name="showmouse" {if ($Charlies.showmouse==2)} checked="checked" {/if}/>{'Always'|@translate}
237                        <input type="radio" value="0" name="showmouse" {if ($Charlies.showmouse==0)} checked="checked" {/if}/>{'Never'|@translate}
238                </li>
239                <li>
240                        <span class="property">{'Show time'|@translate}</span>
241                        <input type="radio" value="1" name="showtime" {if ($Charlies.showtime==1)} checked="checked" {/if}/>{'On'|@translate}
242                        <input type="radio" value="2" name="showtime" {if ($Charlies.showtime==2)} checked="checked" {/if}/>{'Time left'|@translate}
243                        <input type="radio" value="0" name="showtime" {if ($Charlies.showtime==0)} checked="checked" {/if}/>{'Off'|@translate}
244                </li>
245                <li>
246                        <span class="property">{'Player transparency [0-100]'|@translate}</span>
247                        <input type="text" id="playeralpha" maxlength="3" size="8" name="playeralpha" value="{$Charlies.playeralpha}" />
248                </li>
249                <li>
250                        <span class="property">{'Autohide delay [0-9999]'|@translate}</span>
251                        <input type="text" id="playertimeout" maxlength="4" size="8" name="playertimeout" value="{$Charlies.playertimeout}" title="{'Default 1500 milliseconds.'|@translate}" />
252                </li>
253                <li><table summary="Stop and volume"><tr><td style="width:285px;">
254                        <span class="property">{'Show stop button'|@translate}</span>
255                        <input type="radio" value="1" name="showstop" {if ($Charlies.showstop==1)} checked="checked" {/if}/>{'On'|@translate}
256                        <input type="radio" value="0" name="showstop" {if ($Charlies.showstop==0)} checked="checked" {/if}/>{'Off'|@translate}
257                </td >
258                <td style="width:285px;">
259                        <span class="property">{'Show volume'|@translate}</span>
260                        <input type="radio" value="1" name="showvolume" {if ($Charlies.showvolume==1)} checked="checked" {/if}/>{'On'|@translate}
261                        <input type="radio" value="0" name="showvolume" {if ($Charlies.showvolume==0)} checked="checked" {/if}/>{'Off'|@translate}
262                </td></tr></table>
263                <li><table summary="Subtitles and stop loading"><tr><td style="width:285px;">
264                        <span class="property">{'Show subtitles switch'|@translate}</span>
265                        <input type="radio" value="1" name="showswitchsubtitles" {if ($Charlies.showswitchsubtitles==1)} checked="checked" {/if}/>{'On'|@translate}
266                        <input type="radio" value="0" name="showswitchsubtitles" {if ($Charlies.showswitchsubtitles==0)} checked="checked" {/if}/>{'Off'|@translate}
267                </td>
268                <td style="width:285px;">
269                        <span class="property">{'Stop stops loading'|@translate}</span>
270                        <input type="radio" value="1" name="loadonstop" {if ($Charlies.loadonstop==1)} checked="checked" {/if}/>{'On'|@translate}
271                        <input type="radio" value="0" name="loadonstop" {if ($Charlies.loadonstop==0)} checked="checked" {/if}/>{'Off'|@translate}
272                </td>
273                <td style="width:285px;">
274                        <span class="property">{'Keyboard shortcuts'|@translate}</span>
275                        <input type="radio" value="1" name="shortcut" {if ($Charlies.shortcut==1)} checked="checked" {/if}/>{'On'|@translate}
276                        <input type="radio" value="0" name="shortcut" {if ($Charlies.shortcut==0)} checked="checked" {/if}/>{'Off'|@translate}
277                </td></tr></table>
278        </ul>
279        </div>
280
281        <div class="none" id="fmiscel">
282        <ul>
283                <li>
284                        <span class="property">{'PHP streaming'|@translate}</span>
285                        <input type="radio" value="1" name="phpstream" {if ($Charlies.phpstream==1)} checked="checked" {/if}/>{'On'|@translate}
286                        <input type="radio" value="0" name="phpstream" {if ($Charlies.phpstream==0)} checked="checked" {/if}/>{'Off'|@translate}
287                </li>
288                <li>
289                        <p class="property" style="text-align:center; width:100%;">{'RTMP server URL'|@translate} <span style="font-weight:normal;font-size:0.8;font-style:italic;">{'(Adobe Systems for streaming audio, video and data)'|@translate}</span><br />
290                        <input type="text" size="80" id="netconnection" name="netconnection" value="{$Charlies.netconnection}" /></p>
291                </li>
292        </ul>
293        </div>
294<input type="submit" value="{'Save Charlies\' configuration'|@translate}" name="submit" class="submit"/><br />
295<input type="submit" value="{'Reset ALL Charlies\' configuration'|@translate}" name="reset" class="submit" onclick="return confirm('{'Reset ALL Confirmation'|@translate|@escape:javascript}');"/>
296        <p class="bot">[ {'FYI: all these options might be used or NOT by the inbound player (template).'|@translate} ]<br />
297        [ {'Note: These options are available with the Maxi FLV Player. More details on all theses options on:'|@translate}
298        <a class="external" href="http://flv-player.net/en/players/maxi/documentation/" title="Documentation">FLV Player</a> (neolao production). ]</p>
299        <div><input type="hidden" name="from" value="options" /></div>
300
301{literal}
302<script type="text/javascript">
303  $(document).ready(function(){
304    $("#main-options").tabs();
305  });
306</script>
307{/literal}
308
309{/if}
310
311{if $page == 'colors'}
312<fieldset>
313        <legend>{'Players colours selection '|@translate}</legend>
314        <table class="checking" summary="Color weel">
315        <tr><td style="padding-right:20px;">{'Background'|@translate}</td><td><input type="text" id="color0" name="color0" class="colorwell" value="{$Charlies.color0}" />
316        </td><td rowspan="9" style="padding: 0 40px;"><div id="picker" style="float: right;"></div></td>
317        <td><input type="text" id="color9" name="color9" class="colorwell" value="{$Charlies.color9}" /></td><td>{'Subtitles background'|@translate}</td>
318        </tr><tr><td style="padding-right:20px;">
319          {'Top border fading'|@translate}
320        </td><td>
321          <input type="text" id="color1" name="color1" class="colorwell" value="{$Charlies.color1}" />
322        </td><td>
323          <input type="text" id="color10" name="color10" class="colorwell" value="{$Charlies.color10}" />
324        </td><td>
325        {'Player'|@translate}
326        </td></tr><tr><td style="padding-right:20px;">
327          {'Bottom border fading'|@translate}
328        </td><td>
329          <input type="text" id="color2" name="color2" class="colorwell" value="{$Charlies.color2}" />
330        </td><td>
331          <input type="text" id="color11" name="color11" class="colorwell" value="{$Charlies.color11}" />
332        </td><td>
333          {'Loading bar'|@translate}
334        </td></tr><tr><td style="padding-right:20px;">
335                {'Player buttons'|@translate}
336        </td><td>
337          <input type="text" id="color3" name="color3" class="colorwell" value="{$Charlies.color3}" />
338        </td><td>
339          <input type="text" id="color12" name="color12" class="colorwell" value="{$Charlies.color12}" />
340        </td><td>
341          {'Leftbar gradient fading'|@translate}
342        </td></tr><tr><td style="padding-right:20px;">
343          {'Hover player buttons'|@translate}
344        </td><td>
345          <input type="text" id="color4" name="color4" class="colorwell" value="{$Charlies.color4}" />
346        </td><td>
347          <input type="text" id="color13" name="color13" class="colorwell" value="{$Charlies.color13}" />
348        </td><td>
349          {'Rightbar gradient fading'|@translate}
350        </td></tr><tr><td style="padding-right:20px;">
351          {'Buffer'|@translate}
352        </td><td>
353          <input type="text" id="color5" name="color5" class="colorwell" value="{$Charlies.color5}" />
354        </td><td>
355          <input type="text" id="color14" name="color14" class="colorwell" value="{$Charlies.color14}" />
356        </td><td>
357          {'Hover bar gradient'|@translate}
358        </td></tr><tr><td style="padding-right:20px;">
359          {'Buffer background'|@translate}
360        </td><td>
361          <input type="text" id="color6" name="color6" class="colorwell" value="{$Charlies.color6}" />
362        </td><td>
363          <input type="text" id="color15" name="color15" class="colorwell" value="{$Charlies.color15}" />
364        </td><td>
365        {'Play icon'|@translate}
366        </td></tr><tr><td style="padding-right:20px;">
367          {'Title'|@translate}
368        </td><td>
369          <input type="text" id="color7" name="color7" class="colorwell" value="{$Charlies.color7}" />
370        </td><td>
371          <input type="text" id="color16" name="color16" class="colorwell" value="{$Charlies.color16}" />
372        </td><td>
373          {'Play icon background'|@translate}
374        </td></tr><tr><td style="padding-right:20px;">
375          {'Subtitles'|@translate}
376        </td><td>
377          <input type="text" id="color8" name="color8" class="colorwell" value="{$Charlies.color8}" />
378        </td></tr>
379        </table>
380<input type="submit" value="{'Save Charlies\' configuration'|@translate}" name="submit" class="submit"/>
381        <p class="bot">[ {'Color usage might be just for information (Players could just ignore them or use them differently).'|@translate} ]<br />
382        [ {'Note: These options are available with the Maxi FLV Player. More details on all theses options on:'|@translate}
383        <a class="external" href="http://flv-player.net/en/players/maxi/documentation/" title="Documentation">FLV Player</a> (neolao production). ]</p>
384        <div><input type="hidden" name="from" value="colors" /></div>
385
386{literal}
387<script type="text/javascript">
388  $(document).ready(function() {
389    var f = $.farbtastic('#picker');
390    var p = $('#picker').css('opacity', 1);
391    var selected;
392    $('.colorwell')
393      .each(function () { f.linkTo(this); $(this).css('opacity', 0.50); })
394      .focus(function() {
395        if (selected) {
396          $(selected).css('opacity', 0.90).removeClass('colorwell-selected');
397        }
398        f.linkTo(this);
399        p.css('opacity', 1);
400        $(selected = this).css('opacity', 1).addClass('colorwell-selected');
401      });
402  });
403        $('#theAdminPage .titrePage h2').addClass('ct2').fadeOut(10).fadeIn(1800);
404</script>
405{/literal}
406{/if}
407
408{if $page == 'curtain'}
409<fieldset id="theImage">
410        <legend>{'Active curtains'|@translate}</legend>
411        <div id="charlie">
412                <table summary="Curtain choice">
413                <tr>
414                {foreach from=$curtains item=curtain name=curtain}
415                {if ($smarty.foreach.curtain.index % 3) == 0 and $smarty.foreach.curtain.index > 0 and $smarty.foreach.curtain.index < 18}</tr><tr>{/if}
416                <td class="{$curtain}_1 curtain_l">&nbsp;</td>
417                <td {if $smarty.foreach.curtain.index < 18}class="input{if $smarty.foreach.curtain.index > 14} i15{/if}"{else}class="none"{/if}>
418                <input type="radio" value="{$curtain}" name="curtain" {if ($curtain == $Charlies.curtain)} checked="checked" {/if}/> {$curtain}</td>
419                <td class="{$curtain}_2 curtain_r">&nbsp;</td>
420                {if $smarty.foreach.curtain.index < 18}<td class="padd">&nbsp;</td>{/if}
421                {/foreach}</tr>
422                </table>
423        </div>
424<input type="submit" value="{'Save Charlies\' configuration'|@translate}" name="submit" class="submit"/>
425        <p class="bot">[ {'.png without transparency are recommended. Maybe you can change a set of curtains by yours.'|@translate} ]<br />
426        [ {'Note: These options are available with the Maxi FLV Player. More details on all theses options on:'|@translate}
427        <a class="external" href="http://flv-player.net/en/players/maxi/documentation/" title="Documentation">FLV Player</a> (neolao production). ]</p>
428        <div><input type="hidden" name="from" value="curtain" /></div>
429
430{/if}
431
432</fieldset>
433
434</form>
435
436<script type="text/javascript">
437  $(document).ready(function() {ldelim}
438                $(".infos").fadeOut(800).fadeIn(1200).fadeOut(400).fadeIn(800).fadeOut(400);
439                $(".errors").fadeOut(200).fadeIn(200).fadeOut(300).fadeIn(300).fadeOut(400).fadeIn(400);
440  });
441</script>
442
443{html_head}
444<script type="text/javascript"
445        src="{$CHARLIES_PATH|@cat:'farbtastic/farbtastic.js'}"></script>
446<link rel="stylesheet" type="text/css"
447      href="{$CHARLIES_PATH|@cat:'farbtastic/farbtastic.css'}">
448<link rel="stylesheet" type="text/css" href="{$CHARLIES_PATH|@cat:'charlies.css'}"> 
449{/html_head}
450
451{known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js"}
452{known_script id="jquery.ui.tabs" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.tabs.packed.js"}
453{known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"}
454{known_script id="jquery.ui.tabs" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.tabs.packed.js"}
Note: See TracBrowser for help on using the repository browser.