source: extensions/charlies_content/charlies_config.tpl @ 3974

Last change on this file since 3974 was 3974, checked in by vdigital, 11 years ago

[Charlies_content] 2.0.e (Called ngoc version)
buffermessage correction for flv (One in upper left corner)
The lumenation bypass is maintain (but no longer needed with recent Piwigo versions)
Even getID3 v2.0.0-b5 is available because not tested (getID3 v2.0.0-b4 is maintain)

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 23.4 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 URL file'|@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 substitles 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"/>
295        <p class="bot">[ {'FYI: all these options might be used or NOT by the inbound player (template).'|@translate} ]<br />
296        [ {'Note: These options are available with the Maxi FLV Player. More details on all theses options on:'|@translate}
297        <a class="external" href="http://flv-player.net/en/players/maxi/documentation/" title="Documentation">FLV Player</a> (neolao production). ]</p>
298        <div><input type="hidden" name="from" value="options" /></div>
299
300{literal}
301<script type="text/javascript">
302  $(document).ready(function(){
303    $("#main-options").tabs();
304  });
305</script>
306{/literal}
307
308{/if}
309
310{if $page == 'colors'}
311<fieldset>
312        <legend>{'Players colours selection '|@translate}</legend>
313        <table class="checking" summary="Color weel">
314        <tr><td style="padding-right:20px;">{'Background'|@translate}</td><td><input type="text" id="color0" name="color0" class="colorwell" value="{$Charlies.color0}" />
315        </td><td rowspan="9" style="padding: 0 40px;"><div id="picker" style="float: right;"></div></td>
316        <td><input type="text" id="color9" name="color9" class="colorwell" value="{$Charlies.color9}" /></td><td>{'Subtitles background'|@translate}</td>
317        </tr><tr><td style="padding-right:20px;">
318          {'Top border fading'|@translate}
319        </td><td>
320          <input type="text" id="color1" name="color1" class="colorwell" value="{$Charlies.color1}" />
321        </td><td>
322          <input type="text" id="color10" name="color10" class="colorwell" value="{$Charlies.color10}" />
323        </td><td>
324        {'Player'|@translate}
325        </td></tr><tr><td style="padding-right:20px;">
326          {'Bottom border fading'|@translate}
327        </td><td>
328          <input type="text" id="color2" name="color2" class="colorwell" value="{$Charlies.color2}" />
329        </td><td>
330          <input type="text" id="color11" name="color11" class="colorwell" value="{$Charlies.color11}" />
331        </td><td>
332          {'Loading bar'|@translate}
333        </td></tr><tr><td style="padding-right:20px;">
334                {'Player buttons'|@translate}
335        </td><td>
336          <input type="text" id="color3" name="color3" class="colorwell" value="{$Charlies.color3}" />
337        </td><td>
338          <input type="text" id="color12" name="color12" class="colorwell" value="{$Charlies.color12}" />
339        </td><td>
340          {'Leftbar gradient fading'|@translate}
341        </td></tr><tr><td style="padding-right:20px;">
342          {'Hover player buttons'|@translate}
343        </td><td>
344          <input type="text" id="color4" name="color4" class="colorwell" value="{$Charlies.color4}" />
345        </td><td>
346          <input type="text" id="color13" name="color13" class="colorwell" value="{$Charlies.color13}" />
347        </td><td>
348          {'Rightbar gradient fading'|@translate}
349        </td></tr><tr><td style="padding-right:20px;">
350          {'Buffer'|@translate}
351        </td><td>
352          <input type="text" id="color5" name="color5" class="colorwell" value="{$Charlies.color5}" />
353        </td><td>
354          <input type="text" id="color14" name="color14" class="colorwell" value="{$Charlies.color14}" />
355        </td><td>
356          {'Hover bar gradient'|@translate}
357        </td></tr><tr><td style="padding-right:20px;">
358          {'Buffer background'|@translate}
359        </td><td>
360          <input type="text" id="color6" name="color6" class="colorwell" value="{$Charlies.color6}" />
361        </td><td>
362          <input type="text" id="color15" name="color15" class="colorwell" value="{$Charlies.color15}" />
363        </td><td>
364        {'Play icon'|@translate}
365        </td></tr><tr><td style="padding-right:20px;">
366          {'Title'|@translate}
367        </td><td>
368          <input type="text" id="color7" name="color7" class="colorwell" value="{$Charlies.color7}" />
369        </td><td>
370          <input type="text" id="color16" name="color16" class="colorwell" value="{$Charlies.color16}" />
371        </td><td>
372          {'Play icon background'|@translate}
373        </td></tr><tr><td style="padding-right:20px;">
374          {'Subtitles'|@translate}
375        </td><td>
376          <input type="text" id="color8" name="color8" class="colorwell" value="{$Charlies.color8}" />
377        </td></tr>
378        </table>
379<input type="submit" value="{'Save Charlies\' configuration'|@translate}" name="submit" class="submit"/>
380        <p class="bot">[ {'Color usage might be just for information (Players could just ignore them or use them differently).'|@translate} ]<br />
381        [ {'Note: These options are available with the Maxi FLV Player. More details on all theses options on:'|@translate}
382        <a class="external" href="http://flv-player.net/en/players/maxi/documentation/" title="Documentation">FLV Player</a> (neolao production). ]</p>
383        <div><input type="hidden" name="from" value="colors" /></div>
384
385{literal}
386<script type="text/javascript">
387  $(document).ready(function() {
388    var f = $.farbtastic('#picker');
389    var p = $('#picker').css('opacity', 1);
390    var selected;
391    $('.colorwell')
392      .each(function () { f.linkTo(this); $(this).css('opacity', 0.50); })
393      .focus(function() {
394        if (selected) {
395          $(selected).css('opacity', 0.90).removeClass('colorwell-selected');
396        }
397        f.linkTo(this);
398        p.css('opacity', 1);
399        $(selected = this).css('opacity', 1).addClass('colorwell-selected');
400      });
401  });
402        $('#theAdminPage .titrePage h2').addClass('ct2').fadeOut(10).fadeIn(1800);
403</script>
404{/literal}
405{/if}
406
407{if $page == 'curtain'}
408<fieldset id="theImage">
409        <legend>{'Active curtains'|@translate}</legend>
410        <div id="charlie">
411                <table summary="Curtain choice">
412                <tr>
413                {foreach from=$curtains item=curtain name=curtain}
414                {if ($smarty.foreach.curtain.index % 3) == 0 and $smarty.foreach.curtain.index > 0 and $smarty.foreach.curtain.index < 18}</tr><tr>{/if}
415                <td class="{$curtain}_1 curtain_l">&nbsp;</td>
416                <td {if $smarty.foreach.curtain.index < 18}class="input{if $smarty.foreach.curtain.index > 14} i15{/if}"{else}class="none"{/if}>
417                <input type="radio" value="{$curtain}" name="curtain" {if ($curtain == $Charlies.curtain)} checked="checked" {/if}/> {$curtain}</td>
418                <td class="{$curtain}_2 curtain_r">&nbsp;</td>
419                {if $smarty.foreach.curtain.index < 18}<td class="padd">&nbsp;</td>{/if}
420                {/foreach}</tr>
421                </table>
422        </div>
423<input type="submit" value="{'Save Charlies\' configuration'|@translate}" name="submit" class="submit"/>
424        <p class="bot">[ {'.png without transparency are recommended. Maybe you can change a set of curtains by yours.'|@translate} ]<br />
425        [ {'Note: These options are available with the Maxi FLV Player. More details on all theses options on:'|@translate}
426        <a class="external" href="http://flv-player.net/en/players/maxi/documentation/" title="Documentation">FLV Player</a> (neolao production). ]</p>
427        <div><input type="hidden" name="from" value="curtain" /></div>
428
429{/if}
430
431</fieldset>
432
433</form>
434
435<script type="text/javascript">
436  $(document).ready(function() {ldelim}
437                $(".infos").fadeOut(800).fadeIn(1200).fadeOut(400).fadeIn(800).fadeOut(400);
438                $(".errors").fadeOut(200).fadeIn(200).fadeOut(300).fadeIn(300).fadeOut(400).fadeIn(400);
439  });
440</script>
441
442{html_head}
443<script type="text/javascript"
444        src="{$CHARLIES_PATH|@cat:'farbtastic/farbtastic.js'}"></script>
445<link rel="stylesheet" type="text/css"
446      href="{$CHARLIES_PATH|@cat:'farbtastic/farbtastic.css'}">
447<link rel="stylesheet" type="text/css" href="{$CHARLIES_PATH|@cat:'charlies.css'}"> 
448{/html_head}
449{known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"}
450{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.