source: extensions/charlies_content/charlies_config.tpl @ 3318

Revision 3318, 23.5 KB checked in by vdigital, 11 years ago (diff)

+ Add Charlies' content to depository

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
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="radio" value="1" name="buffermessage" {if ($Charlies.buffermessage==1)} checked="checked" {/if}/>{'On'|@translate}
129                        <input type="radio" value="0" name="buffermessage" {if ($Charlies.buffermessage==0)} checked="checked" {/if}/>{'Off'|@translate}
130                </li>
131                <li>
132                        <span class="property">{'Video buffer background'|@translate}</span>
133                        <input type="radio" value="1" name="buffershowbg" {if ($Charlies.buffershowbg==1)} checked="checked" {/if}/>{'On'|@translate}
134                        <input type="radio" value="0" name="buffershowbg" {if ($Charlies.buffershowbg==0)} checked="checked" {/if}/>{'Off'|@translate}
135                </li>
136        </ul>
137        </div>
138
139        <div class="none" id="felement">
140        <ul>
141                <li>
142                        <span class="property">{'Use existing .txt to config'|@translate}</span>
143                        <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}
144                        <input type="radio" value="0" name="config" {if ($Charlies.config==0)} checked="checked" {/if}/>{'Off'|@translate}
145                </li>
146                <li>
147                        <span class="property">{'Use existing .xml to config'|@translate}</span>
148                        <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}
149                        <input type="radio" value="0" name="configxml" {if ($Charlies.configxml==0)} checked="checked" {/if}/>{'Off'|@translate}
150                </li>
151        </ul>
152        </div>
153
154        <div class="none" id="fskin">
155        <ul>
156                <li>
157                        <span class="property">{'Margin for skin'|@translate}</span>
158                        <input type="text" id="margin" maxlength="2" size="8" name="margin" value="{$Charlies.margin}" />
159                </li>
160                <li>
161                        <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 />
162                        <input type="text" size="80" id="skin" name="skin" value="{$Charlies.skin}" /></p>
163                </li>
164        </ul>
165        </div>
166
167        <div class="none" id="ftitle">
168        <ul>
169                <li>
170                        <span class="property">{'Title'|@translate}</span>
171                        <input type="text" id="title" maxlength="32" size="32" name="title" value="{$Charlies.title|@stripslashes}" />
172                </li>
173                <li>
174                        <span class="property">{'Title font size [12-72]'|@translate}</span>
175                        <input type="text" id="titlesize" maxlength="2" size="8" name="titlesize" value="{$Charlies.titlesize}" title="{'Default size might be 20.'|@translate}" />
176                </li>
177                <li>
178                        <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 />
179                        <input type="text" size="80" id="start_image" name="start_image" value="{$Charlies.start_image}" /></p>
180                </li>
181                <li>
182                        <span class="property">{'Title and start picture'|@translate}</span>
183                        <input type="radio" value="1" name="showtitleandstartimage" {if ($Charlies.showtitleandstartimage==1)} checked="checked" {/if}/>{'On'|@translate}
184                        <input type="radio" value="0" name="showtitleandstartimage" {if ($Charlies.showtitleandstartimage==0)} checked="checked" {/if}/>{'Off'|@translate}
185                </li>
186                <li>
187                        <span class="property">{'Play icon in middle'|@translate}</span>
188                        <input type="radio" value="1" name="showiconplay" {if ($Charlies.showiconplay==1)} checked="checked" {/if}/>{'On'|@translate}
189                        <input type="radio" value="0" name="showiconplay" {if ($Charlies.showiconplay==0)} checked="checked" {/if}/>{'Off'|@translate}
190                </li>
191                <li>
192                        <span class="property">{'Play icon transparency [0-100]'|@translate}</span>
193                        <input type="text" id="iconplaybgalpha" maxlength="3" size="8" name="iconplaybgalpha" value="{$Charlies.iconplaybgalpha}" />
194                </li>
195                <li>
196                        <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 />
197                        <input type="text" size="80" id="top1" name="top1" value="{$Charlies.top1}" /></p>
198                </li>
199        </ul>
200        </div>
201
202        <div class="none" id="fsubtitle">
203        <ul>
204                <li>
205                        <span class="property">{'Use subtitles'|@translate}</span>
206                        <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}
207                        <input type="radio" value="0" name="srt" {if ($Charlies.srt==0)} checked="checked" {/if}/>{'Off'|@translate}
208                </li>
209                <li>
210                        <span class="property">{'Subtitles font size [8-24]'|@translate}</span>
211                        <input type="text" id="srtsize" maxlength="2" size="8" name="srtsize" value="{$Charlies.srtsize}" title="{'Default size might be 11.'|@translate}" />
212                </li>
213                <li>
214                        <p class="property" style="text-align:center; width:100%;">{'Subtitles URL file'|@translate} <span style="font-weight:normal;font-size:0.8;font-style:italic;">{'(URL of .srt)'|@translate}</span><br />
215                        <input type="text" size="80" id="srturl" name="srturl" value="{$Charlies.srturl}" /></p>
216                </li>
217        </ul>
218        </div>
219
220        <div class="none" id="fplayer">
221        <ul>
222                <li>
223                        <span class="property">{'Show player'|@translate}</span>
224                        <input type="radio" value="1" name="showplayer" {if ($Charlies.showplayer==1)} checked="checked" {/if}/>{'Autohide'|@translate}
225                        <input type="radio" value="2" name="showplayer" {if ($Charlies.showplayer==2)} checked="checked" {/if}/>{'Always'|@translate}
226                        <input type="radio" value="0" name="showplayer" {if ($Charlies.showplayer==0)} checked="checked" {/if}/>{'Never'|@translate}
227                </li>
228                <li>
229                        <span class="property">{'Show loading'|@translate}</span>
230                        <input type="radio" value="1" name="showloading" {if ($Charlies.showloading==1)} checked="checked" {/if}/>{'Autohide'|@translate}
231                        <input type="radio" value="2" name="showloading" {if ($Charlies.showloading==2)} checked="checked" {/if}/>{'Always'|@translate}
232                        <input type="radio" value="0" name="showloading" {if ($Charlies.showloading==0)} checked="checked" {/if}/>{'Never'|@translate}
233                </li>
234                <li>
235                        <span class="property">{'Show mouse'|@translate}</span>
236                        <input type="radio" value="1" name="showmouse" {if ($Charlies.showmouse==1)} checked="checked" {/if}/>{'Autohide'|@translate}
237                        <input type="radio" value="2" name="showmouse" {if ($Charlies.showmouse==2)} checked="checked" {/if}/>{'Always'|@translate}
238                        <input type="radio" value="0" name="showmouse" {if ($Charlies.showmouse==0)} checked="checked" {/if}/>{'Never'|@translate}
239                </li>
240                <li>
241                        <span class="property">{'Show time'|@translate}</span>
242                        <input type="radio" value="1" name="showtime" {if ($Charlies.showtime==1)} checked="checked" {/if}/>{'On'|@translate}
243                        <input type="radio" value="2" name="showtime" {if ($Charlies.showtime==2)} checked="checked" {/if}/>{'Time left'|@translate}
244                        <input type="radio" value="0" name="showtime" {if ($Charlies.showtime==0)} checked="checked" {/if}/>{'Off'|@translate}
245                </li>
246                <li>
247                        <span class="property">{'Player transparency [0-100]'|@translate}</span>
248                        <input type="text" id="playeralpha" maxlength="3" size="8" name="playeralpha" value="{$Charlies.playeralpha}" />
249                </li>
250                <li>
251                        <span class="property">{'Autohide delay [0-9999]'|@translate}</span>
252                        <input type="text" id="playertimeout" maxlength="4" size="8" name="playertimeout" value="{$Charlies.playertimeout}" title="{'Default 1500 milliseconds.'|@translate}" />
253                </li>
254                <li><table summary="Stop and volume"><tr><td style="width:285px;">
255                        <span class="property">{'Show stop button'|@translate}</span>
256                        <input type="radio" value="1" name="showstop" {if ($Charlies.showstop==1)} checked="checked" {/if}/>{'On'|@translate}
257                        <input type="radio" value="0" name="showstop" {if ($Charlies.showstop==0)} checked="checked" {/if}/>{'Off'|@translate}
258                </td >
259                <td style="width:285px;">
260                        <span class="property">{'Show volume'|@translate}</span>
261                        <input type="radio" value="1" name="showvolume" {if ($Charlies.showvolume==1)} checked="checked" {/if}/>{'On'|@translate}
262                        <input type="radio" value="0" name="showvolume" {if ($Charlies.showvolume==0)} checked="checked" {/if}/>{'Off'|@translate}
263                </td></tr></table>
264                <li><table summary="Subtitles and stop loading"><tr><td style="width:285px;">
265                        <span class="property">{'Show substitles switch'|@translate}</span>
266                        <input type="radio" value="1" name="showswitchsubtitles" {if ($Charlies.showswitchsubtitles==1)} checked="checked" {/if}/>{'On'|@translate}
267                        <input type="radio" value="0" name="showswitchsubtitles" {if ($Charlies.showswitchsubtitles==0)} checked="checked" {/if}/>{'Off'|@translate}
268                </td>
269                <td style="width:285px;">
270                        <span class="property">{'Stop stops loading'|@translate}</span>
271                        <input type="radio" value="1" name="loadonstop" {if ($Charlies.loadonstop==1)} checked="checked" {/if}/>{'On'|@translate}
272                        <input type="radio" value="0" name="loadonstop" {if ($Charlies.loadonstop==0)} checked="checked" {/if}/>{'Off'|@translate}
273                </td>
274                <td style="width:285px;">
275                        <span class="property">{'Keyboard shortcuts'|@translate}</span>
276                        <input type="radio" value="1" name="shortcut" {if ($Charlies.shortcut==1)} checked="checked" {/if}/>{'On'|@translate}
277                        <input type="radio" value="0" name="shortcut" {if ($Charlies.shortcut==0)} checked="checked" {/if}/>{'Off'|@translate}
278                </td></tr></table>
279        </ul>
280        </div>
281
282        <div class="none" id="fmiscel">
283        <ul>
284                <li>
285                        <span class="property">{'PHP streaming'|@translate}</span>
286                        <input type="radio" value="1" name="phpstream" {if ($Charlies.phpstream==1)} checked="checked" {/if}/>{'On'|@translate}
287                        <input type="radio" value="0" name="phpstream" {if ($Charlies.phpstream==0)} checked="checked" {/if}/>{'Off'|@translate}
288                </li>
289                <li>
290                        <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 />
291                        <input type="text" size="80" id="netconnection" name="netconnection" value="{$Charlies.netconnection}" /></p>
292                </li>
293        </ul>
294        </div>
295<input type="submit" value="{'Save Charlies\' configuration'|@translate}" name="submit" class="submit"/>
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{known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"}
451{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.