You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(5) |
Oct
(26) |
Nov
(10) |
Dec
(7) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(7) |
Feb
(17) |
Mar
(25) |
Apr
(8) |
May
(33) |
Jun
(11) |
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
(68) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
From: <ara...@us...> - 2007-04-16 20:21:03
|
Revision: 118 http://svn.sourceforge.net/easybox-mod/?rev=118&view=rev Author: aragornis Date: 2007-04-16 13:20:57 -0700 (Mon, 16 Apr 2007) Log Message: ----------- - Mise en place du lecteur sur mediacenter (non test?\195?\169 !) Modified Paths: -------------- trunk/skin/mediacenter/avertissement.tpl trunk/skin/mediacenter/couleur.conf Added Paths: ----------- trunk/skin/mediacenter/films.tpl trunk/skin/mediacenter/player/r1_c1.gif trunk/skin/mediacenter/player/r2_c1.gif trunk/skin/mediacenter/player/r2_c8.gif trunk/skin/mediacenter/player/r3_c1.gif trunk/skin/mediacenter/player/r4_c1.gif trunk/skin/mediacenter/player/r4_c3.gif trunk/skin/mediacenter/player/r4_c5.gif trunk/skin/mediacenter/player/r4_c6.gif trunk/skin/mediacenter/player/r4_c7.gif trunk/skin/mediacenter/player/r5_c1.gif Modified: trunk/skin/mediacenter/avertissement.tpl =================================================================== --- trunk/skin/mediacenter/avertissement.tpl 2007-04-16 08:57:40 UTC (rev 117) +++ trunk/skin/mediacenter/avertissement.tpl 2007-04-16 20:20:57 UTC (rev 118) @@ -5,7 +5,7 @@ </head> <body background="ts://127.0.0.1" text="{#COULEUR_TEXT#}" link="{#COULEUR_LINK#}" alink="{#COULEUR_ALINK#}" vlink="{#COULEUR_VLINK#}"> <center><table width="590" height="510" border="0" align="center" cellpadding="0" cellspacing="0"><tr><td align=center width="590" height="510" valign="middle"> - <table width="540" border="2" cellpadding="10" cellspacing="0" bgcolor="{#COULEUR_FOND_AVERTISSEMENT#}" bordercolor="#ffffff3f"><tr><td width="590"> + <table width="540" border="2" cellpadding="10" cellspacing="0" bgcolor="{#COULEUR_FOND_AVERTISSEMENT#}" bordercolor="#54585A3F"><tr><td width="590"> <table width="540" border="0" cellpadding="10" cellspacing="0"><tr> {if NOT $no_icone}<td align="center" width="80" height="80"> <img src="{$INTERFACE_REP}info.gif" border="0" width="80" height="80"> Modified: trunk/skin/mediacenter/couleur.conf =================================================================== --- trunk/skin/mediacenter/couleur.conf 2007-04-16 08:57:40 UTC (rev 117) +++ trunk/skin/mediacenter/couleur.conf 2007-04-16 20:20:57 UTC (rev 118) @@ -41,13 +41,13 @@ #//////////////////////////// Couleur du texte dans la lecture vid\xE9o et audio //////////////////////////// #Couleur du texte par d\xE9faut -COULEUR_LECTEUR_TEXT = "#0000003f" +COULEUR_LECTEUR_TEXT = "#ffffff3F" #Couleur des liens inactifs -COULEUR_LECTEUR_LINK = "#0000003f" +COULEUR_LECTEUR_LINK = "#ffffff3F" #Couleur des liens selectionn\xE9s -COULEUR_LECTEUR_ALINK = "#AE00003F" +COULEUR_LECTEUR_ALINK = "#F8A1183F" #Couleur des liens d\xE9j\xE0 visit\xE9s -COULEUR_LECTEUR_VLINK = "#AE00003F" +COULEUR_LECTEUR_VLINK = "#F8A1183F" #///////////////////////////////// HTML-LIGHT et RSS /////////////////////////////////// #Couleur du texte par d\xE9faut @@ -64,10 +64,10 @@ #///////////////////////////////// Message d'avertissement /////////////////////////////////// #Couleur du fond de la fen\xEAtre d'avertissement -COULEUR_FOND_AVERTISSEMENT = "#B7D88B3F" +COULEUR_FOND_AVERTISSEMENT = "#3333333F" #///////////////////////////////// Fond d'\xE9cran /////////////////////////////////// -BACKGROUND = "bg.png" -TYPE = "int" +BACKGROUND = "bg.png" +TYPE = "int" ?> Added: trunk/skin/mediacenter/films.tpl =================================================================== --- trunk/skin/mediacenter/films.tpl (rev 0) +++ trunk/skin/mediacenter/films.tpl 2007-04-16 20:20:57 UTC (rev 118) @@ -0,0 +1,249 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<html> +<head> +{include file="bouton.tpl"} +{setbackground path="none"} +</head> +<body background="ts://127.0.0.1" text="{#COULEUR_LECTEUR_TEXT#}" link="{#COULEUR_LECTEUR_LINK#}" alink="{#COULEUR_LECTEUR_ALINK#}" vlink="{#COULEUR_LECTEUR_VLINK#}"> +<center> +<table width="650" height="510" border="0" cellpadding="0" cellspacing="0"><tr> + <td height="378" align="left" cellpadding="3" cellspacing="0" valign="top"{if $module!=''} bgcolor="{#COULEUR_FOND2#}"{/if}> + + {math equation="x/y+1" x="600" y=6 assign=width} + <table width="600" height="25" border="0" align="center" cellpadding="0" cellspacing="0"> + <tr> + <td width="{$width}" align=center><a href="info.php?module=infos" {if $module=='infos'}focused{/if}><table width="{$width}" height="25" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND2#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="25"><td width="{$width}" align=center height="25">Infos</td></tr></table></a></td> + <td width="{$width}" align=center><a href="info.php?module=video" {if $module=='video'}focused{/if}><table width="{$width}" height="25" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND2#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="25"><td width="{$width}" align=center height="25">Video</td></tr></table></a></td> + <td width="{$width}" align=center><a href="info.php?module=audio" {if $module=='audio'}focused{/if}><table width="{$width}" height="25" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND2#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="25"><td width="{$width}" align=center height="25">Audio</td></tr></table></a></td> + <td width="{$width}" align=center><a href="info.php?module=sstitre" {if $module=='sstitre'}focused{/if}><table width="{$width}" height="25" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND2#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="25"><td width="{$width}" align=center height="25">Sous-titres</td></tr></table></a></td> + <td width="{$width}" align=center><a href="info.php?module=navigation" {if $module=='navigation'}focused{/if}><table width="{$width}" height="25" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND2#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="25"><td width="{$width}" align=center height="25">Chapitres</td></tr></table></a></td> + <td width="{$width}" align=center><a href="info.php"><table width="{$width}" height="25" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND2#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="25"><td width="{$width}" align=center height="25">Fermer</td></tr></table></a></td> + </tr> + </table> + +{*############### DEBUT DES OPTIONS ##############*} + +{if $module=='infos'} +{$content} +{elseif $module=='video'} +<font size="3"><u>Options vid\xE9o</u></font><br> + <form action="info.php" method="get"> + <input type=hidden name=module value=video><input type=hidden name=var value="video-es"><br> + <select name="video"> + {foreach from=$video item=pistev key=key name=video} + <option value={$key} {if $pistev.1}selected{/if}>{$pistev.0} + {*<input type=radio name=video bgcolor="{#COULEUR_FOND_RADIO#}" value="{$key}" {if $pistev.1} checked{/if}>{$pistev.0}<br>*} + {/foreach} + </select> + <br>Post-traitement : +<select name="pp"> +<option value=0 {if $pp_video==1}selected{/if}>0 +<option value=1 {if $pp_video==1}selected{/if}>1 +<option value=2 {if $pp_video==2}selected{/if}>2 +<option value=3 {if $pp_video==3}selected{/if}>3 +<option value=4 {if $pp_video==4}selected{/if}>4 +<option value=5 {if $pp_video==5}selected{/if}>5 +<option value=6 {if $pp_video==6}selected{/if}>6 +</select><br> + + Augmenter la qualit\xE9 du traitement de l'image (de 0 vers 6) demande plus de puissance CPU. + <br> + +<select name=display_scaling> +<option value=letterbox>Letterbox +<option value=panscan>Pan Scan +<option value=fullscreen>Fullscreen +</select> + +<table width="500" align="left"> +<tr><td width="90">Lumi\xE9re</td><td width="5">:</td><td><input bgcolor="{#COULEUR_FOND_RADIO#}" type=hslider name=denc_brightness min=0 max=255 grad=16></td></tr> +<tr><td width="90">Contraste</td><td width="5">:</td><td><input bgcolor="{#COULEUR_FOND_RADIO#}" type=hslider name=denc_contrast min='-128' max=127 grad=16></td></tr> +<tr><td width="90">Couleur</td><td width="5">:</td><td><input bgcolor="{#COULEUR_FOND_RADIO#}" type=hslider name=denc_saturation min=0 max=255 grad=16></td></tr> +<tr><td width="90">Zoom</td><td width="5">:</td><td><input bgcolor="{#COULEUR_FOND_RADIO#}" type=hslider name=video_output_scale min=25 max=175 grad=5> - <a href="none" onSelect='video_output_scale="100";'>R\xE9initialiser</a></td></tr> +</table> +<br> + <input bgcolor="{#COULEUR_TEXTBOX#}" type=submit value="Valider les modifications"> +</form> + +{elseif $module=='audio'} + +<font size="3"><u>Options audio</u></font><br> + <form action="info.php" method="get"><input type=hidden name=module value=audio><input type=hidden name=var value="audio-es"><br> + <select name="audio"> + {foreach from=$audio item=pistea key=key name=audio} + <option value={$key} {if $pistea.1}selected{/if}>{$pistea.0} + {/foreach} + </select> + <br> <br> + <input type="radio" name="aud" value="69(en,mp2)" bgcolor="{#COULEUR_FOND_RADIO#}"> Son st\xE9r\xE9o<br> + <input type="radio" name="aud" value="69(en,ac3)" bgcolor="{#COULEUR_FOND_RADIO#}"> Dolby Digital (S/PDIF)<br> + <br><input bgcolor="{#COULEUR_TEXTBOX#}" type=submit value="Valider les modifications"> + </form> + +{elseif $module=='sstitre'} +<font size="3"><u>Sous-titres</u></font><br> + <form action="info.php" method="get"><input type=hidden name=module value=sstitre><br> + + <select name="sstitre"> + {foreach from=$sstitre item=pistess key=key name=sstitre} + <option value={$key} {if $pistess.1}selected{/if}>{$pistess.0} + {/foreach} + </select> + + Les param\xE8tres suivants ne seront pris en compte qu'apr\xE8s le red\xE9marage complet d'Easybox. Ils seront sauvegard\xE9s dans Easybox pour les prochaines utilisations de easybox<br /> + <font size="3"><u>Position</u></font> : + <input type=text bgcolor="{#COULEUR_FOND_RADIO#}" name="sub_margin" size=3 maxlength=3 value="{$sub_margin}"><br> <br> + <font size="3"><u>Couleur</u></font> :<br> + <table cellpadding="1" cellspacing="0" align="left" width="200"><tr> + <td width="40"><a href="info.php?module={$module}&fontcolor=16777215"><table width="30" height="20" border=3 bgcolor="#FFFFFF3F" bordercolor="#0000003F" cellpadding=0 cellspacing=0><tr><td align="center" width="30" height="20">{if $fontcolor=='16777215'}<img src="{$INTERFACE_REP}finished.gif" width="14" height="14" border="0">{else}<img src="{$INTERFACE_REP}blank.gif" width="30" height="20">{/if}</td></tr></table></a></td> + <td width="40"><a href="info.php?module={$module}&fontcolor=16776960"><table width="30" height="20" border=3 bgcolor="#FFFF003F" bordercolor="#FFFFFF3F" cellpadding=0 cellspacing=0><tr><td align="center" width="30" height="20">{if $fontcolor=='16776960'}<img src="{$INTERFACE_REP}finished.gif" width="14" height="14" border="0">{else}<img src="{$INTERFACE_REP}blank.gif" width="30" height="20">{/if}</td></tr></table></a></td> + <td width="40"><a href="info.php?module={$module}&fontcolor=65535"><table width="30" height="20" border=3 bgcolor="#00CCFF3F" bordercolor="#FFFFFF3F" cellpadding=0 cellspacing=0><tr><td align="center" width="30" height="20">{if $fontcolor=='65535'}<img src="{$INTERFACE_REP}finished.gif" width="14" height="14" border="0">{else}<img src="{$INTERFACE_REP}blank.gif" width="30" height="20">{/if}</td></tr></table></a></td> + <td width="40"><a href="info.php?module={$module}&fontcolor=16711680"><table width="30" height="20" border=3 bgcolor="#FF00003F" bordercolor="#FFFFFF3F" cellpadding=0 cellspacing=0><tr><td align="center" width="30" height="20">{if $fontcolor=='16711680'}<img src="{$INTERFACE_REP}finished.gif" width="14" height="14" border="0">{else}<img src="{$INTERFACE_REP}blank.gif" width="30" height="20">{/if}</td></tr></table></a></td> + <td width="40"><a href="info.php?module={$module}&fontcolor=32768"><table width="30" height="20" border=3 bgcolor="#00FF003F" bordercolor="#FFFFFF3F" cellpadding=0 cellspacing=0><tr><td align="center" width="30" height="20">{if $fontcolor=='32768'}<img src="{$INTERFACE_REP}finished.gif" width="14" height="14" border="0">{else}<img src="{$INTERFACE_REP}blank.gif" width="30" height="20">{/if}</td></tr></table></a></td> + </tr></table><br> <br> + <font size="3"><u>Taille</u></font> : <br> <br>- <input type="hslider" bgcolor="{#COULEUR_FOND_RADIO#}" name="fontsize" min="0" max="4" grad="1" value="{$ffontsize}"> + <br> <br> + <input bgcolor="{#COULEUR_TEXTBOX#}" type=submit value="Valider les modifications"></form> + +{elseif $module=='navigation'} +<font size="3"><u>Titres</u></font><br> + {if count($title)} + <form action="info.php" method="get"><input type=hidden name=module value=navigation><br> + <select name="title"> + {section loop=$title start=$mintitle name=title max=16} + <option value={$smarty.section.title.index} {if $title[title].1}selected{/if}>{$title[title].0} + {/section} + {*{foreach from=$title item=chap key=key name=chap} + <option value={$key} {if $chap.1}selected{/if}>{$chap.0} + {/foreach}*} + </select> + <input bgcolor="{#COULEUR_TEXTBOX#}" type=submit value="Valider les modifications"></form> + {else} + Aucun titre n'est d\xE9fini pour ce film + {/if} + +<br> <br> + +<font size="3"><u>Chapitres</u></font><br> + {if count($chapitre)} + <form action="info.php" method="get"><input type=hidden name=module value=navigation><br> + <select name="chap"> + {section loop=$chapitre start=$minchap name=chap max=16} + <option value={$smarty.section.chap.index} {if $chapitre[chap].1}selected{/if}>{$chapitre[chap].0} + {/section} + {*{foreach from=$chapitre item=chap key=key name=chap} + <option value={$key} {if $chap.1}selected{/if}>{$chap.0} + {/foreach}*} + </select> + <input bgcolor="{#COULEUR_TEXTBOX#}" type=submit value="Valider les modifications"></form> + {else} + Aucun chapitre n'est d\xE9fini pour ce film + {/if} + +<br> <br> + +<font size="3"><u>Signets</u></font><br> + {if count($SIGNETS)} + <form action="info.php" method="get"><input type=hidden name=module value=navigation><br> + <select name="seek_value"> + {foreach from=$SIGNETS item=signet key=key name=signet} + <option value={$signet.2}>{$signet.2} + {/foreach} + </select> + <input bgcolor="{#COULEUR_TEXTBOX#}" type=submit value="Valider les modifications"></form> + {else} + Aucun signet enregistr\xE9 pour ce film + {/if} + +<br> +<img src="{$INTERFACE_REP}btn_bleu.gif" border="0"> <a href="{$MODULE}films/info.php?module=navigation&savesignet=1">Ajouter un nouveau signet</a> + +{/if} + + +{*################ FIN DES OPTIONS ###############*} + + </td> +</tr><tr height="30"><td align="left"><font size="1" color="#ffffff3f"><var name=temps_affich width=300></font></td></tr><tr> +</tr><tr height="10"><td><img src="" width="1" height="1"></td></tr><tr> + <td height="72" align="center"> + <table width="630" height="72" border="0" cellpadding="0" cellspacing="0"><tr> + <td width="630" height="11" background="{$PLAYER_REP}r1_c1.gif"><img src="" width="1" height="1"></td> + </tr><tr> + <td height="4" width="630"> + +{assign var=stream_1 value="`$VLC.pourcentage_courant/100*610`"|round} +{assign var=stream_2 value="`$stream_1*-1`"} +{assign var=stream_3 value="`$stream_1/5`"|floor} +{assign var=stream_31 value="`$stream_3*-1`"} +{assign var=stream_5 value="`$stream_31+122`"|floor} +{assign var=stream_6 value=($stream_5+$stream_5)*5} +{if $stream_3}{assign var=largeursautmoins value="`$VLC.duree_courante/$stream_3`"|floor}{/if} +{if $stream_5}{assign var=largeursautplus value="`$VLC.duree_restante/$stream_5`"|floor}{/if} + +<table width="630" height="3" border="0" cellpadding="0" cellspacing="0"><tr height="4"> + <td width="10" background="{$PLAYER_REP}r2_c1.gif"><img src="" width="1" height="1"></td> + + {section name=foo1 start=1 loop=$stream_3 step=1} + {assign var=time value="`$smarty.section.foo1.iteration*$largeursautmoins`"} + {assign var=heure value=$time|date_format:"%H"} + <td width="5"><a onfocus='front_panel="{$time|calcul_hours|cleanaff}";temps_affich="{$time|calcul_hours_complet}";' onBlur='front_panel="{$VLC.duree_courante|calcul_hours|cleanaff}";temps_affich="{$VLC.duree_courante|calcul_hours_complet}";' href="info.php?heures={$heure-1}&minutes={$time|date_format:"%M"}&secondes={$time|date_format:"%S"}"> + <table width="5" height="4" border="0" cellpadding="0" cellspacing="0" bgcolor="#0F88E13F" abgcolor="{#COULEUR_ALINK#}"><tr height="4"> + <td width="5" height="4"><img src="" width="5" height="4" border="0"></td> + </tr></table> + </a></td> + {/section} + + {section name=foo2 start=1 loop=$stream_5 step=1} + {assign var=time value="`$VLC.duree_courante+$smarty.section.foo2.iteration*$largeursautplus`"} + {assign var=heure value=$time|date_format:"%H"} + <td width="5"><a onfocus='front_panel="{$time|calcul_hours|cleanaff}";temps_affich="{$time|calcul_hours_complet}";' onBlur='front_panel="{$VLC.duree_courante|calcul_hours|cleanaff}";temps_affich="{$VLC.duree_courante|calcul_hours_complet}";' href="info.php?heures={$heure-1}&minutes={$time|date_format:"%M"}&secondes={$time|date_format:"%S"}"> + <table width="5" height="4" border="0" cellpadding="0" cellspacing="0" bgcolor="#5F657F3F" abgcolor="{#COULEUR_ALINK#}"><tr height="4"> + <td width="5" height="4"><img src="" width="5" height="4" border="0"></td> + </tr></table> + </a></td> + {/section} + + <td width="10" background="{$PLAYER_REP}r2_c8.gif"><img src="" width="1" height="1"></td> +</tr></table> + + </td> + </tr> + <tr height="12"> + <td width="630" height="12" background="{$PLAYER_REP}r3_c1.gif"><img src="" width="1" height="1"></td> + </tr> + + <tr height="28"> + <td width="630" height="28"> + <table width="630" height="28" border="0" cellpadding="0" cellspacing="0"><tr height="28"> + <td width="141" height="28" background="{$PLAYER_REP}r4_c1.gif"><a href="lecture.php?seek_value=moins"> + <table width="141" height="28" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF3F" abgcolor="{#COULEUR_ALINK#}"><tr height="28"> + <td width="141" height="28"><img src="" width="1" height="1" border="0"></td> + </tr></table> + </a></td> + <td width="33" height="28" background="{$PLAYER_REP}r4_c3.gif"><a href="info.php?control=pause"> + <table width="33" height="28" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF3F" abgcolor="{#COULEUR_ALINK#}"><tr height="28"> + <td width="33" height="28"><img src="" width="1" height="1" border="0"></td> + </tr></table> + </a></td> + <td width="50" height="28" background="{$PLAYER_REP}r4_c5.gif"><a href="lecture.php?seek_value=plus"> + <table width="50" height="28" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF3F" abgcolor="{#COULEUR_ALINK#}"><tr height="28"> + <td width="50" height="28"><img src="" width="1" height="1" border="0"></td> + </tr></table> + </a></td> + <td width="303" height="28" background="{$PLAYER_REP}r4_c6.gif"><font size="1">{$nomcourant|default:$VLC.url_current|truncate:30:''}</font></td> + <td width="103" height="28" background="{$PLAYER_REP}r4_c7.gif"><img src="" width="1" height="1" border="0"></td> + </tr></table> + </td> + </tr> + + <tr height="17"> + <td width="630" height="17" background="{$PLAYER_REP}r5_c1.gif"></td> + </tr></table> + +</td></tr></table> +</td></tr></table> +</center> +<script language="javascript" src="/fb2ie.js"> +</script> +</body> +</html> Added: trunk/skin/mediacenter/player/r1_c1.gif =================================================================== (Binary files differ) Property changes on: trunk/skin/mediacenter/player/r1_c1.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/skin/mediacenter/player/r2_c1.gif =================================================================== (Binary files differ) Property changes on: trunk/skin/mediacenter/player/r2_c1.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/skin/mediacenter/player/r2_c8.gif =================================================================== (Binary files differ) Property changes on: trunk/skin/mediacenter/player/r2_c8.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/skin/mediacenter/player/r3_c1.gif =================================================================== (Binary files differ) Property changes on: trunk/skin/mediacenter/player/r3_c1.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/skin/mediacenter/player/r4_c1.gif =================================================================== (Binary files differ) Property changes on: trunk/skin/mediacenter/player/r4_c1.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/skin/mediacenter/player/r4_c3.gif =================================================================== (Binary files differ) Property changes on: trunk/skin/mediacenter/player/r4_c3.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/skin/mediacenter/player/r4_c5.gif =================================================================== (Binary files differ) Property changes on: trunk/skin/mediacenter/player/r4_c5.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/skin/mediacenter/player/r4_c6.gif =================================================================== (Binary files differ) Property changes on: trunk/skin/mediacenter/player/r4_c6.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/skin/mediacenter/player/r4_c7.gif =================================================================== (Binary files differ) Property changes on: trunk/skin/mediacenter/player/r4_c7.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/skin/mediacenter/player/r5_c1.gif =================================================================== (Binary files differ) Property changes on: trunk/skin/mediacenter/player/r5_c1.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2007-03-19 00:35:37
|
Revision: 112 http://svn.sourceforge.net/easybox-mod/?rev=112&view=rev Author: aragornis Date: 2007-03-18 08:47:42 -0700 (Sun, 18 Mar 2007) Log Message: ----------- v4 Modified Paths: -------------- trunk/skin/simplegreen/couleur.conf Removed Paths: ------------- trunk/module/htmllight/ Modified: trunk/skin/simplegreen/couleur.conf =================================================================== --- trunk/skin/simplegreen/couleur.conf 2007-03-18 11:05:07 UTC (rev 111) +++ trunk/skin/simplegreen/couleur.conf 2007-03-18 15:47:42 UTC (rev 112) @@ -67,7 +67,7 @@ COULEUR_FOND_AVERTISSEMENT = "#B7D88B3F" #///////////////////////////////// Fond d'\xE9cran /////////////////////////////////// -BACKGROUND = "background.png" -TYPE = "ext" +BACKGROUND = "background.jpg" +TYPE = "int" ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2007-03-18 13:32:06
|
Revision: 108 http://svn.sourceforge.net/easybox-mod/?rev=108&view=rev Author: aragornis Date: 2007-03-17 08:32:09 -0700 (Sat, 17 Mar 2007) Log Message: ----------- modifsssss pour titou ;) Modified Paths: -------------- trunk/_framework/demarrage.php trunk/module/films/lecture.php trunk/skin/simple/demarrage.tpl trunk/skin/simplegreen/demarrage.tpl Modified: trunk/_framework/demarrage.php =================================================================== --- trunk/_framework/demarrage.php 2007-03-17 13:18:47 UTC (rev 107) +++ trunk/_framework/demarrage.php 2007-03-17 15:32:09 UTC (rev 108) @@ -28,10 +28,10 @@ $etape = $_GET['etape']; } - if($vers_fbx<=4){ - $META['service'] = 'ts://127.0.0.1?pcr=68&aud=69(en,mp2)&vid=68'; - $META['display_aspect_ratio_conversion'] = 'letterbox'; - } + if($vers_fbx<=4){ + $META['service'] = 'ts://127.0.0.1?pcr=68&aud=69(en,mp2)&vid=68'; + $META['display_aspect_ratio_conversion'] = 'letterbox'; + } //-- Chargement des donn\xE9es de configuration $intro = $ini['demarrage']['intro']; Modified: trunk/module/films/lecture.php =================================================================== --- trunk/module/films/lecture.php 2007-03-17 13:18:47 UTC (rev 107) +++ trunk/module/films/lecture.php 2007-03-17 15:32:09 UTC (rev 108) @@ -254,7 +254,9 @@ { if($cansetfrontpannel and $VLC['etat']=='playing') { - set_refresh(2, '2;url=lecture.php'); + if($vers_fbx>4){ + set_refresh(2, '2;url=lecture.php'); + } $META['front_panel'] = calcul_hours($VLC['duree_courante']); } } else Modified: trunk/skin/simple/demarrage.tpl =================================================================== --- trunk/skin/simple/demarrage.tpl 2007-03-17 13:18:47 UTC (rev 107) +++ trunk/skin/simple/demarrage.tpl 2007-03-17 15:32:09 UTC (rev 108) @@ -11,7 +11,7 @@ </td></tr> <tr><td> <table border="0" cellpadding="0" cellspacing="0"> - <tr><td width="125" align="right" valign="middle"><img src="{$INTERFACE_REP}{if $etape>1}done{else}while{/if}.gif" width="50" height="50" border="0"></td><td valign="middle"> Initilisation</td></tr> + <tr><td width="125" align="right" valign="middle"><img src="{$INTERFACE_REP}{if $etape>1}done{else}while{/if}.gif" width="50" height="50" border="0"></td><td valign="middle"> Initialisation</td></tr> <tr><td width="125" align="right" valign="middle"><img src="{$INTERFACE_REP}{if $etape>2}done{elseif $etape<2}wait{else}while{/if}.gif" width="50" height="50" border="0"></td><td valign="middle"> Mise \xE0 jour</td></tr> <tr><td width="125" align="right" valign="middle"><img src="{$INTERFACE_REP}{if $etape>3}done{elseif $etape<3}wait{else}while{/if}{if $ask_mdp}key{/if}.gif" width="50" height="50" border="0"></td><td valign="middle"> Identification</td></tr> </table> Modified: trunk/skin/simplegreen/demarrage.tpl =================================================================== --- trunk/skin/simplegreen/demarrage.tpl 2007-03-17 13:18:47 UTC (rev 107) +++ trunk/skin/simplegreen/demarrage.tpl 2007-03-17 15:32:09 UTC (rev 108) @@ -11,7 +11,7 @@ </td></tr> <tr><td> <table border="0" cellpadding="0" cellspacing="0"> - <tr><td width="125" align="right" valign="middle"><img src="{$INTERFACE_REP}{if $etape>1}done{else}while{/if}.gif" width="50" height="50" border="0"></td><td valign="middle"> Initilisation</td></tr> + <tr><td width="125" align="right" valign="middle"><img src="{$INTERFACE_REP}{if $etape>1}done{else}while{/if}.gif" width="50" height="50" border="0"></td><td valign="middle"> Initialisation</td></tr> <tr><td width="125" align="right" valign="middle"><img src="{$INTERFACE_REP}{if $etape>2}done{elseif $etape<2}wait{else}while{/if}.gif" width="50" height="50" border="0"></td><td valign="middle"> Mise \xE0 jour</td></tr> <tr><td width="125" align="right" valign="middle"><img src="{$INTERFACE_REP}{if $etape>3}done{elseif $etape<3}wait{else}while{/if}{if $ask_mdp}key{/if}.gif" width="50" height="50" border="0"></td><td valign="middle"> Identification</td></tr> </table> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2007-03-18 13:30:36
|
Revision: 107 http://svn.sourceforge.net/easybox-mod/?rev=107&view=rev Author: aragornis Date: 2007-03-17 06:18:47 -0700 (Sat, 17 Mar 2007) Log Message: ----------- la v4 ? Modified Paths: -------------- trunk/module/_explorateur/explorateur.tpl trunk/module/diaporama/explorateur_photo.tpl trunk/module/films/catalogue.php trunk/module/films/catalogue_video.tpl trunk/module/films/films.tpl trunk/module/films/info.php Modified: trunk/module/_explorateur/explorateur.tpl =================================================================== --- trunk/module/_explorateur/explorateur.tpl 2007-03-16 14:27:24 UTC (rev 106) +++ trunk/module/_explorateur/explorateur.tpl 2007-03-17 13:18:47 UTC (rev 107) @@ -4,7 +4,7 @@ <table cellspacing="2" align="center" width="498" valign="middle"><tr valign="middle"> {/if} {if $DISQUES[disques].path == 'reload'} - <td valign="middle" width="50"><img src="{$SKIN_REP}dossier/{$DISQUES[disques].gif}.gif" width="16" height="16"><font size='1'><a href="{$PAGE_EXPLO}?directory={$REP|urlencode}&mode={$MODE}&reload=1&start={$MIN}">Rafr.</a></font></td> + <td valign="middle" width="50"><img src="{$SKIN_REP}dossier/{$DISQUES[disques].gif}.gif" width="16" height="16"><font size='1'><a href="{$PAGE_EXPLO}?directory={$REP|urlencode}&mode={$MODE}&reload=1&start={$MIN}" onfocus='aide="Scanner \xE0 nouveau les disques et lecteurs disponibles'>Rafr.</a></font></td> {else} <td valign="middle"><img src="{$SKIN_REP}dossier/{$DISQUES[disques].gif}.gif" width="16" height="16"><font size='1'><a href="{$PAGE_EXPLO}?directory={$DISQUES[disques].path|urlencode}&mode={$MODE}">{$DISQUES[disques].lettre|strtolower}</a></font></td> {/if} @@ -117,13 +117,13 @@ {section name=files loop=$T_affich max=$NUM_ROW_AFFICH start=$MIN} {if $T_affich[files]|in_array:$T_rep} {assign var="rep_a_affich" value=$REP|cat:'/'|cat:$T_affich[files]} -<tr><td colspan="2"><img src="{$SKIN_REP}dossier/folder.gif"> <font size="1"><a {if $smarty.section.disques.first==1}focused {/if}href="{$PAGE_EXPLO}?directory={$rep_a_affich|realpath|urlencode}&mode={$MODE}" onfocus='aide="Explorer {$T_affich[files]|strip_delimiters|escape:"htmlall"}";'>{$T_affich[files]|truncate:55|strip_delimiters}</a></font></td></tr> +<tr><td colspan="2"><img src="{$SKIN_REP}dossier/folder.gif"> <font size="1"><a {if $smarty.section.disques.first==1}focused {/if}href="{$PAGE_EXPLO}?directory={$rep_a_affich|realpath|urlencode}&mode={$MODE}" onfocus='aide="Explorer {$T_affich[files]|strip_delimiters|replace:"'":"`"}";'>{$T_affich[files]|truncate:55|strip_delimiters}</a></font></td></tr> {else} <tr> {if $AFF_INFO} <td width="35"> {assign var="nb" value=$T_affich[files]|strrpos:"."} - <a href="fichefilm.php?start={$MIN}&comeback=expl&film={$T_affich[files]|substr:0:$nb|urlencode}&fichier={$REP|cat:'/'|cat:$T_affich[files]|realpath|urlencode}"><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$INTERFACE_REP}/information.gif" border="0" width="20" height="20"></td></tr></table></a> + <a href="fichefilm.php?start={$MIN}&comeback=expl&film={$T_affich[files]|substr:0:$nb|urlencode}&fichier={$REP|cat:'/'|cat:$T_affich[files]|realpath|urlencode}" onfocus='aide="Afficher les informations sur {$T_affich[files]|strip_delimiters|replace:"'":"`"}";'><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$INTERFACE_REP}/information.gif" border="0" width="20" height="20"></td></tr></table></a> </td> {elseif $LECTEUR_AUDIO} <td width="60"> @@ -139,7 +139,7 @@ <td> {if (NOT $AFF_INFO) AND (NOT $LECTEUR_AUDIO)}<img src="{$SKIN_REP}dossier/{$ICONE_FICHIER}" width="16" height="16"> {/if} - <font size="1"><a {if $smarty.section.disques.first==1}focused {/if}href="{$PAGE_LECT}?{$OPT_LIENS}toplay_file={$T_affich[files]|urlencode}&toplay_rep={$REP|urlencode}" onfocus='aide="Jouer {$T_affich[files]|strip_delimiters|escape:"htmlall"}";'>{$T_affich[files]|strip_delimiters|truncate:52}</a></font> + <font size="1"><a {if $smarty.section.disques.first==1}focused {/if}href="{$PAGE_LECT}?{$OPT_LIENS}toplay_file={$T_affich[files]|urlencode}&toplay_rep={$REP|urlencode}" onfocus='aide="Jouer {$T_affich[files]|strip_delimiters|replace:"'":"`"}";'>{$T_affich[files]|strip_delimiters|truncate:52}</a></font> </td></tr> {/if} Modified: trunk/module/diaporama/explorateur_photo.tpl =================================================================== --- trunk/module/diaporama/explorateur_photo.tpl 2007-03-16 14:27:24 UTC (rev 106) +++ trunk/module/diaporama/explorateur_photo.tpl 2007-03-17 13:18:47 UTC (rev 107) @@ -35,15 +35,15 @@ {if $files[files]|in_array:$T_repertoire} {if $DOS} - <td width="100" height="130"><a href="index1.php?rep={$files[files].path|urlencode}" onfocus='aide="{$files[files]|strip_delimiters|replace:"'":"'"}";'><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="80"><td width="100" height="80" valign="middle" align="center"><img border=0 width="64" height="64" src="lecteur.gif"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><font size="1">{$files[files].nom} ({$files[files].lettre|strtolower}:)</font></td></tr></table></a></td> + <td width="100" height="130"><a href="index1.php?rep={$files[files].path|urlencode}" onfocus='aide="{$files[files]|strip_delimiters|replace:"'":"`"}";'><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="80"><td width="100" height="80" valign="middle" align="center"><img border=0 width="64" height="64" src="lecteur.gif"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><font size="1">{$files[files].nom} ({$files[files].lettre|strtolower}:)</font></td></tr></table></a></td> {else} - <td width="100" height="130"><a href="index1.php?rep={$REP|cat:'/'|cat:$files[files]|urlencode}" onfocus='aide="{$files[files]|strip_delimiters|replace:"'":"'"}";'><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="80"><td width="100" height="80" valign="middle" align="center"><img border=0 width="64" height="64" src="big_dossier.gif"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><font size="1">{$files[files]|truncate:20:"":true|wordwrap:10:"<br>":true|strip_delimiters}</font></td></tr></table></a></td> + <td width="100" height="130"><a href="index1.php?rep={$REP|cat:'/'|cat:$files[files]|urlencode}" onfocus='aide="{$files[files]|strip_delimiters|replace:"'":"`"}";'><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="80"><td width="100" height="80" valign="middle" align="center"><img border=0 width="64" height="64" src="big_dossier.gif"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><font size="1">{$files[files]|truncate:20:"":true|wordwrap:10:"<br>":true|strip_delimiters}</font></td></tr></table></a></td> {/if} {else} {assign var="dim" value=$REP|cat:'/'|cat:$files[files]|getimagesize} {assign var="newdim" value=$dim.0|get_size:$dim.1} - <td width="100" height="130" valign="middle" align="center"><a href="index1.php?image={$smarty.section.files.index}&rep={$rep_encoded}&start={$MIN}" onfocus='aide="{$files[files]|strip_delimiters|replace:"'":"'"}";'><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="80"><td width="100" height="80" valign="middle" align="center" background="fond_cell.gif"><img width="{$newdim.0}" height="{$newdim.1}" border="0" src="{$RACINE_REP}_framework/lib/img_cr.php?local=1&formatw=88&formath=68&img={$REP|cat:'/'|cat:$files[files]|urlencode}"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><font size="1">{$files[files]|truncate:20:"":true|wordwrap:10:"<br>":true|strip_delimiters}</font></td></tr></table></a></td> + <td width="100" height="130" valign="middle" align="center"><a href="index1.php?image={$smarty.section.files.index}&rep={$rep_encoded}&start={$MIN}" onfocus='aide="{$files[files]|strip_delimiters|replace:"'":"`"}";'><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="80"><td width="100" height="80" valign="middle" align="center" background="fond_cell.gif"><img width="{$newdim.0}" height="{$newdim.1}" border="0" src="{$RACINE_REP}_framework/lib/img_cr.php?local=1&formatw=88&formath=68&img={$REP|cat:'/'|cat:$files[files]|urlencode}"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><font size="1">{$files[files]|truncate:20:"":true|wordwrap:10:"<br>":true|strip_delimiters}</font></td></tr></table></a></td> {/if} Modified: trunk/module/films/catalogue.php =================================================================== --- trunk/module/films/catalogue.php 2007-03-16 14:27:24 UTC (rev 106) +++ trunk/module/films/catalogue.php 2007-03-17 13:18:47 UTC (rev 107) @@ -31,7 +31,20 @@ $sens1['name'] = $sens1['perso'] = $sens1['date'] = $sens1['film'] = $sens1['genre'] = $sens1['id'] = $sens; $sens1[$tri] = $sens_contraire; - + $META['titre'] = ''; + $META['real'] = ''; + $META['avec'] = ''; + $META['film'] = ''; + $META['dure'] = ''; + $META['genr'] = ''; + $META['syno'] = ''; + $META['realisateur'] = ''; + $META['acteurs'] = ''; + $META['nationalite'] = ''; + $META['duree'] = ''; + $META['genre'] = ''; + $META['synopsis'] = ''; + save_variable('lastexpl', 'bibliotheque'); save_variable('bib_min', $min); save_variable('retour_fiche_film', 'bibliotheque'); Modified: trunk/module/films/catalogue_video.tpl =================================================================== --- trunk/module/films/catalogue_video.tpl 2007-03-16 14:27:24 UTC (rev 106) +++ trunk/module/films/catalogue_video.tpl 2007-03-17 13:18:47 UTC (rev 107) @@ -1,19 +1,19 @@ {if $tri=="name" OR $tri=="date" OR $tri=="perso" OR $tri=="id"} - {assign var=NUM_ROW_AFFICH value=15} + {assign var=NUM_ROW_AFFICH value=10} {section name=files loop=$result max=$NUM_ROW_AFFICH start=$MIN} {cycle name=place assign=place print=false values="4,3,2,1,0"} {if $smarty.section.files.first} - <table border="0" cellpadding="0" cellspacing="0" width="500" height="436" align="center"><tr> + <table border="0" cellpadding="0" cellspacing="0" width="500" align="center"><tr> {if $MIN!=0} {assign var=temp value=$MIN-$NUM_ROW_AFFICH} {attribbouton touche="green" lien="catalogue.php?start=$temp&tri=$tri&sens=$sens"} - <td colspan="5" align=center><img src="{$INTERFACE_REP}btn_vert.gif" border="0"> <a href="catalogue.php?start={$temp}&tri={$tri}&sens={$sens}">Pr\xE9c\xE9dent</a> <a href="catalogue.php?start=0&tri={$tri}&sens={$sens}">D\xE9but</a></td></tr><tr> + <td colspan="5" align=center><img src="{$INTERFACE_REP}btn_vert.gif" border="0"> <a href="catalogue.php?start={$temp}&tri={$tri}&sens={$sens}" onfocus='real="";avec="";film="";dure="";genr="";syno="";realisateur="";acteurs="";nationalite="";duree="";genre="";synopsis="";'>Pr\xE9c\xE9dent</a> <a href="catalogue.php?start=0&tri={$tri}&sens={$sens}" onfocus='real="";avec="";film="";dure="";genr="";syno="";realisateur="";acteurs="";nationalite="";duree="";genre="";synopsis="";'>D\xE9but</a></td></tr><tr> {/if} {/if} {if $tri=="name" OR $tri=="date" OR $tri=="id"} - <td width="100" height="130"><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}"><tr height="80"><td width="100" height="80" valign="middle" align=center><img width="60" height="80" border="0" src="{$IMG2FBX}{$result[files].img|urlencode}&new_width=60&new_height=80&cache=1"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><a href="play.php?toplay={$result[files].dir|realpath|urlencode}"><font size="1">{$result[files].name|truncate:12:'..':true}</font></a><br><font size="1">{if $result[files].sortie != 2}({$result[files].sortie|default:200|date_format:"%Y"}) - {/if}<a href="fichefilm.php?film={$result[files].name|urlencode}&fichier={$result[files].dir|realpath|urlencode}&start={$MIN}">Infos</a></font></td></tr></table></td> + <td width="100" height="130"><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}"><tr height="80"><td width="100" height="80" valign="middle" align=center><img width="60" height="80" border="0" src="{$IMG2FBX}{$result[files].img|urlencode}&new_width=60&new_height=80&cache=1"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><a href="play.php?toplay={$result[files].dir|realpath|urlencode}" onfocus='real="R\xE9alisateur";avec="Avec";film="Film";dure="Dur\xE9e";genr="Genre";syno="Synopsis";synopsis="{$result[files].Synopsis|strip_delimiters|replace:"'":"`"|replace:"\"":"``"}";titre="{$result[files].name|strip_delimiters|replace:"'":"`"|replace:"\"":"``"} ({$result[files].sortie|date_format:"%d/%m/%Y"|strip_delimiters|replace:"'":"`"|replace:"\"":"``"})";realisateur="{$result[files].realisateur|strip_delimiters|replace:"'":"`"|replace:"\"":"``"}";acteurs="{$result[files].avec|strip_delimiters|replace:"'":"`"|replace:"\"":"``"}";nationalite="{$result[files].film|strip_delimiters|replace:"'":"`"|replace:"\"":"``"} ({$result[files].production})";genre="{$result[files].genre|strip_delimiters|replace:"'":"`"|replace:"\"":"``"}";duree="{$result[files].Duree|strip_delimiters|replace:"'":"`"|replace:"\"":"``"}";'><font size="1">{$result[files].name|truncate:12:'..':true}</font></a><br><font size="1">{if $result[files].sortie != 2}({$result[files].sortie|default:200|date_format:"%Y"}) - {/if}<a href="fichefilm.php?film={$result[files].name|urlencode}&fichier={$result[files].dir|realpath|urlencode}&start={$MIN}">Infos</a></font></td></tr></table></td> {elseif $tri=="perso"} <td width="100" height="130"><a href="catalogue.php?tri=perso&start={$MIN}&sens={$sens}&suiv={$result[files].nom|urlencode}"><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="80"><td width="100" height="80" valign="middle" align=center><img width="60" height="80" border="0" src="{$IMG2FBX}{$result[files].img|urlencode}&new_width=60&new_height=80&cache=1"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><font size="1">{$result[files].nom|wordwrap:18:"<br>":true}</font></td></tr></table></a></td> {/if} @@ -39,13 +39,24 @@ {if $MIN+$NUM_ROW_AFFICH < $rows} {assign var=temp value=$MIN+$NUM_ROW_AFFICH} {attribbouton touche="blue" lien="catalogue.php?start=$temp&tri=$tri&sens=$sens"} - <tr><td colspan="5" align=center height=25 valign=bottom><img src="{$INTERFACE_REP}btn_bleu.gif" border="0"> <a href="catalogue.php?start={$temp}&tri={$tri}&sens={$sens}">Suivant</a> <a href="catalogue.php?start={$rows-$NUM_ROW_AFFICH}&tri={$tri}&sens={$sens}">Fin</a></td></tr> + <tr><td colspan="5" align=center height=25 valign=bottom><img src="{$INTERFACE_REP}btn_bleu.gif" border="0"> <a href="catalogue.php?start={$temp}&tri={$tri}&sens={$sens}" onfocus='real="";avec="";film="";dure="";genr="";syno="";realisateur="";acteurs="";nationalite="";duree="";genre="";synopsis="";'>Suivant</a> <a href="catalogue.php?start={$rows-$NUM_ROW_AFFICH}&tri={$tri}&sens={$sens}" onfocus='real="";avec="";film="";dure="";genr="";syno="";realisateur="";acteurs="";nationalite="";duree="";genre="";synopsis="";'>Fin</a></td></tr> {/if} </table> {/if} {/section} + + {if $tri=="name" OR $tri=="date" OR $tri=="id"} + <font size="4"><var name=titre width=500></font><br> + <u><var name=real width=100></u> <font size="1"><var name=realisateur width=400></font><br> + <u><var name=avec width=100></u> <font size="1"><var name=acteurs width=400></font><br> + <u><var name=film width=100></u> <font size="1"><var name=nationalite width=400></font><br> + <u><var name=dure width=100></u> <font size="1"><var name=duree width=400></font><br> + <u><var name=genr width=100></u> <font size="1"><var name=genre width=400></font><br> + <u><var name=syno width=100></u> <font size="1"><var name=synopsis width=400></font><br> + {/if} + {elseif $tri=="perso_suiv"} <table border="0" cellpadding="0" cellspacing="0" align="center"> <tr><td width="120" height="160"><img src="{$IMG2FBX}{$info.img|urlencode}&cache=1"></td> @@ -110,7 +121,7 @@ {/if} {/if} - <td width="100" height="130"><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}"><tr height="80"><td width="100" height="80" valign="middle" align=center><img width="60" height="80" border="0" src="{$IMG2FBX}{$result[files].img|urlencode}&new_width=60&new_height=80&cache=1"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><a href="play.php?toplay={$result[files].dir|realpath|urlencode}"><font size="1">{$result[files].name|truncate:12:'..':true}</font></a><br><font size="1">{if $result[files].sortie != 2}({$result[files].sortie|default:200|date_format:"%Y"}) - {/if}<a href="fichefilm.php?film={$result[files].name|urlencode}&fichier={$result[files].dir|realpath|urlencode}&start={$MIN}">Infos</a></font></td></tr></table></td> + <td width="100" height="130"><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}"><tr height="80"><td width="100" height="80" valign="middle" align=center><img width="60" height="80" border="0" src="{$IMG2FBX}{$result[files].img|urlencode}&new_width=60&new_height=80&cache=1"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><a href="play.php?toplay={$result[files].dir|realpath|urlencode}" onfocus='real="R\xE9alisateur";avec="Avec";film="Film";dure="Dur\xE9e";genr="Genre";syno="Synopsis";synopsis="{$result[files].Synopsis|strip_delimiters|replace:"'":"`"|replace:"\"":"``"}";titre="{$result[files].name|strip_delimiters|replace:"'":"`"|replace:"\"":"``"} ({$result[files].sortie|date_format:"%d/%m/%Y"|strip_delimiters|replace:"'":"`"|replace:"\"":"``"})";realisateur="{$result[files].realisateur|strip_delimiters|replace:"'":"`"|replace:"\"":"``"}";acteurs="{$result[files].avec|strip_delimiters|replace:"'":"`"|replace:"\"":"``"}";nationalite="{$result[files].film|strip_delimiters|replace:"'":"`"|replace:"\"":"``"} ({$result[files].production})";genre="{$result[files].genre|strip_delimiters|replace:"'":"`"|replace:"\"":"``"}";duree="{$result[files].Duree|strip_delimiters|replace:"'":"`"|replace:"\"":"``"}";'><font size="1">{$result[files].name|truncate:12:'..':true}</font></a><br><font size="1">{if $result[files].sortie != 2}({$result[files].sortie|default:200|date_format:"%Y"}) - {/if}<a href="fichefilm.php?film={$result[files].name|urlencode}&fichier={$result[files].dir|realpath|urlencode}&start={$MIN}">Infos</a></font></td></tr></table></td> {if $smarty.section.files.iteration is div by 5 AND NOT $smarty.section.files.last} </tr><tr> @@ -138,6 +149,13 @@ </table> {/if} - {/section} + + <font size="4"><var name=titre width=500></font><br> + <u><var name=real width=100></u> <font size="1"><var name=realisateur width=400></font><br> + <u><var name=avec width=100></u> <font size="1"><var name=acteurs width=400></font><br> + <u><var name=film width=100></u> <font size="1"><var name=nationalite width=400></font><br> + <u><var name=dure width=100></u> <font size="1"><var name=duree width=400></font><br> + <u><var name=genr width=100></u> <font size="1"><var name=genre width=400></font><br> + <u><var name=syno width=100></u> <font size="1"><var name=synopsis width=400></font><br> {/if} Modified: trunk/module/films/films.tpl =================================================================== --- trunk/module/films/films.tpl 2007-03-16 14:27:24 UTC (rev 106) +++ trunk/module/films/films.tpl 2007-03-17 13:18:47 UTC (rev 107) @@ -59,7 +59,7 @@ <tr><td width="90">Lumi\xE9re</td><td width="5">:</td><td><input bgcolor="{#COULEUR_FOND_RADIO#}" type=hslider name=denc_brightness min=0 max=255 grad=16></td></tr> <tr><td width="90">Contraste</td><td width="5">:</td><td><input bgcolor="{#COULEUR_FOND_RADIO#}" type=hslider name=denc_contrast min='-128' max=127 grad=16></td></tr> <tr><td width="90">Couleur</td><td width="5">:</td><td><input bgcolor="{#COULEUR_FOND_RADIO#}" type=hslider name=denc_saturation min=0 max=255 grad=16></td></tr> -<tr><td width="90">Zoom</td><td width="5">:</td><td><input bgcolor="{#COULEUR_FOND_RADIO#}" type=hslider name=video_output_scale min=25 max=150 grad=5></td></tr> +<tr><td width="90">Zoom</td><td width="5">:</td><td><input bgcolor="{#COULEUR_FOND_RADIO#}" type=hslider name=video_output_scale min=25 max=175 grad=5> - <a href="none" onSelect='video_output_scale="100";'>R\xE9initialiser</a></td></tr> </table> <br> <input bgcolor="{#COULEUR_TEXTBOX#}" type=submit value="Valider les modifications"> @@ -72,7 +72,6 @@ <select name="audio"> {foreach from=$audio item=pistea key=key name=audio} <option value={$key} {if $pistea.1}selected{/if}>{$pistea.0} - {*<input type=radio name=audio bgcolor="{#COULEUR_FOND_RADIO#}" value="{$key}" {if $pistea.1} checked{/if}>{$pistea.0}<br>*} {/foreach} </select> <br> <br> Modified: trunk/module/films/info.php =================================================================== --- trunk/module/films/info.php 2007-03-16 14:27:24 UTC (rev 106) +++ trunk/module/films/info.php 2007-03-17 13:18:47 UTC (rev 107) @@ -157,9 +157,11 @@ if($_ffontsize==""){ $_ffontzise = '32'; } - foreach($sstitre as $key => $value){ - if($value[1]){ - $META['sstitre']=$key; + if(count($sstitre)){ + foreach($sstitre as $key => $value){ + if($value[1]){ + $META['sstitre']=$key; + } } } $smarty->assign('ffontsize',convert_size($_ffontsize)); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2007-03-18 12:36:32
|
Revision: 109 http://svn.sourceforge.net/easybox-mod/?rev=109&view=rev Author: aragornis Date: 2007-03-17 12:55:31 -0700 (Sat, 17 Mar 2007) Log Message: ----------- Modified Paths: -------------- trunk/module/films/films.tpl trunk/module/films/info.php Modified: trunk/module/films/films.tpl =================================================================== --- trunk/module/films/films.tpl 2007-03-17 15:32:09 UTC (rev 108) +++ trunk/module/films/films.tpl 2007-03-17 19:55:31 UTC (rev 109) @@ -111,7 +111,7 @@ <select name="title"> {foreach from=$title item=chap key=key name=chap} <option value={$key} {if $chap.1}selected{/if}>{$chap.0} - {/foreach} + {/foreach} </select> <input bgcolor="{#COULEUR_TEXTBOX#}" type=submit value="Valider les modifications"></form> {else} Modified: trunk/module/films/info.php =================================================================== --- trunk/module/films/info.php 2007-03-17 15:32:09 UTC (rev 108) +++ trunk/module/films/info.php 2007-03-17 19:55:31 UTC (rev 109) @@ -223,6 +223,12 @@ $LINK['red']=$MODULE.'films/lecture.php?next_ss=1'; $LINK['yellow']=$MODULE.'films/info.php?module=infos'; + // BDE - RequestID 1588902 + $LINK['next']=$MODULE.'films/info.php?control=next'; + $LINK['prev']=$MODULE.'films/info.php?control=previous'; + $LINK['rev']=$MODULE.'films/info.php?seek_value=moins'; + $LINK['fwd']=$MODULE.'films/info.php?seek_value=plus'; + if(in_array($VLC['type_current'],array('cd','audio','photo'))){ $META['refresh']= '2;url='.page_retour_film(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2007-03-18 12:36:30
|
Revision: 111 http://svn.sourceforge.net/easybox-mod/?rev=111&view=rev Author: aragornis Date: 2007-03-18 04:05:07 -0700 (Sun, 18 Mar 2007) Log Message: ----------- nouveaux tests dvd Modified Paths: -------------- trunk/http-vlc/lecteur/play.html trunk/module/dvd/playrep.php trunk/module/films/films.tpl Modified: trunk/http-vlc/lecteur/play.html =================================================================== --- trunk/http-vlc/lecteur/play.html 2007-03-17 20:46:57 UTC (rev 110) +++ trunk/http-vlc/lecteur/play.html 2007-03-18 11:05:07 UTC (rev 111) @@ -103,21 +103,21 @@ <vlc id="if" param1="type value 30 =" /> <vlc id="rpn" param1="vlc_stop" /> <vlc id="rpn" param1="playlist_empty" /> - <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-ab=256 :sout-transcode-acodec=mpga :sout-transcode-channels=2 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add vlc_play" /> + <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-ab=256 :sout-transcode-acodec=mpga :sout-transcode-channels=2 :dvd-caching=500 :sout-udp-caching=300 :audio-language=fr :sout-transcode-vb=9600 :sout-transcode-vcodec=mp2v :sout=#transcode{scale=1,soverlay}:duplicate{dst=std{mux=ts}}' strcat mrl value playlist_add vlc_play" /> <vlc id="end" /> <!-- dvd joue normalement - sortie audio PC - Type 31 --> <vlc id="if" param1="type value 31 =" /> <vlc id="rpn" param1="vlc_stop" /> <vlc id="rpn" param1="playlist_empty" /> - <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout=#duplicate{dst=transcode:std,select=video,dst=display,select=audio} :sout-transcode-ab=512 :sout-transcode-acodec=a52 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add vlc_play" /> + <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-ab=256 :sout-transcode-acodec=mpga :sout-transcode-channels=2 :dvd-caching=500 :sout-udp-caching=300 :audio-language=fr :sout-transcode-vb=9600 :sout-transcode-vcodec=mp2v :sout=#transcode{scale=1,soverlay}:duplicate{dst=std{mux=ts},select=video,dst=display,select=audio}' strcat mrl value playlist_add vlc_play" /> <vlc id="end" /> <!-- dvd joue normalement - Sortie AC3 audio - Type 32 --> <vlc id="if" param1="type value 32 =" /> <vlc id="rpn" param1="vlc_stop" /> <vlc id="rpn" param1="playlist_empty" /> - <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-ab=512 :sout-transcode-acodec=a52 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add vlc_play" /> + <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-ab=512 :sout-transcode-acodec=a52 :sout-transcode-channels=6 :dvd-caching=500 :sout-udp-caching=300 :audio-language=fr :sout-transcode-vb=9600 :sout-transcode-vcodec=mp2v :sout=#transcode{scale=1,soverlay}:duplicate{dst=std{mux=ts}}' strcat mrl value playlist_add vlc_play" /> <vlc id="end" /> <!-- dvd ajoute normalement - transcodage audio - Type 33 --> Modified: trunk/module/dvd/playrep.php =================================================================== --- trunk/module/dvd/playrep.php 2007-03-17 20:46:57 UTC (rev 110) +++ trunk/module/dvd/playrep.php 2007-03-18 11:05:07 UTC (rev 111) @@ -36,9 +36,9 @@ $basename = 'dvdsimple://'.$basename; play_fichier($play,$basename,0,'dvd'); - $META['refresh'] = '2;url=playrep.php?mode=1'; + //$META['refresh'] = '2;url=playrep.php?mode=1'; + $META['refresh'] = '0;url='.$MODULE.'films/lecture.php'; - $affich = 'Veuillez patienter pendant la construction des menus...'; }elseif($_GET['mode']==1 && is_array($title)){ Modified: trunk/module/films/films.tpl =================================================================== --- trunk/module/films/films.tpl 2007-03-17 20:46:57 UTC (rev 110) +++ trunk/module/films/films.tpl 2007-03-18 11:05:07 UTC (rev 111) @@ -90,7 +90,7 @@ {/foreach} </select> - Les param\xE8tres suivants ne seront pris en compte qu'apr\xE8s le red\xE9marage du films. Ils seront sauvegard\xE9s dans Easybox pour les prochaines utilisations de easybox<br /> + Les param\xE8tres suivants ne seront pris en compte qu'apr\xE8s le red\xE9marage complet d'Easybox. Ils seront sauvegard\xE9s dans Easybox pour les prochaines utilisations de easybox<br /> <font size="3"><u>Position</u></font> : <input type=text bgcolor="{#COULEUR_FOND_RADIO#}" name="sub_margin" size=3 maxlength=3 value="{$sub_margin}"><br> <br> <font size="3"><u>Couleur</u></font> :<br> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2007-03-16 14:27:27
|
Revision: 106 http://svn.sourceforge.net/easybox-mod/?rev=106&view=rev Author: aragornis Date: 2007-03-16 07:27:24 -0700 (Fri, 16 Mar 2007) Log Message: ----------- Ajout des icones pour les modules optionnels Rajout du module horoscope Modified Paths: -------------- trunk/_utilisateur/modules.db Added Paths: ----------- trunk/module/cac40/icone.gif trunk/module/ephemeride/icone.gif trunk/module/horoscope/icone.gif trunk/module/infotraffic/icone.gif trunk/module/loto/icone.gif trunk/module/messagerie/icone.gif trunk/module/morpion/icone.gif trunk/module/pendu/icone.gif trunk/module/reseaufree/icone.gif trunk/module/sudoku/icone.gif Modified: trunk/_utilisateur/modules.db =================================================================== (Binary files differ) Added: trunk/module/cac40/icone.gif =================================================================== (Binary files differ) Property changes on: trunk/module/cac40/icone.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/module/ephemeride/icone.gif =================================================================== (Binary files differ) Property changes on: trunk/module/ephemeride/icone.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/module/horoscope/icone.gif =================================================================== (Binary files differ) Property changes on: trunk/module/horoscope/icone.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/module/infotraffic/icone.gif =================================================================== (Binary files differ) Property changes on: trunk/module/infotraffic/icone.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/module/loto/icone.gif =================================================================== (Binary files differ) Property changes on: trunk/module/loto/icone.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/module/messagerie/icone.gif =================================================================== (Binary files differ) Property changes on: trunk/module/messagerie/icone.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/module/morpion/icone.gif =================================================================== (Binary files differ) Property changes on: trunk/module/morpion/icone.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/module/pendu/icone.gif =================================================================== (Binary files differ) Property changes on: trunk/module/pendu/icone.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/module/reseaufree/icone.gif =================================================================== (Binary files differ) Property changes on: trunk/module/reseaufree/icone.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/module/sudoku/icone.gif =================================================================== (Binary files differ) Property changes on: trunk/module/sudoku/icone.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2007-03-16 13:59:05
|
Revision: 105 http://svn.sourceforge.net/easybox-mod/?rev=105&view=rev Author: aragornis Date: 2007-03-16 06:58:31 -0700 (Fri, 16 Mar 2007) Log Message: ----------- Correction sur le module recette : retour des pr?\195?\169parations et de l'image des recettes Modified Paths: -------------- trunk/_utilisateur/multiposte.m3u trunk/module/recettes/recettes.php trunk/module/recettes/recettes2.tpl Modified: trunk/_utilisateur/multiposte.m3u =================================================================== --- trunk/_utilisateur/multiposte.m3u 2007-03-16 13:24:40 UTC (rev 104) +++ trunk/_utilisateur/multiposte.m3u 2007-03-16 13:58:31 UTC (rev 105) @@ -95,6 +95,10 @@ rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=222 #EXTINF:0,64 - Motors TV rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=216 +#EXTINF:0,65 - Poker Channel +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=618 +#EXTINF:0,66 - Real Madrid TV +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=387 #EXTINF:0,69 - Euronews rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=205 #EXTINF:0,70 - Bloomberg TV @@ -251,8 +255,6 @@ rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=307 #EXTINF:0,232 - ETB Sat rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=371 -#EXTINF:0,233 - Real Madrid TV -rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=387 #EXTINF:0,234 - TVCi rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=461 #EXTINF:0,238 - SIC @@ -419,3 +421,343 @@ rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=303 #EXTINF:0,999 - Mire FREEBOX rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=308 +#EXTINF:0,10001 - Europe 1 +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1001 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110001 +#EXTINF:0,10003 - France Inter +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1003 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110003 +#EXTINF:0,10004 - RMC Info +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1004 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110004 +#EXTINF:0,10005 - RTL +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1005 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110005 +#EXTINF:0,10006 - Chérie FM +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1006 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110006 +#EXTINF:0,10007 - Europe 2 +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1007 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110007 +#EXTINF:0,10008 - Fun Radio +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1008 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110008 +#EXTINF:0,10009 - Nostalgie +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1010 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110009 +#EXTINF:0,10010 - NRJ +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1011 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110010 +#EXTINF:0,10011 - RFM +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1001 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110011 +#EXTINF:0,10012 - Rire et Chansons +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1002 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110012 +#EXTINF:0,10013 - RTL 2 +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1003 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110013 +#EXTINF:0,10014 - Skyrock +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1004 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110014 +#EXTINF:0,10015 - BFM +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1005 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110015 +#EXTINF:0,10016 - France Culture +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1006 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110016 +#EXTINF:0,10017 - France Info +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1007 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110017 +#EXTINF:0,10018 - France Musiques +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1008 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110018 +#EXTINF:0,10019 - Radio Classique +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1010 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110019 +#EXTINF:0,10020 - Contact FM +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1004 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110020 +#EXTINF:0,10021 - FIP +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1006 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110021 +#EXTINF:0,10022 - Le Mouv' +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1007 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110022 +#EXTINF:0,10023 - Nova +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1008 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110023 +#EXTINF:0,10024 - Ouï FM +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1009 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110024 +#EXTINF:0,10025 - TSF Jazz +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1011 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110025 +#EXTINF:0,10026 - France BLEU - la CityRadio +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1002 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110026 +#EXTINF:0,10027 - RFI +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1011 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110027 +#EXTINF:0,10028 - RFI Multilingues +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1001 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110028 +#EXTINF:0,10029 - Alouette +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1002 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110029 +#EXTINF:0,10030 - Radio FG +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1010 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110030 +#EXTINF:0,10032 - Fréquence Jazz +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1009 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110032 +#EXTINF:0,10033 - Couleur 3 +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1005 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110033 +#EXTINF:0,10034 - Beur FM +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1003 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110034 +#EXTINF:0,10035 - Voltage +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1001 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110035 +#EXTINF:0,10036 - Sud Radio +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1002 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110036 +#EXTINF:0,10037 - Ado FM +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1003 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110037 +#EXTINF:0,10038 - MplusM +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1004 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110038 +#EXTINF:0,10039 - Radio Ethic +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1005 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110039 +#EXTINF:0,10040 - Roc FM +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1006 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110040 +#EXTINF:0,10041 - Top Music +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1007 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110041 +#EXTINF:0,10042 - Rts FM +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1008 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110042 +#EXTINF:0,10043 - Evasion FM +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1009 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110043 +#EXTINF:0,10044 - Radio Scoop +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1010 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110044 +#EXTINF:0,10045 - La radio de la mer +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1001 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110045 +#EXTINF:0,10046 - Wit FM +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1004 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110046 +#EXTINF:0,10047 - Black Box +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1005 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110047 +#EXTINF:0,10048 - Vibration +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1006 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110048 +#EXTINF:0,10049 - Forum +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1007 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110049 +#EXTINF:0,10050 - Sun FM Nantes +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1002 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110050 +#EXTINF:0,10051 - Kiss FM +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1010 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110051 +#EXTINF:0,10052 - Radio Néo +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1009 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110052 +#EXTINF:0,10053 - Onthecity Radio +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1003 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110053 +#EXTINF:0,10054 - Watt FM +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1008 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110054 +#EXTINF:0,10055 - Normandie FM +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1011 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110055 +#EXTINF:0,10056 - Deepinside +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1012 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110056 +#EXTINF:0,10057 - Radio Teentaal +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1011 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110057 +#EXTINF:0,10058 - Radio Xtreme +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1012 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110058 +#EXTINF:0,10059 - Frequence 3 +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1013 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110059 +#EXTINF:0,10060 - World Radio Paris +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1013 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110060 +#EXTINF:0,10061 - Radio Latina +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1012 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110061 +#EXTINF:0,10062 - Radio Blagon +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1014 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110062 +#EXTINF:0,10063 - Espace FM +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1014 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110063 +#EXTINF:0,10064 - Hit West +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1015 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110064 +#EXTINF:0,10065 - Radio Public Santé +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1015 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110065 +#EXTINF:0,10066 - MFM +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1001 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110066 +#EXTINF:0,10067 - 13FM +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1002 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110067 +#EXTINF:0,10068 - FC RADIO L'essentiel +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1003 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110068 +#EXTINF:0,10069 - NTI +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1004 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110069 +#EXTINF:0,10070 - Radio Flemme +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1005 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110070 Modified: trunk/module/recettes/recettes.php =================================================================== --- trunk/module/recettes/recettes.php 2007-03-16 13:24:40 UTC (rev 104) +++ trunk/module/recettes/recettes.php 2007-03-16 13:58:31 UTC (rev 105) @@ -23,8 +23,9 @@ // Creation de l'URL de l'image associ\xE9e a la recette -$urlimg = urlencode('http://' . str_replace("recettes/recette.cfm?num_recette=", "pix/recettes/photos/normal/", $url) . '.jpg'); +$urlimg = urlencode('http://' . str_replace("recettes/recette.cfm?num_recette=", "recipephotos/normal/", $url) . '.jpg'); + $fp = fopen('http://' . urldecode($url), "r"); //lecture du fichier while (!feof($fp)) { //on parcoure toutes les lignes $contenu .= fgets($fp, 4096); // lecture du contenu de la ligne @@ -84,11 +85,11 @@ } Else { // Si le visiteur demande la pr\xE9paration de la recette if ($etape == 'prepa') { - $ereg = 'paration :<BR>(.*). -<\/span><\/TD>'; + $ereg = 'paration :<BR>(.{1,1000})<\/span><\/TD>'; preg_match("/$ereg/s", $contenu, $valeur); - $preparation = '<div style="text-align: left">' . utf8_decode($valeur[1]) . '.<\/div>'; - $smarty->assign('preparation', $preparation); + $preparation = '<div style="text-align: left">'.utf8_decode($valeur[1]).'.</div>'; + + $smarty->assign('preparation', $preparation); } Else { // Si le visiteur veux voir la photo de la recette if ($etape == 'photo') { Modified: trunk/module/recettes/recettes2.tpl =================================================================== --- trunk/module/recettes/recettes2.tpl 2007-03-16 13:24:40 UTC (rev 104) +++ trunk/module/recettes/recettes2.tpl 2007-03-16 13:58:31 UTC (rev 105) @@ -101,9 +101,6 @@ </font> {/if} - - - </td> </tr> </table> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2007-03-16 13:24:43
|
Revision: 104 http://svn.sourceforge.net/easybox-mod/?rev=104&view=rev Author: aragornis Date: 2007-03-16 06:24:40 -0700 (Fri, 16 Mar 2007) Log Message: ----------- Correction bug playlist rapport?\195?\169 par titou Modified Paths: -------------- trunk/module/mp3/lecteuraudio.php Modified: trunk/module/mp3/lecteuraudio.php =================================================================== --- trunk/module/mp3/lecteuraudio.php 2007-03-14 08:18:32 UTC (rev 103) +++ trunk/module/mp3/lecteuraudio.php 2007-03-16 13:24:40 UTC (rev 104) @@ -240,13 +240,13 @@ case 'save': if(isset($_REQUEST['m3u_save'])){ - if (is_array($pl)){ + if (is_array($pl_transformed)){ if($_REQUEST['play_m3u']=="new"){ $m3u=realpath($PLAYLIST)."/".date("m.d.y H.i").".m3u"; }else{ $m3u=urldecode($_REQUEST['play_m3u']); } - foreach($pl as $key => $value) { + foreach($pl_transformed as $key => $value) { $variable .= '#EXTINF:0,'.utf8_encode($value[0]).' '.utf8_encode($value[2]).' '; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2007-03-14 08:18:35
|
Revision: 103 http://svn.sourceforge.net/easybox-mod/?rev=103&view=rev Author: aragornis Date: 2007-03-14 01:18:32 -0700 (Wed, 14 Mar 2007) Log Message: ----------- Modified Paths: -------------- trunk/http-vlc/lecteur/modif-config.html trunk/module/films/films.tpl trunk/module/films/info.php Modified: trunk/http-vlc/lecteur/modif-config.html =================================================================== --- trunk/http-vlc/lecteur/modif-config.html 2007-03-12 19:48:50 UTC (rev 102) +++ trunk/http-vlc/lecteur/modif-config.html 2007-03-14 08:18:32 UTC (rev 103) @@ -13,7 +13,7 @@ <vlc id="rpn" param1="valeur value variable value 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> <vlc id="end" /> - <!-- Modification des obtions audio, sous-titre et chapitre - Type 2 --> + <!-- Modification des obtions audio, sous-titre, titre et chapitre - Type 2 --> <vlc id="if" param1="type value 2 =" /> <!-- CHANGE LA LANGUES AUDIO - Type2 = 1 --> <vlc id="if" param1="type2 value 1 =" /> @@ -51,7 +51,8 @@ <vlc id="rpn" param1="'valeur' value 'chapter' 'VLC_OBJECT_INPUT' vlc_var_set" /> <vlc id="end" /> - <vlc id="if" param1="type2 value 4 =" /> + <!-- CHANGE DE TITRE - Type2 = 4 --> + <vlc id="if" param1="type2 value 4 =" /> <vlc id="rpn" param1="'valeur' value 'title' 'VLC_OBJECT_INPUT' vlc_var_set" /> <vlc id="end" /> Modified: trunk/module/films/films.tpl =================================================================== --- trunk/module/films/films.tpl 2007-03-12 19:48:50 UTC (rev 102) +++ trunk/module/films/films.tpl 2007-03-14 08:18:32 UTC (rev 103) @@ -109,7 +109,7 @@ <font size="3"><u>Titres</u></font><br> {if count($title)} <form action="info.php" method="get"><input type=hidden name=module value=navigation><br> - <select name="chap"> + <select name="title"> {foreach from=$title item=chap key=key name=chap} <option value={$key} {if $chap.1}selected{/if}>{$chap.0} {/foreach} Modified: trunk/module/films/info.php =================================================================== --- trunk/module/films/info.php 2007-03-12 19:48:50 UTC (rev 102) +++ trunk/module/films/info.php 2007-03-14 08:18:32 UTC (rev 103) @@ -40,8 +40,11 @@ if (isset($_GET['chap'])){ @readfile('http://localhost:8081/lecteur/modif-config.html?type=2&type2=3&var=chapter&value='.$_GET['chap']); } + // Changement de titre + if (isset($_GET['title'])){ + @readfile('http://localhost:8081/lecteur/modif-config.html?type=2&type2=4&var=title&value='.$_GET['title']); + } - $RACINE_REP = "../../"; require($RACINE_REP.'_framework/framework.php'); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2007-03-12 19:48:52
|
Revision: 102 http://svn.sourceforge.net/easybox-mod/?rev=102&view=rev Author: aragornis Date: 2007-03-12 12:48:50 -0700 (Mon, 12 Mar 2007) Log Message: ----------- Modified Paths: -------------- trunk/_framework/demarrage.php trunk/_framework/framework.php Added Paths: ----------- trunk/skin/mediacenter/ trunk/skin/simple/interface/ajouter.gif trunk/skin/simple/interface/jouer.gif trunk/skin/simplegreen/interface/ajouter.gif trunk/skin/simplegreen/interface/jouer.gif Modified: trunk/_framework/demarrage.php =================================================================== --- trunk/_framework/demarrage.php 2007-03-11 18:00:35 UTC (rev 101) +++ trunk/_framework/demarrage.php 2007-03-12 19:48:50 UTC (rev 102) @@ -28,6 +28,11 @@ $etape = $_GET['etape']; } + if($vers_fbx<=4){ + $META['service'] = 'ts://127.0.0.1?pcr=68&aud=69(en,mp2)&vid=68'; + $META['display_aspect_ratio_conversion'] = 'letterbox'; + } + //-- Chargement des donn\xE9es de configuration $intro = $ini['demarrage']['intro']; $intro = 'non'; Modified: trunk/_framework/framework.php =================================================================== --- trunk/_framework/framework.php 2007-03-11 18:00:35 UTC (rev 101) +++ trunk/_framework/framework.php 2007-03-12 19:48:50 UTC (rev 102) @@ -4,11 +4,6 @@ echo'<center><br> <br> <br>Vlc n\'est pas lanc\xE9 ou il n\'\xE9coute pas le port 8081</center>'; } - // if($vers_fbx<=4){ - $META['service'] = 'ts://127.0.0.1'; - $META['display_aspect_ratio_conversion'] = 'letterbox'; - // } - setlocale(LC_TIME, "fr"); $vers_fbx = $_SERVER["HTTP_USER_AGENT"]; Added: trunk/skin/simple/interface/ajouter.gif =================================================================== (Binary files differ) Property changes on: trunk/skin/simple/interface/ajouter.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/skin/simple/interface/jouer.gif =================================================================== (Binary files differ) Property changes on: trunk/skin/simple/interface/jouer.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/skin/simplegreen/interface/ajouter.gif =================================================================== (Binary files differ) Property changes on: trunk/skin/simplegreen/interface/ajouter.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/skin/simplegreen/interface/jouer.gif =================================================================== (Binary files differ) Property changes on: trunk/skin/simplegreen/interface/jouer.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2007-03-11 18:00:40
|
Revision: 101 http://svn.sourceforge.net/easybox-mod/?rev=101&view=rev Author: aragornis Date: 2007-03-11 11:00:35 -0700 (Sun, 11 Mar 2007) Log Message: ----------- Modified Paths: -------------- trunk/_framework/framework.php Modified: trunk/_framework/framework.php =================================================================== --- trunk/_framework/framework.php 2007-03-11 17:14:03 UTC (rev 100) +++ trunk/_framework/framework.php 2007-03-11 18:00:35 UTC (rev 101) @@ -4,10 +4,10 @@ echo'<center><br> <br> <br>Vlc n\'est pas lanc\xE9 ou il n\'\xE9coute pas le port 8081</center>'; } - if($vers_fbx<=4){ + // if($vers_fbx<=4){ $META['service'] = 'ts://127.0.0.1'; $META['display_aspect_ratio_conversion'] = 'letterbox'; - } + // } setlocale(LC_TIME, "fr"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2007-03-11 17:14:06
|
Revision: 100 http://svn.sourceforge.net/easybox-mod/?rev=100&view=rev Author: aragornis Date: 2007-03-11 10:14:03 -0700 (Sun, 11 Mar 2007) Log Message: ----------- Modified Paths: -------------- trunk/_framework/demarrage.php trunk/_framework/framework.php Modified: trunk/_framework/demarrage.php =================================================================== --- trunk/_framework/demarrage.php 2007-03-11 12:31:55 UTC (rev 99) +++ trunk/_framework/demarrage.php 2007-03-11 17:14:03 UTC (rev 100) @@ -54,11 +54,7 @@ switch($etape){ case 1: - if($vers_fbx<=4){ - $META['service'] = 'ts://127.0.0.1'; - $META['display_aspect_ratio_conversion'] = 'letterbox'; - } - + list_templates(); function RemoveDir($dir) { if(!$dh = @opendir($dir)) return; Modified: trunk/_framework/framework.php =================================================================== --- trunk/_framework/framework.php 2007-03-11 12:31:55 UTC (rev 99) +++ trunk/_framework/framework.php 2007-03-11 17:14:03 UTC (rev 100) @@ -4,6 +4,11 @@ echo'<center><br> <br> <br>Vlc n\'est pas lanc\xE9 ou il n\'\xE9coute pas le port 8081</center>'; } + if($vers_fbx<=4){ + $META['service'] = 'ts://127.0.0.1'; + $META['display_aspect_ratio_conversion'] = 'letterbox'; + } + setlocale(LC_TIME, "fr"); $vers_fbx = $_SERVER["HTTP_USER_AGENT"]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2007-03-11 12:32:06
|
Revision: 99 http://svn.sourceforge.net/easybox-mod/?rev=99&view=rev Author: aragornis Date: 2007-03-11 05:31:55 -0700 (Sun, 11 Mar 2007) Log Message: ----------- Nouveau panneau de configuration pour changer les pistes audio/vid?\195?\169o/ss-titres/signets/titres/chapitres... Modifs sur le module dvd par titou75 Corrections sur le module mp3 Modified Paths: -------------- trunk/_framework/fonctions_partagees.inc.php trunk/module/_explorateur/explorateur.tpl trunk/module/diaporama/photo.tpl trunk/module/dvd/dvd.tpl trunk/module/dvd/index1.php trunk/module/ephemeride/ephemeride.tpl trunk/module/films/films.tpl trunk/module/films/info.php trunk/module/mp3/audio.tpl trunk/module/mp3/catalogue_audio.tpl Modified: trunk/_framework/fonctions_partagees.inc.php =================================================================== --- trunk/_framework/fonctions_partagees.inc.php 2007-03-11 07:55:18 UTC (rev 98) +++ trunk/_framework/fonctions_partagees.inc.php 2007-03-11 12:31:55 UTC (rev 99) @@ -259,8 +259,7 @@ } } -function calcul_hours($temps) -{ +function calcul_hours($temps){ $hours = floor($temps / 3600); $min = floor(($temps - ($hours * 3600)) / 60); if ($min < 10) @@ -272,6 +271,13 @@ RETURN $hours."h".$min."m".$sec; } +function calcul_hours_complet($temps){ +global $VLC; + $nv_pourcentage = round($temps/($VLC['duree_totale']+1)*100); + RETURN(calcul_hours($temps).' / '.calcul_hours($VLC['duree_totale']).' ('.$nv_pourcentage.'%)'); +} + + //############################### GESTION DES MODULES ##############################// function add_module($nom, $repertoire, $lien, $actif1, $actif2, $actif3, $actif4, $actif5, $version, $description, $type, $dependance, $cat){ Modified: trunk/module/_explorateur/explorateur.tpl =================================================================== --- trunk/module/_explorateur/explorateur.tpl 2007-03-11 07:55:18 UTC (rev 98) +++ trunk/module/_explorateur/explorateur.tpl 2007-03-11 12:31:55 UTC (rev 99) @@ -162,9 +162,6 @@ {if $AFF_FAVORIS} <a href="{$RACINE_REP}module/favoris/index1.php?ajout={$REP|urlencode}&nom={$REP}" onfocus='aide="Ajouter le dossier aux favoris";'><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$SKIN_REP}dossier/favoris.gif" border="0" width="20" height="20"></td></tr></table></a> {/if} -{if $LECTEUR_AUDIO} -<var name=aide width=250> -{/if} </td></tr></table> </td></tr> Modified: trunk/module/diaporama/photo.tpl =================================================================== --- trunk/module/diaporama/photo.tpl 2007-03-11 07:55:18 UTC (rev 98) +++ trunk/module/diaporama/photo.tpl 2007-03-11 12:31:55 UTC (rev 99) @@ -23,7 +23,7 @@ <table border="0" cellpadding="0" cellspacing="0" width="580" bgcolor="#A3B7CD3f"><tr> <td width="80" align="center">{if $aff >=1}<img src="{$INTERFACE_REP}btn_vert.gif" border="0"> <a href="index1.php?image={$prec}&start={$MIN}&rep={$rep_encoded}&delais={$delais}&tourne={$tourne}"><font size="1">Prec.</font></a>{else} {/if}</td> - <td width="187" align="center"><font size="1">{if $delais==0}<form name="form1" method="get" action="index1.php">Diapo : <input name="delais" bgcolor="{#COULEUR_TEXTBOX#}" type=text value="" size=2 maxlength=2> sec<input name=image type=hidden value="{if $aff+1 == count($files)}0{else}{$aff}{/if}"><input name=rep type=hidden value="{$REP}"><input name=tourne type=hidden value="{$tourne}"><input name=start type=hidden value="{$MIN}"></form>{else}<a href="index1.php?rep={$REP|urlencode}&start={$MIN}&image={$aff}">Arr\xE9ter le diaporama</a> ({$delais}sec){/if}</font></td> + <td width="187" align="center"><font size="1">{if $delais==0}<form name="form1" method="get" action="index1.php">Diapo : <input name="delais" bgcolor="{#COULEUR_TEXTBOX#}" type=text size=2 maxlength=2 value="5"> sec<input name=image type=hidden value="{if $aff+1 == count($files)}0{else}{$aff}{/if}"><input name=rep type=hidden value="{$REP}"><input name=tourne type=hidden value="{$tourne}"><input name=start type=hidden value="{$MIN}"></form>{else}<a href="index1.php?rep={$REP|urlencode}&start={$MIN}&image={$aff}">Arr\xE9ter le diaporama</a> ({$delais}sec){/if}</font></td> <td width="135" align="center"><a href="index1.php?start={$MIN}&rep={$REP|urlencode}&tosee={$aff}&force_back=1"><img src="{$INTERFACE_REP}btn_rouge.gif" border="0"><font size="1"> Expl.</font></a></td> <td width="40" align="center"><font size="1">{$aff+1}/{$files|@count}</font></td> <td width="16" align="center"><a href="index1.php?image={$aff}&start={$MIN}&rep={$REP|urlencode}&delais={$delais}&tourne={$tourne-90}"><table border="0" cellpadding="0" cellspacing="0" width="16" bgcolor="#A3B7CD3f" abgcolor="#4491CA3f"><tr><td width="16"><img src="gauche.gif" border="0" width="16"></td></tr></table></a></td> Modified: trunk/module/dvd/dvd.tpl =================================================================== --- trunk/module/dvd/dvd.tpl 2007-03-11 07:55:18 UTC (rev 98) +++ trunk/module/dvd/dvd.tpl 2007-03-11 12:31:55 UTC (rev 99) @@ -1,9 +1,9 @@ -{section name=dop loop=$disques_dispo} +{section name=dop loop=$disques_optique} {cycle name=place assign=place print=false values="4,3,2,1,0"} {if $smarty.section.dop.first} <table border="0" cellpadding="0" cellspacing="0" width="500" align="center"><tr> {/if} - <td width="100" height="130"><a href="playrep.php?toplay={$disques_dispo[dop].path|urlencode}&type=playrep"><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="80"><td width="100" height="80" valign="middle" align="center"><img border=0 width="64" height="64" src="lecteurdvd.gif"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><font size="1">{$disques_dispo[dop].nom} ({$disques_dispo[dop].lettre}:)</font></td></tr></table></a></td> + <td width="100" height="130"><a href="playrep.php?toplay={$disques_optique[dop].path|urlencode}&type=playrep"><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="80"><td width="100" height="80" valign="middle" align="center"><img border=0 width="64" height="64" src="lecteurdvd.gif"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><font size="1">{$disques_optique[dop].nom} ({$disques_optique[dop].lettre}:)</font></td></tr></table></a></td> {if $smarty.section.dop.iteration is div by 5 AND NOT $smarty.section.dop.last} </tr><tr> @@ -31,6 +31,10 @@ {/if} {sectionelse} -Aucun lecteur DVD n'est disponible. +Aucun lecteur DVD physique n'est disponible. +<br> +<br> +<br> +<a href="index1.php?status=explorateur">Cliquez ici pour lire des dvd ripp\xE9s ou au format image depuis l'explorateur.</a> {/section} Modified: trunk/module/dvd/index1.php =================================================================== --- trunk/module/dvd/index1.php 2007-03-11 07:55:18 UTC (rev 98) +++ trunk/module/dvd/index1.php 2007-03-11 12:31:55 UTC (rev 99) @@ -10,7 +10,7 @@ $rep_default = $ini['explorateur']['dvd']; } -$smarty->assign('TITRE','Choisissez un lecteur DVD'); +$smarty->assign('TITRE','Selectionnez votre DVD'); $status = get_variable('statutdvd'); @@ -24,13 +24,16 @@ }else{ $DISQUES = unserialize(get_variable('disques')); $disques_dispo = array(); + $disques_optique = array(); foreach($DISQUES as $d){ - if($d['type'] == 'Disque optique' OR $d['type'] == 'Disque r\xE9seau'){ - $disques_dispo[] = $d; + $disques_dispo[] = $d; + if($d['type'] == 'Disque optique'){ + $disques_optique[] = $d; } } save_variable('statutdvd', 'disques'); $smarty->assign('disques_dispo',$disques_dispo); + $smarty->assign('disques_optique',$disques_optique); $smarty->assign('CONTENT',$smarty->fetch('dvd.tpl')); $smarty->display('interface.tpl'); } Modified: trunk/module/ephemeride/ephemeride.tpl =================================================================== --- trunk/module/ephemeride/ephemeride.tpl 2007-03-11 07:55:18 UTC (rev 98) +++ trunk/module/ephemeride/ephemeride.tpl 2007-03-11 12:31:55 UTC (rev 99) @@ -9,4 +9,4 @@ <u>Dicton du jour</u> :<br>{$dicton}<br> <br> <u>Aujourd'hui, on f\xEAte</u> les {$fetes} -<br> <br><img src="{$INTERFACE_REP}anniv.gif" width="60" height="60"><a href="anivdujour.php">Les anniversaires du jour</a><br></center> +<br> <br><a href="anivdujour.php">Les anniversaires du jour</a></center> Modified: trunk/module/films/films.tpl =================================================================== --- trunk/module/films/films.tpl 2007-03-11 07:55:18 UTC (rev 98) +++ trunk/module/films/films.tpl 2007-03-11 12:31:55 UTC (rev 99) @@ -9,7 +9,7 @@ <table width="600" height="510" border="0" cellpadding="0" cellspacing="0"><tr> <td height="370" align="left" cellpadding="3" cellspacing="0" valign="top"{if $module!=''} bgcolor="{#COULEUR_FOND2#}"{/if}> - {math equation="x/y+1" x="600" y=7 assign=width} + {math equation="x/y+1" x="600" y=6 assign=width} <table width="600" height="25" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="{$width}" align=center><a href="info.php?module=infos" {if $module=='infos'}focused{/if}><table width="{$width}" height="25" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND2#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="25"><td width="{$width}" align=center height="25">Infos</td></tr></table></a></td> @@ -17,7 +17,6 @@ <td width="{$width}" align=center><a href="info.php?module=audio" {if $module=='audio'}focused{/if}><table width="{$width}" height="25" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND2#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="25"><td width="{$width}" align=center height="25">Audio</td></tr></table></a></td> <td width="{$width}" align=center><a href="info.php?module=sstitre" {if $module=='sstitre'}focused{/if}><table width="{$width}" height="25" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND2#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="25"><td width="{$width}" align=center height="25">Sous-titres</td></tr></table></a></td> <td width="{$width}" align=center><a href="info.php?module=navigation" {if $module=='navigation'}focused{/if}><table width="{$width}" height="25" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND2#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="25"><td width="{$width}" align=center height="25">Chapitres</td></tr></table></a></td> - <td width="{$width}" align=center><a href="info.php?module=signets" {if $module=='signets'}focused{/if}><table width="{$width}" height="25" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND2#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="25"><td width="{$width}" align=center height="25">Signets</td></tr></table></a></td> <td width="{$width}" align=center><a href="info.php"><table width="{$width}" height="25" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND2#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="25"><td width="{$width}" align=center height="25">Fermer</td></tr></table></a></td> </tr> </table> @@ -29,8 +28,8 @@ {elseif $module=='video'} <font size="3"><u>Options vid\xE9o</u></font><br> <form action="info.php" method="get"> + <input type=hidden name=module value=video><input type=hidden name=var value="video-es"><br> <select name="video"> - <input type=hidden name=module value=video><input type=hidden name=var value="video-es"><br> {foreach from=$video item=pistev key=key name=video} <option value={$key} {if $pistev.1}selected{/if}>{$pistev.0} {*<input type=radio name=video bgcolor="{#COULEUR_FOND_RADIO#}" value="{$key}" {if $pistev.1} checked{/if}>{$pistev.0}<br>*} @@ -76,8 +75,7 @@ {*<input type=radio name=audio bgcolor="{#COULEUR_FOND_RADIO#}" value="{$key}" {if $pistea.1} checked{/if}>{$pistea.0}<br>*} {/foreach} </select> - </form> - <br> <br><form action="none"> + <br> <br> <input type="radio" name="aud" value="69(en,mp2)" bgcolor="{#COULEUR_FOND_RADIO#}"> Son st\xE9r\xE9o<br> <input type="radio" name="aud" value="69(en,ac3)" bgcolor="{#COULEUR_FOND_RADIO#}"> Dolby Digital (S/PDIF)<br> <br><input bgcolor="{#COULEUR_TEXTBOX#}" type=submit value="Valider les modifications"> @@ -86,9 +84,12 @@ {elseif $module=='sstitre'} <font size="3"><u>Sous-titres</u></font><br> <form action="info.php" method="get"><input type=hidden name=module value=sstitre><br> - {foreach from=$sstitre item=pistess key=key name=sstitre} - <input type=radio name=sstitre bgcolor="{#COULEUR_FOND_RADIO#}" value="{$key}"{if $pistess.1} checked{/if}>{$pistess.0}<br> + + <select name="sstitre"> + {foreach from=$sstitre item=pistess key=key name=sstitre} + <option value={$key} {if $pistess.1}selected{/if}>{$pistess.0} {/foreach} + </select> Les param\xE8tres suivants ne seront pris en compte qu'apr\xE8s le red\xE9marage du films. Ils seront sauvegard\xE9s dans Easybox pour les prochaines utilisations de easybox<br /> <font size="3"><u>Position</u></font> : @@ -105,27 +106,52 @@ <input bgcolor="{#COULEUR_TEXTBOX#}" type=submit value="Valider les modifications"></form> {elseif $module=='navigation'} +<font size="3"><u>Titres</u></font><br> + {if count($title)} + <form action="info.php" method="get"><input type=hidden name=module value=navigation><br> + <select name="chap"> + {foreach from=$title item=chap key=key name=chap} + <option value={$key} {if $chap.1}selected{/if}>{$chap.0} + {/foreach} + </select> + <input bgcolor="{#COULEUR_TEXTBOX#}" type=submit value="Valider les modifications"></form> + {else} + Aucun titre n'est d\xE9fini pour ce film + {/if} + +<br> <br> + <font size="3"><u>Chapitres</u></font><br> -{assign var=keyb value=1} -<table><tr><td> - {foreach from=$chapitre item=chap key=key name=chap} - <a href="info.php?module=navigation&chap={$key}">{if $chap.1}<font family="Symbol">T</font>{/if}<font size="1">{$chap.0}</font></a><br> - {assign var=keyb value=$keyb+1} - {if $keyb is div by 17}</td><td>{/if} - {/foreach} -</td></tr></table> + {if count($chapitre)} + <form action="info.php" method="get"><input type=hidden name=module value=navigation><br> + <select name="chap"> + {foreach from=$chapitre item=chap key=key name=chap} + <option value={$key} {if $chap.1}selected{/if}>{$chap.0} + {/foreach} + </select> + <input bgcolor="{#COULEUR_TEXTBOX#}" type=submit value="Valider les modifications"></form> + {else} + Aucun chapitre n'est d\xE9fini pour ce film + {/if} -{elseif $module=='signets'} +<br> <br> + <font size="3"><u>Signets</u></font><br> -{assign var=keyb value=1} -<table><tr><td> - {foreach from=$SIGNETS item=signet key=key name=signet} - <a href="info.php?module=signets&seek_value={$signet.2}"><font size="1">{$signet.2}</font></a><br> - {assign var=keyb value=$keyb+1} - {if $keyb is div by 17}</td><td>{/if} - {/foreach} -</td></tr></table><br> -<img src="{$INTERFACE_REP}btn_bleu.gif" border="0"> <a href="{$MODULE}films/info.php?module=signets&savesignet=1">Ajouter un nouveau signet</a> + {if count($SIGNETS)} + <form action="info.php" method="get"><input type=hidden name=module value=navigation><br> + <select name="seek_value"> + {foreach from=$SIGNETS item=signet key=key name=signet} + <option value={$signet.2}>{$signet.2} + {/foreach} + </select> + <input bgcolor="{#COULEUR_TEXTBOX#}" type=submit value="Valider les modifications"></form> + {else} + Aucun signet enregistr\xE9 pour ce film + {/if} + +<br> +<img src="{$INTERFACE_REP}btn_bleu.gif" border="0"> <a href="{$MODULE}films/info.php?module=navigation&savesignet=1">Ajouter un nouveau signet</a> + {/if} @@ -168,7 +194,7 @@ {section name=foo1 start=1 loop=$stream_3 step=1} {assign var=time value="`$smarty.section.foo1.iteration*$largeursautmoins`"} {assign var=heure value=$time|date_format:"%H"} -<td width="5"><a onfocus='front_panel="{$time|calcul_hours|cleanaff}";temps_affich="{$time|calcul_hours}";' onBlur='front_panel="{$original_front|calcul_hours|cleanaff}";temps_affich="{$temps_affich}";' href="info.php?heures={$heure-1}&minutes={$time|date_format:"%M"}&secondes={$time|date_format:"%S"}"><table border="0" cellpadding="0" cellspacing="0" bgcolor="#BDBDC23f" abgcolor="#0000003f"><tr><td><img src="" width="5" height="5" border="0"></td></tr></table></a></td> +<td width="5"><a onfocus='front_panel="{$time|calcul_hours|cleanaff}";temps_affich="{$time|calcul_hours_complet}";' onBlur='front_panel="{$VLC.duree_courante|calcul_hours|cleanaff}";temps_affich="{$VLC.duree_courante|calcul_hours_complet}";' href="info.php?heures={$heure-1}&minutes={$time|date_format:"%M"}&secondes={$time|date_format:"%S"}"><table border="0" cellpadding="0" cellspacing="0" bgcolor="#BDBDC23f" abgcolor="#0000003f"><tr><td><img src="" width="5" height="5" border="0"></td></tr></table></a></td> {/section} @@ -177,7 +203,7 @@ {section name=foo2 start=1 loop=$stream_5 step=1} {assign var=time value="`$VLC.duree_courante+$smarty.section.foo2.iteration*$largeursautplus`"} {assign var=heure value=$time|date_format:"%H"} -<td width="5"><a onfocus='front_panel="{$time|calcul_hours|cleanaff}";temps_affich="{$time|calcul_hours}";' onBlur='front_panel="{$original_front|calcul_hours|cleanaff}";temps_affich="{$temps_affich}";' href="info.php?heures={$heure-1}&minutes={$time|date_format:"%M"}&secondes={$time|date_format:"%S"}"><table border="0" cellpadding="0" cellspacing="0" bgcolor="#BDBDC23f" abgcolor="#0000003f"><tr><td><img src="" width="5" height="5" border="0"></td></tr></table></a></td> +<td width="5"><a onfocus='front_panel="{$time|calcul_hours|cleanaff}";temps_affich="{$time|calcul_hours_complet}";' onBlur='front_panel="{$VLC.duree_courante|calcul_hours|cleanaff}";temps_affich="{$VLC.duree_courante|calcul_hours_complet}";' href="info.php?heures={$heure-1}&minutes={$time|date_format:"%M"}&secondes={$time|date_format:"%S"}"><table border="0" cellpadding="0" cellspacing="0" bgcolor="#BDBDC23f" abgcolor="#0000003f"><tr><td><img src="" width="5" height="5" border="0"></td></tr></table></a></td> {/section} <td width="13"></td> Modified: trunk/module/films/info.php =================================================================== --- trunk/module/films/info.php 2007-03-11 07:55:18 UTC (rev 98) +++ trunk/module/films/info.php 2007-03-11 12:31:55 UTC (rev 99) @@ -1,4 +1,47 @@ <? + +// On se d\xE9place dans le fichier avant de charger les infos sur la piste en cours +if (isset($_REQUEST['seek_value'])){ + $value=$_REQUEST['seek_value']; + $file1 = file_get_contents('http://127.0.0.1:8081/lecteur/action.html?control=seek&seek_value='.$value); +} +if (isset($_REQUEST['heures']) OR isset($_REQUEST['minutes']) OR isset($_REQUEST['secondes'])) { + $heure = '0'; + $minutes = '0'; + $secondes = '0'; + if (isset($_REQUEST['heures'])){ $heures = $_REQUEST['heures']; } + if (isset($_REQUEST['minutes'])){ $minutes = $_REQUEST['minutes']; } + if (isset($_REQUEST['secondes'])){ $secondes = $_REQUEST['secondes']; } + if ($heures < 10){ $heures = "0$heures"; } + if ($minutes < 10){ $minutes = "0$minutes"; } + if ($secondes < 10){ $secondes = "0$secondes"; } + $value = "$heures:$minutes:$secondes"; + + $file1 = file_get_contents("http://127.0.0.1:8081/lecteur/action.html?control=seek&seek_value=$value"); +} + + // Changement des options vid\xE9o + if (isset($_GET['video'])){ + @readfile('http://localhost:8081/lecteur/modif-config.html?type=3&video='.$_GET['video'].'&pp='.$_GET['pp']); + } + // Changement des options audio + if (isset($_GET['audio'])){ + @readfile('http://localhost:8081/lecteur/modif-config.html?type=2&type2=1&var=audio-es&value='.$_GET['audio']); + } + // Changement des options de sous-titre + if (isset($_GET['sstitre'])){ + @readfile('http://localhost:8081/lecteur/modif-config.html?type=2&type2=4&var=spu-es&value='.$_GET['sstitre']); + }elseif(isset($_GET['fontcolor'])){ + @readfile('http://localhost:8081/lecteur/modif-config.html?type=2&type2=2&color='.$_GET['fontcolor']); + }elseif(isset($_GET['sub_margin'])){ + @readfile('http://localhost:8081/lecteur/modif-config.html?type=2&type2=2&size='.convert_size($_GET['fontsize']).'&sub_margin='.$_GET['sub_margin']); + } + // Changement de chapitre + if (isset($_GET['chap'])){ + @readfile('http://localhost:8081/lecteur/modif-config.html?type=2&type2=3&var=chapter&value='.$_GET['chap']); + } + + $RACINE_REP = "../../"; require($RACINE_REP.'_framework/framework.php'); @@ -23,10 +66,6 @@ $file1 = file_get_contents("http://127.0.0.1:8081/lecteur/action.html?control=$control"); } -if (isset($_REQUEST['seek_value'])){ - $value=$_REQUEST['seek_value']; - $file1 = file_get_contents('http://127.0.0.1:8081/lecteur/action.html?control=seek&seek_value='.$value); -} if($VLC['etat']=='playing'){ $META['front_panel'] = calcul_hours($VLC['duree_courante']); @@ -35,22 +74,8 @@ } $smarty->assign('original_front',$META['front_panel']); -//-- Ce deplac\xE9 a un temps definie par l'utilisateur. -if (isset($_REQUEST['heures']) OR isset($_REQUEST['minutes']) OR isset($_REQUEST['secondes'])) { - $heure = '0'; - $minutes = '0'; - $secondes = '0'; - if (isset($_REQUEST['heures'])){ $heures = $_REQUEST['heures']; } - if (isset($_REQUEST['minutes'])){ $minutes = $_REQUEST['minutes']; } - if (isset($_REQUEST['secondes'])){ $secondes = $_REQUEST['secondes']; } - if ($heures < 10){ $heures = "0$heures"; } - if ($minutes < 10){ $minutes = "0$minutes"; } - if ($secondes < 10){ $secondes = "0$secondes"; } - $value = "$heures:$minutes:$secondes"; - - $file1 = file_get_contents("http://127.0.0.1:8081/lecteur/action.html?control=seek&seek_value=$value"); -} + function convert_size($size){ $assoc[0] = '12'; $assoc[1] = '24'; @@ -67,26 +92,6 @@ RETURN($assoc[$size]); } - // Changement des options vid\xE9o - if (isset($_GET['video'])){ - @readfile('http://localhost:8081/lecteur/modif-config.html?type=3&video='.$_GET['video'].'&pp='.$_GET['pp']); - } - // Changement des options audio - if (isset($_GET['audio'])){ - @readfile('http://localhost:8081/lecteur/modif-config.html?type=2&type2=1&var=audio-es&value='.$_GET['audio']); - } - // Changement des options de sous-titre - if (isset($_GET['sstitre'])){ - @readfile('http://localhost:8081/lecteur/modif-config.html?type=2&type2=4&var=spu-es&value='.$_GET['sstitre']); - }elseif(isset($_GET['fontcolor'])){ - @readfile('http://localhost:8081/lecteur/modif-config.html?type=2&type2=2&color='.$_GET['fontcolor']); - }elseif(isset($_GET['sub_margin'])){ - @readfile('http://localhost:8081/lecteur/modif-config.html?type=2&type2=2&size='.convert_size($_GET['fontsize']).'&sub_margin='.$_GET['sub_margin']); - } - // Changement de chapitre - if (isset($_GET['chap'])){ - @readfile('http://localhost:8081/lecteur/modif-config.html?type=2&type2=3&var=chapter&value='.$_GET['chap']); - } //-- R\xE9cuperation des donn\xE9es de VLC $contenu_html = @file_get_contents('http://localhost:8081/lecteur/options_vlc.html'); @@ -111,15 +116,25 @@ foreach($pp_video as $key => $value){ $_pp_video = $key; } + foreach($video as $key => $value){ + if($value[1]){ + $META['video']=$key; + } + } $META['pp']=$_pp_video; - $META['pp']=$video; + $smarty->assign('video',$video); $smarty->assign('pp_video',$_pp_video); } //Choix de la piste audio if($module=='audio'){ - $smarty->assign('audio',$audio); + foreach($audio as $key => $value){ + if($value[1]){ + $META['audio']=$key; + } + } + $smarty->assign('audio',$audio); } //Choix du fichier de sous-titre @@ -139,6 +154,11 @@ if($_ffontsize==""){ $_ffontzise = '32'; } + foreach($sstitre as $key => $value){ + if($value[1]){ + $META['sstitre']=$key; + } + } $smarty->assign('ffontsize',convert_size($_ffontsize)); $smarty->assign('fontcolor',$_fontcolor); $smarty->assign('sub_margin',$_sub_margin); @@ -147,21 +167,33 @@ //Choix du chapitre if($module=='navigation'){ - $smarty->assign('chapitre',$chapitre); - } - - if($module=='signets'){ - //Signets pour ce film + + if(count($title)){ + foreach($title as $key => $value){ + if($value[1]){ + $META['title']=$key; + } + } + } + if(count($chapitre)){ + foreach($chapitre as $key => $value){ + if($value[1]){ + $META['chap']=$key; + } + } + } + //Signets pour ce film $db = sqlite_open($USER.'utilisateur.db', 0666); - - //$mov = new ffmpeg_movie(realpath($VLC['url_current'])); - //echo $mov->getFrameCount(); - $requete='SELECT * FROM signet WHERE lien="'.$signetsav[2].'" ORDER BY duree'; $result = sqlite_query($db,$requete); $smarty->assign('SIGNETS',sqlite_fetch_all($result)); + + $smarty->assign('title',$title); + $smarty->assign('chapitre',$chapitre); + } + //--Fin des options // Synth\xE8se du nom du fichier @@ -175,15 +207,14 @@ $nomcourant = trim(substr($nomcourant,0,strrpos($nomcourant,'.'))); } - $temps_affich=calcul_hours($VLC['duree_courante']).' / '.calcul_hours($VLC['duree_totale']).' ('.$VLC['pourcentage_courant'].'%)'; - $META['temps_affich']= $temps_affich; + $META['temps_affich']=calcul_hours_complet($VLC['duree_courante']); $LINK['stop']=$MODULE.'films/lecture.php?control=stop'; $LINK['play']=$MODULE.'films/lecture.php?control=pause'; $LINK['pause']=$MODULE.'films/lecture.php?control=pause'; $LINK['info']=$MODULE.'films/lecture.php'; $LINK['options']=$MODULE.'films/lecture.php'; - $LINK['blue']=$MODULE.'films/info.php?module=signets&savesignet=1'; + $LINK['blue']=$MODULE.'films/info.php?module=navigation&savesignet=1'; $LINK['red']=$MODULE.'films/lecture.php?next_ss=1'; $LINK['yellow']=$MODULE.'films/info.php?module=infos'; @@ -192,7 +223,6 @@ } $smarty->assign('nomcourant',$nomcourant); -$smarty->assign('temps_affich',$temps_affich); $smarty->display('films.tpl'); ?> Modified: trunk/module/mp3/audio.tpl =================================================================== --- trunk/module/mp3/audio.tpl 2007-03-11 07:55:18 UTC (rev 98) +++ trunk/module/mp3/audio.tpl 2007-03-11 12:31:55 UTC (rev 99) @@ -128,6 +128,8 @@ {eval var=$CONTENT} + <var name=aide width=450> + </td></tr> </table> </td><td width="5" height="493"></td></tr> Modified: trunk/module/mp3/catalogue_audio.tpl =================================================================== --- trunk/module/mp3/catalogue_audio.tpl 2007-03-11 07:55:18 UTC (rev 98) +++ trunk/module/mp3/catalogue_audio.tpl 2007-03-11 12:31:55 UTC (rev 99) @@ -32,7 +32,7 @@ <TABLE cellspacing=0 width="480"> -{section name=fichiers loop=$rows start=$f max=15} +{section name=fichiers loop=$rows start=$f max=10} {cycle name=color assign=COLOR print=false values="`$smarty.config.COULEUR_INTERFACE1`,`$smarty.config.COULEUR_INTERFACE2`"} @@ -72,13 +72,13 @@ <TD align=center width="180">{$recherche}</TD> {if $f!='0' AND $f!=''} - {assign var=New_Min value=$f-15|max:0} + {assign var=New_Min value=$f-10|max:0} <TD align=center width="120"><IMG SRC="{$FRAMEWORK_REP}aide/images/btn_jaune.gif"> <font size=1><A hRef="lecteuraudio.php?mode=bib&t={$type}&l={$l}&f={$New_Min}&wf={$wherefield}&wl={$wherelike|urlencode}"><B>Pr\xE9c\xE9dent</B></A></font></TD> {attribbouton touche="yellow" lien="lecteuraudio.php?mode=bib&t=$type&l=$l&f=$New_Min&wf=$wherefield&wl=$wherelike"} {/if} {if $f+$smarty.section.fichiers.total<count($rows)} - {assign var=New_Min value=$f+15} + {assign var=New_Min value=$f+10} <TD align=center width="100"><IMG SRC="{$FRAMEWORK_REP}aide/images/btn_bleu.gif"> <font size=1><A hRef="lecteuraudio.php?mode=bib&t={$type}&l={$l}&f={$New_Min}&wf={$wherefield}&wl={$wherelike|urlencode}"><B>Suivant</B></A></font></TD> {attribbouton touche="blue" lien="lecteuraudio.php?mode=bib&t=$type&l=$l&f=$New_Min&wf=$wherefield&wl=$wherelike"} {/if} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2007-03-11 07:55:20
|
Revision: 98 http://svn.sourceforge.net/easybox-mod/?rev=98&view=rev Author: aragornis Date: 2007-03-10 23:55:18 -0800 (Sat, 10 Mar 2007) Log Message: ----------- Belles modifs sur le lecteur mp3 Modified Paths: -------------- trunk/module/_explorateur/explorateur.tpl trunk/module/_explorateur/index1.php trunk/module/mp3/catalogue_audio.tpl trunk/module/mp3/index1.php trunk/module/mp3/playlist_audio.tpl Modified: trunk/module/_explorateur/explorateur.tpl =================================================================== --- trunk/module/_explorateur/explorateur.tpl 2007-03-10 13:27:23 UTC (rev 97) +++ trunk/module/_explorateur/explorateur.tpl 2007-03-11 07:55:18 UTC (rev 98) @@ -119,13 +119,29 @@ {assign var="rep_a_affich" value=$REP|cat:'/'|cat:$T_affich[files]} <tr><td colspan="2"><img src="{$SKIN_REP}dossier/folder.gif"> <font size="1"><a {if $smarty.section.disques.first==1}focused {/if}href="{$PAGE_EXPLO}?directory={$rep_a_affich|realpath|urlencode}&mode={$MODE}" onfocus='aide="Explorer {$T_affich[files]|strip_delimiters|escape:"htmlall"}";'>{$T_affich[files]|truncate:55|strip_delimiters}</a></font></td></tr> {else} -<tr><td width="35"> +<tr> {if $AFF_INFO} - {assign var="nb" value=$T_affich[files]|strrpos:"."} - <a href="fichefilm.php?start={$MIN}&comeback=expl&film={$T_affich[files]|substr:0:$nb|urlencode}&fichier={$REP|cat:'/'|cat:$T_affich[files]|realpath|urlencode}"><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$INTERFACE_REP}/information.gif" border="0" width="20" height="20"></td></tr></table></a> + <td width="35"> + {assign var="nb" value=$T_affich[files]|strrpos:"."} + <a href="fichefilm.php?start={$MIN}&comeback=expl&film={$T_affich[files]|substr:0:$nb|urlencode}&fichier={$REP|cat:'/'|cat:$T_affich[files]|realpath|urlencode}"><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$INTERFACE_REP}/information.gif" border="0" width="20" height="20"></td></tr></table></a> + </td> + {elseif $LECTEUR_AUDIO} + <td width="60"> + <table cellpadding="0" cellspacing="0" width="60"><tr><td width="30"> + <a href="{$PAGE_LECT}?{$OPT_LIENS}toplay_file={$T_affich[files]|urlencode}&toplay_rep={$REP|urlencode}"><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND2#}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$INTERFACE_REP}/jouer.gif" border="0" width="20" height="20"></td></tr></table></a> + </td><td width="30"> + <a href="{$PAGE_LECT}?{$OPT_LIENS}toplay_file={$T_affich[files]|urlencode}&toplay_rep={$REP|urlencode}&option=1"><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND2#}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$INTERFACE_REP}/ajouter.gif" border="0" width="20" height="20"></td></tr></table></a> + </td></tr></table> + </td> + {else} + <td></td> {/if} - </td><td>{if NOT $AFF_INFO}<img src="{$SKIN_REP}dossier/{$ICONE_FICHIER}" width="16" height="16"> {/if}<font size="1"><a {if $smarty.section.disques.first==1}focused {/if}href="{$PAGE_LECT}?{$OPT_LIENS}toplay_file={$T_affich[files]|urlencode}&toplay_rep={$REP|urlencode}" onfocus='aide="Jouer {$T_affich[files]|strip_delimiters|escape:"htmlall"}";'>{$T_affich[files]|strip_delimiters|truncate:52}</a> -</font></td></tr> + + <td> + {if (NOT $AFF_INFO) AND (NOT $LECTEUR_AUDIO)}<img src="{$SKIN_REP}dossier/{$ICONE_FICHIER}" width="16" height="16"> {/if} + <font size="1"><a {if $smarty.section.disques.first==1}focused {/if}href="{$PAGE_LECT}?{$OPT_LIENS}toplay_file={$T_affich[files]|urlencode}&toplay_rep={$REP|urlencode}" onfocus='aide="Jouer {$T_affich[files]|strip_delimiters|escape:"htmlall"}";'>{$T_affich[files]|strip_delimiters|truncate:52}</a></font> + + </td></tr> {/if} {/section} @@ -146,6 +162,9 @@ {if $AFF_FAVORIS} <a href="{$RACINE_REP}module/favoris/index1.php?ajout={$REP|urlencode}&nom={$REP}" onfocus='aide="Ajouter le dossier aux favoris";'><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$SKIN_REP}dossier/favoris.gif" border="0" width="20" height="20"></td></tr></table></a> {/if} +{if $LECTEUR_AUDIO} +<var name=aide width=250> +{/if} </td></tr></table> </td></tr> Modified: trunk/module/_explorateur/index1.php =================================================================== --- trunk/module/_explorateur/index1.php 2007-03-10 13:27:23 UTC (rev 97) +++ trunk/module/_explorateur/index1.php 2007-03-11 07:55:18 UTC (rev 98) @@ -182,6 +182,7 @@ $smarty->assign('LETTRE_CDDA',$rep_copy{0}); $smarty->assign('ICONE_FICHIER',$icone_fichier); $smarty->assign('OPT_LIENS',$option_liens); +$smarty->assign('LECTEUR_AUDIO',$lecteur_audio); $path=PATH(); $smarty->assign('CHEMIN_REP',$path); Modified: trunk/module/mp3/catalogue_audio.tpl =================================================================== --- trunk/module/mp3/catalogue_audio.tpl 2007-03-10 13:27:23 UTC (rev 97) +++ trunk/module/mp3/catalogue_audio.tpl 2007-03-11 07:55:18 UTC (rev 98) @@ -37,16 +37,25 @@ {cycle name=color assign=COLOR print=false values="`$smarty.config.COULEUR_INTERFACE1`,`$smarty.config.COULEUR_INTERFACE2`"} - <tr><td width="480" bgcolor="{$COLOR}"><img src="{$SKIN_REP}dossier/mp3.gif"> - + <tr> {if $type=='ch'} - - <a href="playdb.php?toplay={$rows[fichiers].filename|realpath|urlencode}"><font color=#0000003f>{$rows[fichiers].name|truncate:60}</font></a></td> - {else} - - <a href="playdb.php?wf={$field}&wl={$rows[fichiers].affichage|truncate:60|urlencode}"><font color=#0000003f family="Symbol">T</font></a> <a hRef="lecteuraudio.php?mode=bib&t={$t}&wf={$field}&wl={$rows[fichiers].affichage|truncate:60|urlencode}"><font color=#0000003f>{$rows[fichiers].affichage|truncate:60}</font></a></td></tr> - {/if} - + <td width="30" bgcolor="{$COLOR}"> + <a href="playdb.php?toplay={$rows[fichiers].filename|realpath|urlencode}"><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="{$COLOR}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$INTERFACE_REP}/jouer.gif" border="0" width="20" height="20"></td></tr></table></a> + </td><td width="30" bgcolor="{$COLOR}"> + <a href="playdb.php?toplay={$rows[fichiers].filename|realpath|urlencode}&option=1"><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="{$COLOR}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$INTERFACE_REP}/ajouter.gif" border="0" width="20" height="20"></td></tr></table></a> + </td><td width="420" bgcolor="{$COLOR}"> + <font color=#0000003f>{$rows[fichiers].name|truncate:60}</font> + </td> + {else} + <td width="30" bgcolor="{$COLOR}"> + <a href="playdb.php?wf={$field}&wl={$rows[fichiers].affichage|truncate:60|urlencode}"><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="{$COLOR}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$INTERFACE_REP}/jouer.gif" border="0" width="20" height="20"></td></tr></table></a> + </td><td width="30" bgcolor="{$COLOR}"> + <a href="playdb.php?wf={$field}&wl={$rows[fichiers].affichage|truncate:60|urlencode}&option=1"><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="{$COLOR}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$INTERFACE_REP}/ajouter.gif" border="0" width="20" height="20"></td></tr></table></a> + </td><td width="420" bgcolor="{$COLOR}"> + <a hRef="lecteuraudio.php?mode=bib&t={$t}&wf={$field}&wl={$rows[fichiers].affichage|truncate:60|urlencode}"><font color=#0000003f>{$rows[fichiers].affichage|truncate:60}</font></a> + </td> + {/if} + </tr> {sectionelse} Modified: trunk/module/mp3/index1.php =================================================================== --- trunk/module/mp3/index1.php 2007-03-10 13:27:23 UTC (rev 97) +++ trunk/module/mp3/index1.php 2007-03-11 07:55:18 UTC (rev 98) @@ -16,6 +16,7 @@ $page_lect_rep = 'playdb.php'; $play_rep_txt = "Lire tout le dossier r\xE9cursivement"; $aff_cdda = "1"; +$lecteur_audio = true; include($EXPLORATEUR); Modified: trunk/module/mp3/playlist_audio.tpl =================================================================== --- trunk/module/mp3/playlist_audio.tpl 2007-03-10 13:27:23 UTC (rev 97) +++ trunk/module/mp3/playlist_audio.tpl 2007-03-11 07:55:18 UTC (rev 98) @@ -9,7 +9,7 @@ Auteur : {$info.auteur_flux|strip_tags}<br> Description : {$info.description|strip_tags}<br> - <img src="{$IMG2FBX}{$info.image}&cache=1" border="0"><br> <br> + <img src="{$IMG2FBX}{$info.image}&cache=1&new_width=150&new_height=150" border="0" width="150" height="150"><br> <br> <center><u>En cours d'\xE9coute</u></center><br> @@ -25,7 +25,7 @@ <img src="{$SKIN_REP}dossier/mp3.gif" width="16" height="16"> <a href=lecteuraudio.php?action=save&m3u_save=1&play_m3u={$playlists[pl]|realpath|urlencode}>{$playlists[pl]|realpath|extract_name|truncate:130:''}.m3u</a><br> {/section} -{elseif count($pl)==0 OR $action=='load' OR $VLC.etat=='stop'} +{elseif count($pl)==0 OR $action=='load'} {section name=pl loop=$playlists} {if $smarty.section.pl.first} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2007-03-10 13:27:25
|
Revision: 97 http://svn.sourceforge.net/easybox-mod/?rev=97&view=rev Author: aragornis Date: 2007-03-10 05:27:23 -0800 (Sat, 10 Mar 2007) Log Message: ----------- R?\195?\169solution des pb de vid?\195?\169o sur v3,v4 ET HD Modified Paths: -------------- trunk/_framework/aide/help.php trunk/_framework/demarrage.php trunk/_framework/framework.php trunk/_utilisateur/modules.db trunk/configuration/config.xml Modified: trunk/_framework/aide/help.php =================================================================== --- trunk/_framework/aide/help.php 2007-03-10 13:09:31 UTC (rev 96) +++ trunk/_framework/aide/help.php 2007-03-10 13:27:23 UTC (rev 97) @@ -2,7 +2,7 @@ $RACINE_REP = "../../"; require($RACINE_REP.'_framework/framework.php'); - if ($ini['explorateur']['freeboxHD'] == 'oui') $typeTel = 'telehd'; + if ($vers_fbx==5) $typeTel = 'telehd'; else $typeTel = 'tele'; if (isset($_GET['affichage'])) $affichage = $_GET['affichage']; Modified: trunk/_framework/demarrage.php =================================================================== --- trunk/_framework/demarrage.php 2007-03-10 13:09:31 UTC (rev 96) +++ trunk/_framework/demarrage.php 2007-03-10 13:27:23 UTC (rev 97) @@ -54,6 +54,11 @@ switch($etape){ case 1: + if($vers_fbx<=4){ + $META['service'] = 'ts://127.0.0.1'; + $META['display_aspect_ratio_conversion'] = 'letterbox'; + } + list_templates(); function RemoveDir($dir) { if(!$dh = @opendir($dir)) return; Modified: trunk/_framework/framework.php =================================================================== --- trunk/_framework/framework.php 2007-03-10 13:09:31 UTC (rev 96) +++ trunk/_framework/framework.php 2007-03-10 13:27:23 UTC (rev 97) @@ -5,6 +5,12 @@ } setlocale(LC_TIME, "fr"); + + $vers_fbx = $_SERVER["HTTP_USER_AGENT"]; + $ereg = 'freebox\/[0-9]\.[0-9]\.[0-9] \(hw:([0-9]).0;'; + preg_match("/$ereg/s", $vers_fbx, $val_vers); + $vers_fbx = $val_vers[1]; + unset($val_vers); //-- Chargement du r\xE9pertoire du framework $FRAMEWORK_REP = $RACINE_REP."_framework/"; Modified: trunk/_utilisateur/modules.db =================================================================== (Binary files differ) Modified: trunk/configuration/config.xml =================================================================== --- trunk/configuration/config.xml 2007-03-10 13:09:31 UTC (rev 96) +++ trunk/configuration/config.xml 2007-03-10 13:27:23 UTC (rev 97) @@ -79,11 +79,6 @@ <type>boolean</type> <defaut>oui</defaut> </souscat> - <souscat name="freeboxHD" > - <name>Mettre 'oui' si vous possedez une FreeBox HD.</name> - <type>boolean</type> - <defaut>non</defaut> - </souscat> </categorie> <categorie name="multimedia" > <souscat name="sortiefreebox" > This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2007-03-10 13:09:33
|
Revision: 96 http://svn.sourceforge.net/easybox-mod/?rev=96&view=rev Author: aragornis Date: 2007-03-10 05:09:31 -0800 (Sat, 10 Mar 2007) Log Message: ----------- Maj pour HD Encore quelques embellissements graphiques Modified Paths: -------------- trunk/module/_explorateur/explorateur.tpl trunk/module/_menu/menu.php trunk/module/diaporama/explorateur_photo.tpl trunk/module/films/play.php trunk/module/films/playrep.php trunk/settings.html trunk/skin/simple/interface.tpl Modified: trunk/module/_explorateur/explorateur.tpl =================================================================== --- trunk/module/_explorateur/explorateur.tpl 2007-03-09 21:54:45 UTC (rev 95) +++ trunk/module/_explorateur/explorateur.tpl 2007-03-10 13:09:31 UTC (rev 96) @@ -117,14 +117,14 @@ {section name=files loop=$T_affich max=$NUM_ROW_AFFICH start=$MIN} {if $T_affich[files]|in_array:$T_rep} {assign var="rep_a_affich" value=$REP|cat:'/'|cat:$T_affich[files]} -<tr><td colspan="2"><img src="{$SKIN_REP}dossier/folder.gif"> <font size="1"><a {if $smarty.section.disques.first==1}focused {/if}href="{$PAGE_EXPLO}?directory={$rep_a_affich|realpath|urlencode}&mode={$MODE}">{$T_affich[files]|truncate:55|strip_delimiters}</a></font></td></tr> +<tr><td colspan="2"><img src="{$SKIN_REP}dossier/folder.gif"> <font size="1"><a {if $smarty.section.disques.first==1}focused {/if}href="{$PAGE_EXPLO}?directory={$rep_a_affich|realpath|urlencode}&mode={$MODE}" onfocus='aide="Explorer {$T_affich[files]|strip_delimiters|escape:"htmlall"}";'>{$T_affich[files]|truncate:55|strip_delimiters}</a></font></td></tr> {else} <tr><td width="35"> {if $AFF_INFO} {assign var="nb" value=$T_affich[files]|strrpos:"."} <a href="fichefilm.php?start={$MIN}&comeback=expl&film={$T_affich[files]|substr:0:$nb|urlencode}&fichier={$REP|cat:'/'|cat:$T_affich[files]|realpath|urlencode}"><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$INTERFACE_REP}/information.gif" border="0" width="20" height="20"></td></tr></table></a> {/if} - </td><td>{if NOT $AFF_INFO}<img src="{$SKIN_REP}dossier/{$ICONE_FICHIER}" width="16" height="16"> {/if}<font size="1"><a {if $smarty.section.disques.first==1}focused {/if}href="{$PAGE_LECT}?{$OPT_LIENS}toplay_file={$T_affich[files]|urlencode}&toplay_rep={$REP|urlencode}">{$T_affich[files]|strip_delimiters|truncate:52}</a> + </td><td>{if NOT $AFF_INFO}<img src="{$SKIN_REP}dossier/{$ICONE_FICHIER}" width="16" height="16"> {/if}<font size="1"><a {if $smarty.section.disques.first==1}focused {/if}href="{$PAGE_LECT}?{$OPT_LIENS}toplay_file={$T_affich[files]|urlencode}&toplay_rep={$REP|urlencode}" onfocus='aide="Jouer {$T_affich[files]|strip_delimiters|escape:"htmlall"}";'>{$T_affich[files]|strip_delimiters|truncate:52}</a> </font></td></tr> {/if} {/section} @@ -140,11 +140,11 @@ <td width="30" align="center"> {if $PLAYREP} -<a href="{$PAGE_LECT_REP}?toplay={$REP|urlencode}&type=playrep"><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$SKIN_REP}dossier/rep_all.gif" border="0" width="20" height="20"></td></tr></table></a> +<a href="{$PAGE_LECT_REP}?toplay={$REP|urlencode}&type=playrep" onfocus='aide="Lire le dossier en entier";'><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$SKIN_REP}dossier/rep_all.gif" border="0" width="20" height="20"></td></tr></table></a> {/if} </td><td width="30" align="center"> {if $AFF_FAVORIS} -<a href="{$RACINE_REP}module/favoris/index1.php?ajout={$REP|urlencode}&nom={$REP}"><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$SKIN_REP}dossier/favoris.gif" border="0" width="20" height="20"></td></tr></table></a> +<a href="{$RACINE_REP}module/favoris/index1.php?ajout={$REP|urlencode}&nom={$REP}" onfocus='aide="Ajouter le dossier aux favoris";'><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$SKIN_REP}dossier/favoris.gif" border="0" width="20" height="20"></td></tr></table></a> {/if} </td></tr></table> </td></tr> Modified: trunk/module/_menu/menu.php =================================================================== --- trunk/module/_menu/menu.php 2007-03-09 21:54:45 UTC (rev 95) +++ trunk/module/_menu/menu.php 2007-03-10 13:09:31 UTC (rev 96) @@ -81,4 +81,5 @@ $smarty->assign('FAVORIS',FAVORIS()); $smarty->assign('CONTENT',$smarty->fetch('menu.tpl')); $smarty->display('interface.tpl'); + ?> Modified: trunk/module/diaporama/explorateur_photo.tpl =================================================================== --- trunk/module/diaporama/explorateur_photo.tpl 2007-03-09 21:54:45 UTC (rev 95) +++ trunk/module/diaporama/explorateur_photo.tpl 2007-03-10 13:09:31 UTC (rev 96) @@ -35,15 +35,15 @@ {if $files[files]|in_array:$T_repertoire} {if $DOS} - <td width="100" height="130"><a href="index1.php?rep={$files[files].path|urlencode}" onfocus='aide="{$files[files]|strip_delimiters}";'><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="80"><td width="100" height="80" valign="middle" align="center"><img border=0 width="64" height="64" src="lecteur.gif"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><font size="1">{$files[files].nom} ({$files[files].lettre|strtolower}:)</font></td></tr></table></a></td> + <td width="100" height="130"><a href="index1.php?rep={$files[files].path|urlencode}" onfocus='aide="{$files[files]|strip_delimiters|replace:"'":"'"}";'><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="80"><td width="100" height="80" valign="middle" align="center"><img border=0 width="64" height="64" src="lecteur.gif"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><font size="1">{$files[files].nom} ({$files[files].lettre|strtolower}:)</font></td></tr></table></a></td> {else} - <td width="100" height="130"><a href="index1.php?rep={$REP|cat:'/'|cat:$files[files]|urlencode}" onfocus='aide="{$files[files]|strip_delimiters}";'><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="80"><td width="100" height="80" valign="middle" align="center"><img border=0 width="64" height="64" src="big_dossier.gif"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><font size="1">{$files[files]|truncate:20:"":true|wordwrap:10:"<br>":true|strip_delimiters}</font></td></tr></table></a></td> + <td width="100" height="130"><a href="index1.php?rep={$REP|cat:'/'|cat:$files[files]|urlencode}" onfocus='aide="{$files[files]|strip_delimiters|replace:"'":"'"}";'><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="80"><td width="100" height="80" valign="middle" align="center"><img border=0 width="64" height="64" src="big_dossier.gif"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><font size="1">{$files[files]|truncate:20:"":true|wordwrap:10:"<br>":true|strip_delimiters}</font></td></tr></table></a></td> {/if} {else} {assign var="dim" value=$REP|cat:'/'|cat:$files[files]|getimagesize} {assign var="newdim" value=$dim.0|get_size:$dim.1} - <td width="100" height="130" valign="middle" align="center"><a href="index1.php?image={$smarty.section.files.index}&rep={$rep_encoded}&start={$MIN}" onfocus='aide="{$files[files]|strip_delimiters}";'><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="80"><td width="100" height="80" valign="middle" align="center" background="fond_cell.gif"><img width="{$newdim.0}" height="{$newdim.1}" border="0" src="{$RACINE_REP}_framework/lib/img_cr.php?local=1&formatw=88&formath=68&img={$REP|cat:'/'|cat:$files[files]|urlencode}"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><font size="1">{$files[files]|truncate:20:"":true|wordwrap:10:"<br>":true|strip_delimiters}</font></td></tr></table></a></td> + <td width="100" height="130" valign="middle" align="center"><a href="index1.php?image={$smarty.section.files.index}&rep={$rep_encoded}&start={$MIN}" onfocus='aide="{$files[files]|strip_delimiters|replace:"'":"'"}";'><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="80"><td width="100" height="80" valign="middle" align="center" background="fond_cell.gif"><img width="{$newdim.0}" height="{$newdim.1}" border="0" src="{$RACINE_REP}_framework/lib/img_cr.php?local=1&formatw=88&formath=68&img={$REP|cat:'/'|cat:$files[files]|urlencode}"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><font size="1">{$files[files]|truncate:20:"":true|wordwrap:10:"<br>":true|strip_delimiters}</font></td></tr></table></a></td> {/if} Modified: trunk/module/films/play.php =================================================================== --- trunk/module/films/play.php 2007-03-09 21:54:45 UTC (rev 95) +++ trunk/module/films/play.php 2007-03-10 13:09:31 UTC (rev 96) @@ -149,6 +149,7 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> + <?php $smarty->display('bouton.tpl'); ?> <meta name="refresh" content="1;url=lecture.php?newfile=1"> <flags volume_key=true> Modified: trunk/module/films/playrep.php =================================================================== --- trunk/module/films/playrep.php 2007-03-09 21:54:45 UTC (rev 95) +++ trunk/module/films/playrep.php 2007-03-10 13:09:31 UTC (rev 96) @@ -58,5 +58,8 @@ <meta name="refresh" content="0;url=lecture.php?newfichier=1"> </head> -<body></body></html> +<body background="ts://127.0.0.1"> +<script language="javascript" src="/fb2ie.js"> +</script> +</body></html> Modified: trunk/settings.html =================================================================== --- trunk/settings.html 2007-03-09 21:54:45 UTC (rev 95) +++ trunk/settings.html 2007-03-10 13:09:31 UTC (rev 96) @@ -1,8 +1,6 @@ <!DOCTYPE HTML PUBLIC "-//Freebox//DTD HTML 3.2//EN"> <html> <head> -<meta name="service" content="ts://127.0.0.1"> -<meta name="display_aspect_ratio_conversion" content="letterbox"> <title>EasyBox</title> <meta name="settings_page" content="http://212.27.38.254:8080/settings.html"> Modified: trunk/skin/simple/interface.tpl =================================================================== --- trunk/skin/simple/interface.tpl 2007-03-09 21:54:45 UTC (rev 95) +++ trunk/skin/simple/interface.tpl 2007-03-10 13:09:31 UTC (rev 96) @@ -1,7 +1,6 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> -<meta name="service" content="ts://127.0.0.1"> {include file="bouton.tpl"} </head> <body background="ts://127.0.0.1" text="{#COULEUR_TEXT#}" link="{#COULEUR_LINK#}" alink="{#COULEUR_ALINK#}" vlink="{#COULEUR_VLINK#}"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2007-03-09 21:54:50
|
Revision: 95 http://svn.sourceforge.net/easybox-mod/?rev=95&view=rev Author: aragornis Date: 2007-03-09 13:54:45 -0800 (Fri, 09 Mar 2007) Log Message: ----------- Encore quelques am?\195?\169liorations grace aux nouvelles options de la fbx Modified Paths: -------------- trunk/module/films/films.tpl trunk/module/films/info.php Modified: trunk/module/films/films.tpl =================================================================== --- trunk/module/films/films.tpl 2007-03-09 18:16:03 UTC (rev 94) +++ trunk/module/films/films.tpl 2007-03-09 21:54:45 UTC (rev 95) @@ -29,19 +29,23 @@ {elseif $module=='video'} <font size="3"><u>Options vid\xE9o</u></font><br> <form action="info.php" method="get"> - <input type=hidden name=module value=video><input type=hidden name=var value="video-es"><br> + <select name="video"> + <input type=hidden name=module value=video><input type=hidden name=var value="video-es"><br> {foreach from=$video item=pistev key=key name=video} - <input type=radio name=video bgcolor="{#COULEUR_FOND_RADIO#}" value="{$key}" {if $pistev.1} checked{/if}>{$pistev.0}<br> + <option value={$key} {if $pistev.1}selected{/if}>{$pistev.0} + {*<input type=radio name=video bgcolor="{#COULEUR_FOND_RADIO#}" value="{$key}" {if $pistev.1} checked{/if}>{$pistev.0}<br>*} {/foreach} - <br>Post-traitement + </select> + <br>Post-traitement : <select name="pp"> +<option value=0 {if $pp_video==1}selected{/if}>0 <option value=1 {if $pp_video==1}selected{/if}>1 <option value=2 {if $pp_video==2}selected{/if}>2 <option value=3 {if $pp_video==3}selected{/if}>3 <option value=4 {if $pp_video==4}selected{/if}>4 <option value=5 {if $pp_video==5}selected{/if}>5 <option value=6 {if $pp_video==6}selected{/if}>6 -</select> +</select><br> Augmenter la qualit\xE9 du traitement de l'image (de 0 vers 6) demande plus de puissance CPU. <br> @@ -164,7 +168,7 @@ {section name=foo1 start=1 loop=$stream_3 step=1} {assign var=time value="`$smarty.section.foo1.iteration*$largeursautmoins`"} {assign var=heure value=$time|date_format:"%H"} -<td width="5"><a onfocus='front_panel="{$time|calcul_hours|cleanaff}";temp_affich="{$time|calcul_hours}";' onBlur='front_panel="{$original_front|calcul_hours|cleanaff}";temp_affich="{$temps_affich}";' href="info.php?heures={$heure-1}&minutes={$time|date_format:"%M"}&secondes={$time|date_format:"%S"}"><table border="0" cellpadding="0" cellspacing="0" bgcolor="#BDBDC23f" abgcolor="#0000003f"><tr><td><img src="" width="5" height="5" border="0"></td></tr></table></a></td> +<td width="5"><a onfocus='front_panel="{$time|calcul_hours|cleanaff}";temps_affich="{$time|calcul_hours}";' onBlur='front_panel="{$original_front|calcul_hours|cleanaff}";temps_affich="{$temps_affich}";' href="info.php?heures={$heure-1}&minutes={$time|date_format:"%M"}&secondes={$time|date_format:"%S"}"><table border="0" cellpadding="0" cellspacing="0" bgcolor="#BDBDC23f" abgcolor="#0000003f"><tr><td><img src="" width="5" height="5" border="0"></td></tr></table></a></td> {/section} @@ -173,7 +177,7 @@ {section name=foo2 start=1 loop=$stream_5 step=1} {assign var=time value="`$VLC.duree_courante+$smarty.section.foo2.iteration*$largeursautplus`"} {assign var=heure value=$time|date_format:"%H"} -<td width="5"><a onfocus='front_panel="{$time|calcul_hours|cleanaff}";' href="info.php?heures={$heure-1}&minutes={$time|date_format:"%M"}&secondes={$time|date_format:"%S"}"><table border="0" cellpadding="0" cellspacing="0" bgcolor="#BDBDC23f" abgcolor="#0000003f"><tr><td><img src="" width="5" height="5" border="0"></td></tr></table></a></td> +<td width="5"><a onfocus='front_panel="{$time|calcul_hours|cleanaff}";temps_affich="{$time|calcul_hours}";' onBlur='front_panel="{$original_front|calcul_hours|cleanaff}";temps_affich="{$temps_affich}";' href="info.php?heures={$heure-1}&minutes={$time|date_format:"%M"}&secondes={$time|date_format:"%S"}"><table border="0" cellpadding="0" cellspacing="0" bgcolor="#BDBDC23f" abgcolor="#0000003f"><tr><td><img src="" width="5" height="5" border="0"></td></tr></table></a></td> {/section} <td width="13"></td> Modified: trunk/module/films/info.php =================================================================== --- trunk/module/films/info.php 2007-03-09 18:16:03 UTC (rev 94) +++ trunk/module/films/info.php 2007-03-09 21:54:45 UTC (rev 95) @@ -111,6 +111,8 @@ foreach($pp_video as $key => $value){ $_pp_video = $key; } + $META['pp']=$_pp_video; + $META['pp']=$video; $smarty->assign('video',$video); $smarty->assign('pp_video',$_pp_video); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2007-03-09 18:16:11
|
Revision: 94 http://svn.sourceforge.net/easybox-mod/?rev=94&view=rev Author: aragornis Date: 2007-03-09 10:16:03 -0800 (Fri, 09 Mar 2007) Log Message: ----------- Nouveaux testes pour r?\195?\169gler les problemes Modified Paths: -------------- trunk/skin/simple/interface.tpl trunk/skin/simplegreen/interface.tpl Removed Paths: ------------- trunk/skin/simple/cartouche.tpl trunk/skin/simplegreen/cartouche.tpl Deleted: trunk/skin/simple/cartouche.tpl =================================================================== --- trunk/skin/simple/cartouche.tpl 2007-03-09 16:06:45 UTC (rev 93) +++ trunk/skin/simple/cartouche.tpl 2007-03-09 18:16:03 UTC (rev 94) @@ -1,6 +0,0 @@ -<table border="0" cellpadding="0" cellspacing="0" width="407" height="30" valign=bottom> - <tr height="27"> - <td width="23" height="30" align="center" valign=middle>{$logo}</td> - <td width="384" height="30" align="left" valign=middle><font size="1">{$text}</font></td> - </tr> -</table> Modified: trunk/skin/simple/interface.tpl =================================================================== --- trunk/skin/simple/interface.tpl 2007-03-09 16:06:45 UTC (rev 93) +++ trunk/skin/simple/interface.tpl 2007-03-09 18:16:03 UTC (rev 94) @@ -1,6 +1,7 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> +<meta name="service" content="ts://127.0.0.1"> {include file="bouton.tpl"} </head> <body background="ts://127.0.0.1" text="{#COULEUR_TEXT#}" link="{#COULEUR_LINK#}" alink="{#COULEUR_ALINK#}" vlink="{#COULEUR_VLINK#}"> Deleted: trunk/skin/simplegreen/cartouche.tpl =================================================================== --- trunk/skin/simplegreen/cartouche.tpl 2007-03-09 16:06:45 UTC (rev 93) +++ trunk/skin/simplegreen/cartouche.tpl 2007-03-09 18:16:03 UTC (rev 94) @@ -1,6 +0,0 @@ -<table border="0" cellpadding="0" cellspacing="0" width="407" height="30" valign=bottom> - <tr height="27"> - <td width="23" height="30" align="center" valign=middle>{$logo}</td> - <td width="384" height="30" align="left" valign=middle><font size="1">{$text}</font></td> - </tr> -</table> Modified: trunk/skin/simplegreen/interface.tpl =================================================================== --- trunk/skin/simplegreen/interface.tpl 2007-03-09 16:06:45 UTC (rev 93) +++ trunk/skin/simplegreen/interface.tpl 2007-03-09 18:16:03 UTC (rev 94) @@ -1,6 +1,7 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> +<meta name="service" content="ts://127.0.0.1"> {include file="bouton.tpl"} </head> <body background="ts://127.0.0.1" text="{#COULEUR_TEXT#}" link="{#COULEUR_LINK#}" alink="{#COULEUR_ALINK#}" vlink="{#COULEUR_VLINK#}"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2007-03-09 16:06:53
|
Revision: 93 http://svn.sourceforge.net/easybox-mod/?rev=93&view=rev Author: aragornis Date: 2007-03-09 08:06:45 -0800 (Fri, 09 Mar 2007) Log Message: ----------- Introduction des zones de texte dynamiques R?\195?\169paration du module horloge Miscellanius et surprises ^^ R?\195?\169paration de la lecture des photos Modified Paths: -------------- trunk/http-vlc/lecteur/play.html trunk/module/_explorateur/explorateur.tpl trunk/module/diaporama/explorateur_photo.tpl trunk/module/films/films.tpl trunk/module/films/info.php trunk/module/films/lecture.php trunk/module/horloge/index1.php trunk/module/modules/modules.tpl trunk/settings.html trunk/skin/simple/interface.tpl trunk/skin/simplegreen/interface/Thumbs.db trunk/skin/simplegreen/interface.tpl Modified: trunk/http-vlc/lecteur/play.html =================================================================== --- trunk/http-vlc/lecteur/play.html 2007-03-07 06:38:57 UTC (rev 92) +++ trunk/http-vlc/lecteur/play.html 2007-03-09 16:06:45 UTC (rev 93) @@ -1,164 +1,164 @@ -<!-- Recuperation des variables --> -<vlc id="rpn" param1="mrl 'mrl' url_extract store" /> -<vlc id="rpn" param1="type 'type' url_extract store" /> -<vlc id="rpn" param1="qfile '\'' mrl value strcat '\'' strcat store" /> - -<!-- Fichiers videos --> -<!-- audio/video Lecture d'un fichier dans la playlist - Type 0 --> - <vlc id="if" param1="type value 0 =" /> - <vlc id="rpn" param1="mrl value vlc_play" /> - <vlc id="end" /> - -<!-- audio/video joue et transcode normalement TV - Type 1 --> - <vlc id="if" param1="type value 1 =" /> - <vlc id="rpn" param1="vlc_stop" /> - <vlc id="rpn" param1="playlist_empty" /> - <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-acodec=mpga :sout-transcode-ab=256 :sout-transcode-channels=2 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay' strcat mrl value playlist_add vlc_play" /> - <vlc id="end" /> - -<!-- audio/video ajoute et transcode normalement TV - Type 2 --> - <vlc id="if" param1="type value 2 =" /> - <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-acodec=mpga :sout-transcode-ab=256 :sout-transcode-channels=2 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay' strcat mrl value playlist_add" /> - <vlc id="end" /> - -<!-- audio/video joue et transcode avec sortie sur PC - Type 3 --> - <vlc id="if" param1="type value 3 =" /> - <vlc id="rpn" param1="vlc_stop" /> - <vlc id="rpn" param1="playlist_empty" /> - <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout=#duplicate{dst=transcode:std,select=video,dst=display,select=audio} :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-acodec=a52 :sout-transcode-ab=512 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay' strcat mrl value playlist_add vlc_play" /> - <vlc id="end" /> - -<!-- audio/video ajoute et transcode avec sortie sur PC - Type 4 --> - <vlc id="if" param1="type value 4 =" /> - <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout=#duplicate{dst=transcode:std,select=video,dst=display,select=audio} :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-acodec=a52 :sout-transcode-ab=512 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay' strcat mrl value playlist_add" /> - <vlc id="end" /> - -<!-- audio/video joue et transcode avec sortie en AC3 - Type 5 --> - <vlc id="if" param1="type value 5 =" /> - <vlc id="rpn" param1="vlc_stop" /> - <vlc id="rpn" param1="playlist_empty" /> - <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-ab=512 :sout-transcode-channels=6 :sout-transcode-acodec=a52 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay' strcat mrl value playlist_add vlc_play" /> - <vlc id="end" /> - -<!-- audio/video ajoute et transcode avec sortie en AC3 - Type 6 --> - <vlc id="if" param1="type value 6 =" /> - <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-ab=512 :sout-transcode-channels=6 :sout-transcode-acodec=a52 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay' strcat mrl value playlist_add" /> - <vlc id="end" /> - -<!-- messagerie audio - Type 7 --> - <vlc id="if" param1="type value 7 =" /> - <vlc id="rpn" param1="vlc_stop" /> - <vlc id="rpn" param1="playlist_empty" /> - <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-ab=256 :sout-transcode-acodec=mpga :sout-transcode-channels=2 :sout-transcode-samplerate=48000' strcat mrl value playlist_add vlc_play" /> - <vlc id="end" /> - -<!-- Fichiers photos --> - -<!-- photo jouee normalement - Type 20 --> - <vlc id="if" param1="type value 20 =" /> - <vlc id="rpn" param1="0 loop 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> - <vlc id="rpn" param1="0 random 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> - <vlc id="rpn" param1="0 repeat 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> - <vlc id="rpn" param1="vlc_stop" /> - <vlc id="rpn" param1="playlist_empty" /> - <vlc id="rpn" param1="'temps' url_extract 'fake-duration' vlc_config_set" /> - <vlc id="rpn" param1="'fake: :sout=#transcode:std :sout-transcode-width=720 :sout-transcode-height=576 :sout-transcode-vb=4096 :sout-transcode-vcodec=mp2v :sout-transcode-vfilter=deinterlace :sout-deinterlace-mode=blend :sout-transcode-vb=9000 :sout-transcode-vcodec=mp2v :sout-ffmpeg-keyint=8 :sout-ffmpeg-interlace :no-sout-ffmpeg-interlace-me :fake-aspect-ratio=4:3 :fake-keep-ar :fake-deinterlace :deinterlace-mode=blend :fake-file=' mrl value strcat mrl value playlist_add vlc_play" /> - <vlc id="end" /> - - -<!-- photo ajoutee normalement - Type 21 --> - <vlc id="if" param1="type value 21 =" /> - <vlc id="rpn" param1="0 loop 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> - <vlc id="rpn" param1="0 random 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> - <vlc id="rpn" param1="0 repeat 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> - <vlc id="rpn" param1="'temps' url_extract 'fake-duration' vlc_config_set" /> - <vlc id="rpn" param1="'fake: :sout=#transcode:std :sout-transcode-width=720 :sout-transcode-height=576 :sout-transcode-vb=4096 :sout-transcode-vcodec=mp2v :sout-transcode-vfilter=deinterlace :sout-deinterlace-mode=blend :sout-transcode-vb=9000 :sout-transcode-vcodec=mp2v :sout-ffmpeg-keyint=8 :sout-ffmpeg-interlace :no-sout-ffmpeg-interlace-me :fake-aspect-ratio=4:3 :fake-keep-ar :fake-deinterlace :deinterlace-mode=blend :fake-file=' mrl value strcat mrl value playlist_add" /> - <vlc id="end" /> - - -<!-- playlist de photo jouee normalement - Type 22 --> - <vlc id="if" param1="type value 22 =" /> - <vlc id="rpn" param1="vlc_stop" /> - <vlc id="rpn" param1="playlist_empty" /> - <vlc id="rpn" param1="0 loop 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> - <vlc id="rpn" param1="0 random 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> - <vlc id="rpn" param1="0 repeat 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> - <vlc id="rpn" param1="'temps' url_extract 'fake-duration' vlc_config_set" /> - <vlc id="rpn" param1="qfile value mrl value playlist_add vlc_play" /> - <vlc id="end" /> - -<!-- playlist de photo ajoutee normalement - Type 23 --> - <vlc id="if" param1="type value 23 =" /> - <vlc id="rpn" param1="0 loop 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> - <vlc id="rpn" param1="0 random 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> - <vlc id="rpn" param1="0 repeat 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> - <vlc id="rpn" param1="'temps' url_extract 'fake-duration' vlc_config_set" /> - <vlc id="rpn" param1="qfile value mrl value playlist_add" /> - <vlc id="end" /> - - -<!-- DVDs --> - -<!-- dvd joue normalement - transcodage audio - Type 30 --> - <vlc id="if" param1="type value 30 =" /> - <vlc id="rpn" param1="vlc_stop" /> - <vlc id="rpn" param1="playlist_empty" /> - <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-ab=256 :sout-transcode-acodec=mpga :sout-transcode-channels=2 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add vlc_play" /> - <vlc id="end" /> - -<!-- dvd joue normalement - sortie audio PC - Type 31 --> - <vlc id="if" param1="type value 31 =" /> - <vlc id="rpn" param1="vlc_stop" /> - <vlc id="rpn" param1="playlist_empty" /> - <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout=#duplicate{dst=transcode:std,select=video,dst=display,select=audio} :sout-transcode-ab=512 :sout-transcode-acodec=a52 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add vlc_play" /> - <vlc id="end" /> - -<!-- dvd joue normalement - Sortie AC3 audio - Type 32 --> - <vlc id="if" param1="type value 32 =" /> - <vlc id="rpn" param1="vlc_stop" /> - <vlc id="rpn" param1="playlist_empty" /> - <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-ab=512 :sout-transcode-acodec=a52 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add vlc_play" /> - <vlc id="end" /> - -<!-- dvd ajoute normalement - transcodage audio - Type 33 --> - <vlc id="if" param1="type value 33 =" /> - <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-ab=256 :sout-transcode-acodec=mpga :sout-transcode-channels=2 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add" /> - <vlc id="end" /> - -<!-- dvd ajoute normalement - sortie audio PC - Type 34 --> - <vlc id="if" param1="type value 34 =" /> - <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout=#duplicate{dst=transcode:std,select=video,dst=display,select=audio} :sout-transcode-ab=512 :sout-transcode-acodec=a52 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add" /> - <vlc id="end" /> - -<!-- dvd ajoute normalement - Sortie AC3 audio - Type 35 --> - <vlc id="if" param1="type value 35 =" /> - <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-ab=512 :sout-transcode-acodec=a52 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add" /> - <vlc id="end" /> -<!-- MMS --> - -<!-- MMS - Sortie TV - Type 40 --> - <vlc id="if" param1="type value 40 =" /> - <vlc id="rpn" param1="vlc_stop" /> - <vlc id="rpn" param1="playlist_empty" /> - <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-acodec=mpga :sout-transcode-ab=256 :sout-transcode-channels=2 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :sout-transcode-soverlay :mms-caching=5000 :http-caching=5000 :http-reconnect' strcat mrl value playlist_add vlc_play" /> - <vlc id="end" /> - -<!-- MMS - Sortie PC - Type 41 --> - <vlc id="if" param1="type value 41 =" /> - <vlc id="rpn" param1="vlc_stop" /> - <vlc id="rpn" param1="playlist_empty" /> - <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout=#duplicate{dst=transcode:std,select=video,dst=display,select=audio} :sout-transcode-vcodec=a52 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-vb=4096 :sout-transcode-acodec=mpga :sout-transcode-ab=512 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay :mms-caching=5000 :http-caching=5000 :http-reconnect' strcat mrl value playlist_add vlc_play" /> - <vlc id="end" /> - -<!-- MMS - Sortie AC3 - Type 42 --> - <vlc id="if" param1="type value 42 =" /> - <vlc id="rpn" param1="vlc_stop" /> - <vlc id="rpn" param1="playlist_empty" /> - <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-ab=512 :sout-transcode-acodec=a52 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay :mms-caching=5000 :http-caching=5000 :http-reconnect' strcat mrl value playlist_add vlc_play" /> - <vlc id="end" /> - -<!-- Vide la playlist - Type 999 --> - <vlc id="if" param1="type value 999 =" /> - <vlc id="rpn" param1="vlc_stop" /> - <vlc id="rpn" param1="playlist_empty" /> - <vlc id="end" /> +<!-- Recuperation des variables --> +<vlc id="rpn" param1="mrl 'mrl' url_extract store" /> +<vlc id="rpn" param1="type 'type' url_extract store" /> +<vlc id="rpn" param1="qfile '\'' mrl value strcat '\'' strcat store" /> + +<!-- Fichiers videos --> +<!-- audio/video Lecture d'un fichier dans la playlist - Type 0 --> + <vlc id="if" param1="type value 0 =" /> + <vlc id="rpn" param1="mrl value vlc_play" /> + <vlc id="end" /> + +<!-- audio/video joue et transcode normalement TV - Type 1 --> + <vlc id="if" param1="type value 1 =" /> + <vlc id="rpn" param1="vlc_stop" /> + <vlc id="rpn" param1="playlist_empty" /> + <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-acodec=mpga :sout-transcode-ab=256 :sout-transcode-channels=2 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay' strcat mrl value playlist_add vlc_play" /> + <vlc id="end" /> + +<!-- audio/video ajoute et transcode normalement TV - Type 2 --> + <vlc id="if" param1="type value 2 =" /> + <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-acodec=mpga :sout-transcode-ab=256 :sout-transcode-channels=2 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay' strcat mrl value playlist_add" /> + <vlc id="end" /> + +<!-- audio/video joue et transcode avec sortie sur PC - Type 3 --> + <vlc id="if" param1="type value 3 =" /> + <vlc id="rpn" param1="vlc_stop" /> + <vlc id="rpn" param1="playlist_empty" /> + <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout=#duplicate{dst=transcode:std,select=video,dst=display,select=audio} :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-acodec=a52 :sout-transcode-ab=512 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay' strcat mrl value playlist_add vlc_play" /> + <vlc id="end" /> + +<!-- audio/video ajoute et transcode avec sortie sur PC - Type 4 --> + <vlc id="if" param1="type value 4 =" /> + <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout=#duplicate{dst=transcode:std,select=video,dst=display,select=audio} :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-acodec=a52 :sout-transcode-ab=512 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay' strcat mrl value playlist_add" /> + <vlc id="end" /> + +<!-- audio/video joue et transcode avec sortie en AC3 - Type 5 --> + <vlc id="if" param1="type value 5 =" /> + <vlc id="rpn" param1="vlc_stop" /> + <vlc id="rpn" param1="playlist_empty" /> + <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-ab=512 :sout-transcode-channels=6 :sout-transcode-acodec=a52 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay' strcat mrl value playlist_add vlc_play" /> + <vlc id="end" /> + +<!-- audio/video ajoute et transcode avec sortie en AC3 - Type 6 --> + <vlc id="if" param1="type value 6 =" /> + <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-ab=512 :sout-transcode-channels=6 :sout-transcode-acodec=a52 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay' strcat mrl value playlist_add" /> + <vlc id="end" /> + +<!-- messagerie audio - Type 7 --> + <vlc id="if" param1="type value 7 =" /> + <vlc id="rpn" param1="vlc_stop" /> + <vlc id="rpn" param1="playlist_empty" /> + <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-ab=256 :sout-transcode-acodec=mpga :sout-transcode-channels=2 :sout-transcode-samplerate=48000' strcat mrl value playlist_add vlc_play" /> + <vlc id="end" /> + +<!-- Fichiers photos --> + +<!-- photo jouee normalement - Type 20 --> + <vlc id="if" param1="type value 20 =" /> + <vlc id="rpn" param1="0 loop 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> + <vlc id="rpn" param1="0 random 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> + <vlc id="rpn" param1="0 repeat 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> + <vlc id="rpn" param1="vlc_stop" /> + <vlc id="rpn" param1="playlist_empty" /> + <vlc id="rpn" param1="'temps' url_extract 'fake-duration' vlc_config_set" /> + <vlc id="rpn" param1="'fake: :sout=#transcode:std :sout-transcode-width=720 :sout-transcode-height=576 :sout-transcode-vb=4096 :sout-transcode-vcodec=mp2v :sout-transcode-vfilter=deinterlace :sout-deinterlace-mode=blend :sout-transcode-vb=9000 :sout-transcode-vcodec=mp2v :sout-ffmpeg-keyint=8 :sout-ffmpeg-interlace :no-sout-ffmpeg-interlace-me :fake-aspect-ratio=4:3 :fake-keep-ar :fake-deinterlace :deinterlace-mode=blend :fake-file=' mrl value strcat mrl value playlist_add vlc_play" /> + <vlc id="end" /> + + +<!-- photo ajoutee normalement - Type 21 --> + <vlc id="if" param1="type value 21 =" /> + <vlc id="rpn" param1="0 loop 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> + <vlc id="rpn" param1="0 random 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> + <vlc id="rpn" param1="0 repeat 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> + <vlc id="rpn" param1="'temps' url_extract 'fake-duration' vlc_config_set" /> + <vlc id="rpn" param1="'fake: :sout=#transcode:std :sout-transcode-width=720 :sout-transcode-height=576 :sout-transcode-vb=4096 :sout-transcode-vcodec=mp2v :sout-transcode-vfilter=deinterlace :sout-deinterlace-mode=blend :sout-transcode-vb=9000 :sout-transcode-vcodec=mp2v :sout-ffmpeg-keyint=8 :sout-ffmpeg-interlace :no-sout-ffmpeg-interlace-me :fake-aspect-ratio=4:3 :fake-keep-ar :fake-deinterlace :deinterlace-mode=blend :fake-file=' mrl value strcat mrl value playlist_add" /> + <vlc id="end" /> + + +<!-- playlist de photo jouee normalement - Type 22 --> + <vlc id="if" param1="type value 22 =" /> + <vlc id="rpn" param1="vlc_stop" /> + <vlc id="rpn" param1="playlist_empty" /> + <vlc id="rpn" param1="0 loop 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> + <vlc id="rpn" param1="0 random 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> + <vlc id="rpn" param1="0 repeat 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> + <vlc id="rpn" param1="'temps' url_extract 'fake-duration' vlc_config_set" /> + <vlc id="rpn" param1="qfile value mrl value playlist_add vlc_play" /> + <vlc id="end" /> + +<!-- playlist de photo ajoutee normalement - Type 23 --> + <vlc id="if" param1="type value 23 =" /> + <vlc id="rpn" param1="0 loop 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> + <vlc id="rpn" param1="0 random 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> + <vlc id="rpn" param1="0 repeat 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> + <vlc id="rpn" param1="'temps' url_extract 'fake-duration' vlc_config_set" /> + <vlc id="rpn" param1="qfile value mrl value playlist_add" /> + <vlc id="end" /> + + +<!-- DVDs --> + +<!-- dvd joue normalement - transcodage audio - Type 30 --> + <vlc id="if" param1="type value 30 =" /> + <vlc id="rpn" param1="vlc_stop" /> + <vlc id="rpn" param1="playlist_empty" /> + <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-ab=256 :sout-transcode-acodec=mpga :sout-transcode-channels=2 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add vlc_play" /> + <vlc id="end" /> + +<!-- dvd joue normalement - sortie audio PC - Type 31 --> + <vlc id="if" param1="type value 31 =" /> + <vlc id="rpn" param1="vlc_stop" /> + <vlc id="rpn" param1="playlist_empty" /> + <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout=#duplicate{dst=transcode:std,select=video,dst=display,select=audio} :sout-transcode-ab=512 :sout-transcode-acodec=a52 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add vlc_play" /> + <vlc id="end" /> + +<!-- dvd joue normalement - Sortie AC3 audio - Type 32 --> + <vlc id="if" param1="type value 32 =" /> + <vlc id="rpn" param1="vlc_stop" /> + <vlc id="rpn" param1="playlist_empty" /> + <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-ab=512 :sout-transcode-acodec=a52 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add vlc_play" /> + <vlc id="end" /> + +<!-- dvd ajoute normalement - transcodage audio - Type 33 --> + <vlc id="if" param1="type value 33 =" /> + <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-ab=256 :sout-transcode-acodec=mpga :sout-transcode-channels=2 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add" /> + <vlc id="end" /> + +<!-- dvd ajoute normalement - sortie audio PC - Type 34 --> + <vlc id="if" param1="type value 34 =" /> + <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout=#duplicate{dst=transcode:std,select=video,dst=display,select=audio} :sout-transcode-ab=512 :sout-transcode-acodec=a52 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add" /> + <vlc id="end" /> + +<!-- dvd ajoute normalement - Sortie AC3 audio - Type 35 --> + <vlc id="if" param1="type value 35 =" /> + <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-ab=512 :sout-transcode-acodec=a52 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add" /> + <vlc id="end" /> +<!-- MMS --> + +<!-- MMS - Sortie TV - Type 40 --> + <vlc id="if" param1="type value 40 =" /> + <vlc id="rpn" param1="vlc_stop" /> + <vlc id="rpn" param1="playlist_empty" /> + <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-acodec=mpga :sout-transcode-ab=256 :sout-transcode-channels=2 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :sout-transcode-soverlay :mms-caching=5000 :http-caching=5000 :http-reconnect' strcat mrl value playlist_add vlc_play" /> + <vlc id="end" /> + +<!-- MMS - Sortie PC - Type 41 --> + <vlc id="if" param1="type value 41 =" /> + <vlc id="rpn" param1="vlc_stop" /> + <vlc id="rpn" param1="playlist_empty" /> + <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout=#duplicate{dst=transcode:std,select=video,dst=display,select=audio} :sout-transcode-vcodec=a52 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-vb=4096 :sout-transcode-acodec=mpga :sout-transcode-ab=512 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay :mms-caching=5000 :http-caching=5000 :http-reconnect' strcat mrl value playlist_add vlc_play" /> + <vlc id="end" /> + +<!-- MMS - Sortie AC3 - Type 42 --> + <vlc id="if" param1="type value 42 =" /> + <vlc id="rpn" param1="vlc_stop" /> + <vlc id="rpn" param1="playlist_empty" /> + <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-ab=512 :sout-transcode-acodec=a52 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay :mms-caching=5000 :http-caching=5000 :http-reconnect' strcat mrl value playlist_add vlc_play" /> + <vlc id="end" /> + +<!-- Vide la playlist - Type 999 --> + <vlc id="if" param1="type value 999 =" /> + <vlc id="rpn" param1="vlc_stop" /> + <vlc id="rpn" param1="playlist_empty" /> + <vlc id="end" /> Modified: trunk/module/_explorateur/explorateur.tpl =================================================================== --- trunk/module/_explorateur/explorateur.tpl 2007-03-07 06:38:57 UTC (rev 92) +++ trunk/module/_explorateur/explorateur.tpl 2007-03-09 16:06:45 UTC (rev 93) @@ -100,13 +100,13 @@ {if $MIN!=0} {assign var=temp value=$MIN-$NUM_ROW_AFFICH|max:0} -<tr><td colspan="2"><img src="{$INTERFACE_REP}btn_vert.gif" border="0"> <a href="{$PAGE_EXPLO}?start={$MIN-$NUM_ROW_AFFICH|max:0}&directory={$REP|urlencode}&mode={$MODE}"><font size=2>Pr\xE9c\xE9dent</font></a> <a href="{$PAGE_EXPLO}?start=0&directory={$REP|urlencode}&mode={$MODE}"><font size=2>D\xE9but du r\xE9pertoire</font></a></td></tr> +<tr><td colspan="2"><img src="{$INTERFACE_REP}btn_vert.gif" border="0"> <a href="{$PAGE_EXPLO}?start={$MIN-$NUM_ROW_AFFICH|max:0}&directory={$REP|urlencode}&mode={$MODE}" onfocus='aide="Page pr\xE9c\xE9dente";'><font size=2>Pr\xE9c\xE9dent</font></a> <a href="{$PAGE_EXPLO}?start=0&directory={$REP|urlencode}&mode={$MODE}"><font size=2>D\xE9but du r\xE9pertoire</font></a></td></tr> {attribbouton touche="green" lien="$PAGE_EXPLO?start=$temp&directory=$rep_encoded&mode=$MODE"} {/if} {if $Nb_rep_path >='2' AND $MIN==0} {assign var=temp value=$REP|dirname|realpath|urlencode} -<tr><td colspan="2"><img src="{$INTERFACE_REP}btn_jaune.gif" border="0"> <a focused href="{$PAGE_EXPLO}?directory={$REP|dirname|realpath|urlencode}&mode={$MODE}"><font size="2">Dossier parent</font></a></td></tr> +<tr><td colspan="2"><img src="{$INTERFACE_REP}btn_jaune.gif" border="0"> <a focused href="{$PAGE_EXPLO}?directory={$REP|dirname|realpath|urlencode}&mode={$MODE}" onfocus='aide="Dossier parent";'><font size="2">Dossier parent</font></a></td></tr> {attribbouton touche="yellow" lien="$PAGE_EXPLO?directory=$temp&mode=$MODE"} {elseif $Nb_rep_path >='2'} {assign var=temp value=$REP|dirname|realpath|urlencode} @@ -130,7 +130,7 @@ {/section} {if $MIN+$smarty.section.files.total<count($T_affich)} -<tr><td colspan="2"><table><tr><td><img src="{$INTERFACE_REP}btn_bleu.gif" border="0"> <a href="{$PAGE_EXPLO}?start={$MIN+$smarty.section.files.total}&directory={$REP|urlencode}&mode={$MODE}"><font size=2>Suivant</font></a> - <font size=2><a href="{$PAGE_EXPLO}?start={$N_affich-$smarty.section.files.total}&directory={$REP|urlencode}&mode={$MODE}">Fin du r\xE9pertoire</a> - Page {$MIN/$NUM_ROW_AFFICH+1|ceil} / {$N_affich/$NUM_ROW_AFFICH|ceil}</font></td> +<tr><td colspan="2"><table><tr><td><img src="{$INTERFACE_REP}btn_bleu.gif" border="0"> <a href="{$PAGE_EXPLO}?start={$MIN+$smarty.section.files.total}&directory={$REP|urlencode}&mode={$MODE}" onfocus='aide="Page suivante";'><font size=2>Suivant</font></a> - <font size=2><a href="{$PAGE_EXPLO}?start={$N_affich-$smarty.section.files.total}&directory={$REP|urlencode}&mode={$MODE}">Fin du r\xE9pertoire</a> - Page {$MIN/$NUM_ROW_AFFICH+1|ceil} / {$N_affich/$NUM_ROW_AFFICH|ceil}</font></td> {assign var=temp value=$MIN+$smarty.section.files.total} {attribbouton touche="blue" lien="$PAGE_EXPLO?start=$temp&directory=$rep_encoded&mode=$MODE"} {else} Modified: trunk/module/diaporama/explorateur_photo.tpl =================================================================== --- trunk/module/diaporama/explorateur_photo.tpl 2007-03-07 06:38:57 UTC (rev 92) +++ trunk/module/diaporama/explorateur_photo.tpl 2007-03-09 16:06:45 UTC (rev 93) @@ -35,16 +35,16 @@ {if $files[files]|in_array:$T_repertoire} {if $DOS} - <td width="100" height="130"><a href="index1.php?rep={$files[files].path|urlencode}"><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="80"><td width="100" height="80" valign="middle" align="center"><img border=0 width="64" height="64" src="lecteur.gif"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><font size="1">{$files[files].nom} ({$files[files].lettre|strtolower}:)</font></td></tr></table></a></td> + <td width="100" height="130"><a href="index1.php?rep={$files[files].path|urlencode}" onfocus='aide="{$files[files]|strip_delimiters}";'><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="80"><td width="100" height="80" valign="middle" align="center"><img border=0 width="64" height="64" src="lecteur.gif"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><font size="1">{$files[files].nom} ({$files[files].lettre|strtolower}:)</font></td></tr></table></a></td> {else} - <td width="100" height="130"><a href="index1.php?rep={$REP|cat:'/'|cat:$files[files]|urlencode}"><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="80"><td width="100" height="80" valign="middle" align="center"><img border=0 width="64" height="64" src="big_dossier.gif"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><font size="1">{$files[files]|truncate:26:"":true|wordwrap:15:"<br>":true|strip_delimiters}</font></td></tr></table></a></td> + <td width="100" height="130"><a href="index1.php?rep={$REP|cat:'/'|cat:$files[files]|urlencode}" onfocus='aide="{$files[files]|strip_delimiters}";'><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="80"><td width="100" height="80" valign="middle" align="center"><img border=0 width="64" height="64" src="big_dossier.gif"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><font size="1">{$files[files]|truncate:20:"":true|wordwrap:10:"<br>":true|strip_delimiters}</font></td></tr></table></a></td> {/if} - {else} + {else} {assign var="dim" value=$REP|cat:'/'|cat:$files[files]|getimagesize} {assign var="newdim" value=$dim.0|get_size:$dim.1} - <td width="100" height="130" valign="middle" align="center"><a href="index1.php?image={$smarty.section.files.index}&rep={$rep_encoded}&start={$MIN}"><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="80"><td width="100" height="80" valign="middle" align="center" background="fond_cell.gif"><img width="{$newdim.0}" height="{$newdim.1}" border="0" src="{$RACINE_REP}_framework/lib/img_cr.php?local=1&formatw=88&formath=68&img={$REP|cat:'/'|cat:$files[files]|urlencode}"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><font size="1">{$files[files]|truncate:26:"":true|wordwrap:15:"<br>":true|strip_delimiters}</font></td></tr></table></a></td> - {/if} + <td width="100" height="130" valign="middle" align="center"><a href="index1.php?image={$smarty.section.files.index}&rep={$rep_encoded}&start={$MIN}" onfocus='aide="{$files[files]|strip_delimiters}";'><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="80"><td width="100" height="80" valign="middle" align="center" background="fond_cell.gif"><img width="{$newdim.0}" height="{$newdim.1}" border="0" src="{$RACINE_REP}_framework/lib/img_cr.php?local=1&formatw=88&formath=68&img={$REP|cat:'/'|cat:$files[files]|urlencode}"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><font size="1">{$files[files]|truncate:20:"":true|wordwrap:10:"<br>":true|strip_delimiters}</font></td></tr></table></a></td> + {/if} {if $smarty.section.files.iteration is div by 5 AND NOT $smarty.section.files.last} Modified: trunk/module/films/films.tpl =================================================================== --- trunk/module/films/films.tpl 2007-03-07 06:38:57 UTC (rev 92) +++ trunk/module/films/films.tpl 2007-03-09 16:06:45 UTC (rev 93) @@ -34,24 +34,31 @@ <input type=radio name=video bgcolor="{#COULEUR_FOND_RADIO#}" value="{$key}" {if $pistev.1} checked{/if}>{$pistev.0}<br> {/foreach} <br>Post-traitement - - <input type="hslider" bgcolor="{#COULEUR_FOND_RADIO#}" name="pp" min="0" max="6" grad="1" value="{$pp_video}"> + +<select name="pp"> +<option value=1 {if $pp_video==1}selected{/if}>1 +<option value=2 {if $pp_video==2}selected{/if}>2 +<option value=3 {if $pp_video==3}selected{/if}>3 +<option value=4 {if $pp_video==4}selected{/if}>4 +<option value=5 {if $pp_video==5}selected{/if}>5 +<option value=6 {if $pp_video==6}selected{/if}>6 +</select> + Augmenter la qualit\xE9 du traitement de l'image (de 0 vers 6) demande plus de puissance CPU. <br> -<table width="250" align="left"> -<tr><td width="130">4/3 Letterbox</td><td><input type=radio bgcolor="{#COULEUR_FOND_RADIO#}" name=display_aspect_ratio_conversion value=letterbox></td></tr> -<tr><td width="130">4/3 Combined</td><td><input type=radio bgcolor="{#COULEUR_FOND_RADIO#}" name=display_aspect_ratio_conversion value=combined></td></tr> -<tr><td width="130">4/3 Pan Scan</td><td><input type=radio bgcolor="{#COULEUR_FOND_RADIO#}" name=display_aspect_ratio_conversion value=panscan></td></tr> -<tr><td width="130">16/9</td><td><input type=radio bgcolor="{#COULEUR_FOND_RADIO#}" name=display_aspect_ratio_conversion value=ignore></td></tr> -</table> +<select name=display_scaling> +<option value=letterbox>Letterbox +<option value=panscan>Pan Scan +<option value=fullscreen>Fullscreen +</select> -<table width="250" align="left"> +<table width="500" align="left"> <tr><td width="90">Lumi\xE9re</td><td width="5">:</td><td><input bgcolor="{#COULEUR_FOND_RADIO#}" type=hslider name=denc_brightness min=0 max=255 grad=16></td></tr> <tr><td width="90">Contraste</td><td width="5">:</td><td><input bgcolor="{#COULEUR_FOND_RADIO#}" type=hslider name=denc_contrast min='-128' max=127 grad=16></td></tr> <tr><td width="90">Couleur</td><td width="5">:</td><td><input bgcolor="{#COULEUR_FOND_RADIO#}" type=hslider name=denc_saturation min=0 max=255 grad=16></td></tr> -<tr><td width="90">Zoom</td><td width="5">:</td><td><input bgcolor="{#COULEUR_FOND_RADIO#}" type=hslider name=video_output_scale min=25 max=100 grad=5></td></tr> +<tr><td width="90">Zoom</td><td width="5">:</td><td><input bgcolor="{#COULEUR_FOND_RADIO#}" type=hslider name=video_output_scale min=25 max=150 grad=5></td></tr> </table> - +<br> <input bgcolor="{#COULEUR_TEXTBOX#}" type=submit value="Valider les modifications"> </form> @@ -59,10 +66,14 @@ <font size="3"><u>Options audio</u></font><br> <form action="info.php" method="get"><input type=hidden name=module value=audio><input type=hidden name=var value="audio-es"><br> - {foreach from=$audio item=pistea key=key name=audio} - <input type=radio name=audio bgcolor="{#COULEUR_FOND_RADIO#}" value="{$key}" {if $pistea.1} checked{/if}>{$pistea.0}<br> - {/foreach}</form> - <br><form action="none"> + <select name="audio"> + {foreach from=$audio item=pistea key=key name=audio} + <option value={$key} {if $pistea.1}selected{/if}>{$pistea.0} + {*<input type=radio name=audio bgcolor="{#COULEUR_FOND_RADIO#}" value="{$key}" {if $pistea.1} checked{/if}>{$pistea.0}<br>*} + {/foreach} + </select> + </form> + <br> <br><form action="none"> <input type="radio" name="aud" value="69(en,mp2)" bgcolor="{#COULEUR_FOND_RADIO#}"> Son st\xE9r\xE9o<br> <input type="radio" name="aud" value="69(en,ac3)" bgcolor="{#COULEUR_FOND_RADIO#}"> Dolby Digital (S/PDIF)<br> <br><input bgcolor="{#COULEUR_TEXTBOX#}" type=submit value="Valider les modifications"> @@ -153,7 +164,7 @@ {section name=foo1 start=1 loop=$stream_3 step=1} {assign var=time value="`$smarty.section.foo1.iteration*$largeursautmoins`"} {assign var=heure value=$time|date_format:"%H"} -<td width="5"><a onfocus='front_panel="{$time|calcul_hours|cleanaff}";' href="info.php?heures={$heure-1}&minutes={$time|date_format:"%M"}&secondes={$time|date_format:"%S"}"><table border="0" cellpadding="0" cellspacing="0" bgcolor="#BDBDC23f" abgcolor="#0000003f"><tr><td><img src="" width="5" height="5" border="0"></td></tr></table></a></td> +<td width="5"><a onfocus='front_panel="{$time|calcul_hours|cleanaff}";temp_affich="{$time|calcul_hours}";' onBlur='front_panel="{$original_front|calcul_hours|cleanaff}";temp_affich="{$temps_affich}";' href="info.php?heures={$heure-1}&minutes={$time|date_format:"%M"}&secondes={$time|date_format:"%S"}"><table border="0" cellpadding="0" cellspacing="0" bgcolor="#BDBDC23f" abgcolor="#0000003f"><tr><td><img src="" width="5" height="5" border="0"></td></tr></table></a></td> {/section} @@ -201,7 +212,7 @@ <input name=secondes bgcolor="{#COULEUR_TEXTBOX#}" type=text value="" size=2 maxlength=2> sec </form> </td> -<td><font size="1" color="#ffffff3f">{$temps_affich}</font> +<td><font size="1" color="#ffffff3f"><var name=temps_affich width=200></font> </td> </tr></table></td> </tr> Modified: trunk/module/films/info.php =================================================================== --- trunk/module/films/info.php 2007-03-07 06:38:57 UTC (rev 92) +++ trunk/module/films/info.php 2007-03-09 16:06:45 UTC (rev 93) @@ -15,7 +15,7 @@ }elseif($module!=''){ unset($META['refresh']); }else{ - $META['refresh']= '30;url=lecture.php'; + $META['blank']= '20;url=lecture.php'; } if (isset($_REQUEST['control'])){ @@ -33,7 +33,8 @@ }else{ $META['front_panel'] = strtoupper($VLC['etat']); } - + $smarty->assign('original_front',$META['front_panel']); + //-- Ce deplac\xE9 a un temps definie par l'utilisateur. if (isset($_REQUEST['heures']) OR isset($_REQUEST['minutes']) OR isset($_REQUEST['secondes'])) { $heure = '0'; @@ -151,8 +152,8 @@ //Signets pour ce film $db = sqlite_open($USER.'utilisateur.db', 0666); - $mov = new ffmpeg_movie(realpath($VLC['url_current'])); - echo $mov->getFrameCount(); + //$mov = new ffmpeg_movie(realpath($VLC['url_current'])); + //echo $mov->getFrameCount(); $requete='SELECT * FROM signet WHERE lien="'.$signetsav[2].'" ORDER BY duree'; $result = sqlite_query($db,$requete); @@ -173,6 +174,7 @@ } $temps_affich=calcul_hours($VLC['duree_courante']).' / '.calcul_hours($VLC['duree_totale']).' ('.$VLC['pourcentage_courant'].'%)'; + $META['temps_affich']= $temps_affich; $LINK['stop']=$MODULE.'films/lecture.php?control=stop'; $LINK['play']=$MODULE.'films/lecture.php?control=pause'; Modified: trunk/module/films/lecture.php =================================================================== --- trunk/module/films/lecture.php 2007-03-07 06:38:57 UTC (rev 92) +++ trunk/module/films/lecture.php 2007-03-09 16:06:45 UTC (rev 93) @@ -221,7 +221,7 @@ } if ($act != "non") { - @readfile('http://localhost:8081/lecteur/modif-config.html?type=2&type2=2&var=spu-es&value='.$keysst[$nnn]); + @readfile('http://localhost:8081/lecteur/modif-config.html?type=2&type2=4&var=spu-es&value='.$keysst[$nnn]); } } Modified: trunk/module/horloge/index1.php =================================================================== --- trunk/module/horloge/index1.php 2007-03-07 06:38:57 UTC (rev 92) +++ trunk/module/horloge/index1.php 2007-03-09 16:06:45 UTC (rev 93) @@ -1,571 +1,14 @@ -<?php -$RACINE_REP = "../../"; -require($RACINE_REP.'_framework/framework.php'); - -$LINK['red']= $MODULE.'_menu/menu.php?cat=9'; - -global $affichage,$level, $nb_joueurs, $nb_win, $fini; - -if ($_GET['rep']) { - $level = $_GET['level']; -}else{ - $level=1; -} - - -$MENU_ALT=array( - array('lien'=>'index1.php?level=1', 'nom'=>'LEVEL 1', 'selected'=>$level=='1'), - array('lien'=>'index1.php?level=2', 'nom'=>'LEVEL 2', 'selected'=>$level=='2'), - array('lien'=>'index1.php?level=3', 'nom'=>'LEVEL 3', 'selected'=>$level=='3') - ); - - -$affichage=""; - -$nb_joueurs1=0; -$nb_joueurs2=0; -$nb_joueurs3=0; - - if(isset($_GET['level'])){ $level=$_GET['level']; } elseif(isset($_GET['level'])){ $level=$_GET['level']; } - if(!isset($_GET['tour'])) { $tour=0; } else { $tour=$_GET['tour']; } - if(isset($_GET['fini'])){ $fini = $_GET['fini']; } else { $fini=0; } - $joue=0; - $jouer_1=0; - $jouer_2=0; - $jouer_3=0; - - if(!isset($_GET['t11'])) { $tab[1][1]='-'; } elseif(isset($_GET['st11'])){ $tab[1][1] = 'b'; } else { $tab[1][1] = $_GET['t11']; } - if(!isset($_GET['t12'])) { $tab[1][2]='-'; } elseif(isset($_GET['st12'])){ $tab[1][2] = 'b'; } else { $tab[1][2] = $_GET['t12']; } - if(!isset($_GET['t13'])) { $tab[1][3]='-'; } elseif(isset($_GET['st13'])){ $tab[1][3] = 'b'; } else { $tab[1][3] = $_GET['t13']; } - if(!isset($_GET['t21'])) { $tab[2][1]='-'; } elseif(isset($_GET['st21'])){ $tab[2][1] = 'b'; } else { $tab[2][1] = $_GET['t21']; } - if(!isset($_GET['t22'])) { $tab[2][2]='-'; } elseif(isset($_GET['st22'])){ $tab[2][2] = 'b'; } else { $tab[2][2] = $_GET['t22']; } - if(!isset($_GET['t23'])) { $tab[2][3]='-'; } elseif(isset($_GET['st23'])){ $tab[2][3] = 'b'; } else { $tab[2][3] = $_GET['t23']; } - if(!isset($_GET['t31'])) { $tab[3][1]='-'; } elseif(isset($_GET['st31'])){ $tab[3][1] = 'b'; } else { $tab[3][1] = $_GET['t31']; } - if(!isset($_GET['t32'])) { $tab[3][2]='-'; } elseif(isset($_GET['st32'])){ $tab[3][2] = 'b'; } else { $tab[3][2] = $_GET['t32']; } - if(!isset($_GET['t33'])) { $tab[3][3]='-'; } elseif(isset($_GET['st33'])){ $tab[3][3] = 'b'; } else { $tab[3][3] = $_GET['t33']; } - - // on d\xE9finit les lignes qui seront test\xE9es lors du jeu - $row1 = $tab[1][1] . $tab[1][2] . $tab[1][3]; - $row2 = $tab[2][1] . $tab[2][2] . $tab[2][3]; - $row3 = $tab[3][1] . $tab[3][2] . $tab[3][3]; - $row4 = $tab[1][1] . $tab[2][2] . $tab[3][3]; - $row5 = $tab[3][1] . $tab[2][2] . $tab[1][3]; - $row6 = $tab[1][1] . $tab[2][1] . $tab[3][1]; - $row7 = $tab[1][2] . $tab[2][2] . $tab[3][2]; - $row8 = $tab[1][3] . $tab[2][3] . $tab[3][3]; - - // ces valeurs ne sont utiles que lors du d\xE9veloppement/ d\xE9buggage - $ligne[1][1] = '1-1'; - $ligne[1][2] = '1-2'; - $ligne[1][3] = '1-3'; - $ligne[2][1] = '2-1'; - $ligne[2][2] = '2-2'; - $ligne[2][3] = '2-3'; - $ligne[3][1] = '3-1'; - $ligne[3][2] = '3-2'; - $ligne[3][3] = '3-3'; - $ligne[4][1] = '1-1'; - $ligne[4][2] = '2-2'; - $ligne[4][3] = '3-3'; - $ligne[5][1] = '3-1'; - $ligne[5][2] = '2-2'; - $ligne[5][3] = '1-3'; - $ligne[6][1] = '1-1'; - $ligne[6][2] = '2-1'; - $ligne[6][3] = '3-1'; - $ligne[7][1] = '1-2'; - $ligne[7][2] = '2-2'; - $ligne[7][3] = '3-2'; - $ligne[8][1] = '1-3'; - $ligne[8][2] = '2-3'; - $ligne[8][3] = '3-3'; - - //------------------- - // Fonction de conversion des lignes de type $tab[x][y] - // pour ressortir la coordonn\xE9e des cases (comprise entre 1 et 3) - //------------------- - - function cv($i, $j) - { - // si $tab[6][2] alors val1C=2 val2c=1 - if($i>3) - { - if($i==4 && $j==1) { $valc1=1; $valc2=1; } - if($i==4 && $j==2) { $valc1=2; $valc2=2; } - if($i==4 && $j==3) { $valc1=3; $valc2=3; } - if($i==5 && $j==1) { $valc1=3; $valc2=1; } - if($i==5 && $j==2) { $valc1=2; $valc2=2; } - if($i==5 && $j==3) { $valc1=1; $valc2=3; } - if($i==8 && $j==1) { $valc1=1; $valc2=3; } - if($i==6 && $j==1) { $valc1=1; $valc2=1; } - if($i==6 && $j==2) { $valc1=2; $valc2=1; } - if($i==6 && $j==3) { $valc1=3; $valc2=1; } - if($i==7 && $j==1) { $valc1=1; $valc2=2; } - if($i==7 && $j==2) { $valc1=2; $valc2=2; } - if($i==7 && $j==3) { $valc1=3; $valc2=2; } - if($i==8 && $j==1) { $valc1=1; $valc2=3; } - if($i==8 && $j==2) { $valc1=2; $valc2=3; } - if($i==8 && $j==3) { $valc1=3; $valc2=3; } - } - else - { - $valc1=$i; - $valc2=$j; - } - - return array($valc1,$valc2); - } - - - if($tour!=0 && $fini!=true) - { - if($tour==1) - { - /*--------*/ - /* TOUR 1 */ - /*--------*/ - - // si le joueur a jou\xE9 au centre alors on joue dans un coin - if($tab[2][2] == 'b' && $joue != true) - { - $valr1 = ((rand(1,2)*2)-1); - $valr2 = ((rand(1,2)*2)-1); - $tab[$valr1][$valr2] = 'a'; - $joue = true; - } - - // si le joueur a jou\xE9 dans un coin alors on joue au centre - if(($tab[1][1] == 'b' | $tab[1][3] == 'b' | $tab[3][1] == 'b' | $tab[3][3] == 'b') && $joue != true) - { - $tab[2][2] = 'a'; - $joue = true; - } - - // si le joueur a jou\xE9 au milieu d'une ligne alors on joue au centre - if(($tab[1][2] == 'b' | $tab[2][1] == 'b' | $tab[2][3] == 'b' | $tab[3][2] == 'b') && $joue != true) - { - $tab[2][2] = 'a'; - $joue = true; - } - } - - elseif($tour>1 | !$tour) - { - if($level==3) - { - /*----------------------------*/ - /* PHASE 1 : PEUT ON GAGNER ? */ - /*----------------------------*/ - - // Au d\xE9but de chaque tour, on regarde si il est possible de gagner - for($i=1;$i<9;$i++) - { - $var = 'row'.$i; - $combi = $$var; - - if($combi=='a-a' && $joue!=true) - { - $j=2; - list($val1, $val2) = cv($i, $j); - $tab[$val1][$val2] = 'a'; - $joue=true; - } - - if($combi=='aa-' && $joue!=true) - { - $j=3; - list($val1, $val2) = cv($i, $j); - $tab[$val1][$val2] = 'a'; - $joue=true; - } - - if($combi=='-aa' && $joue!=true) - { - $j=1; - list($val1, $val2) = cv($i, $j); - $tab[$val1][$val2] = 'a'; - $joue=true; - } - - } - - /*--------------------------------------*/ - /* PHASE 2 : LE JOUEUR PEUT IL GAGNER ? */ - /*--------------------------------------*/ - - // Au d\xE9but de chaque tour, on regarde si le joueur adverse peut gagner (b-b ou bb- ou -bb) - - for($i=1;$i<9;$i++) - { - $var = 'row'.$i; - $combi = $$var; - - if($combi=='b-b' && $joue!=true) - { - $j=2; - list($val1, $val2) = cv($i, $j); - $tab[$val1][$val2] = 'a'; - $joue=true; - } - - if($combi=='bb-' && $joue!=true) - { - $j=3; - list($val1, $val2) = cv($i, $j); - $tab[$val1][$val2] = 'a'; - $joue=true; - } - - if($combi=='-bb' && $joue!=true) - { - $j=1; - list($val1, $val2) = cv($i, $j); - $tab[$val1][$val2] = 'a'; - $joue=true; - } - } - - /*-------------------------------------------*/ - /* PHASE 3 : OU JOUER SI LA VOIE EST LIBRE ? */ - /*-------------------------------------------*/ - - // Si on ne peut pas gagner et que le joueur ne peut pas non plus gagner ce tour, alors on joue - // Mais attention, on joue "intelligemment". - - if($joue!=true) - { - for($i=1;$i<9;$i++) - { - $var = 'row'.$i; - $combi = $$var; - - if($tour==2 && $joue!=true && ($row4=='bab' | $row5=='bab')) - { - $tab[1][2] = 'a'; - $joue=true; - } - - // teste le cas o\xF9 on doit jouer coin \xE0 cot\xE9 des deux croix pour ne pas perdre - elseif($tour==2 && $joue!=true && ($row2=='ba-' | $row7=='-ab')) - { - $tab[3][1] = 'a'; - $joue=true; - } - elseif($tour==2 && $joue!=true && ($row2=='-ab' | $row7=='-ab')) - { - $tab[3][3] = 'a'; - $joue=true; - } - elseif($tour==2 && $joue!=true && ($row2=='ba-' | $row7=='ba-')) - { - $tab[1][1] = 'a'; - $joue=true; - } - elseif($tour==2 && $joue!=true && ($row2=='-ab' | $row7=='ba-')) - { - $tab[1][3] = 'a'; - $joue=true; - } - - $aab=0; - $baa=0; - - if($i<4) - { - // aab, donc il faut jouer coin haut-droite ou bas-droite - // baa, donc il faut jouer coin haut-gauche ou bas-gauche - if($tour==3 && $aab!=0 && $joue!=true) - { - $j = 3; - list($val1, $val2) = cv($i, $j); - $tab[$val1][$val2] = 'a'; - $joue=true; - } - if($tour==3 && $baa!=0 && $joue!=true) - { - $j=1; - list($val1, $val2) = cv($i, $j); - $tab[$val1][$val2] = 'a'; - $joue=true; - } - if($combi=='aab') - { - $aab++; - } - if($combi=='baa') - { - $baa++; - } - } - - if($combi=='-a-' && $tab[2][2]=='a' && $i==2 && $joue!=true) - { - if($tab[1][1]=='b') - { - $tab[3][1] = 'a'; - $joue=true; - } - elseif($tab[1][3]=='b') - { - $tab[3][3] = 'a'; - $joue=true; - } - elseif($tab[3][1]=='b') - { - $tab[1][1] = 'a'; - $joue=true; - } - elseif($tab[3][3]=='b') - { - $tab[1][3] = 'a'; - $joue=true; - } - } - - elseif($combi=='-a-' && $tab[2][2]=='a' && $i==7 && $joue!=true) - { - if($tab[1][1]=='b') - { - $tab[1][3] = 'a'; - $joue=true; - } - elseif($tab[1][3]=='b') - { - $tab[1][1] = 'a'; - $joue=true; - } - elseif($tab[3][1]=='b') - { - $tab[3][3] = 'a'; - $joue=true; - } - elseif($tab[3][3]=='b') - { - $tab[3][1] = 'a'; - $joue=true; - } - } - - elseif($combi=='--a' && $joue!=true) - { - $j=1; - list($val1, $val2) = cv($i, $j); - $tab[$val1][$val2] = 'a'; - $joue=true; - } - - // on regarde les cases vides pour jouer al\xE9atoirement si on a rien de mieux a faire - if($joue!=true) - { - - // peut-on jouer en case 1 ? Si oui on enregistre la case possible - if($combi=='-bb' | $combi=='-aa' | $combi=='-ab' | $combi=='-ba' | $combi=='---' | $combi=='--a' | $combi=='--b' | $combi=='-b-' | $combi=='-a-') - { - $jouer_1=true; - $val_1=$i; - } - - // peut-on jouer en case 2 ? Si oui on enregistre la case possible - if($combi=='b-b' | $combi=='a-a' | $combi=='a-b' | $combi=='b-a' | $combi=='---' | $combi=='--a' | $combi=='--b' | $combi=='b--' | $combi=='a--') - { - $jouer_2=true; - $val_2=$i; - } - - // peut-on jouer en case 3 ? Si oui on enregistre la case possible - if($combi=='bb-' | $combi=='aa-' | $combi=='ab-' | $combi=='ba-' | $combi=='---' | $combi=='-a-' | $combi=='-b-' | $combi=='b--' | $combi=='a--') - { - $jouer_3=true; - $val_3=$i; - } - - } - - } // for($i=1;$i<9;$i++) - - // si l'on a pas r\xE9ussi a jouer avec tous les tests pr\xE9c\xE9dents - // alors on joue al\xE9atoirement dans une case vide - // c'est la meilleure - et seule - solution ! - if($joue!=true) - { - // on joue case 1 si on a pas jou\xE9 - if($jouer_1==true && $joue!=true) - { - $j=1; - $i=$val_1; - list($val1, $val2) = cv($i, $j); - $tab[$val1][$val2] = 'a'; - $joue=true; - } - - // on joue case 2 si on a pas jou\xE9 - if($jouer_2==true && $joue!=true) - { - $j=2; - $i=$val_2; - list($val1, $val2) = cv($i, $j); - $tab[$val1][$val2] = 'a'; - $joue=true; - } - - // on joue case 3 si on a pas jou\xE9 - if($jouer_3==true && $joue!=true) - { - $j=3; - $i=$val_3; - list($val1, $val2) = cv($i, $j); - $tab[$val1][$val2] = 'a'; - $joue=true; - } - } // if $joue!=true - } // if($joue!=true) - } // if($level==3) - // si $level==2 n'est pas inhumain - // alors on joue l\xE0 ou on peut, sans r\xE9fl\xE9chir. - else - { - for($i=1;$i<4;$i++) - { - if($joue!=true) - { - for($j=1;$j<4;$j++) - { - if($tab[$i][$j]=='-' && $joue!=true) - { - $tab[$i][$j] = 'a'; - $joue=true; - } - } - } - } - } // else (if - - - /*-------------------------------------*/ - /* PHASE 4 : PERDU, GAGNE, MATCH NUL ? */ - /*-------------------------------------*/ - - // on red\xE9finit les lignes apr\xE8s le traitement - // du jeu du computer pour tester la victoire - - $row1 = $tab[1][1] . $tab[1][2] . $tab[1][3]; - $row2 = $tab[2][1] . $tab[2][2] . $tab[2][3]; - $row3 = $tab[3][1] . $tab[3][2] . $tab[3][3]; - $row4 = $tab[1][1] . $tab[2][2] . $tab[3][3]; - $row5 = $tab[3][1] . $tab[2][2] . $tab[1][3]; - $row6 = $tab[1][1] . $tab[2][1] . $tab[3][1]; - $row7 = $tab[1][2] . $tab[2][2] . $tab[3][2]; - $row8 = $tab[1][3] . $tab[2][3] . $tab[3][3]; - - if($fini!=true) - { - for($i=1;$i<9;$i++) - { - $var = 'row'.$i; - $combi = $$var; - if($combi == 'aaa') - { - $affichage.="<h2>PERDU !</h2>"; - $fini=true; - } - if($combi == 'bbb' && $fini!=true) - { - $affichage.="<h2>GAGNE !</H2>"; - $fini=true; - } - } - } // if fini!=true - } // if $tour>1 | !$tour - } // if($tour!=0 && $fini!=true) - - - // si on est au cinqui\xE8me tour et qu'il - // n'y a pas de vainqueur, alors match nul - if($tour==5 && $fini!=true) - { - $affichage.="<h2>MATCH NUL !</h2>"; - $fini=true; - } - - // sinon on incr\xE9mente le compteur tour - // (jusqu'\xE0 ce que sa valeur soit 5) - else - { - $tour++; - } - - /*----------------*/ - /* AFFICHAGE HTML */ - /*----------------*/ - - $t11 = $tab[1][1]; - $t12 = $tab[1][2]; - $t13 = $tab[1][3]; - $t21 = $tab[2][1]; - $t22 = $tab[2][2]; - $t23 = $tab[2][3]; - $t31 = $tab[3][1]; - $t32 = $tab[3][2]; - $t33 = $tab[3][3]; - - $affichage.="<table border=\"1\" cellpadding=\"1\" cellspacing=\"1\" bgcolor=\"#FFFFFF22\" align=\"center\">"; - $affichage.="<tr>"; - - $affichage.="<tr>\n\r"; - - $query="level=$level"; - $query.="&tour=$tour"; - $query.="&fini=$fini"; - $query.="&t11=$t11"; - $query.="&t12=$t12"; - $query.="&t13=$t13"; - $query.="&t21=$t21"; - $query.="&t22=$t22"; - $query.="&t23=$t23"; - $query.="&t31=$t31"; - $query.="&t32=$t32"; - $query.="&t33=$t33"; - - if($t11=='-') { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><a href=\"index1.php?st11=b&$query\">X</a></td>\n"; } - else { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><img src=\"$t11.gif\" width=\"50\" height=\"54\">\n"; } - - if($t12=='-') { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><a href=\"index1.php?st12=1&$query\">X</a></td>\n"; } - else { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><img src=\"$t12.gif\" width=\"50\" height=\"54\"></td>\n"; } - - if($t13=='-') { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><a href=\"index1.php?st13=1&$query\">X</a></td>\n"; } - else { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><img src=\"$t13.gif\" width=\"50\" height=\"54\"></td>\n"; } - - $affichage.="</tr>\n<tr>\n"; - if($t21=='-') { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><a href=\"index1.php?st21=1&$query\">X</a></td>\n"; } - else { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><img src=\"$t21.gif\" width=\"50\" height=\"54\"></td>\n"; } - - if($t22=='-') { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><a href=\"index1.php?st22=1&$query\">X</a></td>\n"; } - else { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><img src=\"$t22.gif\" width=\"50\" height=\"54\"></td>\n"; } - - if($t23=='-') { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><a href=\"index1.php?st23=1&$query\">X</a></td>\n"; } - else { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><img src=\"$t23.gif\" width=\"50\" height=\"54\"></td>\n"; } - - $affichage.="</tr>\n<tr>\n"; - if($t31=='-') { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><a href=\"index1.php?st31=1&$query\">X</a></td>\n"; } - else { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><img src=\"$t31.gif\" width=\"50\" height=\"54\"></td>\n"; } - - if($t32=='-') { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><a href=\"index1.php?st32=1&$query\">X</a></td>\n"; } - else { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><img src=\"$t32.gif\" width=\"50\" height=\"54\"></td>\n"; } - - if($t33=='-') { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><a href=\"index1.php?st33=1&$query\">X</a></td>\n"; } - else { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><img src=\"$t33.gif\" width=\"50\" height=\"54\"></td>\n"; } - - $affichage.="</tr>\n</table> - <br> - <br><font size=\"1\"> - Jeu du Morpion adapt\xE9 pour EasyBox par InPhoVid (06/2006)<br> - Jeu du Morpion imbattable d\xE9velopp\xE9 en php. License GPL. Auteur : Matthieu Aubry - </font> - </center> - "; - -$smarty->assign('TITRE','MORPION'); -$smarty->assign('affichage',$affichage); -$smarty->assign('CONTENT',$smarty->fetch('generique.tpl')); -$smarty->display('interface.tpl'); -?> +<?php +$RACINE_REP = "../../"; +require($RACINE_REP.'_framework/framework.php'); + +$LINK['red']= page_retour_menu(); + + $META['refresh']='30;url=index1.php'; + + $smarty->assign('TITRE','Here is the current time (lol)'); + + $smarty->assign('CONTENT',$smarty->fetch('horloge.tpl')); + $smarty->display('interface.tpl'); + +?> Modified: trunk/module/modules/modules.tpl =================================================================== --- trunk/module/modules/modules.tpl 2007-03-07 06:38:57 UTC (rev 92) +++ trunk/module/modules/modules.tpl 2007-03-09 16:06:45 UTC (rev 93) @@ -15,8 +15,8 @@ <td align="left" valign="top"><b><u>{$MOD[mod].nom}{if $action=="skin" AND $MOD[mod].current} - Skin actif{/if}</u></b><br> <b>Version</b> : {$MOD[mod].version}<br> <b>Description</b> : {$MOD[mod].description}</td> - {if $action=="skin"}{if NOT $MOD[mod].current}<td width="20"><a href="index1.php?setskinid={$MOD[mod].id}&action={$action}"><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="#COULEUR_FOND1#" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$INTERFACE_REP}valider.gif" border="0" width="20" height="20"></td></tr></table></a></td>{else}<td> </td>{/if}{/if} - <td width="20"><a href="index1.php?delid={$MOD[mod].id}&action={$action}"><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="#COULEUR_FOND1#" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$INTERFACE_REP}delete.gif" border="0" width="20" height="20"></td></tr></table></a></td> + {if $action=="skin"}{if NOT $MOD[mod].current}<td width="20"><a href="index1.php?setskinid={$MOD[mod].id}&action={$action}" onfocus='aide="Activer la {$MOD[mod].nom}";'><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="#COULEUR_FOND1#" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$INTERFACE_REP}valider.gif" border="0" width="20" height="20"></td></tr></table></a></td>{else}<td> </td>{/if}{/if} + <td width="20"><a href="index1.php?delid={$MOD[mod].id}&action={$action}" onfocus='aide="Supprimer {if $action=="skin"}la skin{else}le ... [truncated message content] |
From: <cra...@us...> - 2007-03-07 06:39:03
|
Revision: 92 http://svn.sourceforge.net/easybox-mod/?rev=92&view=rev Author: craftsnux Date: 2007-03-06 22:38:57 -0800 (Tue, 06 Mar 2007) Log Message: ----------- correction probl?\195?\168me d'accents sous linux Modified Paths: -------------- trunk/configuration/config.xml trunk/configuration/general.php trunk/configuration/index1.php trunk/http-vlc/lecteur/play.html Modified: trunk/configuration/config.xml =================================================================== --- trunk/configuration/config.xml 2007-03-04 10:24:49 UTC (rev 91) +++ trunk/configuration/config.xml 2007-03-07 06:38:57 UTC (rev 92) @@ -3,19 +3,19 @@ <channel> <categorie name="explorateur" > <souscat name="films_defaut" > - <name>Dossiers o\xF9 le scanner doit chercher vos vid\xE9os. Le premier de la liste sera le dossier par d\xE9faut de l'explorateur de films</name> + <name>Dossiers o&ugrave; le scanner doit chercher vos vid&eacute;os. Le premier de la liste sera le dossier par d&eacute;faut de l'explorateur de films</name> <type>navigateur</type> <defaut1>c:\</defaut1> <defaut2>/</defaut2> </souscat> <souscat name="photos_defaut" > - <name>Dossier des photos par d\xE9faut. Le premier de la liste sera le dossier par d\xE9faut de l'explorateur de photos</name> + <name>Dossier des photos par d&eacute;faut. Le premier de la liste sera le dossier par d&eacute;faut de l'explorateur de photos</name> <type>navigateur</type> <defaut1>c:\</defaut1> <defaut2>/</defaut2> </souscat> <souscat name="audio_defaut" > - <name>Dossiers o\xF9 le scanner doit chercher vos fichiers audios. Le premier de la liste sera le dossier par d\xE9faut de l'explorateur audio</name> + <name>Dossiers o&ugrave; le scanner doit chercher vos fichiers audios. Le premier de la liste sera le dossier par d&eacute;faut de l'explorateur audio</name> <type>navigateur</type> <defaut1>c:\</defaut1> <defaut2>/</defaut2> @@ -27,49 +27,49 @@ <defaut2>/mnt/cdrom</defaut2> </souscat> <souscat name="ext" > - <name>Extensions interpr\xE9t\xE9es comme des fichiers vid\xE9os par Easy-Box</name> + <name>Extensions interpr&eacute;t&eacute;es comme des fichiers vid&eacute;os par Easy-Box</name> <type>text</type> <defaut>.avi,.mpg,.mpeg,.mkv,.ogg,.wmv,.wma,.mp4,.3gp,.mov</defaut> </souscat> <souscat name="ext_photo" > - <name>Extensions interpr\xE9t\xE9es comme des photos par Easy-Box</name> + <name>Extensions interpr&eacute;t&eacute;es comme des photos par Easy-Box</name> <type>text</type> <defaut>.jpg,.gif,.bmp,.jpeg,.png</defaut> </souscat> <souscat name="ext_audio" > - <name>Extensions interpr\xE9t\xE9es comme des fichiers audios par Easy-Box</name> + <name>Extensions interpr&eacute;t&eacute;es comme des fichiers audios par Easy-Box</name> <type>text</type> <defaut>.mp3,.ogg,.wma,.cda,.m3u,.wav</defaut> </souscat> <souscat name="ext_noscan" > - <name>Ne pas traiter les r\xE9pertoires dont le nom contient une des valeurs suivantes</name> + <name>Ne pas traiter les r&eacute;pertoires dont le nom contient une des valeurs suivantes</name> <type>text</type> <defaut>NOSCAN</defaut> </souscat> <souscat name="afficher_fichier_cache" > - <name>Afficher les fichiers cach\xE9s dans les explorateurs</name> + <name>Afficher les fichiers cach&eacute;s dans les explorateurs</name> <type>boolean</type> <defaut>non</defaut> </souscat> <souscat name="nettoyer" > - <name>Chaines de caract\xE8res supprim\xE9es dans le nom des films pour une recherche plus ais\xE9e d'information sur internet</name> + <name>Chaines de caract&egrave;res supprim&eacute;es dans le nom des films pour une recherche plus ais&eacute;e d'information sur internet</name> <type>text</type> <defaut>cd1,cd2,divx,dvdrip,_,FRENCH,FR,VOSTFR,Vostfr</defaut> </souscat> <souscat name="liste_amc_defaut" > - <name>Dossier contenant le fichier a scanner pour importer les donn\xE9es du logiciel Ant Movie Catalogue.</name> + <name>Dossier contenant le fichier a scanner pour importer les donn&eacute;es du logiciel Ant Movie Catalogue.</name> <type>text</type> <defaut1>C:\Program Files\Ant Movie Catalog\Catalogs</defaut1> <defaut2>/</defaut2> </souscat> <souscat name="nom_amc_defaut" > - <name>Nom du fichier Ant Movie Catalogue au format XML qui doit \xEAtre scann\xE9.</name> + <name>Nom du fichier Ant Movie Catalogue au format XML qui doit &eacute;tre scann&eacute;.</name> <type>text</type> <defaut1>exemple.xml</defaut1> <defaut2>/</defaut2> </souscat> <souscat name="image_amc_defaut" > - <name>Dossier contenant les images g\xE9n\xE9r\xE9es lors de la sauvegarde du fichier XML par Ant Movie Catalogue.</name> + <name>Dossier contenant les images g&eacute;n&eacute;r&eacute;es lors de la sauvegarde du fichier XML par Ant Movie Catalogue.</name> <type>text</type> <defaut1>C:\Program Files\Ant Movie Catalog\Catalogs</defaut1> <defaut2>/</defaut2> @@ -91,11 +91,11 @@ <type>options</type> <option> <choix> - <nom>Sortie TV transcod\xE9e (St\xE9r\xE9o)</nom> + <nom>Sortie TV transcod&eacute;e (St&eacute;r&eacute;o)</nom> <titre>TV</titre> </choix> <choix> - <nom>Sortie TV non-transcod\xE9e (AC3)</nom> + <nom>Sortie TV non-transcod&eacute;e (AC3)</nom> <titre>AC3</titre> </choix> <choix> @@ -106,13 +106,13 @@ <defaut>TV</defaut> </souscat> <souscat name="compensation" > - <name>Permet de d\xE9caler la bande son pour qu'elle commence apr\xE8s la vid\xE9o (\xE0 utiliser quand le son sort de la carte son du PC et que le son est d\xE9cal\xE9 sinon mettre \xE0 0) (en millisecondes)</name> + <name>Permet de d&eacute;caler la bande son pour qu'elle commence apr&egrave;s la vid&eacute;o (&agrave; utiliser quand le son sort de la carte son du PC et que le son est d&eacute;cal&eacute; sinon mettre &agrave; 0) (en millisecondes)</name> <type>text</type> <typeplus>numeric</typeplus> <defaut>0</defaut> </souscat> <souscat name="qualite" > - <name>Selectionnez ici le profil de qualit\xE9 de VLC</name> + <name>Selectionnez ici le profil de qualit&eacute; de VLC</name> <type>options</type> <option> <choix> @@ -120,11 +120,11 @@ <titre>play.html</titre> </choix> <choix> - <nom>Wifi et ordinateurs moyens (les d\xE9bits sont un peu diminu\xE9s, \xE0 essayer en cas de lags l\xE9gers)</nom> + <nom>Wifi et ordinateurs moyens (les d&eacute;bits sont un peu diminu&eacute;s, &agrave; essayer en cas de lags l&eacute;gers)</nom> <titre>play-wifi.html</titre> </choix> <choix> - <nom>Wifi difficile et ordinateurs peu puissants (les d\xE9bits sont pas mal diminu\xE9s, \xE0 essayer en cas de lags importants)</nom> + <nom>Wifi difficile et ordinateurs peu puissants (les d&eacute;bits sont pas mal diminu&eacute;s, &agrave; essayer en cas de lags importants)</nom> <titre>play-low.html</titre> </choix> </option> @@ -138,7 +138,7 @@ <defaut/> </souscat> <souscat name="service_port" > - <name>Port sur lequel Easy-Box se connecte \xE0 votre serveur mail</name> + <name>Port sur lequel Easy-Box se connecte &agrave; votre serveur mail</name> <type>text</type> <typeplus>numeric</typeplus> <defaut>110</defaut> @@ -149,20 +149,20 @@ <defaut/> </souscat> <souscat name="pass" > - <name>Mot de passe pour vous connecter \xE0 votre compte mail</name> + <name>Mot de passe pour vous connecter &agrave; votre compte mail</name> <type>password</type> <defaut/> </souscat> </categorie> <categorie name="messagerie" > <souscat name="compte" > - <name>Num\xE9ro de votre compte Free Haut-D\xE9bit (inutilis\xE9 pour l'instant)</name> + <name>Num&eacute;ro de votre compte Free Haut-D&eacute;bit (inutilis&eacute; pour l'instant)</name> <type>text</type> <typeplus>numeric</typeplus> <defaut/> </souscat> <souscat name="motdepasse" > - <name>Mot de passe de votre compte Free Haut-D\xE9bit (inutilis\xE9 pour l'instant)</name> + <name>Mot de passe de votre compte Free Haut-D&eacute;bit (inutilis&eacute; pour l'instant)</name> <type>password</type> <defaut/> </souscat> @@ -183,31 +183,31 @@ </categorie> <categorie name="download" > <souscat name="patch" > - <name>Chemin o\xF9 sont stock\xE9es les mises \xE0 jour</name> + <name>Chemin o&ugrave; sont stock&eacute;es les mises &agrave; jour</name> <type>text</type> <defaut>http://www.easybox-mod.org/modules/addon/</defaut> </souscat> <souscat name="xml" > - <name>Chemin vers le fichier listant les mises \xE0 jour</name> + <name>Chemin vers le fichier listant les mises &agrave; jour</name> <type>text</type> <defaut>http://www.easybox-mod.org/genxml.php</defaut> </souscat> </categorie> <categorie name="demarrage" > <souscat name="demarrage" > - <name>Modifier la page de d\xE9marrage</name> + <name>Modifier la page de d&eacute;marrage</name> <type>hidden</type> <defaut>_menu/menu.php</defaut> </souscat> </categorie> <categorie name="utilisateur" > <souscat name="actif" > - <name>Activer la gestion des login de connexion \xE0 Easy-Box</name> + <name>Activer la gestion des login de connexion &agrave; Easy-Box</name> <type>boolean</type> <defaut>non</defaut> </souscat> <souscat name="namelevel5" > - <name>Nom de l'acces niveau 5 (le plus haut grade, permet d'acc\xE9der \xE0 tous les modules et \xE0 la configuration \xE0 tout)</name> + <name>Nom de l'acces niveau 5 (le plus haut grade, permet d'acc&egrave;der &agrave; tous les modules et &agrave; la configuration &agrave; tout)</name> <type>text</type> <defaut>Admin</defaut> </souscat> @@ -218,7 +218,7 @@ <defaut/> </souscat> <souscat name="namelevel4" > - <name>Nom de l'acces niveau 4 - En laissant le nom vide, ce niveau d'acces sera supprim\xE9</name> + <name>Nom de l'acces niveau 4 - En laissant le nom vide, ce niveau d'acces sera supprim&eacute;</name> <type>text</type> <defaut/> </souscat> @@ -229,7 +229,7 @@ <defaut/> </souscat> <souscat name="namelevel3" > - <name>Nom de l'acces niveau 3 - En laissant le nom vide, ce niveau d'acces sera supprim\xE9</name> + <name>Nom de l'acces niveau 3 - En laissant le nom vide, ce niveau d'acces sera supprim&eacute;</name> <type>text</type> <defaut/> </souscat> @@ -240,7 +240,7 @@ <defaut/> </souscat> <souscat name="namelevel2" > - <name>Nom de l'acces niveau 2 - En laissant le nom vide, ce niveau d'acces sera supprim\xE9</name> + <name>Nom de l'acces niveau 2 - En laissant le nom vide, ce niveau d'acces sera supprim&eacute;</name> <type>text</type> <defaut/> </souscat> @@ -251,7 +251,7 @@ <defaut/> </souscat> <souscat name="namelevel1" > - <name>Nom de l'acces niveau 1 (le plus petit grade, acc\xE8s le plus control\xE9) - En laissant le nom vide, ce niveau d'acces sera supprim\xE9</name> + <name>Nom de l'acces niveau 1 (le plus petit grade, acc&egrave;s le plus control&eacute;) - En laissant le nom vide, ce niveau d'acc&egrave;s sera supprim&eacute;</name> <type>text</type> <defaut/> </souscat> @@ -311,7 +311,7 @@ </categorie> <categorie name="multiposte" > <souscat name="muxer" > - <name>Muxer \xE0 utiliser pour l'enregistrement</name> + <name>Muxer &agrave; utiliser pour l'enregistrement</name> <type>options</type> <option> <choix> @@ -354,7 +354,7 @@ <defaut>ps</defaut> </souscat> <souscat name="cvid" > - <name>Codec vid\xE9o</name> + <name>Codec vid&eacute;o</name> <type>options</type> <option> <choix> @@ -460,7 +460,7 @@ <defaut>none</defaut> </souscat> <souscat name="bvid" > - <name>Bitrate vid\xE9o</name> + <name>Bitrate vid&eacute;o</name> <type>text</type> <typeplus>numeric</typeplus> <defaut>2000</defaut> @@ -472,7 +472,7 @@ <defaut>256</defaut> </souscat> <souscat name="multiposte" > - <name>Disque \xE0 la base duquel sont mis les enregistrements vid\xE9o</name> + <name>Disque &agrave; la base duquel sont mis les enregistrements vid&eacute;o</name> <type>dvd</type> <defaut>c:</defaut> </souscat> @@ -489,14 +489,14 @@ <defaut>60</defaut> </souscat> <souscat name="scr_temps" > - <name>D\xE9lais entre le changement d'image (0 = al\xE9atoire)</name> + <name>D&eacute;lais entre le changement d'image (0 = al&eacute;atoire)</name> <type>text</type> <defaut>0</defaut> </souscat> </categorie> <categorie name="modules" > <souscat name="afficher_categories" > - <name>Afficher les cat\xE9gories dans le menu principal.</name> + <name>Afficher les cat&eacute;gories dans le menu principal.</name> <type>boolean</type> <defaut>oui</defaut> </souscat> Modified: trunk/configuration/general.php =================================================================== --- trunk/configuration/general.php 2007-03-04 10:24:49 UTC (rev 91) +++ trunk/configuration/general.php 2007-03-07 06:38:57 UTC (rev 92) @@ -53,9 +53,9 @@ foreach($ici->souscat as $soucate){ if ($soucate['name'] == $subkey) $icisous=$soucate; } - $name = utf8_decode($icisous->name); - $type = utf8_decode($icisous->type); - $typeplus = utf8_decode($icisous->typeplus); + $name = $icisous->name; + $type = $icisous->type; + $typeplus = $icisous->typeplus; $affichepage[$numero_id].=<<<EOD <tr> @@ -178,12 +178,12 @@ EOD; $affichepage[$numero_id].='<option value="."'; if($entry==".") { $affichepage[$numero_id].='selected'; } - $affichepage[$numero_id].='>Pas Utilis\xE9</option>'; + $affichepage[$numero_id].='>Pas Utilisé</option>'; foreach($MOD as $module){ $affichepage[$numero_id].= '<option value="'.$module['repertoire'].$module['lien'].'"'; if($entry==$module['repertoire'].$module['lien']) { $affichepage[$numero_id].='selected'; } - $affichepage[$numero_id].= '>'.$module['nom'].'</option>'; + $affichepage[$numero_id].= '>'.htmlentities($module['nom']).'</option>'; } $db = sqlite_open('../_utilisateur/utilisateur.db', 0666); Modified: trunk/configuration/index1.php =================================================================== --- trunk/configuration/index1.php 2007-03-04 10:24:49 UTC (rev 91) +++ trunk/configuration/index1.php 2007-03-07 06:38:57 UTC (rev 92) @@ -175,7 +175,7 @@ if ($_REQUEST['page']) $page=$_REQUEST['page']; -$titre=array("Général","Permissions","Skin","Démarrage","Scan","T\xE9l\xE9chargement","Agenda","RSS","Podcast","Screensaver","Site web"); +$titre=array("Général","Permissions","Skin","Démarrage","Scan","Téléchargement","Agenda","RSS","Podcast","Screensaver","Site web"); $b_menu=array(); $i=0; Modified: trunk/http-vlc/lecteur/play.html =================================================================== --- trunk/http-vlc/lecteur/play.html 2007-03-04 10:24:49 UTC (rev 91) +++ trunk/http-vlc/lecteur/play.html 2007-03-07 06:38:57 UTC (rev 92) @@ -1,46 +1,46 @@ -<!-- R\xE9cup\xE9ration des variables --> +<!-- Recuperation des variables --> <vlc id="rpn" param1="mrl 'mrl' url_extract store" /> <vlc id="rpn" param1="type 'type' url_extract store" /> <vlc id="rpn" param1="qfile '\'' mrl value strcat '\'' strcat store" /> -<!-- Fichiers vid\xE9os --> +<!-- Fichiers videos --> <!-- audio/video Lecture d'un fichier dans la playlist - Type 0 --> <vlc id="if" param1="type value 0 =" /> <vlc id="rpn" param1="mrl value vlc_play" /> <vlc id="end" /> -<!-- audio/video jou\xE9 et transcod\xE9 normalement TV - Type 1 --> +<!-- audio/video joue et transcode normalement TV - Type 1 --> <vlc id="if" param1="type value 1 =" /> <vlc id="rpn" param1="vlc_stop" /> <vlc id="rpn" param1="playlist_empty" /> <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-acodec=mpga :sout-transcode-ab=256 :sout-transcode-channels=2 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay' strcat mrl value playlist_add vlc_play" /> <vlc id="end" /> -<!-- audio/video ajout\xE9 et transcod\xE9 normalement TV - Type 2 --> +<!-- audio/video ajoute et transcode normalement TV - Type 2 --> <vlc id="if" param1="type value 2 =" /> <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-acodec=mpga :sout-transcode-ab=256 :sout-transcode-channels=2 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay' strcat mrl value playlist_add" /> <vlc id="end" /> -<!-- audio/video jou\xE9 et transcod\xE9 avec sortie sur PC - Type 3 --> +<!-- audio/video joue et transcode avec sortie sur PC - Type 3 --> <vlc id="if" param1="type value 3 =" /> <vlc id="rpn" param1="vlc_stop" /> <vlc id="rpn" param1="playlist_empty" /> <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout=#duplicate{dst=transcode:std,select=video,dst=display,select=audio} :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-acodec=a52 :sout-transcode-ab=512 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay' strcat mrl value playlist_add vlc_play" /> <vlc id="end" /> -<!-- audio/video ajout\xE9 et transcod\xE9 avec sortie sur PC - Type 4 --> +<!-- audio/video ajoute et transcode avec sortie sur PC - Type 4 --> <vlc id="if" param1="type value 4 =" /> <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout=#duplicate{dst=transcode:std,select=video,dst=display,select=audio} :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-acodec=a52 :sout-transcode-ab=512 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay' strcat mrl value playlist_add" /> <vlc id="end" /> -<!-- audio/video jou\xE9 et transcod\xE9 avec sortie en AC3 - Type 5 --> +<!-- audio/video joue et transcode avec sortie en AC3 - Type 5 --> <vlc id="if" param1="type value 5 =" /> <vlc id="rpn" param1="vlc_stop" /> <vlc id="rpn" param1="playlist_empty" /> <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-ab=512 :sout-transcode-channels=6 :sout-transcode-acodec=a52 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay' strcat mrl value playlist_add vlc_play" /> <vlc id="end" /> -<!-- audio/video ajout\xE9 et transcod\xE9 avec sortie en AC3 - Type 6 --> +<!-- audio/video ajoute et transcode avec sortie en AC3 - Type 6 --> <vlc id="if" param1="type value 6 =" /> <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-ab=512 :sout-transcode-channels=6 :sout-transcode-acodec=a52 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay' strcat mrl value playlist_add" /> <vlc id="end" /> @@ -54,7 +54,7 @@ <!-- Fichiers photos --> -<!-- photo jou\xE9e normalement - Type 20 --> +<!-- photo jouee normalement - Type 20 --> <vlc id="if" param1="type value 20 =" /> <vlc id="rpn" param1="0 loop 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> <vlc id="rpn" param1="0 random 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> @@ -66,7 +66,7 @@ <vlc id="end" /> -<!-- photo ajout\xE9e normalement - Type 21 --> +<!-- photo ajoutee normalement - Type 21 --> <vlc id="if" param1="type value 21 =" /> <vlc id="rpn" param1="0 loop 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> <vlc id="rpn" param1="0 random 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> @@ -76,7 +76,7 @@ <vlc id="end" /> -<!-- playlist de photo jou\xE9e normalement - Type 22 --> +<!-- playlist de photo jouee normalement - Type 22 --> <vlc id="if" param1="type value 22 =" /> <vlc id="rpn" param1="vlc_stop" /> <vlc id="rpn" param1="playlist_empty" /> @@ -87,7 +87,7 @@ <vlc id="rpn" param1="qfile value mrl value playlist_add vlc_play" /> <vlc id="end" /> -<!-- playlist de photo ajout\xE9e normalement - Type 23 --> +<!-- playlist de photo ajoutee normalement - Type 23 --> <vlc id="if" param1="type value 23 =" /> <vlc id="rpn" param1="0 loop 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> <vlc id="rpn" param1="0 random 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> @@ -99,38 +99,38 @@ <!-- DVDs --> -<!-- dvd jou\xE9 normalement - transcodage audio - Type 30 --> +<!-- dvd joue normalement - transcodage audio - Type 30 --> <vlc id="if" param1="type value 30 =" /> <vlc id="rpn" param1="vlc_stop" /> <vlc id="rpn" param1="playlist_empty" /> <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-ab=256 :sout-transcode-acodec=mpga :sout-transcode-channels=2 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add vlc_play" /> <vlc id="end" /> -<!-- dvd jou\xE9 normalement - sortie audio PC - Type 31 --> +<!-- dvd joue normalement - sortie audio PC - Type 31 --> <vlc id="if" param1="type value 31 =" /> <vlc id="rpn" param1="vlc_stop" /> <vlc id="rpn" param1="playlist_empty" /> <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout=#duplicate{dst=transcode:std,select=video,dst=display,select=audio} :sout-transcode-ab=512 :sout-transcode-acodec=a52 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add vlc_play" /> <vlc id="end" /> -<!-- dvd jou\xE9 normalement - Sortie AC3 audio - Type 32 --> +<!-- dvd joue normalement - Sortie AC3 audio - Type 32 --> <vlc id="if" param1="type value 32 =" /> <vlc id="rpn" param1="vlc_stop" /> <vlc id="rpn" param1="playlist_empty" /> <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-ab=512 :sout-transcode-acodec=a52 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add vlc_play" /> <vlc id="end" /> -<!-- dvd ajout\xE9 normalement - transcodage audio - Type 33 --> +<!-- dvd ajoute normalement - transcodage audio - Type 33 --> <vlc id="if" param1="type value 33 =" /> <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-ab=256 :sout-transcode-acodec=mpga :sout-transcode-channels=2 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add" /> <vlc id="end" /> -<!-- dvd ajout\xE9 normalement - sortie audio PC - Type 34 --> +<!-- dvd ajoute normalement - sortie audio PC - Type 34 --> <vlc id="if" param1="type value 34 =" /> <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout=#duplicate{dst=transcode:std,select=video,dst=display,select=audio} :sout-transcode-ab=512 :sout-transcode-acodec=a52 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add" /> <vlc id="end" /> -<!-- dvd ajout\xE9 normalement - Sortie AC3 audio - Type 35 --> +<!-- dvd ajoute normalement - Sortie AC3 audio - Type 35 --> <vlc id="if" param1="type value 35 =" /> <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-ab=512 :sout-transcode-acodec=a52 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add" /> <vlc id="end" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2007-03-04 10:24:52
|
Revision: 91 http://svn.sourceforge.net/easybox-mod/?rev=91&view=rev Author: aragornis Date: 2007-03-04 02:24:49 -0800 (Sun, 04 Mar 2007) Log Message: ----------- test pour nunux Modified Paths: -------------- trunk/http-vlc/lecteur/play.html Modified: trunk/http-vlc/lecteur/play.html =================================================================== --- trunk/http-vlc/lecteur/play.html 2007-03-04 08:05:32 UTC (rev 90) +++ trunk/http-vlc/lecteur/play.html 2007-03-04 10:24:49 UTC (rev 91) @@ -62,7 +62,7 @@ <vlc id="rpn" param1="vlc_stop" /> <vlc id="rpn" param1="playlist_empty" /> <vlc id="rpn" param1="'temps' url_extract 'fake-duration' vlc_config_set" /> - <vlc id="rpn" param1="'fake: :sout=#transcode:std :sout-transcode-width=480 :sout-transcode-height=576 :sout-transcode-vb=4096 :sout-transcode-vcodec=mp2v :sout-transcode-vfilter=deinterlace :sout-deinterlace-mode=blend :sout-transcode-vb=9000 :sout-transcode-vcodec=mp2v :sout-ffmpeg-keyint=8 :sout-ffmpeg-interlace :no-sout-ffmpeg-interlace-me :fake-aspect-ratio=4:3 :fake-keep-ar :fake-deinterlace :deinterlace-mode=blend :fake-file=' mrl value strcat mrl value playlist_add vlc_play" /> + <vlc id="rpn" param1="'fake: :sout=#transcode:std :sout-transcode-width=720 :sout-transcode-height=576 :sout-transcode-vb=4096 :sout-transcode-vcodec=mp2v :sout-transcode-vfilter=deinterlace :sout-deinterlace-mode=blend :sout-transcode-vb=9000 :sout-transcode-vcodec=mp2v :sout-ffmpeg-keyint=8 :sout-ffmpeg-interlace :no-sout-ffmpeg-interlace-me :fake-aspect-ratio=4:3 :fake-keep-ar :fake-deinterlace :deinterlace-mode=blend :fake-file=' mrl value strcat mrl value playlist_add vlc_play" /> <vlc id="end" /> @@ -72,7 +72,7 @@ <vlc id="rpn" param1="0 random 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> <vlc id="rpn" param1="0 repeat 'VLC_OBJECT_PLAYLIST' vlc_var_set"/> <vlc id="rpn" param1="'temps' url_extract 'fake-duration' vlc_config_set" /> - <vlc id="rpn" param1="'fake: :sout=#transcode:std :sout-transcode-width=480 :sout-transcode-height=576 :sout-transcode-vb=4096 :sout-transcode-vcodec=mp2v :sout-transcode-vfilter=deinterlace :sout-deinterlace-mode=blend :sout-transcode-vb=9000 :sout-transcode-vcodec=mp2v :sout-ffmpeg-keyint=8 :sout-ffmpeg-interlace :no-sout-ffmpeg-interlace-me :fake-aspect-ratio=4:3 :fake-keep-ar :fake-deinterlace :deinterlace-mode=blend :fake-file=' mrl value strcat mrl value playlist_add" /> + <vlc id="rpn" param1="'fake: :sout=#transcode:std :sout-transcode-width=720 :sout-transcode-height=576 :sout-transcode-vb=4096 :sout-transcode-vcodec=mp2v :sout-transcode-vfilter=deinterlace :sout-deinterlace-mode=blend :sout-transcode-vb=9000 :sout-transcode-vcodec=mp2v :sout-ffmpeg-keyint=8 :sout-ffmpeg-interlace :no-sout-ffmpeg-interlace-me :fake-aspect-ratio=4:3 :fake-keep-ar :fake-deinterlace :deinterlace-mode=blend :fake-file=' mrl value strcat mrl value playlist_add" /> <vlc id="end" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2007-03-04 08:05:34
|
Revision: 90 http://svn.sourceforge.net/easybox-mod/?rev=90&view=rev Author: aragornis Date: 2007-03-04 00:05:32 -0800 (Sun, 04 Mar 2007) Log Message: ----------- re Removed Paths: ------------- trunk/module/guidetv/class.collection.php trunk/module/guidetv/class.phxmltvparser.php trunk/module/guidetv/class.prgdata.php trunk/module/guidetv/class.prgitem.php trunk/module/guidetv/phxpconfig.php Deleted: trunk/module/guidetv/class.collection.php =================================================================== --- trunk/module/guidetv/class.collection.php 2007-03-04 08:04:56 UTC (rev 89) +++ trunk/module/guidetv/class.collection.php 2007-03-04 08:05:32 UTC (rev 90) @@ -1,56 +0,0 @@ -<?php - - class collection - { - var $idxMax; - var $idxAct; - var $arrData; - - - function collection() - { - $this->arrData = array(); - $this->idxMax = -1; - $this->idxAct = 0; - } - - function getFirst() - { - $this->idxAct = 0; - - if ($this->idxAct <= $this->idxMax) - return($this->arrData[$this->idxAct]); - else - return(NULL); - } - - function getNext() - { - $this->idxAct++; - - if ($this->idxAct <= $this->idxMax) - return($this->arrData[$this->idxAct]); - else - return(NULL); - } - - - function add($data) - { - if(!is_null($data)) { - if(array_search($data, $this->arrData) === FALSE) { - //echo "($data)<br>"; - $this->idxMax++; - - $this->arrData[$this->idxMax] = $data; - } - } - } - - function sort($sOption = SORT_STRING) - { - sort($this->arrData, $sOption); - } - -} -?> \ No newline at end of file Deleted: trunk/module/guidetv/class.phxmltvparser.php =================================================================== --- trunk/module/guidetv/class.phxmltvparser.php 2007-03-04 08:04:56 UTC (rev 89) +++ trunk/module/guidetv/class.phxmltvparser.php 2007-03-04 08:05:32 UTC (rev 90) @@ -1,172 +0,0 @@ -<?php -include "class.prgdata.php"; -include_once "phxpconfig.php"; - -class PHxmltvParser -{ - var $prgs; - var $tag; - var $attr; - var $wntdDate; - var $start; - var $date; - - - function PHxmltvParser() - { - $this->prgs = new prgdata; - } - - function getPrgDataObj() - { - return($this->prgs); - } - - function setDate($strVal) { - $this->wntdDate = $strVal; - } - - function getTime($strDateTime) - { - return(mktime(substr($strDateTime, 8, 2), substr($strDateTime, 10, 2), 0, substr($strDateTime, 4, 2), substr($strDateTime, 6, 2), substr($strDateTime, 0, 4))); - } - - function getDate($strDateTime) - { - return(mktime(0, 0, 0, substr($strDateTime, 4, 2), substr($strDateTime, 6, 2), substr($strDateTime, 0, 4))); - } - - function isDateWanted($date) { - if(isset($this->wntdDate)) { - if($date == $this->wntdDate) - return(true); - else - return(false); - } - else { - return(true); - } - } - - -//-------------------------------------------------------------------------------------------------------------------------------------- -//--- the parser -------- - - - function start_element($parser, $tag, $attributes) - { - $this->tag = $tag; - - switch($tag) { - case "programme": - $this->start = $this->getTime($attributes['start']); - $this->date = $this->getDate($attributes['start']); - - if($this->isDateWanted($this->date)) { - $channel = getChanName($attributes['channel']); - - $this->prgs->addPrgData($channel, $this->date, $this->start, $this->getTime($attributes['stop'])); - } - break; - - case "title": - $this->attr = $attributes; - break; - - case "sub-title": - $this->attr = $attributes; - break; - - case "category": - $this->attr = $attributes; - break; - - case "desc": - $this->desc = $attributes; - break; - - case "icon": - $this->prgs->setIcone($attributes['src']); - break; - - case "star-rating": - $this->starrating = true; - break; - } - } - - - - function end_element($parser, $tag) - { - - switch($tag) { - case "star-rating": - $this->starrating = false; - break; - } - - } - - - - function character_data($parser, $data) - { - -// echo '++' . $this->tag.'++' . $data.'<BR>'; - if($this->isDateWanted($this->date)) { - if(strlen(trim($data)) > 0) { - - switch($this->tag) { - case "title": - $this->prgs->setTitle($data); - break; - - case "sub-title": - $this->prgs->setSubTitle($data); - break; - - case "category": - $this->prgs->setCategory($data); - break; - - case "desc": - $this->prgs->setDesc($data); - break; - - case "episode-num": - $this->prgs->setEpisode($data); - break; - - case "director": - $this->prgs->setDirector($data); - break; - - case "actor": - $this->prgs->setActor($data); - break; - - case "length": - $this->prgs->setLenght($data); - break; - - case "presenter": - $this->prgs->setPresentateur($data); - break; - - case "value": - if($this->starrating){ - $this->prgs->setNote($data); - } - break; - - } - } - } - } - -//--- End Parser ----------- -//-------------------------------------------------------------------------------------------------------------------------------------- - -} -?> Deleted: trunk/module/guidetv/class.prgdata.php =================================================================== --- trunk/module/guidetv/class.prgdata.php 2007-03-04 08:04:56 UTC (rev 89) +++ trunk/module/guidetv/class.prgdata.php 2007-03-04 08:05:32 UTC (rev 90) @@ -1,138 +0,0 @@ -<?php - include("class.prgitem.php"); - - class prgdata - { - var $idxMax; - var $idxAct; - var $arrData; - var $actItem; - - - - function prgdata() - { - $this->arrData = array(); - $this->idxMax = -1; - $this->idxAct = 0; - } - - function getFirst() - { - $this->idxAct = 0; - - if ($this->idxAct <= $this->idxMax) - return($this->arrData[$this->idxAct]); - else - return(NULL); - } - - function getNext() - { - $this->idxAct++; - - if ($this->idxAct <= $this->idxMax) - return($this->arrData[$this->idxAct]); - else - return(NULL); - } - - - function addPrgData($channel, $date, $start, $stop) - { - $this->idxMax++; - - $this->arrData[$this->idxMax] = new prgitem; - - $this->actItem = &$this->arrData[$this->idxMax]; - - $this->actItem->channel = $channel; - $this->actItem->start = $start; - $this->actItem->stop = $stop; - $this->actItem->date = $date; - } - - - - function setTitle($value) - { - $this->actItem->title .= $value; - } - - function setSubTitle($value) - { - $this->actItem->subtitle .= $value; - } - - - function setDesc($value) - { - $ereg = 'Presse<\/a> <img src="http:\/\/a69.g.akamai.net\/n\/69\/10688\/v1\/img5.allocine.fr\/acmedia\/skin\/allocinev5\/icone\/etoile_(.{1,3}).gif" border="0" title="'; - preg_match("/$ereg/s", $filmrecherche, $valeur); - - $this->actItem->desc .= ereg_replace('{(.*)}', '', $value); - } - - function setCategory($value) - { - if($this->actItem->category!='' AND !in_array(strtolower(utf8_decode($value{0})),array('\xE9','\xEE','\xF4','\xE0','\xF9','\xE8','\xE7','\xEA','\xEE','\xFB'))){$this->actItem->category .= ', ';} - $this->actItem->category .= $value; - } - - function setEpisode($value) - { - $this->actItem->episode .= $value; - } - - function setDirector($value) - { - if($this->actItem->director!='' AND !in_array(strtolower(utf8_decode($value{0})),array('\xE9','\xEE','\xF4','\xE0','\xF9','\xE8','\xE7','\xEA','\xEE','\xFB'))){$this->actItem->director .= ', ';} - $this->actItem->director .= $value; - } - - function setLenght($value) - { - $this->actItem->lenght = $value; - } - - function setPresentateur($value) - { - if($this->actItem->presentateur!='' AND !in_array(strtolower(utf8_decode($value{0})),array('\xE9','\xEE','\xF4','\xE0','\xF9','\xE8','\xE7','\xEA','\xEE','\xFB'))){$this->actItem->presentateur .= ', ';} - $this->actItem->presentateur .= $value; - } - - function setActor($value) - { - if($this->actItem->acteur!='' AND !in_array(strtolower(utf8_decode($value{0})),array('\xE9','\xEE','\xF4','\xE0','\xF9','\xE8','\xE7','\xEA','\xEE','\xFB'))){$this->actItem->acteur .= ', ';} - $this->actItem->acteur .= $value; - - } - - function setNote($value) - { - $note = explode('/', $value); - $this->actItem->note = $note[0]; - - } - - function setIcone($value) - { - if(!eregi('telepoche.guidetele.com', $value)){ - $this->actItem->icon = $value; } - - } - - function cmpDateTime($a, $b) - { - if (($a->date . $a->start) == ($b->date . $b->start)) { - return 0; - } - return (($a->date . $a->start) < ($b->date . $b->start)) ? -1 : 1; - } - - function orderByDateTime() - { - usort($this->arrData, array("prgdata", "cmpDateTime")); - } -} -?> Deleted: trunk/module/guidetv/class.prgitem.php =================================================================== --- trunk/module/guidetv/class.prgitem.php 2007-03-04 08:04:56 UTC (rev 89) +++ trunk/module/guidetv/class.prgitem.php 2007-03-04 08:05:32 UTC (rev 90) @@ -1,41 +0,0 @@ -<?php - -class prgitem -{ - var $channel; - var $date; - var $start; - var $stop; - var $title; - var $subtitle; - var $desc; - var $category; - var $episode; - var $director; - var $lenght; - var $presentateur; - var $acteur; - var $note; - var $icon; - - function formatStartTime() - { - return(substr($this->start, 0, 2) . ":" . substr($this->start, 2, 2)); - } - - function formatStopTime() - { - return(substr($this->stop, 0, 2) . ":" . substr($this->stop, 2, 2)); - } - - function formatDate($date) - { - if(!isset($date)) - $date = $this->date; - - return(substr($date, 6, 2) . "." . substr($date, 4, 2) . "." . substr($date, 0, 4)); - } - -} - -?> Deleted: trunk/module/guidetv/phxpconfig.php =================================================================== --- trunk/module/guidetv/phxpconfig.php 2007-03-04 08:04:56 UTC (rev 89) +++ trunk/module/guidetv/phxpconfig.php 2007-03-04 08:05:32 UTC (rev 90) @@ -1,195 +0,0 @@ -<?php - define(PHXP_VERSION, "0.1"); //version information - define(OPT_ALL, "--- Tous ---"); //combo item to select ALL results - define(EPISODE, "Episode"); //label for episode - define(CPT_SEARCH_BTN, "Chercher"); //caption for search button - define(PRG_CALL, "../neu.php?action=show"); //which script should be called if you click on a title - define(PARSER_LANG, "fr"); //some tags have a lang attribute, set this to your prefered language - - -//this function translates channel ids to channel names - function getChanName($id) - { - switch($id) { - case "C3sat.de": - $name = "3Sat"; - break; - - case "ard.de": - $name = "ARD"; - break; - - case "arte-tv.com": - $name = "arte"; - break; - - case "C3.br-online.de": - $name = "BR"; - break; - - case "kabel1.de": - $name = "Kabel1"; - break; - - case "mtv.de": - $name = "MTV"; - break; - - case "mtv2.de": - $name = "MTV2"; - break; - - case "n24.de": - $name = "N24"; - break; - - case "ndr.de": - $name = "N3"; - break; - - case "C2.orf.at": - $name = "ORF2"; - break; - - case "phoenix.de": - $name = "Phoenix"; - break; - - case "prosieben.de": - $name = "Pro7"; - break; - - case "rtl.de": - $name = "RTL"; - break; - - case "rtl2.de": - $name = "RTL2"; - break; - - case "sat1.de": - $name = "Sat1"; - break; - - case "superrtl.de": - $name = "SuperRTL"; - break; - - case "tvm.de": - $name = "TVM"; - break; - - case "viva.tv": - $name = "VIVA"; - break; - - case "vivaplus.tv": - $name = "VIVAPLUS"; - break; - - case "vox.de": - $name = "VOX"; - break; - - case "wdr.de": - $name = "WDR"; - break; - - case "zdf.de": - $name = "ZDF"; - break; - -//--- these are for test.xml only - case "bbc2.bbc.co.uk": - $name = "bbc2"; - break; - - case "channel4.com": - $name = "channel4"; - break; -//--------------------------------- - - case "C1.telepoche.com": - $name = "tf1"; - break; - case "C10.telepoche.com": - $name = "tv5"; - break; - case "C121.telepoche.com": - $name = "euronews"; - break; - case "C162.telepoche.com": - $name = "bloomberg"; - break; - case "C167.telepoche.com": - $name = "direct8"; - break; - case "C168.telepoche.com": - $name = "nt1"; - break; - case "C169.telepoche.com": - $name = "nrj12"; - break; - case "C170.telepoche.com": - $name = "parlement"; - break; - case "C193.telepoche.com": - $name = "europe2"; - break; - case "C194.telepoche.com": - $name = "bfm"; - break; - case "C195.telepoche.com": - $name = "gulli"; - break; - case "C2.telepoche.com": - $name = "france2"; - break; - case "C28.telepoche.com": - $name = "france4"; - break; - case "C3.telepoche.com": - $name = "france3"; - break; - case "C31.telepoche.com": - $name = "mtv"; - break; - case "C38.telepoche.com": - $name = "w9"; - break; - case "C4.telepoche.com": - $name = "canalplus"; - break; - case "C40.telepoche.com": - $name = "ab1"; - break; - case "C5.telepoche.com": - $name = "arte"; - break; - case "C6.telepoche.com": - $name = "m6"; - break; - case "C7.telepoche.com": - $name = "france5"; - break; - case "C8.telepoche.com": - $name = "rtl9"; - break; - case "C98.telepoche.com": - $name = "moteurs"; - break; - default: - echo $id; - $name = "!! unknown !!"; - break; - - - - - - } - - return($name); - } - -?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2007-03-04 08:04:58
|
Revision: 89 http://svn.sourceforge.net/easybox-mod/?rev=89&view=rev Author: aragornis Date: 2007-03-04 00:04:56 -0800 (Sun, 04 Mar 2007) Log Message: ----------- Petit oubli sur le scan Modified Paths: -------------- trunk/configuration/scan_video.php Removed Paths: ------------- trunk/_utilisateur/audiotemp.m3u trunk/_utilisateur/background.m3u Deleted: trunk/_utilisateur/audiotemp.m3u =================================================================== --- trunk/_utilisateur/audiotemp.m3u 2007-03-04 08:03:07 UTC (rev 88) +++ trunk/_utilisateur/audiotemp.m3u 2007-03-04 08:04:56 UTC (rev 89) @@ -1,26 +0,0 @@ -#EXTM3U - d:\Ma musique\Aldebert - Plateau télé\Aldebert - Plateau Télé - 01 - Vivement La Fin.mp3 - d:\Ma musique\Aldebert - Plateau télé\Aldebert - Plateau Télé - 02 - Plateau Tele.mp3 - d:\Ma musique\Aldebert - Plateau télé\Aldebert - Plateau Télé - 03 - Mathilde.mp3 - d:\Ma musique\Aldebert - Plateau télé\Aldebert - Plateau Télé - 04 - Cadaques.mp3 - d:\Ma musique\Aldebert - Plateau télé\Aldebert - Plateau Télé - 05 - Un Contrat Merveilleux.mp3 - d:\Ma musique\Aldebert - Plateau télé\Aldebert - Plateau Télé - 06 - Calculateurs.mp3 - d:\Ma musique\Aldebert - Plateau télé\Aldebert - Plateau Télé - 07 - Le Petit Chef.mp3 - d:\Ma musique\Aldebert - Plateau télé\Aldebert - Plateau Télé - 08 - Un Marriage T'reggae.mp3 - d:\Ma musique\Aldebert - Plateau télé\Aldebert - Plateau Télé - 09 - Le Manege (Live).mp3 - d:\Ma musique\Aldebert - Plateau télé\Aldebert - Plateau Télé - 10 - Tu T'amuses Quand (Live).mp3 - d:\Ma musique\Aldebert - Plateau télé\Aldebert - Plateau Télé - 11 - Besac (Live).mp3 - d:\Ma musique\Aldebert - Plateau télé\Aldebert - Plateau Télé - 12 - Vivement La Fin (Version Plage).mp3 - d:\Ma musique\Aldebert - Sur place ou a emporter\Aldebert - Sur Place Ou À Emporter - 01 - Saint'nitouche.mp3 - d:\Ma musique\Aldebert - Sur place ou a emporter\Aldebert - Sur Place Ou À Emporter - 02 - Tête En L'air.mp3 - d:\Ma musique\Aldebert - Sur place ou a emporter\Aldebert - Sur Place Ou À Emporter - 03 - La Méthode Couette.mp3 - d:\Ma musique\Aldebert - Sur place ou a emporter\Aldebert - Sur Place Ou À Emporter - 04 - Indélébile.mp3 - d:\Ma musique\Aldebert - Sur place ou a emporter\Aldebert - Sur Place Ou À Emporter - 05 - Rentrée Des Classes.mp3 - d:\Ma musique\Aldebert - Sur place ou a emporter\Aldebert - Sur Place Ou À Emporter - 06 - Sur Place Ou À Emporter.mp3 - d:\Ma musique\Aldebert - Sur place ou a emporter\Aldebert - Sur Place Ou À Emporter - 07 - La Dame Aux Camel Lights.mp3 - d:\Ma musique\Aldebert - Sur place ou a emporter\Aldebert - Sur Place Ou À Emporter - 08 - Casanova Ou Quasimodo.mp3 - d:\Ma musique\Aldebert - Sur place ou a emporter\Aldebert - Sur Place Ou À Emporter - 09 - Hypocondriaque.mp3 - d:\Ma musique\Aldebert - Sur place ou a emporter\Aldebert - Sur Place Ou À Emporter - 10 - Noctambule.mp3 - d:\Ma musique\Aldebert - Sur place ou a emporter\Aldebert - Sur Place Ou À Emporter - 11 - Rien Qu'un Été.mp3 - d:\Ma musique\Aldebert - Sur place ou a emporter\Aldebert - Sur Place Ou À Emporter - 12 - Petite Peine.mp3 - d:\Ma musique\fernando.mp3 \ No newline at end of file Deleted: trunk/_utilisateur/background.m3u =================================================================== --- trunk/_utilisateur/background.m3u 2007-03-04 08:03:07 UTC (rev 88) +++ trunk/_utilisateur/background.m3u 2007-03-04 08:04:56 UTC (rev 89) @@ -1,21 +0,0 @@ -#EXTM3U -#EXTM3U -#EXTINF:0,background -#EXTVLCOPT:sout=#transcode:std -#EXTVLCOPT:sout-transcode-width=480 -#EXTVLCOPT:sout-transcode-height=576 -#EXTVLCOPT:sout-transcode-vb=4800 -#EXTVLCOPT:sout-transcode-vcodec=mp2v -#EXTVLCOPT:sout-transcode-vfilter=deinterlace -#EXTVLCOPT:sout-deinterlace-mode=blend -#EXTVLCOPT:fake-file= -#EXTVLCOPT:sout-transcode-vb=9000 -#EXTVLCOPT:sout-transcode-vcodec=mp2v -#EXTVLCOPT:sout-ffmpeg-keyint=8 -#EXTVLCOPT:sout-ffmpeg-interlace -#EXTVLCOPT:no-sout-ffmpeg-interlace-me -#EXTVLCOPT:fake-aspect-ratio=4:3 -#EXTVLCOPT:fake-keep-ar -#EXTVLCOPT:fake-deinterlace -#EXTVLCOPT:deinterlace-mode=blend -fake: \ No newline at end of file Modified: trunk/configuration/scan_video.php =================================================================== --- trunk/configuration/scan_video.php 2007-03-04 08:03:07 UTC (rev 88) +++ trunk/configuration/scan_video.php 2007-03-04 08:04:56 UTC (rev 89) @@ -109,7 +109,7 @@ } } } - // echo '<meta http-equiv="refresh" content="0;url=index1.php?page=52&get_info=1">'."\n"; + echo '<meta http-equiv="refresh" content="0;url=index1.php?page=52&get_info=1">'."\n"; ?> <font size="3"> Liste des fichiers cr\xE9\xE9e... R\xE9cup\xE9ration des informations depuis allocin\xE9 (0%) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2007-03-04 08:03:09
|
Revision: 88 http://svn.sourceforge.net/easybox-mod/?rev=88&view=rev Author: aragornis Date: 2007-03-04 00:03:07 -0800 (Sun, 04 Mar 2007) Log Message: ----------- Mise ?\195?\160 jour du nom de la skin simple dans la cr?\195?\169ation du fichier configuration.ini Am?\195?\169lioration de l'arret d'enregistrement Correction d'un bug qui faisait se vider la base de donn?\195?\169es de vid?\195?\169os Modified Paths: -------------- trunk/_framework/img2fbx.php trunk/configuration/config.xml trunk/configuration/scan_video.php trunk/lecteur/stop_rec.php trunk/module/meteo/f2-france-512x384-j0pm.jpg trunk/module/meteo/f2-france-512x384-j1am.jpg trunk/module/meteo/f2-france-512x384-j1pm.jpg trunk/skin/simplegreen/couleur.conf trunk/version.html Added Paths: ----------- trunk/configuration/editrss.php trunk/module/guidetv/listechainetelepoche.txt Modified: trunk/_framework/img2fbx.php =================================================================== --- trunk/_framework/img2fbx.php 2007-03-03 21:43:07 UTC (rev 87) +++ trunk/_framework/img2fbx.php 2007-03-04 08:03:07 UTC (rev 88) @@ -3,14 +3,15 @@ $CACHE_IMAGE = $RACINE_REP."/_utilisateur/cache/"; $sURL=urldecode($_REQUEST['sURL']); + +list($width, $height, $type) = getimagesize($sURL); + if (isset($_REQUEST['nbcouleurs'])) { $nbcouleurs = $_REQUEST['nbcouleurs']; } else { $nbcouleurs = 128; } -list($width, $height, $type) = getimagesize($sURL); - function is_cached($url){ global $CACHE_IMAGE; if(file_exists($CACHE_IMAGE.md5($url).'.gif')){ @@ -44,6 +45,7 @@ } if(isset($_REQUEST['new_width']) && isset($_REQUEST['new_height'])){ + $colors_handle = ImageCreatetruecolor($_REQUEST['new_width'],$_REQUEST['new_height']); imagecopyresampled( $colors_handle, $oIm, 0, 0, 0, 0, $_REQUEST['new_width'], $_REQUEST['new_height'],$width, $height ); ImageTrueColorToPalette( $colors_handle, false, $nbcouleurs ); Modified: trunk/configuration/config.xml =================================================================== --- trunk/configuration/config.xml 2007-03-03 21:43:07 UTC (rev 87) +++ trunk/configuration/config.xml 2007-03-04 08:03:07 UTC (rev 88) @@ -178,7 +178,7 @@ <souscat name="skin" > <name>Skin par defaut</name> <type>hidden</type> - <defaut>simple</defaut> + <defaut>Simple</defaut> </souscat> </categorie> <categorie name="download" > Added: trunk/configuration/editrss.php =================================================================== --- trunk/configuration/editrss.php (rev 0) +++ trunk/configuration/editrss.php 2007-03-04 08:03:07 UTC (rev 88) @@ -0,0 +1,63 @@ +<HTML> +<HEAD> +<style type="text/css" class="tableau"> +<!-- +body { + margin-left: 0px; + margin-top: 0px; + margin-right: 0px; + margin-bottom: 0px; +} +body,td,th { + color: #000000; +} +.tableau { + background-color: #EEEEEE; + border: thin outset; +} +a:link { + color: #000000; + text-decoration: none; +} +a:visited { + text-decoration: none; + color: #000000; +} +a:hover { + text-decoration: none; + color: #999999; +} +a:active { + text-decoration: none; + color: #999999; +} + +--> +</style> +<?php +if(isset($_GET['id']) AND $_GET['id']>=0){ +$id = $_GET['id']; +}else{ +$id = '0'; +} + +?> +</HEAD> +<BODY> +Vous pouvez ici \xE9diter un flux RSS<br><br> +<form name="formnum1"> +Nom : <input type="text" value="" name="nom" id="nom" size="80" maxlenght="300"><br><br> +Adresse : <input type="text" value="" name="add" id="add" size="80" maxlenght="300"> <br><br> +Image : <input type="text" value="" name="image" id="image" size="80" maxlenght="300"><br><br> +Description : <input type="text" value="" name="description" id="description" size="80" maxlenght="300"> <br><br> +<input type="button" value="Modifier" onClick="window.opener.editchamp2('<?= $_GET['form']; ?>','<?= $_GET['select']; ?>','<?= $id; ?>',document.forms.formnum1.nom.value,document.forms.formnum1.add.value,document.forms.formnum1.image.value,document.forms.formnum1.description.value);window.close()"> +</form> + +<script language="javascript"> +document.forms.formnum1.nom.value = window.opener.document.forms.<?= $_GET['form']; ?>.list<?= $_GET['select']; ?>.options[<?= $id; ?>].text; +document.forms.formnum1.add.value = window.opener.document.forms.<?= $_GET['form']; ?>.list<?= $_GET['select']; ?>.options[<?= $id; ?>].value.split('|')[1]; +document.forms.formnum1.image.value = window.opener.document.forms.<?= $_GET['form']; ?>.list<?= $_GET['select']; ?>.options[<?= $id; ?>].value.split('|')[2]; +document.forms.formnum1.description.value = window.opener.document.forms.<?= $_GET['form']; ?>.list<?= $_GET['select']; ?>.options[<?= $id; ?>].value.split('|')[3]; +</script> +</BODY> +</HTML> Modified: trunk/configuration/scan_video.php =================================================================== --- trunk/configuration/scan_video.php 2007-03-03 21:43:07 UTC (rev 87) +++ trunk/configuration/scan_video.php 2007-03-04 08:03:07 UTC (rev 88) @@ -4,6 +4,10 @@ <?php include("../_framework/lib/get_info.php"); +require_once('../_framework/lib/ini.php'); + +$CONFIG_INI = "../_utilisateur/configuration.ini"; +$ini_class = new INI($CONFIG_INI); $ext = $ini['explorateur']['ext']; $ext_noscan = $ini['explorateur']['ext_noscan']; @@ -46,7 +50,7 @@ } $items=Array(); - + function scandirrec($rep){ global $extv, $ext_NoScanExploded; $item=Array(); @@ -105,7 +109,7 @@ } } } - echo '<meta http-equiv="refresh" content="0;url=index1.php?page=52&get_info=1">'."\n"; + // echo '<meta http-equiv="refresh" content="0;url=index1.php?page=52&get_info=1">'."\n"; ?> <font size="3"> Liste des fichiers cr\xE9\xE9e... R\xE9cup\xE9ration des informations depuis allocin\xE9 (0%) Modified: trunk/lecteur/stop_rec.php =================================================================== --- trunk/lecteur/stop_rec.php 2007-03-03 21:43:07 UTC (rev 87) +++ trunk/lecteur/stop_rec.php 2007-03-04 08:03:07 UTC (rev 88) @@ -3,7 +3,18 @@ $db = sqlite_open('../_utilisateur/records.db', 0666); $requete='UPDATE records SET statut=\'Enregistr\xE9\' WHERE id='.$_GET['id']; $result = sqlite_query($db,$requete); + + $requete='SELECT * from records WHERE id='.$_GET['id']; + $result = sqlite_query($db,$requete); + $result = sqlite_fetch_array($result); + + @unlink($result['fichierbat']); + @unlink(ereg_replace(".bat","-end.bat",$result['fichierbat'])); + $at=exec('at '.$result['task'].' /delete'); + $at.=exec('at '.$result['taskend'].' /delete'); + + $file1 = @file_get_contents("http://127.0.0.1:8082/lecteur/action.html?control=shutdown"); ?> Added: trunk/module/guidetv/listechainetelepoche.txt =================================================================== --- trunk/module/guidetv/listechainetelepoche.txt (rev 0) +++ trunk/module/guidetv/listechainetelepoche.txt 2007-03-04 08:03:07 UTC (rev 88) @@ -0,0 +1,69 @@ +"001" = "1|TF1|612"[end] +"002" = "2|France 2|201"[end] +"003" = "3|France 3 national|202"[end] +"003" = "300|France 3 national|258"[end] +"003" = "301|France 3 Alsace|280"[end] +"003" = "302|France 3 Alpes|283"[end] +"003" = "303|France 3 Aquitaine|284"[end] +"003" = "304|France 3 Auvergne|285"[end] +"003" = "305|France 3 Bourgogne|279"[end] +"003" = "306|France 3 Bretagne|286"[end] +"003" = "307|France 3 Centre|287"[end] +"003" = "308|France 3 Champagne-Ardenne|288"[end] +"003" = "310|France 3 Côte-d'Azur|290"[end] +"003" = "311|France 3 Franche-Comté|291"[end] +"003" = "312|France 3 Languedoc-Roussillon|292"[end] +"003" = "313|France 3 Limousin|293"[end] +"003" = "314|France 3 Lorraine|294"[end] +"003" = "315|France 3 Midi Pyrénées|295"[end] +"003" = "316|France 3 Nord Pas-de-Calais|296"[end] +"003" = "317|France 3 Haute-Normandie|297"[end] +"003" = "318|France 3 Basse-Normandie|298"[end] +"003" = "319|France 3 Paris Ile-de-France|257"[end] +"003" = "320|France 3 Pays de Loire|299"[end] +"003" = "321|France 3 Picardie|300"[end] +"003" = "322|France 3 Poitou-Charentes|301"[end] +"003" = "323|France 3 Provence-Alpes|302"[end] +"003" = "324|France 3 Rhône-Alpes|303"[end] +"005" = "7|Arte|204"[end] +"006" = "6|M6|613"[end] +"007" = "5|France 5|203"[end] +"009" = "10|TMC|497"[end] +"011" = "19|Paris Première|213"[end] +"017" = "93|Histoire|235"[end] +"028" = "14|France 4|376"[end] +"029" = "53|Mezzo|265"[end] +"031" = "44|MTV|219"[end] +"033" = "43|Fun TV|433"[end] +"038" = "9|W9|373"[end] +"040" = "22|AB 1|211"[end] +"045" = "230|TVE I|306"[end] +"050" = "88|Animaux|248"[end] +"079" = "73|BBC World|240"[end] +"080" = "36|Mangas|253"[end] +"081" = "91|Escales|252"[end] +"113" = "89|Chasse et pêche|249"[end] +"116" = "61|Equidia|212"[end] +"121" = "69|Euronews|205"[end] +"124" = "37|Game One|220"[end] +"131" = "110|Action|242"[end] +"147" = "111|Ciné Polar|244"[end] +"149" = "112|Ciné FX|243"[end] +"161" = "51|Trace TV|228"[end] +"162" = "70|Bloomberg TV|207"[end] +"163" = "84|Fashion TV|221"[end] +"167" = "8|Direct 8|372"[end] +"168" = "11|NT1|374"[end] +"169" = "12|NRJ 12 5.1|381"[end] +"169" = "12|NRJ 12 Stéréo|382"[end] +"170" = "13|La Chaîne Parlementaire|226"[end] +"173" = "266|2M Maroc|272"[end] +"180" = "42|M6 Music Black|432"[end] +"181" = "41|M6 Music Rock|431"[end] +"183" = "64|Motors TV|216"[end] +"189" = "48|VH1|233"[end] +"191" = "40|M6 Music Hits|430"[end] +"194" = "15|BFM TV|418"[end] +"195" = "18|Gulli|419"[end] +"201" = "131|M6 Boutique|359"[end] +"202" = "87|Liberty TV|215"[end] \ No newline at end of file Modified: trunk/module/meteo/f2-france-512x384-j0pm.jpg =================================================================== (Binary files differ) Modified: trunk/module/meteo/f2-france-512x384-j1am.jpg =================================================================== (Binary files differ) Modified: trunk/module/meteo/f2-france-512x384-j1pm.jpg =================================================================== (Binary files differ) Modified: trunk/skin/simplegreen/couleur.conf =================================================================== --- trunk/skin/simplegreen/couleur.conf 2007-03-03 21:43:07 UTC (rev 87) +++ trunk/skin/simplegreen/couleur.conf 2007-03-04 08:03:07 UTC (rev 88) @@ -67,7 +67,7 @@ COULEUR_FOND_AVERTISSEMENT = "#B7D88B3F" #///////////////////////////////// Fond d'\xE9cran /////////////////////////////////// -BACKGROUND = "background.jpg" -TYPE = "int" +BACKGROUND = "background.png" +TYPE = "ext" ?> Modified: trunk/version.html =================================================================== --- trunk/version.html 2007-03-03 21:43:07 UTC (rev 87) +++ trunk/version.html 2007-03-04 08:03:07 UTC (rev 88) @@ -4,6 +4,6 @@ </head> <body> <h1>Easybox</h1> -<h2>3.4.15</h2> +<h2>4.0.0</h2> </body> </html> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |