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...> - 2008-08-19 22:01:40
|
Revision: 210 http://easybox-mod.svn.sourceforge.net/easybox-mod/?rev=210&view=rev Author: aragornis Date: 2008-08-19 22:01:37 +0000 (Tue, 19 Aug 2008) Log Message: ----------- Added Paths: ----------- trunk/http/telecommande.png Removed Paths: ------------- trunk/telecommande.png This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2008-08-19 22:01:14
|
Revision: 209 http://easybox-mod.svn.sourceforge.net/easybox-mod/?rev=209&view=rev Author: aragornis Date: 2008-08-19 22:01:11 +0000 (Tue, 19 Aug 2008) Log Message: ----------- Added Paths: ----------- trunk/http/status.html Removed Paths: ------------- trunk/status.html Copied: trunk/http/status.html (from rev 208, trunk/status.html) =================================================================== --- trunk/http/status.html (rev 0) +++ trunk/http/status.html 2008-08-19 22:01:11 UTC (rev 209) @@ -0,0 +1 @@ +OK Deleted: trunk/status.html =================================================================== --- trunk/status.html 2008-08-19 22:00:49 UTC (rev 208) +++ trunk/status.html 2008-08-19 22:01:11 UTC (rev 209) @@ -1 +0,0 @@ -OK This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2008-08-19 22:00:53
|
Revision: 208 http://easybox-mod.svn.sourceforge.net/easybox-mod/?rev=208&view=rev Author: aragornis Date: 2008-08-19 22:00:49 +0000 (Tue, 19 Aug 2008) Log Message: ----------- Added Paths: ----------- trunk/http/settings.html Removed Paths: ------------- trunk/settings.html Copied: trunk/http/settings.html (from rev 207, trunk/settings.html) =================================================================== --- trunk/http/settings.html (rev 0) +++ trunk/http/settings.html 2008-08-19 22:00:49 UTC (rev 208) @@ -0,0 +1,22 @@ + <!DOCTYPE HTML PUBLIC "-//Freebox//DTD HTML 3.2//EN"> +<html> +<head> + + <title>EasyBox</title> + <meta name="settings_page" content="http://212.27.38.254:8080/settings.html"> + <meta name="home_page" content="/settings.html"> + <meta name="love_page" content="/module/favoris/index1.php"> + <meta name="mail_page" content="/module/mail/index1.php"> + <meta name="front_panel" content="EASYBOX"> + <meta name="prompt" content="...Powered by Easybox..."> + <services> + </services> + <meta name=maddr content="127.0.0.1"> + <meta name=pcr content="68"> + <meta name=vid content="68"> + <meta name=aud content="69(en,mp2)"> + <meta name=refresh content="0;url=/_framework/demarrage.php"> +</head> +<body> +</body> +</html> Deleted: trunk/settings.html =================================================================== --- trunk/settings.html 2008-08-19 22:00:25 UTC (rev 207) +++ trunk/settings.html 2008-08-19 22:00:49 UTC (rev 208) @@ -1,22 +0,0 @@ - <!DOCTYPE HTML PUBLIC "-//Freebox//DTD HTML 3.2//EN"> -<html> -<head> - - <title>EasyBox</title> - <meta name="settings_page" content="http://212.27.38.254:8080/settings.html"> - <meta name="home_page" content="/settings.html"> - <meta name="love_page" content="/module/favoris/index1.php"> - <meta name="mail_page" content="/module/mail/index1.php"> - <meta name="front_panel" content="EASYBOX"> - <meta name="prompt" content="...Powered by Easybox..."> - <services> - </services> - <meta name=maddr content="127.0.0.1"> - <meta name=pcr content="68"> - <meta name=vid content="68"> - <meta name=aud content="69(en,mp2)"> - <meta name=refresh content="0;url=/_framework/demarrage.php"> -</head> -<body> -</body> -</html> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2008-08-19 22:00:29
|
Revision: 207 http://easybox-mod.svn.sourceforge.net/easybox-mod/?rev=207&view=rev Author: aragornis Date: 2008-08-19 22:00:25 +0000 (Tue, 19 Aug 2008) Log Message: ----------- Added Paths: ----------- trunk/http/remplir bdd.php Removed Paths: ------------- trunk/remplir bdd.php Copied: trunk/http/remplir bdd.php (from rev 205, trunk/remplir bdd.php) =================================================================== --- trunk/http/remplir bdd.php (rev 0) +++ trunk/http/remplir bdd.php 2008-08-19 22:00:25 UTC (rev 207) @@ -0,0 +1,17 @@ +<?php +$RACINE_REP = ""; +require($RACINE_REP.'_framework/framework.php'); + +$page = @fopen ('TvFreePlayer-Radios.fwr', 'r') ; + +$contenu_html = ''; +while (!feof ($page)) { + $ligne1 = trim(fgets($page)); + $ligne2 = trim(fgets($page)); + +$db = sqlite_open('_utilisateur/podcast.db', 0666); +sqlite_query($db,'INSERT INTO radios VALUES(NULL,\''.sqlite_escape_string($ligne1).'\',\''.sqlite_escape_string($ligne2).'\')'); +sqlite_close($db); + +} +?> Deleted: trunk/remplir bdd.php =================================================================== --- trunk/remplir bdd.php 2008-08-19 22:00:21 UTC (rev 206) +++ trunk/remplir bdd.php 2008-08-19 22:00:25 UTC (rev 207) @@ -1,17 +0,0 @@ -<?php -$RACINE_REP = ""; -require($RACINE_REP.'_framework/framework.php'); - -$page = @fopen ('TvFreePlayer-Radios.fwr', 'r') ; - -$contenu_html = ''; -while (!feof ($page)) { - $ligne1 = trim(fgets($page)); - $ligne2 = trim(fgets($page)); - -$db = sqlite_open('_utilisateur/podcast.db', 0666); -sqlite_query($db,'INSERT INTO radios VALUES(NULL,\''.sqlite_escape_string($ligne1).'\',\''.sqlite_escape_string($ligne2).'\')'); -sqlite_close($db); - -} -?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2008-08-19 22:00:24
|
Revision: 206 http://easybox-mod.svn.sourceforge.net/easybox-mod/?rev=206&view=rev Author: aragornis Date: 2008-08-19 22:00:21 +0000 (Tue, 19 Aug 2008) Log Message: ----------- Added Paths: ----------- trunk/packages/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2008-08-19 22:00:03
|
Revision: 205 http://easybox-mod.svn.sourceforge.net/easybox-mod/?rev=205&view=rev Author: aragornis Date: 2008-08-19 21:59:59 +0000 (Tue, 19 Aug 2008) Log Message: ----------- Added Paths: ----------- trunk/http/index1.html Removed Paths: ------------- trunk/index1.html Copied: trunk/http/index1.html (from rev 204, trunk/index1.html) =================================================================== --- trunk/http/index1.html (rev 0) +++ trunk/http/index1.html 2008-08-19 21:59:59 UTC (rev 205) @@ -0,0 +1,37 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US"> +<!-- + * Created on 16 Mai 2006 + * + * To change the template for this generated file go to + * Window - Preferences - PHPeclipse - PHP - Code Templates +--> + <head> + <title> </title> + </head> + <body> + <IMG src="_framework/easyban.png" width="800" height="139" border="0"> +<center> +<form name="form1" method="get" action="index.html"> +<br> <br> +<A href="configuration/configuration.php">Configurer easyBox</A><br> <br> + +<A href="module/_menu/menu.php">Utiliser easyBox</A><br> <br> +<A href="module/freeboxtv/content.php">Regarder la t\xE9l\xE9vision</A><br> <br> +<?php +if ($_REQUEST['vlc']): +$param='--extraintf=http --http-host=:8081 --http-charset=ISO-8859-1 --sout="#std" --sout-standard-access=udp --sout-standard-mux=ts --sout-standard-url=212.27.38.253:1234 --sout-ts-pid-video=68 --sout-ts-pid-audio=69 --sout-ts-pid-spu=70 --sout-ts-pcr=80 --sout-ts-dts-delay=400 --subsdec-encoding=ISO-8859-1 --sout-transcode-maxwidth=720 --sout-transcode-maxheight=576 --http-src="'.$_SERVER['DOCUMENT_ROOT'].'" --config="~/.vlc/vlcrc-fbx" --wx-systray'; +//exec("vlc ".$param); +endif; +if(!$contenu_html = file_get_contents("http://127.0.0.1:8081/_framework/vlc/temps2.html")): + ?> +<input type="submit" name="vlc" value="Lancer VLC"> +<?php else: ?> +VLC est d\xE9marr\xE9. +<?php endif; ?> +</form> + + </body> +</html> Deleted: trunk/index1.html =================================================================== --- trunk/index1.html 2008-08-19 21:59:37 UTC (rev 204) +++ trunk/index1.html 2008-08-19 21:59:59 UTC (rev 205) @@ -1,37 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US"> -<!-- - * Created on 16 Mai 2006 - * - * To change the template for this generated file go to - * Window - Preferences - PHPeclipse - PHP - Code Templates ---> - <head> - <title> </title> - </head> - <body> - <IMG src="_framework/easyban.png" width="800" height="139" border="0"> -<center> -<form name="form1" method="get" action="index.html"> -<br> <br> -<A href="configuration/configuration.php">Configurer easyBox</A><br> <br> - -<A href="module/_menu/menu.php">Utiliser easyBox</A><br> <br> -<A href="module/freeboxtv/content.php">Regarder la t\xE9l\xE9vision</A><br> <br> -<?php -if ($_REQUEST['vlc']): -$param='--extraintf=http --http-host=:8081 --http-charset=ISO-8859-1 --sout="#std" --sout-standard-access=udp --sout-standard-mux=ts --sout-standard-url=212.27.38.253:1234 --sout-ts-pid-video=68 --sout-ts-pid-audio=69 --sout-ts-pid-spu=70 --sout-ts-pcr=80 --sout-ts-dts-delay=400 --subsdec-encoding=ISO-8859-1 --sout-transcode-maxwidth=720 --sout-transcode-maxheight=576 --http-src="'.$_SERVER['DOCUMENT_ROOT'].'" --config="~/.vlc/vlcrc-fbx" --wx-systray'; -//exec("vlc ".$param); -endif; -if(!$contenu_html = file_get_contents("http://127.0.0.1:8081/_framework/vlc/temps2.html")): - ?> -<input type="submit" name="vlc" value="Lancer VLC"> -<?php else: ?> -VLC est d\xE9marr\xE9. -<?php endif; ?> -</form> - - </body> -</html> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2008-08-19 21:59:40
|
Revision: 204 http://easybox-mod.svn.sourceforge.net/easybox-mod/?rev=204&view=rev Author: aragornis Date: 2008-08-19 21:59:37 +0000 (Tue, 19 Aug 2008) Log Message: ----------- Added Paths: ----------- trunk/http/fb2ie.js Removed Paths: ------------- trunk/fb2ie.js Deleted: trunk/fb2ie.js =================================================================== --- trunk/fb2ie.js 2008-08-19 21:59:16 UTC (rev 203) +++ trunk/fb2ie.js 2008-08-19 21:59:37 UTC (rev 204) @@ -1,364 +0,0 @@ -/** Script de simulation du navigateur Freebox ** -/*----------------------------------------------* - * R\xE9alisation : Laurent Asfaux alias DEL65 - * Contributeurs : - * - - * - - * - - * - * version 0.6+ - */ - -/********************************************/ -/*** Fonctions annexes ***/ -/********************************************/ - -// enregistrement des param\xE8tres de la freebox -// + redirection -function getParameters () { -if (document.getElementsByTagName) { - // parcours des attributs des balises "meta" - elemColl = document.getElementsByTagName('meta'); - - // pour chaque param\xE8tre (si pr\xE9sent) - // on stocke sa valeur dans un cookie - for (var i = 0; i < elemColl.length; i++) { - - valeur = elemColl[i].name; - - if(valeur=="refresh"){ - valeurs = elemColl[i].content.split(";"); - setTimeout('document.location.href="'+valeurs[1].substring(4, valeurs[1].length)+'";',valeurs[0]*1000); - - - - - - - - - - - - } - } -} -} - -// interface de simulation des touches de la t\xE9l\xE9commande -function getTouches() { - - // parcours des attributs des balises "link" - elemColl = document.getElementsByTagName("link"); - // pour chaque touche affect\xE9e, on cr\xE9e un lien - // qui sera plac\xE9e en haut de l'\xE9cran. - var commande=document.createElement("div"); - var carte=document.createElement("map"); - carte.setAttribute("name","Telecommande"); - carte.setAttribute("id","Telecommande"); - - document.body.appendChild(document.createElement("hr")); - - for (var i = 0; i < elemColl.length; i++) { - // pr\xE9paration du lien - document.body.appendChild(document.createTextNode("[")); - var lien = document.createElement("a"); - var zone = document.createElement("area"); - lien.setAttribute("href",elemColl[i].getAttribute("href")); - zone.setAttribute("href",elemColl[i].getAttribute("href")); - - switch (elemColl[i].getAttribute("rel")) { - case "help" : - lien.appendChild(document.createTextNode("Aide")); - zone.setAttribute("alt","Aide"); - zone.setAttribute("shape","rect"); - zone.setAttribute("coords","4,18,41,33"); - carte.appendChild(zone); - break; - case "options" : - lien.appendChild(document.createTextNode("Options")); - zone.setAttribute("alt","Options"); - zone.setAttribute("shape","rect"); - zone.setAttribute("coords","58,18,93,33"); - carte.appendChild(zone); - break; - case "red" : - lien.appendChild(document.createTextNode("Rouge")); - zone.setAttribute("alt","Rouge"); - zone.setAttribute("shape","rect"); - zone.setAttribute("coords","8,53,37,81"); - carte.appendChild(zone); - break; - case "green" : - lien.appendChild(document.createTextNode("Vert")); - zone.setAttribute("alt","Vert"); - zone.setAttribute("shape","rect"); - zone.setAttribute("coords","169,52,197,81"); - carte.appendChild(zone); - break; - case "yellow" : - lien.appendChild(document.createTextNode("Jaune")); - zone.setAttribute("alt","Jaune"); - zone.setAttribute("shape","rect"); - zone.setAttribute("coords","8,133,37,161"); - carte.appendChild(zone); - break; - case "blue" : - lien.appendChild(document.createTextNode("Bleu")); - zone.setAttribute("alt","Bleu"); - zone.setAttribute("shape","rect"); - zone.setAttribute("coords","169,133,167.161"); - carte.appendChild(zone); - break; - case "info" : - lien.appendChild(document.createTextNode("Info")); - zone.setAttribute("alt","Info"); - zone.setAttribute("shape","rect"); - zone.setAttribute("coords","89,186,115,213"); - carte.appendChild(zone); - break; - case "guide" : - lien.appendChild(document.createTextNode("Guide")); - zone.setAttribute("alt","Guide"); - zone.setAttribute("shape","rect"); - zone.setAttribute("coords","160,186,187,213"); - carte.appendChild(zone); - break; - case "stop" : - lien.appendChild(document.createTextNode("Stop")); - zone.setAttribute("alt","Stop"); - zone.setAttribute("shape","rect"); - zone.setAttribute("coords","18,230,46,257"); - carte.appendChild(zone); - break; - case "rec" : - lien.appendChild(document.createTextNode("Enregistrer")); - zone.setAttribute("alt","Enregistrer"); - zone.setAttribute("shape","rect"); - zone.setAttribute("coords","160,230,187,257"); - carte.appendChild(zone); - break; - case "play" : - lien.appendChild(document.createTextNode("Lecture")); - zone.setAttribute("alt","Lecture"); - zone.setAttribute("shape","rect"); - zone.setAttribute("coords","89,230,115,257"); - carte.appendChild(zone); - break; - case "pause" : - lien.appendChild(document.createTextNode("Pause")); - zone.setAttribute("alt","Pause"); - zone.setAttribute("shape","rect"); - zone.setAttribute("coords","89,230,115,257"); - carte.appendChild(zone); - break; - case "up" : - lien.appendChild(document.createTextNode("Haut")); - zone.setAttribute("alt","Haut"); - zone.setAttribute("shape","rect"); - zone.setAttribute("coords","83,58,121,77"); - carte.appendChild(zone); - break; - case "down" : - lien.appendChild(document.createTextNode("Bas")); - zone.setAttribute("alt","Bas"); - zone.setAttribute("shape","rect"); - zone.setAttribute("coords","83,137,121,156"); - carte.appendChild(zone); - break; - case "left" : - lien.appendChild(document.createTextNode("Gauche")); - zone.setAttribute("alt","Gauche"); - zone.setAttribute("shape","rect"); - zone.setAttribute("coords","18,93,41,120"); - carte.appendChild(zone); - break; - case "right" : - lien.appendChild(document.createTextNode("Droite")); - zone.setAttribute("alt","Droite"); - zone.setAttribute("shape","rect"); - zone.setAttribute("coords","164,93,188,121"); - carte.appendChild(zone); - break; - case "star" : - lien.appendChild(document.createTextNode("Etoile")); - zone.setAttribute("alt","Etoile"); - zone.setAttribute("shape","rect"); - zone.setAttribute("coords","4,397,41,413"); - carte.appendChild(zone); - break; - case "sharp" : - lien.appendChild(document.createTextNode("Di\xE8se")); - zone.setAttribute("alt","Di\xE8se"); - zone.setAttribute("shape","111,397,147,413"); - zone.setAttribute("coords","rect"); - carte.appendChild(zone); - break; - - default : - lien.appendChild(document.createTextNode("Autre")); - break; - - } - document.body.appendChild(lien); - document.body.appendChild(document.createTextNode("] ")); - } - - var telecommande=document.createElement("img"); - telecommande.setAttribute("src","/telecommande.png"); - telecommande.setAttribute("usemap","#Telecommande"); - - commande.appendChild(carte); - commande.appendChild(telecommande); - document.body.appendChild(commande); - -} - -// corrige l'opacit\xE9 de l'\xE9l\xE9ment "obj" -function setOpacity(obj, opacity) { - opacity = hex2dec(opacity)/4 - opacity = opacity+36; - - // IE/Win - obj.style.filter = "alpha(opacity:"+opacity+")"; - - // Safari<1.2, Konqueror - obj.style.KHTMLOpacity = opacity/100; - - // Older Mozilla and Firefox - obj.style.MozOpacity = opacity/100; - - // Safari 1.2, newer Firefox and Mozilla, CSS3 - obj.style.opacity = opacity/100; -} - - -/********************************************/ -/*** Code principal ***/ -/********************************************/ - -/*** Modification de l'opacit\xE9 des images ***/ - - elemColl = document.getElementsByTagName("img"); - for (var i = 0; i < elemColl.length; i++) { - var alpha = elemColl[i].getAttribute("alpha"); - if (alpha != null) { setOpacity(elemColl[i],alpha.substr(1,2)); } - } - - - -/*** texte en Helvetica gras ***/ - - - -/*** Correction du style des liens ***/ - - elemColl = document.getElementsByTagName("a"); - // pour tous les liens de la page - for (var i = 0; i < elemColl.length; i++) { - // pas de soulignement - elemColl[i].style.textDecoration="none"; - // couleur standard - elemColl[i].style.color=document.body.getAttribute("link"); - - // on ajoute un onmouseover/onmouseout sur le lien (IE) - if (navigator.appName == "Microsoft Internet Explorer") { - elemColl[i].setAttribute("onmouseover",function() { - this.style.color=document.body.getAttribute("alink"); - }); - - elemColl[i].setAttribute("onmouseout",function() { - this.style.color=document.body.getAttribute("link"); - }); - - // on ajoute un onmouseover/onmouseout sur le lien (Firefox/Mozilla) - } else { - - elemColl[i].setAttribute("onMouseOver","this.style.color=document.body.getAttribute('link');"); - - elemColl[i].setAttribute("onMouseOut","this.style.color=document.body.getAttribute('link');"); - } - } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -/*** Simulation des liens sur table ***/ - - elemColl = document.getElementsByTagName("table"); - // pour toutes les tables de la page - for (var i = 0; i < elemColl.length; i++) { - // si un abgcolor est d\xE9fini - if (elemColl[i].getAttribute('abgcolor') != null) { - - // on ajoute un onmouseover/onmouseout sur le lien (IE) - if (navigator.appName == "Microsoft Internet Explorer") { - elemColl[i].setAttribute("onmouseover",function() { - this.setAttribute('bgColor2',this.getAttribute('bgcolor')); - this.bgColor = this.getAttribute('abgcolor'); - this.style.cursor='hand'; - }); - - elemColl[i].setAttribute("onmouseout",function() { - this.bgColor=this.getAttribute('bgcolor2'); - }); - - elemColl[i].setAttribute("onmousedown",function() { - if (this.parentNode.name = "a") { - location.href=this.parentNode.href; - } - }); - - // on ajoute un onmouseover/onmouseout sur le lien (Firefox/Mozilla/Opera) - } else { - - elemColl[i].setAttribute("onMouseOver","this.bgColor = '"+elemColl[i].getAttribute("abgcolor")+"';"); - - elemColl[i].setAttribute("onMouseOut","this.bgColor = '"+elemColl[i].getAttribute("bgcolor")+"';"); - - } - - } - } - -getParameters(); - - -/*** Simulation des touches ***/ -setTimeout("getTouches()",0); Copied: trunk/http/fb2ie.js (from rev 203, trunk/fb2ie.js) =================================================================== --- trunk/http/fb2ie.js (rev 0) +++ trunk/http/fb2ie.js 2008-08-19 21:59:37 UTC (rev 204) @@ -0,0 +1,364 @@ +/** Script de simulation du navigateur Freebox ** +/*----------------------------------------------* + * R\xE9alisation : Laurent Asfaux alias DEL65 + * Contributeurs : + * - + * - + * - + * + * version 0.6+ + */ + +/********************************************/ +/*** Fonctions annexes ***/ +/********************************************/ + +// enregistrement des param\xE8tres de la freebox +// + redirection +function getParameters () { +if (document.getElementsByTagName) { + // parcours des attributs des balises "meta" + elemColl = document.getElementsByTagName('meta'); + + // pour chaque param\xE8tre (si pr\xE9sent) + // on stocke sa valeur dans un cookie + for (var i = 0; i < elemColl.length; i++) { + + valeur = elemColl[i].name; + + if(valeur=="refresh"){ + valeurs = elemColl[i].content.split(";"); + setTimeout('document.location.href="'+valeurs[1].substring(4, valeurs[1].length)+'";',valeurs[0]*1000); + + + + + + + + + + + + } + } +} +} + +// interface de simulation des touches de la t\xE9l\xE9commande +function getTouches() { + + // parcours des attributs des balises "link" + elemColl = document.getElementsByTagName("link"); + // pour chaque touche affect\xE9e, on cr\xE9e un lien + // qui sera plac\xE9e en haut de l'\xE9cran. + var commande=document.createElement("div"); + var carte=document.createElement("map"); + carte.setAttribute("name","Telecommande"); + carte.setAttribute("id","Telecommande"); + + document.body.appendChild(document.createElement("hr")); + + for (var i = 0; i < elemColl.length; i++) { + // pr\xE9paration du lien + document.body.appendChild(document.createTextNode("[")); + var lien = document.createElement("a"); + var zone = document.createElement("area"); + lien.setAttribute("href",elemColl[i].getAttribute("href")); + zone.setAttribute("href",elemColl[i].getAttribute("href")); + + switch (elemColl[i].getAttribute("rel")) { + case "help" : + lien.appendChild(document.createTextNode("Aide")); + zone.setAttribute("alt","Aide"); + zone.setAttribute("shape","rect"); + zone.setAttribute("coords","4,18,41,33"); + carte.appendChild(zone); + break; + case "options" : + lien.appendChild(document.createTextNode("Options")); + zone.setAttribute("alt","Options"); + zone.setAttribute("shape","rect"); + zone.setAttribute("coords","58,18,93,33"); + carte.appendChild(zone); + break; + case "red" : + lien.appendChild(document.createTextNode("Rouge")); + zone.setAttribute("alt","Rouge"); + zone.setAttribute("shape","rect"); + zone.setAttribute("coords","8,53,37,81"); + carte.appendChild(zone); + break; + case "green" : + lien.appendChild(document.createTextNode("Vert")); + zone.setAttribute("alt","Vert"); + zone.setAttribute("shape","rect"); + zone.setAttribute("coords","169,52,197,81"); + carte.appendChild(zone); + break; + case "yellow" : + lien.appendChild(document.createTextNode("Jaune")); + zone.setAttribute("alt","Jaune"); + zone.setAttribute("shape","rect"); + zone.setAttribute("coords","8,133,37,161"); + carte.appendChild(zone); + break; + case "blue" : + lien.appendChild(document.createTextNode("Bleu")); + zone.setAttribute("alt","Bleu"); + zone.setAttribute("shape","rect"); + zone.setAttribute("coords","169,133,167.161"); + carte.appendChild(zone); + break; + case "info" : + lien.appendChild(document.createTextNode("Info")); + zone.setAttribute("alt","Info"); + zone.setAttribute("shape","rect"); + zone.setAttribute("coords","89,186,115,213"); + carte.appendChild(zone); + break; + case "guide" : + lien.appendChild(document.createTextNode("Guide")); + zone.setAttribute("alt","Guide"); + zone.setAttribute("shape","rect"); + zone.setAttribute("coords","160,186,187,213"); + carte.appendChild(zone); + break; + case "stop" : + lien.appendChild(document.createTextNode("Stop")); + zone.setAttribute("alt","Stop"); + zone.setAttribute("shape","rect"); + zone.setAttribute("coords","18,230,46,257"); + carte.appendChild(zone); + break; + case "rec" : + lien.appendChild(document.createTextNode("Enregistrer")); + zone.setAttribute("alt","Enregistrer"); + zone.setAttribute("shape","rect"); + zone.setAttribute("coords","160,230,187,257"); + carte.appendChild(zone); + break; + case "play" : + lien.appendChild(document.createTextNode("Lecture")); + zone.setAttribute("alt","Lecture"); + zone.setAttribute("shape","rect"); + zone.setAttribute("coords","89,230,115,257"); + carte.appendChild(zone); + break; + case "pause" : + lien.appendChild(document.createTextNode("Pause")); + zone.setAttribute("alt","Pause"); + zone.setAttribute("shape","rect"); + zone.setAttribute("coords","89,230,115,257"); + carte.appendChild(zone); + break; + case "up" : + lien.appendChild(document.createTextNode("Haut")); + zone.setAttribute("alt","Haut"); + zone.setAttribute("shape","rect"); + zone.setAttribute("coords","83,58,121,77"); + carte.appendChild(zone); + break; + case "down" : + lien.appendChild(document.createTextNode("Bas")); + zone.setAttribute("alt","Bas"); + zone.setAttribute("shape","rect"); + zone.setAttribute("coords","83,137,121,156"); + carte.appendChild(zone); + break; + case "left" : + lien.appendChild(document.createTextNode("Gauche")); + zone.setAttribute("alt","Gauche"); + zone.setAttribute("shape","rect"); + zone.setAttribute("coords","18,93,41,120"); + carte.appendChild(zone); + break; + case "right" : + lien.appendChild(document.createTextNode("Droite")); + zone.setAttribute("alt","Droite"); + zone.setAttribute("shape","rect"); + zone.setAttribute("coords","164,93,188,121"); + carte.appendChild(zone); + break; + case "star" : + lien.appendChild(document.createTextNode("Etoile")); + zone.setAttribute("alt","Etoile"); + zone.setAttribute("shape","rect"); + zone.setAttribute("coords","4,397,41,413"); + carte.appendChild(zone); + break; + case "sharp" : + lien.appendChild(document.createTextNode("Di\xE8se")); + zone.setAttribute("alt","Di\xE8se"); + zone.setAttribute("shape","111,397,147,413"); + zone.setAttribute("coords","rect"); + carte.appendChild(zone); + break; + + default : + lien.appendChild(document.createTextNode("Autre")); + break; + + } + document.body.appendChild(lien); + document.body.appendChild(document.createTextNode("] ")); + } + + var telecommande=document.createElement("img"); + telecommande.setAttribute("src","/telecommande.png"); + telecommande.setAttribute("usemap","#Telecommande"); + + commande.appendChild(carte); + commande.appendChild(telecommande); + document.body.appendChild(commande); + +} + +// corrige l'opacit\xE9 de l'\xE9l\xE9ment "obj" +function setOpacity(obj, opacity) { + opacity = hex2dec(opacity)/4 + opacity = opacity+36; + + // IE/Win + obj.style.filter = "alpha(opacity:"+opacity+")"; + + // Safari<1.2, Konqueror + obj.style.KHTMLOpacity = opacity/100; + + // Older Mozilla and Firefox + obj.style.MozOpacity = opacity/100; + + // Safari 1.2, newer Firefox and Mozilla, CSS3 + obj.style.opacity = opacity/100; +} + + +/********************************************/ +/*** Code principal ***/ +/********************************************/ + +/*** Modification de l'opacit\xE9 des images ***/ + + elemColl = document.getElementsByTagName("img"); + for (var i = 0; i < elemColl.length; i++) { + var alpha = elemColl[i].getAttribute("alpha"); + if (alpha != null) { setOpacity(elemColl[i],alpha.substr(1,2)); } + } + + + +/*** texte en Helvetica gras ***/ + + + +/*** Correction du style des liens ***/ + + elemColl = document.getElementsByTagName("a"); + // pour tous les liens de la page + for (var i = 0; i < elemColl.length; i++) { + // pas de soulignement + elemColl[i].style.textDecoration="none"; + // couleur standard + elemColl[i].style.color=document.body.getAttribute("link"); + + // on ajoute un onmouseover/onmouseout sur le lien (IE) + if (navigator.appName == "Microsoft Internet Explorer") { + elemColl[i].setAttribute("onmouseover",function() { + this.style.color=document.body.getAttribute("alink"); + }); + + elemColl[i].setAttribute("onmouseout",function() { + this.style.color=document.body.getAttribute("link"); + }); + + // on ajoute un onmouseover/onmouseout sur le lien (Firefox/Mozilla) + } else { + + elemColl[i].setAttribute("onMouseOver","this.style.color=document.body.getAttribute('link');"); + + elemColl[i].setAttribute("onMouseOut","this.style.color=document.body.getAttribute('link');"); + } + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +/*** Simulation des liens sur table ***/ + + elemColl = document.getElementsByTagName("table"); + // pour toutes les tables de la page + for (var i = 0; i < elemColl.length; i++) { + // si un abgcolor est d\xE9fini + if (elemColl[i].getAttribute('abgcolor') != null) { + + // on ajoute un onmouseover/onmouseout sur le lien (IE) + if (navigator.appName == "Microsoft Internet Explorer") { + elemColl[i].setAttribute("onmouseover",function() { + this.setAttribute('bgColor2',this.getAttribute('bgcolor')); + this.bgColor = this.getAttribute('abgcolor'); + this.style.cursor='hand'; + }); + + elemColl[i].setAttribute("onmouseout",function() { + this.bgColor=this.getAttribute('bgcolor2'); + }); + + elemColl[i].setAttribute("onmousedown",function() { + if (this.parentNode.name = "a") { + location.href=this.parentNode.href; + } + }); + + // on ajoute un onmouseover/onmouseout sur le lien (Firefox/Mozilla/Opera) + } else { + + elemColl[i].setAttribute("onMouseOver","this.bgColor = '"+elemColl[i].getAttribute("abgcolor")+"';"); + + elemColl[i].setAttribute("onMouseOut","this.bgColor = '"+elemColl[i].getAttribute("bgcolor")+"';"); + + } + + } + } + +getParameters(); + + +/*** Simulation des touches ***/ +setTimeout("getTouches()",0); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2008-08-19 21:59:23
|
Revision: 203 http://easybox-mod.svn.sourceforge.net/easybox-mod/?rev=203&view=rev Author: aragornis Date: 2008-08-19 21:59:16 +0000 (Tue, 19 Aug 2008) Log Message: ----------- Added Paths: ----------- trunk/http/erreur.php Removed Paths: ------------- trunk/erreur.php Deleted: trunk/erreur.php =================================================================== --- trunk/erreur.php 2008-08-19 21:58:53 UTC (rev 202) +++ trunk/erreur.php 2008-08-19 21:59:16 UTC (rev 203) @@ -1,13 +0,0 @@ -<? -$RACINE_REP = ""; -require($RACINE_REP.'_framework/framework.php'); - -$BACKGROUND = 'none'; - -$META['refresh'] = '0;url=/_framework/demarrage.php'; - -$CONTENT = 'Une erreur est survenue. Une page n\'a pas \xE9t\xE9 trouv\xE9e ou n\'a pas \xE9t\xE9 ex\xE9cut\xE9e correctement. Easybox va red\xE9marrer...'; -$smarty->assign('AVERTISSEMENT',$CONTENT); -$smarty->display('avertissement.tpl'); - -?> Copied: trunk/http/erreur.php (from rev 202, trunk/erreur.php) =================================================================== --- trunk/http/erreur.php (rev 0) +++ trunk/http/erreur.php 2008-08-19 21:59:16 UTC (rev 203) @@ -0,0 +1,13 @@ +<? +$RACINE_REP = ""; +require($RACINE_REP.'_framework/framework.php'); + +$BACKGROUND = 'none'; + +$META['refresh'] = '0;url=/_framework/demarrage.php'; + +$CONTENT = 'Une erreur est survenue. Une page n\'a pas \xE9t\xE9 trouv\xE9e ou n\'a pas \xE9t\xE9 ex\xE9cut\xE9e correctement. Easybox va red\xE9marrer...'; +$smarty->assign('AVERTISSEMENT',$CONTENT); +$smarty->display('avertissement.tpl'); + +?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2008-08-19 21:58:59
|
Revision: 202 http://easybox-mod.svn.sourceforge.net/easybox-mod/?rev=202&view=rev Author: aragornis Date: 2008-08-19 21:58:53 +0000 (Tue, 19 Aug 2008) Log Message: ----------- Added Paths: ----------- trunk/http/copyright.php Removed Paths: ------------- trunk/copyright.php Deleted: trunk/copyright.php =================================================================== --- trunk/copyright.php 2008-08-19 21:58:32 UTC (rev 201) +++ trunk/copyright.php 2008-08-19 21:58:53 UTC (rev 202) @@ -1,21 +0,0 @@ -<?php -$RACINE_REP = ""; - -require($RACINE_REP.'_framework/framework.php'); -$LINK['red']= $MODULE.'_menu/menu.php'; -$version_l = get_version('Easybox'); - - -$message='<br> <br> -<u>Version actuellement install\xE9e</u> : v'.$version_l.' -<br> <br> -Ce mod pour freeplayer est propos\xE9 par <br> -Aragornis, DJ-Maboul, beb59, DaRkYoda et Nuxgyver.<br> <br> -<u>Site officiel</u> : http://www.easybox-mod.org/ -<br> -<br> '; - -$smarty->assign('AVERTISSEMENT',$message); -$smarty->display('avertissement.tpl'); - -?> Copied: trunk/http/copyright.php (from rev 201, trunk/copyright.php) =================================================================== --- trunk/http/copyright.php (rev 0) +++ trunk/http/copyright.php 2008-08-19 21:58:53 UTC (rev 202) @@ -0,0 +1,21 @@ +<?php +$RACINE_REP = ""; + +require($RACINE_REP.'_framework/framework.php'); +$LINK['red']= $MODULE.'_menu/menu.php'; +$version_l = get_version('Easybox'); + + +$message='<br> <br> +<u>Version actuellement install\xE9e</u> : v'.$version_l.' +<br> <br> +Ce mod pour freeplayer est propos\xE9 par <br> +Aragornis, DJ-Maboul, beb59, DaRkYoda et Nuxgyver.<br> <br> +<u>Site officiel</u> : http://www.easybox-mod.org/ +<br> +<br> '; + +$smarty->assign('AVERTISSEMENT',$message); +$smarty->display('avertissement.tpl'); + +?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2008-08-19 21:58:34
|
Revision: 201 http://easybox-mod.svn.sourceforge.net/easybox-mod/?rev=201&view=rev Author: aragornis Date: 2008-08-19 21:58:32 +0000 (Tue, 19 Aug 2008) Log Message: ----------- Added Paths: ----------- trunk/http/.htaccess Removed Paths: ------------- trunk/.htaccess Deleted: trunk/.htaccess =================================================================== --- trunk/.htaccess 2008-08-19 21:58:09 UTC (rev 200) +++ trunk/.htaccess 2008-08-19 21:58:32 UTC (rev 201) @@ -1,2 +0,0 @@ -php_flag short_open_tag on -AddType video/mp2v-es .mp2v Copied: trunk/http/.htaccess (from rev 200, trunk/.htaccess) =================================================================== --- trunk/http/.htaccess (rev 0) +++ trunk/http/.htaccess 2008-08-19 21:58:32 UTC (rev 201) @@ -0,0 +1,2 @@ +php_flag short_open_tag on +AddType video/mp2v-es .mp2v This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2008-08-19 21:58:13
|
Revision: 200 http://easybox-mod.svn.sourceforge.net/easybox-mod/?rev=200&view=rev Author: aragornis Date: 2008-08-19 21:58:09 +0000 (Tue, 19 Aug 2008) Log Message: ----------- Added Paths: ----------- trunk/http/skin/ Removed Paths: ------------- trunk/skin/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2008-08-19 21:57:51
|
Revision: 199 http://easybox-mod.svn.sourceforge.net/easybox-mod/?rev=199&view=rev Author: aragornis Date: 2008-08-19 21:57:49 +0000 (Tue, 19 Aug 2008) Log Message: ----------- Added Paths: ----------- trunk/http/ressources/ Removed Paths: ------------- trunk/ressources/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2008-08-19 21:57:29
|
Revision: 198 http://easybox-mod.svn.sourceforge.net/easybox-mod/?rev=198&view=rev Author: aragornis Date: 2008-08-19 21:57:26 +0000 (Tue, 19 Aug 2008) Log Message: ----------- Added Paths: ----------- trunk/http/module/ Removed Paths: ------------- trunk/module/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2008-08-19 21:57:04
|
Revision: 197 http://easybox-mod.svn.sourceforge.net/easybox-mod/?rev=197&view=rev Author: aragornis Date: 2008-08-19 21:57:02 +0000 (Tue, 19 Aug 2008) Log Message: ----------- Added Paths: ----------- trunk/http/lecteur/ Removed Paths: ------------- trunk/lecteur/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2008-08-19 21:56:44
|
Revision: 196 http://easybox-mod.svn.sourceforge.net/easybox-mod/?rev=196&view=rev Author: aragornis Date: 2008-08-19 21:56:40 +0000 (Tue, 19 Aug 2008) Log Message: ----------- Added Paths: ----------- trunk/http/http-vlc/ Removed Paths: ------------- trunk/http-vlc/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2008-08-19 21:56:22
|
Revision: 195 http://easybox-mod.svn.sourceforge.net/easybox-mod/?rev=195&view=rev Author: aragornis Date: 2008-08-19 21:56:18 +0000 (Tue, 19 Aug 2008) Log Message: ----------- Added Paths: ----------- trunk/http/configuration2/ Removed Paths: ------------- trunk/configuration2/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2008-08-19 21:56:00
|
Revision: 194 http://easybox-mod.svn.sourceforge.net/easybox-mod/?rev=194&view=rev Author: aragornis Date: 2008-08-19 21:55:57 +0000 (Tue, 19 Aug 2008) Log Message: ----------- Added Paths: ----------- trunk/http/configuration/ Removed Paths: ------------- trunk/configuration/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2008-08-19 21:55:39
|
Revision: 193 http://easybox-mod.svn.sourceforge.net/easybox-mod/?rev=193&view=rev Author: aragornis Date: 2008-08-19 21:55:36 +0000 (Tue, 19 Aug 2008) Log Message: ----------- Added Paths: ----------- trunk/http/_utilisateur/ Removed Paths: ------------- trunk/_utilisateur/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2008-08-19 21:55:17
|
Revision: 192 http://easybox-mod.svn.sourceforge.net/easybox-mod/?rev=192&view=rev Author: aragornis Date: 2008-08-19 21:55:14 +0000 (Tue, 19 Aug 2008) Log Message: ----------- Added Paths: ----------- trunk/http/_framework/ Removed Paths: ------------- trunk/_framework/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2008-08-19 21:53:14
|
Revision: 191 http://easybox-mod.svn.sourceforge.net/easybox-mod/?rev=191&view=rev Author: aragornis Date: 2008-08-19 21:53:12 +0000 (Tue, 19 Aug 2008) Log Message: ----------- Added Paths: ----------- trunk/http/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <gu...@us...> - 2008-07-28 20:34:37
|
Revision: 190 http://easybox-mod.svn.sourceforge.net/easybox-mod/?rev=190&view=rev Author: guyou Date: 2008-07-28 20:34:34 +0000 (Mon, 28 Jul 2008) Log Message: ----------- Gel de version v4.1.3 Added Paths: ----------- tags/4.1.3/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <gu...@us...> - 2008-07-28 20:31:29
|
Revision: 189 http://easybox-mod.svn.sourceforge.net/easybox-mod/?rev=189&view=rev Author: guyou Date: 2008-07-28 20:31:26 +0000 (Mon, 28 Jul 2008) Log Message: ----------- Gel de version v4.1.2 Added Paths: ----------- tags/4.1.2/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ara...@us...> - 2007-08-29 20:27:44
|
Revision: 181 http://easybox-mod.svn.sourceforge.net/easybox-mod/?rev=181&view=rev Author: aragornis Date: 2007-08-29 13:27:42 -0700 (Wed, 29 Aug 2007) Log Message: ----------- Modified Paths: -------------- trunk/_framework/fonctions_partagees.inc.php trunk/_framework/lib/get_info.php trunk/_utilisateur/modules.db trunk/_utilisateur/multiposte.m3u trunk/configuration/nav.php trunk/module/films/fichefilm.tpl Added Paths: ----------- trunk/configuration2/ trunk/configuration2/addmodule.php trunk/configuration2/addskin.php trunk/configuration2/autorisations.php trunk/configuration2/bases.xml trunk/configuration2/bibliotheque.php trunk/configuration2/change_ini.php trunk/configuration2/config.xml trunk/configuration2/configuration.php trunk/configuration2/edituser.php trunk/configuration2/general.php trunk/configuration2/get_utilisateur.php trunk/configuration2/getdir.php trunk/configuration2/getfiche.php trunk/configuration2/images/ trunk/configuration2/images/PromoBoxBg.gif trunk/configuration2/images/PromoBoxBgb.gif trunk/configuration2/images/PromoBoxBgbblue.gif trunk/configuration2/images/PromoBoxBgbblueclear.gif trunk/configuration2/images/PromoBoxLeft.gif trunk/configuration2/images/PromoBoxLeftb.gif trunk/configuration2/images/PromoBoxRight.gif trunk/configuration2/images/PromoBoxRightb.gif trunk/configuration2/images/RSS.png trunk/configuration2/images/Reload.gif trunk/configuration2/images/addmodule.png trunk/configuration2/images/agenda.png trunk/configuration2/images/ampoule.png trunk/configuration2/images/arreter.png trunk/configuration2/images/audio.png trunk/configuration2/images/autorisations.png trunk/configuration2/images/barre_progression_clair.png trunk/configuration2/images/barre_progression_droit_clair.png trunk/configuration2/images/barre_progression_droit_fonce.png trunk/configuration2/images/barre_progression_fonce.png trunk/configuration2/images/barre_progression_gauche_clair.png trunk/configuration2/images/barre_progression_gauche_fonce.png trunk/configuration2/images/barre_progression_milieu.png trunk/configuration2/images/bibvideo.png trunk/configuration2/images/comptes.png trunk/configuration2/images/disque.png trunk/configuration2/images/disquette.png trunk/configuration2/images/dossier.png trunk/configuration2/images/easybox.png trunk/configuration2/images/general.png trunk/configuration2/images/haut.png trunk/configuration2/images/importer.png trunk/configuration2/images/magnetoscope.png trunk/configuration2/images/mail.png trunk/configuration2/images/maj.png trunk/configuration2/images/module.png trunk/configuration2/images/multimedia.png trunk/configuration2/images/podcast.png trunk/configuration2/images/poubelle.png trunk/configuration2/images/skin.png trunk/configuration2/images/telecommande.png trunk/configuration2/images/utilisateurs.png trunk/configuration2/images/video.png trunk/configuration2/images/webradio.png trunk/configuration2/images/webtv.png trunk/configuration2/scanaudio.html trunk/configuration2/scanaudio.php trunk/configuration2/scanvideo.html trunk/configuration2/scanvideo.php trunk/configuration2/script.js trunk/configuration2/setautorisations.php trunk/configuration2/setfiche.php trunk/configuration2/setini.php trunk/configuration2/template.css trunk/configuration2/utilisateurs.php trunk/module/radioblogclub/ trunk/module/radioblogclub/icone.gif trunk/module/radioblogclub/index1.php trunk/module/radioblogclub/radioblogclub.tpl trunk/module/radioblogclub/rb.m3u trunk/skin/ETI/chaines/L'?\195?\131?\194?\169quipeTV.gif trunk/skin/ETI/images/buttons/source/PromoBoxBgb.png Modified: trunk/_framework/fonctions_partagees.inc.php =================================================================== --- trunk/_framework/fonctions_partagees.inc.php 2007-07-06 09:15:22 UTC (rev 180) +++ trunk/_framework/fonctions_partagees.inc.php 2007-08-29 20:27:42 UTC (rev 181) @@ -937,4 +937,8 @@ sqlite_query($db,'DELETE FROM cache WHERE expire<"'.$temps.'"'); sqlite_close($db); } + +function gen_bouton($caption, $fct_js,$class_normal, $class_over){ + return '<span OnMouseOut="change_class(this,\''.$class_normal.'\');" OnMouseOver="change_class(this,\''.$class_over.'\');" OnClick="'.$fct_js.'" class="'.$class_normal.'">'.$caption.'</span>'; +} ?> Modified: trunk/_framework/lib/get_info.php =================================================================== --- trunk/_framework/lib/get_info.php 2007-07-06 09:15:22 UTC (rev 180) +++ trunk/_framework/lib/get_info.php 2007-08-29 20:27:42 UTC (rev 181) @@ -112,9 +112,17 @@ //Critique visiteurs $ereg = 'notepresse=(.{0,10})¬epublic=(.{0,10})'; preg_match("/$ereg/s", $filmrecherche, $valeur); - $res['critique_visiteurs'] = round(ereg_replace(",", ".", $valeur[2])); - $res['critique_presse'] = round(ereg_replace(",", ".", $valeur[1])); - + if($valeur[2]!=''){ + $res['critique_visiteurs'] = round(ereg_replace(",", ".", $valeur[2])); + }else{ + $res['critique_visiteurs'] = 6; + } + if($valeur[1]!=''){ + $res['critique_presse'] = round(ereg_replace(",", ".", $valeur[1])); + }else{ + $res['critique_presse'] = 6; + } + //R\xE9cup\xE9ration de l'adresse de l'image $ereg = '<img src="http:\/\/a69.g.akamai.net\/n\/69\/10688\/v1\/img5.allocine.fr\/(.{1,70})" border="0" alt="" class="affichette" \/>'; preg_match("/$ereg/s", $filmrecherche, $valeur); Modified: trunk/_utilisateur/modules.db =================================================================== (Binary files differ) Modified: trunk/_utilisateur/multiposte.m3u =================================================================== --- trunk/_utilisateur/multiposte.m3u 2007-07-06 09:15:22 UTC (rev 180) +++ trunk/_utilisateur/multiposte.m3u 2007-08-29 20:27:42 UTC (rev 181) @@ -5,14 +5,10 @@ rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=202 #EXTINF:0,5 - France 5 rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=203 -#EXTINF:0,6 - M6 -rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=613 #EXTINF:0,7 - Arte rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=204 #EXTINF:0,8 - Direct 8 rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=372 -#EXTINF:0,9 - W9 -rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=373 #EXTINF:0,10 - TMC rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=497 #EXTINF:0,12 - NRJ 12 5.1 @@ -123,8 +119,6 @@ rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=355 #EXTINF:0,78 - TNA rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=482 -#EXTINF:0,79 - Zalea TV -rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=483 #EXTINF:0,80 - KTO rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=223 #EXTINF:0,81 - Berbère TV @@ -187,8 +181,6 @@ rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=423 #EXTINF:0,155 - Telif rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=360 -#EXTINF:0,156 - La Locale -rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=363 #EXTINF:0,157 - Normandie TV rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=383 #EXTINF:0,158 - Télénantes Nantes 7 @@ -297,8 +289,6 @@ rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=318 #EXTINF:0,251 - Bulgaria TV rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=321 -#EXTINF:0,252 - Georgian TV -rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=487 #EXTINF:0,254 - Adjara TV rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=316 #EXTINF:0,255 - Imedi TV @@ -439,14 +429,10 @@ rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=626 #EXTINF:0,605 - France 5 (bas debit) rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=627 -#EXTINF:0,606 - M6 (bas debit) -rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=628 #EXTINF:0,607 - Arte (bas debit) rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=629 #EXTINF:0,608 - Direct 8 (bas debit) rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=630 -#EXTINF:0,609 - W9 (bas debit) -rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=631 #EXTINF:0,610 - TMC (bas debit) rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=632 #EXTINF:0,611 - NT1 (bas debit) @@ -810,3 +796,8 @@ #EXTVLCOPT:no-video #EXTVLCOPT:audio-track-id=1006 rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110072 +#EXTINF:0,10073 - Corsica Radio +#EXTVLCOPT:ts-es-id-pid +#EXTVLCOPT:no-video +#EXTVLCOPT:audio-track-id=1007 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=110073 Modified: trunk/configuration/nav.php =================================================================== --- trunk/configuration/nav.php 2007-07-06 09:15:22 UTC (rev 180) +++ trunk/configuration/nav.php 2007-08-29 20:27:42 UTC (rev 181) @@ -87,9 +87,10 @@ echo "<br><br>"; //-- Affiche le chemin complet if (PHP_OS == "WIN32" || PHP_OS == "WINNT") { -$slash="\\"; + $slash="\\"; }else{ -$slash="/";} + $slash="/"; +} $chemin_rep = explode( $slash, $chemin); $n_repertoire =count($chemin_rep); $n_repertoire2 = "0"; Added: trunk/configuration2/addmodule.php =================================================================== --- trunk/configuration2/addmodule.php (rev 0) +++ trunk/configuration2/addmodule.php 2007-08-29 20:27:42 UTC (rev 181) @@ -0,0 +1,36 @@ +<?php +$USER = '../_utilisateur/'; +if(isset($_GET['newmodule'])){ + add_module($_GET['nom'], strtolower(str_replace(' ','',supprime_accents($_GET['nom']))).'/', 'index1.php', '1', '1', '1', '1', '1', $_GET['version'], $_GET['description'], 'Module', 'Alone', $_GET['categorie']); + get_module_list(); + +?> +<div class="titrerec titrereclarger"><div class="coin gh"> </div><div class="titre titrelarger" id="titre">Le nouveau module a bien \xE9t\xE9 ajout\xE9.</div><div class="coin dh"> </div></div><div class="res2"> +<div class="item">Le module <?=$_GET['nom'];?> a bien \xE9t\xE9 ajout\xE9. Son dossier est /module/<?=strtolower(str_replace(' ','',supprime_accents($_GET['nom']))).'/';?> et la page lanc\xE9e au lancenent est /module/<?=strtolower(str_replace(' ','',supprime_accents($_GET['nom']))).'/';?>index1.php. Pour lui associer une icone, cr\xE9ez le fichier /ressources/icones/<?=str_replace(array('>',' !',' ','\xE9','\xEE','\xF4'),array('','','','e','i','o'),$_GET['nom'])?>.gif en respectant les limitations sur les fichiers images propres \xE0 la freebox.</div> +</div><div class="titrerecb titrerecblarger"><div class="coin gb"> </div><div class="titre titrelarger"> </div><div class="coin db"> </div></div> +<?php +} + +?> +<div class="titrerec titrereclarger"><div class="coin gh"> </div><div class="titre titrelarger" id="titre">Ajout d'un nouveau module</div><div class="coin dh"> </div></div><div class="res2"> +<div class="item"> +Vous pouvez ajouter manuellement un module. Le module sera entr\xE9 dans la base de donn\xE9es d'Easybox. Le dossier qui correspondra \xE0 ce module sera /module/{nom du module}/. La page qui sera charg\xE9e au lancement du module sera index1.php. +</div> +<div class="item"> + + <form action="configuration.php" method="get"> + <input type=hidden name=page value=addmodule> + <input type=hidden name=newmodule value=1> + Nom : <input name="nom" id="nom" type="text" value=""><br><br> + Version du module : <input name="version" id="version" type="text" value=""> (ex : 3.4.0)<br><br> + Cat\xE9gorie du module : <select name="categorie" id="categorie" size="1"> + <option value="9">Multim\xE9dia</option> + <option value="18">Web</option> + <option value="29">Pratique</option> + </select><br><br> + Description : <textarea name="commentaire" id="commentaire" style="width:400px;height:100px;"></textarea><br> + <input type=submit value="Ajouter le module"> + </form> +</div> + +<div class="titrerecb titrerecblarger"><div class="coin gb"> </div><div class="titre titrelarger"> </div><div class="coin db"> </div></div> Added: trunk/configuration2/addskin.php =================================================================== --- trunk/configuration2/addskin.php (rev 0) +++ trunk/configuration2/addskin.php 2007-08-29 20:27:42 UTC (rev 181) @@ -0,0 +1,31 @@ +<?php +$USER = '../_utilisateur/'; +if(isset($_GET['newskin'])){ + add_module($_GET['nom'], strtolower(str_replace(' ','',supprime_accents($_GET['nom']))).'/', '', '', '', '', '', '', $_GET['version'], $_GET['description'], 'Skin', 'Alone', ''); + get_module_list(); + +?> +<div class="titrerec titrereclarger"><div class="coin gh"> </div><div class="titre titrelarger" id="titre">Le nouveau module a bien \xE9t\xE9 ajout\xE9.</div><div class="coin dh"> </div></div><div class="res2"> +<div class="item">Le skin <?=$_GET['nom'];?> a bien \xE9t\xE9 ajout\xE9. Son dossier est /skin/<?=strtolower(str_replace(' ','',supprime_accents($_GET['nom']))).'/';?>. Vous devez placer un aper\xE7u de ce skin sous le nom de fichier /skin/<?=strtolower(str_replace(' ','',supprime_accents($_GET['nom']))).'/';?>/vuedensemble.gif.</div> +</div><div class="titrerecb titrerecblarger"><div class="coin gb"> </div><div class="titre titrelarger"> </div><div class="coin db"> </div></div> +<?php +} + +?> +<div class="titrerec titrereclarger"><div class="coin gh"> </div><div class="titre titrelarger" id="titre">Ajout d'un nouveau skin</div><div class="coin dh"> </div></div><div class="res2"> +<div class="item"> +Vous pouvez ajouter manuellement un skin. Le skin sera entr\xE9 dans la base de donn\xE9es d'Easybox. Le dossier qui correspondra \xE0 ce module sera /skin/{nom du module}/. Le skin devra respecter la structure de base des skins Easybox, comme indiqu\xE9 dans la documentation d'Easybox. +</div> +<div class="item"> + + <form action="configuration.php" method="get"> + <input type=hidden name=page value=addskin> + <input type=hidden name=newskin value=1> + Nom : <input name="nom" id="nom" type="text" value=""><br><br> + Version : <input name="version" id="version" type="text" value=""> (ex : 1.0.0)<br><br> + Description : <textarea name="commentaire" id="commentaire" style="width:400px;height:100px;"></textarea><br> + <input type=submit value="Ajouter le skin"> + </form> +</div> + +<div class="titrerecb titrerecblarger"><div class="coin gb"> </div><div class="titre titrelarger"> </div><div class="coin db"> </div></div> Added: trunk/configuration2/autorisations.php =================================================================== --- trunk/configuration2/autorisations.php (rev 0) +++ trunk/configuration2/autorisations.php 2007-08-29 20:27:42 UTC (rev 181) @@ -0,0 +1,47 @@ +<?php + +$RACINE_REP = '../'; +$USER = '../_utilisateur/'; +$ini_class = new INI($USER.'configuration.ini'); +$RES_ICO = '../ressources/icones/'; +$SKIN_REP = $RACINE_REP.'skin/'.skin_rep(); +$ICONE_REP = $SKIN_REP.'icones/'; + +$MOD = get_all_module(); +$db = sqlite_open($USER.'modules.db', 0666); + +echo '<div class="titrerec titrereclarger"><div class="coin gh"> </div><div class="titre titrelarger" id="titre">Choix de l\'utilisateur</div><div class="coin dh"> </div></div><div class="res2">'; + +for($i=5;$i>0;$i--){ + if($ini['utilisateur']['namelevel'.$i]!=''){ + echo '<a class="enregistrer" id="utilis'.$i.'" href="javascript:edite_utilisation(\''.$i.'\');">'.$ini['utilisateur']['namelevel'.$i].'</a>'; + } +} + +echo '</div><div class="titrerecb titrerecblarger"><div class="coin gb"> </div><div class="titre titrelarger"> </div><div class="coin db"> </div></div>'; + +for($i=5;$i>0;$i--){ + if($ini['utilisateur']['namelevel'.$i]!=''){ + echo '<div id="pannel'.$i.'" style="display:none;"><div class="titrerec titrereclarger"><div class="coin gh"> </div><div class="titre titrelarger" id="titre">Edition de '.$ini['utilisateur']['namelevel'.$i].'</div><div class="coin dh"> </div></div><div class="res2" style="height:'.((97*ceil(count($MOD)/9))+39).'px;border-right:1px solid #A0A0A0;border-left:1px solid #A0A0A0;border-bottom:1px solid #A0A0A0;width:848px;">'; + echo '<div class="item" style="border-right:none;border-left:none;">Les modules sur fond rouge sont d\xE9sactiv\xE9s pour l\'utilisateur s\xE9lectionn\xE9. Les verts sont eux activ\xE9s. S\xE9lectionnez un utilisateur puis cliquez sur chaque module afin de l\'activer ou le d\xE9sactiver. Les permissions sont enregistr\xE9es automatiquement.</div>'; + foreach($MOD as $m){ + if($m['actif'.$i]==1){ + $couleur = 'green'; + }else{ + $couleur = 'red'; + } + echo '<div OnMouseOver="temp=this.style.backgroundColor;this.style.backgroundColor=\'#CBDAE4;\';this.style.border=\'1px solid #A0A0A0;\';this.style.padding=\'2px\';" OnMouseOut="this.style.backgroundColor=temp;this.style.border=\'none\';this.style.padding=\'3px\';" onClick="change_autorisation(\''.$i.'\',\''.$m['id'].'\');" style="float:left;width:82px;height:85px;margin:3px;padding:3px;cursor:pointer;background-color:'.$couleur.';"><img src="/'; + if($m['dependance']=='Alone'){ + echo $RES_ICO; + }else{ + echo $ICONE_REP; + } + echo str_replace(array('>',' !',' ','\xE9','\xEE','\xF4','\xE0'),array('','','','e','i','o','a'),$m['nom']).'.gif" style="background-color:white;border:1px solid #A0A0A0;"><br>'; + echo $m['nom'].'</div>'; + } + echo '</div><div class="titrerecb titrerecblarger"><div class="coin gb"> </div><div class="titre titrelarger"> </div><div class="coin db"> </div></div></div>'; + } +} + + +?> Added: trunk/configuration2/bases.xml =================================================================== --- trunk/configuration2/bases.xml (rev 0) +++ trunk/configuration2/bases.xml 2007-08-29 20:27:42 UTC (rev 181) @@ -0,0 +1,111 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"> + +<base> + <nom>video.db</nom> + <table> + <name>film</name> + <syntax>CREATE TABLE film ( id INTEGER NOT NULL PRIMARY KEY DEFAULT "0" , name TEXT , dir TEXT , Synopsis TEXT , img TEXT , sortie INT , realisateur TEXT , avec TEXT , film TEXT , genre TEXT , Duree TEXT , production TEXT , critique_visiteurs TEXT , critique_presse TEXT , ba TEXT , auto INTEGER , last_update INTEGER)</syntax> + </table> + <table> + <name>celebrite</name> + <syntax>CREATE TABLE celebrite ( id INTEGER NOT NULL PRIMARY KEY DEFAULT "0" , nom TEXT , date_naissance INT , lieu_naissance TEXT , img TEXT , bio INT , statut TEXT , last_update INTEGER)</syntax> + </table> +</base> + +<base> + <nom>audio.db</nom> + <table> + <name>music</name> + <syntax>CREATE TABLE music ( id INTEGER NOT NULL PRIMARY KEY, filename TEXT NOT NULL, artist TEXT, name TEXT, album TEXT, genre TEXT, year TEXT)</syntax> + </table> +</base> + +<base> + <nom>podcast.db</nom> + <table> + <name>feeds</name> + <syntax>CREATE TABLE feeds ( id INT NOT NULL , name VARCHAR( 250 ) NOT NULL , add VARCHAR( 500 ) NOT NULL , PRIMARY KEY ( id ) )</syntax> + </table> + <table> + <name>radios</name> + <syntax>CREATE TABLE radios (id INTEGER NOT NULL PRIMARY KEY DEFAULT "0", name VARCHAR( 250 ) NOT NULL , add VARCHAR( 500 ) NOT NULL )</syntax> + </table> + <table> + <name>tvs</name> + <syntax>CREATE TABLE tvs (id INTEGER NOT NULL PRIMARY KEY DEFAULT "0", name VARCHAR( 250 ) NOT NULL , add VARCHAR( 500 ) NOT NULL )</syntax> + </table></base> + +<base> + <nom>records.db</nom> + <table> + <name>records</name> + <syntax>CREATE TABLE records ( id INT NOT NULL , chaine VARCHAR( 1000 ) NOT NULL , debut TIMESTAMP NOT NULL , fin TIMESTAMP NOT NULL , fichierbat VARCHAR( 1000 ) NOT NULL , task INT NOT null , taskend INT NOT null , statut VARCHAR( 100 ) , UNIQUE ( id ) )</syntax> + </table> +</base> + +<base> + <nom>rss.db</nom> + <table> + <name>cat</name> + <syntax>CREATE TABLE cat ( id INT NOT NULL , name VARCHAR( 250 ) NOT NULL , PRIMARY KEY ( id ) )</syntax> + </table> + <table> + <name>feeds</name> + <syntax>CREATE TABLE feeds ( id INT NOT NULL , cat VARCHAR( 250 ) NOT NULL , name VARCHAR( 250 ) NOT NULL , add VARCHAR( 500 ) NOT NULL , img VARCHAR( 500 ) NULL , description VARCHAR( 500 ) NULL ,PRIMARY KEY ( id ) )</syntax> + </table> +</base> + +<base> + <nom>utilisateur.db</nom> + <table> + <name>favoris</name> + <syntax>CREATE TABLE favoris ( id INTEGER NOT NULL PRIMARY KEY , lien VARCHAR( 60000 ) NOT NULL )</syntax> + </table> + <table> + <name>signet</name> + <syntax>CREATE TABLE signet ( id INTEGER NOT NULL PRIMARY KEY , lien VARCHAR( 60000 ) NOT NULL,duree VARCHAR( 60000 ) NOT NULL )</syntax> + </table> + <table> + <name>var</name> + <syntax>CREATE TABLE var (var VARCHAR, value LONGTEXT)</syntax> + </table> + <table> + <name>templates</name> + <syntax>CREATE TABLE templates (template VARCHAR, url TEXT)</syntax> + </table> + <table> + <name>cinemas</name> + <syntax>CREATE TABLE cinemas ( timestamp INT, cinema LONGTEXT, page VARCHAR )</syntax> + </table> +</base> + +<base> + <nom>agenda.db</nom> + <table> + <name>calendrier</name> + <syntax>CREATE TABLE calendrier ( idx INTEGER PRIMARY KEY, jour NOT NULL, heure NOT NULL, minute NOT NULL, duree, lieu, description )</syntax> + </table> +</base> + +<base> + <nom>cache.db</nom> + <table> + <name>film</name> + <syntax>CREATE TABLE film ( id INTEGER NOT NULL PRIMARY KEY DEFAULT "0" , file TEXT, name TEXT , Synopsis TEXT , img TEXT , sortie INT , realisateur TEXT , avec TEXT , film TEXT , genre TEXT , Duree TEXT , production TEXT , critique_visiteurs TEXT , critique_presse TEXT , ba TEXT )</syntax> + </table> + <table> + <name>cache</name> + <syntax>CREATE TABLE cache ( id INTEGER NOT NULL PRIMARY KEY DEFAULT "0" , fichier TEXT, expire TEXT )</syntax> + </table> +</base> + +<base> + <nom>modules.db</nom> + <table> + <name>modules</name> + <syntax>CREATE TABLE modules ( id INTEGER PRIMARY KEY , nom TEXT , repertoire TEXT , lien TEXT , actif1 TEXT , actif2 TEXT , actif3 TEXT , actif4 TEXT , actif5 TEXT , version TEXT , description TEXT , type TEXT , dependance TEXT , categorie INTEGER)</syntax> + </table> +</base> +</rss> + Added: trunk/configuration2/bibliotheque.php =================================================================== --- trunk/configuration2/bibliotheque.php (rev 0) +++ trunk/configuration2/bibliotheque.php 2007-08-29 20:27:42 UTC (rev 181) @@ -0,0 +1,25 @@ +<div class="titrerec titrereclarger"><div class="coin gh"> </div><div class="titre titrelarger3" id="titre">Biblioth\xE8que vid\xE9o</div><?=gen_bouton('+', 'ajouterfiche();', 'bouton boutonlast', 'boutonselected boutonlast');?><div class="coin dh"> </div></div><div class="res2"> +<div class="item">Voici le contenu de votre biblioth\xE8que vid\xE9o. Cliquez sur un nom pour \xE9diter la fiche du film facilement.</div> + +<?php + +$db = sqlite_open('../_utilisateur/video.db', 0666); + +function cutLongWords($string,$length,$separation) { + return preg_replace('/([^ ]{'.$length.'})/si','\1'.$separation,$string); +} + +$result = sqlite_array_query($db, 'SELECT * from film ORDER BY name asc', SQLITE_ASSOC); +foreach ($result as $entry) { + echo '<a class="enregistrer" href="javascript:editfiche(\''.$entry['id'].'\');"><img id="imageminiature'.$entry['id'].'" src="'.$entry['img'].'" class="icone" style="float:left;width:15px;height:20px;">'.$entry['name'].'</a>'; +} + +?> + +</div><div class="titrerecb titrerecblarger"><div class="coin gb"> </div><div class="titre titrelarger"> </div><div class="coin db"> </div></div> + +<div id="fiche" style="position:absolute;top:0px;left:0px;visibility:hidden;width:860px;height:550px;"></div> + +<script language="javascript"> +fix_position_dir('fiche'); +</script> Added: trunk/configuration2/change_ini.php =================================================================== Added: trunk/configuration2/config.xml =================================================================== --- trunk/configuration2/config.xml (rev 0) +++ trunk/configuration2/config.xml 2007-08-29 20:27:42 UTC (rev 181) @@ -0,0 +1,498 @@ +<?xml version = '1.0' encoding = 'iso-8859-1'?> +<rss version="2.0" > + <channel> + <categorie name="explorateur" > + <souscat name="films_defaut" > + <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&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&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> + </souscat> + <souscat name="dvd" > + <name>Lettre de votre lecteur DVD</name> + <type>dvd</type> + <defaut1>d:</defaut1> + <defaut2>/mnt/cdrom</defaut2> + </souscat> + <souscat name="ext" > + <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&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&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&eacute;pertoires dont le nom contient une des valeurs suivantes lors des scans : tout dossier contenant une de ces chaines sera volontairement oubli\xE9.</name> + <type>text</type> + <defaut>NOSCAN</defaut> + </souscat> + <souscat name="afficher_fichier_cache" > + <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&egrave;res supprim&eacute;es dans le nom des films pour une recherche plus ais&eacute;e d'information sur internet. Ex : "James.Bond.cd1.avi" deviendra "James.Bond..avi".</name> + <type>text</type> + <defaut>cd1,cd2,divx,dvdrip,_,FRENCH,VOSTFR,Vostfr</defaut> + </souscat> + <souscat name="liste_amc_defaut" > + <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 &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&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> + </souscat> + <souscat name="afficher_personnes" > + <name>Afficher les fiches des personnalit&eacute;s.</name> + <type>boolean</type> + <defaut>oui</defaut> + </souscat> + </categorie> + <categorie name="multimedia" > + <souscat name="sortiefreebox" > + <name>Quelle sortie audio voulez-vous utiliser ?</name> + <type>options</type> + <option> + <choix> + <nom>Sortie TV transcod&eacute;e (St&eacute;r&eacute;o)</nom> + <titre>TV</titre> + </choix> + <choix> + <nom>Sortie TV non-transcod&eacute;e (AC3)</nom> + <titre>AC3</titre> + </choix> + <choix> + <nom>Carte son PC</nom> + <titre>PC</titre> + </choix> + </option> + <defaut>TV</defaut> + </souscat> + <souscat name="compensation" > + <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&eacute; de VLC. Le profil "Wifi et ordinateurs moyens" permet d'&eacute;conomiser l&eacute;g&agrave;rement le processeur et les d&eacute;bits au d&eacute;triment de la qualit&eacute;. Le profil "Wifi difficile et ordinateurs peu puissants" appuie encore ce ph&eacute;nom&agrave;ne.</name> + <type>options</type> + <option> + <choix> + <nom>Normal</nom> + <titre>play.html</titre> + </choix> + <choix> + <nom>Wifi et ordinateurs moyens</nom> + <titre>play-wifi.html</titre> + </choix> + <choix> + <nom>Wifi difficile et ordinateurs peu puissants</nom> + <titre>play-low.html</titre> + </choix> + </option> + <defaut>play.html</defaut> + </souscat> + </categorie> + <categorie name="mail" > + <souscat name="serveur" > + <name>Adresse de votre serveur mail (pop3,...)</name> + <type>text</type> + <defaut/> + </souscat> + <souscat name="service_port" > + <name>Port sur lequel Easy-Box se connecte &agrave; votre serveur mail</name> + <type>text</type> + <typeplus>numeric</typeplus> + <defaut>110</defaut> + </souscat> + <souscat name="login" > + <name>Nom d'utilisateur de votre compte mail</name> + <type>text</type> + <defaut/> + </souscat> + <souscat name="pass" > + <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&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&eacute;bit (inutilis&eacute; pour l'instant)</name> + <type>password</type> + <defaut/> + </souscat> + </categorie> + <categorie name="skin" > + <souscat name="skin" > + <name>Skin par defaut</name> + <type>hidden</type> + <defaut>Simple</defaut> + </souscat> + </categorie> + <categorie name="download" > + <souscat name="patch" > + <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 &agrave; jour</name> + <type>text</type> + <defaut>http://www.easybox-mod.org/genxml.php</defaut> + </souscat> + <souscat name="maj" > + <name>Voulez-vous qu'Easybox se mette &agrave; jour automatiquement ? (Il est fortement d&eacute;conseill&eacute; de d&eacute;sactiver cette option)</name> + <type>boolean</type> + <defaut>oui</defaut> + </souscat> + </categorie> + <categorie name="demarrage" > + <souscat name="demarrage" > + <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 &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&egrave;der &agrave; tous les modules et &agrave; la configuration &agrave; tout)</name> + <type>text</type> + <defaut>Admin</defaut> + </souscat> + <souscat name="level5" > + <name>Mot de passe de l'acces niveau 5 (chiffres uniquement)</name> + <type>password</type> + <typeplus>numeric</typeplus> + <defaut/> + </souscat> + <souscat name="namelevel4" > + <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> + <souscat name="level4" > + <name>Mot de passe de l'acces niveau 4 (chiffres uniquement)</name> + <type>password</type> + <typeplus>numeric</typeplus> + <defaut/> + </souscat> + <souscat name="namelevel3" > + <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> + <souscat name="level3" > + <name>Mot de passe de l'acces niveau 3 (chiffres uniquement)</name> + <type>password</type> + <typeplus>numeric</typeplus> + <defaut/> + </souscat> + <souscat name="namelevel2" > + <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> + <souscat name="level2" > + <name>Mot de passe de l'acces niveau 2 (chiffres uniquement)</name> + <type>password</type> + <typeplus>numeric</typeplus> + <defaut/> + </souscat> + <souscat name="namelevel1" > + <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> + <souscat name="level1" > + <name>Mot de passe de l'acces niveau 1 (chiffres uniquement)</name> + <type>password</type> + <typeplus>numeric</typeplus> + <defaut/> + </souscat> + </categorie> + <categorie name="favoris" > + <souscat name="touche1" > + <name>Touche 1</name> + <type>telecomande</type> + <defaut>films/</defaut> + </souscat> + <souscat name="touche2" > + <name>Touche 2</name> + <type>telecomande</type> + <defaut>mp3/</defaut> + </souscat> + <souscat name="touche3" > + <name>Touche 3</name> + <type>telecomande</type> + <defaut>diaporama/</defaut> + </souscat> + <souscat name="touche4" > + <name>Touche 4</name> + <type>telecomande</type> + <defaut>guidetv/</defaut> + </souscat> + <souscat name="touche5" > + <name>Touche 5</name> + <type>telecomande</type> + <defaut>meteo/</defaut> + </souscat> + <souscat name="touche6" > + <name>Touche 6</name> + <type>telecomande</type> + <defaut>mail/</defaut> + </souscat> + <souscat name="touche7" > + <name>Touche 7</name> + <type>telecomande</type> + <defaut>jt/</defaut> + </souscat> + <souscat name="touche8" > + <name>Touche 8</name> + <type>telecomande</type> + <defaut>livescore/</defaut> + </souscat> + <souscat name="touche9" > + <name>Touche 9</name> + <type>telecomande</type> + <defaut>maj_mod/</defaut> + </souscat> + </categorie> + <categorie name="multiposte" > + <souscat name="muxer" > + <name>Muxer &agrave; utiliser pour l'enregistrement</name> + <type>options</type> + <option> + <choix> + <nom>ts</nom> + <titre>ts</titre> + </choix> + <choix> + <nom>ps</nom> + <titre>ps</titre> + </choix> + <choix> + <nom>mpeg1</nom> + <titre>mpeg1</titre> + </choix> + <choix> + <nom>ogg</nom> + <titre>ogg</titre> + </choix> + <choix> + <nom>asf</nom> + <titre>asf</titre> + </choix> + <choix> + <nom>mp4</nom> + <titre>mp4</titre> + </choix> + <choix> + <nom>mov</nom> + <titre>mov</titre> + </choix> + <choix> + <nom>wav</nom> + <titre>wav</titre> + </choix> + <choix> + <nom>raw</nom> + <titre>raw</titre> + </choix> + </option> + <defaut>ps</defaut> + </souscat> + <souscat name="cvid" > + <name>Codec vid&eacute;o</name> + <type>options</type> + <option> + <choix> + <nom>Aucun</nom> + <titre>none</titre> + </choix> + <choix> + <nom>mp1v</nom> + <titre>mp1v</titre> + </choix> + <choix> + <nom>mp2v</nom> + <titre>mp2v</titre> + </choix> + <choix> + <nom>mp4v</nom> + <titre>mp4v</titre> + </choix> + <choix> + <nom>DIV1</nom> + <titre>DIV1</titre> + </choix> + <choix> + <nom>DIV2</nom> + <titre>DIV2</titre> + </choix> + <choix> + <nom>DIV3</nom> + <titre>DIV3</titre> + </choix> + <choix> + <nom>H263</nom> + <titre>H263</titre> + </choix> + <choix> + <nom>MV1</nom> + <titre>MV1</titre> + </choix> + <choix> + <nom>MV2</nom> + <titre>MV2</titre> + </choix> + <choix> + <nom>MJPG</nom> + <titre>MJPG</titre> + </choix> + <choix> + <nom>theo</nom> + <titre>theo</titre> + </choix> + </option> + <defaut>none</defaut> + </souscat> + <souscat name="caud" > + <name>Codec audio</name> + <type>options</type> + <option> + <choix> + <nom>Aucun</nom> + <titre>none</titre> + </choix> + <choix> + <nom>mpga</nom> + <titre>mpga</titre> + </choix> + <choix> + <nom>mp2a</nom> + <titre>mp2a</titre> + </choix> + <choix> + <nom>mp3</nom> + <titre>mp3</titre> + </choix> + <choix> + <nom>mp4a</nom> + <titre>mp4a</titre> + </choix> + <choix> + <nom>a52</nom> + <titre>a52</titre> + </choix> + <choix> + <nom>vorb</nom> + <titre>vorb</titre> + </choix> + <choix> + <nom>flac</nom> + <titre>flac</titre> + </choix> + <choix> + <nom>spx</nom> + <titre>spx</titre> + </choix> + <choix> + <nom>s16l</nom> + <titre>s16l</titre> + </choix> + <choix> + <nom>fl32</nom> + <titre>fl32</titre> + </choix> + </option> + <defaut>none</defaut> + </souscat> + <souscat name="bvid" > + <name>Bitrate vid&eacute;o</name> + <type>text</type> + <typeplus>numeric</typeplus> + <defaut>2000</defaut> + </souscat> + <souscat name="baud" > + <name>Bitrate audio</name> + <type>text</type> + <typeplus>numeric</typeplus> + <defaut>256</defaut> + </souscat> + <souscat name="multiposte" > + <name>Disque &agrave; la base duquel sont mis les enregistrements vid&eacute;o</name> + <type>dvd</type> + <defaut>c:</defaut> + </souscat> + </categorie> + <categorie name="screensaver" > + <souscat name="scr_actif" > + <name>Activer le screensaver</name> + <type>boolean</type> + <defaut>non</defaut> + </souscat> + <souscat name="scr_duree" > + <name>Temps avant lancement automatique du screensaver (touche 0 = lancement manuel)</name> + <type>text</type> + <defaut>60</defaut> + </souscat> + <souscat name="scr_temps" > + <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&eacute;gories dans le menu principal.</name> + <type>boolean</type> + <defaut>oui</defaut> + </souscat> + </categorie> + </channel> +</rss> Added: trunk/configuration2/configuration.php =================================================================== --- trunk/configuration2/configuration.php (rev 0) +++ trunk/configuration2/configuration.php 2007-08-29 20:27:42 UTC (rev 181) @@ -0,0 +1,113 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> +<html> +<head> +<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> +<title>Configuration d'Easybox</title> +<link href="template.css" rel="stylesheet" type="text/css"> +<script type="text/javascript" src="script.js"></script> + +</head> +<body> +<center> + <div style="align:center;width:1100px;"><img src="images/haut.png" border="0"> + <div id="content" class="blocres"> +<?php + // R\xE9cup\xE9ration des libs + //require_once('verif_config.php'); + require_once('../_framework/fonctions_partagees.inc.php'); + require_once('../_framework/lib/ini.php'); + + // Construction du menu + $titre=array(array('titre'=>'Options générales','smenu'=>array(array('titre'=>'Options principales','lien'=>'configuration.php?page=gen&cat=explorateur','desc'=>'Régler ici les dossiers o\xF9 se trouvent vos fichiers et les options élémentaires.','img'=>'general.png'), + array('titre'=>'Multimédia','lien'=>'configuration.php?page=gen&cat=multimedia','desc'=>'Ajuster les qualités d\'encodage, les orties audios...','img'=>'multimedia.png'), + array('titre'=>'Mail','lien'=>'configuration.php?page=gen&cat=mail','desc'=>'Définir le compte mail qui devra \xEAtre relevé dans le module mail d\'Easybox.','img'=>'mail.png'), +// array('titre'=>'Messagerie','lien'=>'configuration.php?page=gen&cat=messagerie'), + array('titre'=>'Mises à jour','lien'=>'configuration.php?page=gen&cat=download','desc'=>'Activer ou désactiver les mises à jour automatiques.','img'=>'maj.png'), + array('titre'=>'Raccourcis télécommande','lien'=>'configuration.php?page=gen&cat=favoris','desc'=>'Configurer la télécommande de la freebox pour lancer facilement certains modules.','img'=>'telecommande.png'), +// array('titre'=>'Modules','lien'=>''), +// array('titre'=>'Screensaver','lien'=>''), + array('titre'=>'Magnétoscope numérique','lien'=>'configuration.php?page=gen&cat=multiposte','desc'=>'Configurer le module d\'enregistrement d\'Easybox.','img'=>'magnetoscope.png'))), + array('titre'=>'Gestion d\'utilisateur','smenu'=>array(array('titre'=>'Gestion des utilisateurs','lien'=>'configuration.php?page=uti','desc'=>'Activer le controle d\'accès, définir les mots de passe.','img'=>'utilisateurs.png'), + array('titre'=>'Autorisations d\'accès','lien'=>'configuration.php?page=aut','desc'=>'Définir les autortisations pour chaque utilisateur.','img'=>'autorisations.png'))), + array('titre'=>'Skins et modules','smenu'=>array(array('titre'=>'Gestion des modules','lien'=>'','desc'=>'Supprimer et organiser ses modules.','img'=>'module.png'), + array('titre'=>'Gestion des skins','lien'=>'','desc'=>'Supprimer, organiser et activer ses skins.','img'=>'skin.png'), + array('titre'=>'Ajout d\'un module','lien'=>'configuration.php?page=addmodule','desc'=>'Installer des modules supplémentaires manuellement.','img'=>'addmodule.png'), + array('titre'=>'Ajout d\'un skin','lien'=>'configuration.php?page=addskin','desc'=>'Installer des skins supplémentaires manuellement.','img'=>'skin.png'))), + array('titre'=>'Mes médias','smenu'=>array(array('titre'=>'Scan vidéo','lien'=>'configuration.php?page=scanvideo','desc'=>'Scanner ses disques à la recherche de fichiers vidéos et récupérer les fiches depuis internet.','img'=>'video.png'), + array('titre'=>'Scan audio','lien'=>'configuration.php?page=scanaudio','desc'=>'Scanner ses disques à la recherche de fichiers audios et récupérer les tags ID3.','img'=>'audio.png'), + array('titre'=>'Importer des bases de données','lien'=>'','desc'=>'Importer des bases de données de médias externes (Ant Movie...).','img'=>'importer.png'), + array('titre'=>'Podcasts','lien'=>'configuration.php?page=pod','desc'=>'Gérer ses podcasts.','img'=>'podcast.png'), + array('titre'=>'RSS','lien'=>'','desc'=>'Gérer ses flux rss.','img'=>'RSS.png'), + array('titre'=>'Webradios','lien'=>'','desc'=>'Gérer ses webradios.','img'=>'webradio.png'), + array('titre'=>'WebTVs','lien'=>'','desc'=>'Gérer ses WebTVs.','img'=>'webtv.png'), + array('titre'=>'Gestion de la bibliothéque vidéo','lien'=>'configuration.php?page=bib','desc'=>'Modifier manuellement sa bibliothèque vidéo.','img'=>'bibvideo.png'))), + array('titre'=>'Agenda','smenu'=>array(array('titre'=>'Gestion de l\'agenda','lien'=>'','img'=>'agenda.png'))), + array('titre'=>'Site web d\'Easybox','smenu'=>array(array('titre'=>'Forum','lien'=>'http://www.easybox-mod.org/forums/index.php','img'=>'easybox.png','target'=>'_blank','desc'=>'Discuter du développement d\'Easybox ou demander de l\'assistance.'), + array('titre'=>'Skins','lien'=>'http://www.easybox-mod.org/index.php?/addon/Skin/','target'=>'_blank','img'=>'skin.png','desc'=>'Télécharger de nouveaux skins.'), + array('titre'=>'Modules','lien'=>'http://www.easybox-mod.org/index.php?/addon/Module/','target'=>'_blank','img'=>'addmodule.png','desc'=>'Télécharger de nouveaux modules.'), + array('titre'=>'Site','lien'=>'http://www.easybox-mod.org','img'=>'easybox.png','target'=>'_blank','desc'=>'Accéder au site officiel d\'Easybox pour y suivre l\'actualité du mod.')))); + + $i = 0; + foreach($titre as $t){ + echo '<div class="titrerec"><div class="coin gh"> </div><div class="titre" id="titre">'.$t['titre'].'</div><div class="coin dh"> </div></div><div class="res">'; + foreach($t['smenu'] as $s){ + if(isset($s['target'])){ + $target = $s['target']; + }else{ + $target = '_self'; + } + echo '<a class="resultat" OnMouseOut="cacher_comment('.$i.');" OnMouseOver="affich_comment('.$i.');" target="'.$target.'" href="'.$s['lien'].'" style="line-height:16px;"><img src="images/'.$s['img'].'" style="float:left;border:none;margin-right:2px;">'.$s['titre'].'<br><span id="com'.$i.'" style="display:none;color:black;font-size:10px;">'.$s['desc'].'</span></a>'; + $i++; + } + echo '</div><div class="titrerecb"><div class="coin gb"> </div><div class="titre"> </div><div class="coin db"> </div></div>'; + } + +?> + + + </div> + <div class="blocvideo"> + +<?php + +(isset($_GET['page'])?$page=$_GET['page']:$page='gen'); + +switch($page){ + case 'gen': + include('general.php'); + break; + case 'uti': + include('utilisateurs.php'); + break; + case 'aut': + include('autorisations.php'); + break; + case 'addskin': + include('addskin.php'); + break; + case 'addmodule': + include('addmodule.php'); + break; + case 'scanvideo': + include('scanvideo.html'); + break; + case 'scanaudio': + include('scanaudio.html'); + break; + case 'bib': + include('bibliotheque.php'); + break; + case 'pod': + include('podcast.php'); + break; + default: + break; +} + +?> + + </div> +</div> + +</center> +</body></html> Added: trunk/configuration2/edituser.php =================================================================== Added: trunk/configuration2/general.php =================================================================== --- trunk/configuration2/general.php (rev 0) +++ trunk/configuration2/general.php 2007-08-29 20:27:42 UTC (rev 181) @@ -0,0 +1,179 @@ +<? +$CONFIG_INI = "../_utilisateur/configuration.ini"; +$xml = simplexml_load_file('config.xml'); + +$USER = '../_utilisateur/'; +$MOD = get_all_module(); + +//variables initiales pour les navigateurs +$repinitial = ereg_replace("[\\]","/",strtolower(realpath("../../../../../../../../../.."))); + +$ini_class = new INI($CONFIG_INI); + +(isset($_GET['cat'])?$cat=$_GET['cat']:$cat='explorateur'); + +// Recherche du titre +foreach($titre[0]['smenu'] as $e){ + if(str_replace('configuration.php?page=gen&cat=','',$e['lien'])==$cat){ + $titre=$e['titre']; + } +} + +echo '<div class="titrerec titrereclarger"><div class="coin gh"> </div><div class="titre titrelarger" id="titre">'.$titre.'</div><div class="coin dh"> </div></div><div class="res2">'; +$j = 0; + +// Affichage des champs du formulaire +foreach($xml->channel->categorie as $cate){ + $catnom = strval($cate['name']); + if($cate['name']==$cat){ + $total = 0; + foreach($cate->souscat as $scate){ + $total++; + $nom = strval($scate['name']); + $entry = $ini[$catnom][$nom]; + $desc = $scate->name; + $type = $scate->type; + $typeplus = $scate->typeplus; + + echo '<div class="item"><div style="width:40%;float:left;">'.$desc.'</div><div style="margin-left:40px;width:60%;">'; + + + switch($type){ + // Case d'un bool\xE9en + case 'boolean': + echo '<input type="radio" name="'.$catnom.'|'.$nom.'" id="oui'.$j.'" value="oui" '; + if($entry=="oui") echo 'checked="checked"'; + echo '>Oui<input type="radio" name="'.$catnom.'|'.$nom.'" id="non'.$j.'" value="non"'; + if($entry=="non") echo 'checked="checked"'; + echo '>Non<br>'; + $js .= 'save_boolean("'.$catnom.'","'.$nom.'","oui'.$j.'","non'.$j.'");'; + break; + + // Cas d'un mot de passe + case 'password': + ($typeplus=='numeric'?$num="onKeypress=\"if(event.keyCode > 31 && (event.keyCode < 45 || event.keyCode > 57)) event.returnValue = false; if(event.which > 31 && (event.which < 45 || event.which > 57)) return false;\"":$num=""); + echo '<input name="'.$catnom.'|'.$nom.'" id="'.$catnom.'|'.$nom.'" type="password" autocomplete="off" '.$num.' size="'.(strlen(htmlspecialchars($entry))+5).'" value="'.$entry.'"><script language="javascript">setTimeout("document.getElementById(\''.$catnom.'|'.$nom.'\').value = \''.$entry.'\';",50);</script>'; + $js .= 'set_ini("'.$catnom.'","'.$nom.'",document.getElementById("'.$catnom.'|'.$nom.'").value);'; + break; + + // Cas d'un choix de dossier + case 'navigateur': + $repini = ''; + $table = explode("|",$entry); + echo '<table><tr><td><select onchange="maj(\''.$catnom.'|'.$nom.'\')" size="8" style="width:400px;" name="list'.$catnom.'|'.$nom.'" id="list'.$catnom.'|'.$nom.'" multiple="multiple">'; + + foreach($table as $line){ + if($repini==''){$repini=$line;} + echo '<option value="'.$line.'">'.$line.'</option>'; + } + + echo '</select></td><td><br> + <input type="button" value="↑" onClick="TriListe(\''.$catnom.'|'.$nom.'\',\'-\');"><br> + <input type="button" value="-" onClick="effacer(\''.$catnom.'|'.$nom.'\');"><br> + <input type="button" value="+" onClick="typ=\''.$nom.'\';idNom=\''.$catnom.'|'.$nom.'\';affich_dir(\''.$repini.'\');"><br> + <input type="button" value="↓" onClick="TriListe(\'$key|$subkey\',\'+\')"> + </td></tr></table> + <input name="'.$catnom.'|'.$nom.'" id="'.$catnom.'|'.$nom.'" type="hidden" size="20000" value="">'; + $js .= 'set_ini("'.$catnom.'","'.$nom.'",document.getElementById("'.$catnom.'|'.$nom.'").value);'; + break; + + // Cas du choix du lecteur DVD + case 'dvd': + if (PHP_OS == "WIN32" || PHP_OS == "WINNT") { + echo '<select name="'.$catnom.'|'.$nom.'" id="'.$catnom.'|'.$nom.'" size="1">'; + $lecteur=array("b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"); + for ($n=0;$n<=25; $n++){ + if(@is_dir($lecteur[$n].':/')){ + ($entry==($lecteur[$n].':')?$selected=" SELECTED":$selected=""); + echo '<option'.$selected.' value="'.$lecteur[$n].':">'.$lecteur[$n].':</option>'; + } + } + echo '</select>'; + }else{ + echo '<input name="'.$catnom.'|'.$nom.'" id="'.$catnom.'|'.$nom.'" type="text" size="20" value="'.$entry.'"> + <input type="button" value="+" onClick="window.open(\'nav.php?form=form1&textfield='.$catnom.'|'.$nom.'&action=directory|'.$ext.'&chemin='.$repinitial.'\',\'_blank\',\'toolbar=0,location=0,directories=0,status=0,scrollbars=1,resizable=0,copyhistory=0,menuBar=0,width=800,height=450\')" /><br>'; + } + $js .= 'set_ini("'.$catnom.'","'.$nom.'",document.getElementById("'.$catnom.'|'.$nom.'").value);'; + break; + + // Cas d'un choix multiple + case 'options': + echo '<select name="'.$catnom.'|'.$nom.'" id="'.$catnom.'|'.$nom.'" size="1">'; + + foreach($scate->option->choix as $choix){ + echo '<option value="'.utf8_decode($choix->titre).'"'; + if($entry==utf8_decode($choix->titre)) echo 'selected'; + echo '>'.utf8_decode($choix->nom).'</option>'; + } + echo '</select>'; + $js .= 'set_ini("'.$catnom.'","'.$nom.'",document.getElementById("'.$catnom.'|'.$nom.'").value);'; + break; + + // Raccourcis de la t\xE9l\xE9commande + case 'telecomande': + $i=1; + echo '<select name="'.$catnom.'|'.$nom.'" id="'.$catnom.'|'.$nom.'" size="1">'; + echo '<option value="."'; + if($entry==".") { echo 'selected'; } + echo '>Non Utilisé</option>'; + + foreach($MOD as $module){ + echo '<option value="'.$module['repertoire'].$module['lien'].'"'; + if($entry==$module['repertoire'].$module['lien']) { echo 'selected'; } + echo '>'.htmlentities($module['nom']).'</option>'; + } + + $db = sqlite_open('../_utilisateur/utilisateur.db', 0666); + $query = "SELECT * FROM favoris"; + $result=sqlite_query($db, $query); + + while ($row = sqlite_fetch_array($result)) { + echo '<option value="'.$row['lien'].'" '; + if($entry==$row['lien']) { echo 'selected'; } + echo '>'.stripslashes($row['lien']).'</option>'; + } + echo '</select>'; + $js .= 'set_ini("'.$catnom.'","'.$nom.'",document.getElementById("'.$catnom.'|'.$nom.'").value);'; + break; + + // Cas de base : textbox + default: + ($typeplus=='numeric'?$num="onKeypress=\"if(event.keyCode > 31 && (event.keyCode < 45 || event.keyCode > 57)) event.returnValue = false; if(event.which > 31 && (event.which < 45 || event.which > 57)) return false;\"":$num=""); + echo '<input name="'.$catnom.'|'.$nom.'" id="'.$catnom.'|'.$nom.'" type="text" autocomplete="off" '.$num.' size="'; + echo strlen(htmlspecialchars($entry))+10; + echo '" value="'.$entry.'"><script language="javascript">setTimeout("document.getElementById(\''.$catnom.'|'.$nom.'\').value = \''.$entry.'\';",50);</script><br>'; + $js .= 'set_ini("'.$catnom.'","'.$nom.'",document.getElementById("'.$catnom.'|'.$nom.'").value);'; + break; + + + } + echo '</div></div>'; + if(((++$j % 3)==0 AND $i>0) OR $j==count($cate->xpath('souscat/'))){ + echo '<a class="enregistrer" style="cursor:pointer;" onclick="save();"><img src="images/disquette.png" class="icone" style="width:30px;height:30px;">Enregistrer</a>'; + } + + } + } +} + echo '</div><div class="titrerecb titrerecblarger"><div class="coin gb"> </div><div class="titre titrelarger"> </div><div class="coin db"> </div></div>'; + + + echo '<script language="javascript">var suc=0;function save(){'.$js.'}function addsucces(){suc=suc+1;if(suc=='.$total.'){alert("Configuration enregistr\xE9e avec succ\xE8s");}}</script>'; + + + +?> + +<div id="explor" style="position:absolute;top:0px;left:0px;visibility:hidden;width:860px;height:550px;"> +Explorateur de fichiers +</div> + +<script language="javascript"> +maj('explorateur|films_defaut'); +maj('explorateur|photos_defaut'); +maj('explorateur|audio_defaut'); +fix_position_dir('explor'); + + +</script> + Added: trunk/configuration2/get_utilisateur.php... [truncated message content] |
From: <ara...@us...> - 2007-07-06 09:15:26
|
Revision: 180 http://svn.sourceforge.net/easybox-mod/?rev=180&view=rev Author: aragornis Date: 2007-07-06 02:15:22 -0700 (Fri, 06 Jul 2007) Log Message: ----------- Diverses modifs Modified Paths: -------------- trunk/_framework/framework.php trunk/_utilisateur/modules.db trunk/_utilisateur/multiposte.m3u trunk/http-vlc/lecteur/set_option.html trunk/module/clips/clips.tpl trunk/module/dailymotion/dailymotion.tpl trunk/module/films/films.tpl trunk/module/telesites/index1.php trunk/module/youtube/index1.php trunk/module/youtube/youtube.tpl trunk/skin/mediacenter/films.tpl trunk/skin/simple/interface.tpl Added Paths: ----------- trunk/module/telesites/icone.gif trunk/ressources/icones/Radioblogclub.gif trunk/ressources/icones/Telesites.gif Modified: trunk/_framework/framework.php =================================================================== --- trunk/_framework/framework.php 2007-06-04 00:08:34 UTC (rev 179) +++ trunk/_framework/framework.php 2007-07-06 09:15:22 UTC (rev 180) @@ -56,7 +56,6 @@ $info_fbx = fbx_GetBoxUserAgent(); $vers_fbx = $info_fbx['version']; $smarty->assign('vers_fbx',$vers_fbx); - file_put_contents($RACINE_REP.'log.txt',"\r\n".$HTTP_SERVER_VARS['HTTP_USER_AGENT']); $EXPLORATEUR = $MODULE.'_explorateur/index1.php'; $smarty->assign('EXPLORATEUR',$EXPLORATEUR); Modified: trunk/_utilisateur/modules.db =================================================================== (Binary files differ) Modified: trunk/_utilisateur/multiposte.m3u =================================================================== --- trunk/_utilisateur/multiposte.m3u 2007-06-04 00:08:34 UTC (rev 179) +++ trunk/_utilisateur/multiposte.m3u 2007-07-06 09:15:22 UTC (rev 180) @@ -15,14 +15,10 @@ rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=373 #EXTINF:0,10 - TMC rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=497 -#EXTINF:0,11 - NT1 -rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=374 #EXTINF:0,12 - NRJ 12 5.1 rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=381 #EXTINF:0,12 - NRJ 12 Stéréo rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=382 -#EXTINF:0,13 - La Chaîne Parlementaire -rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=226 #EXTINF:0,14 - France 4 rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=376 #EXTINF:0,15 - BFM TV @@ -41,12 +37,14 @@ rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=210 #EXTINF:0,22 - AB 1 rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=211 -#EXTINF:0,23 - TV5 -rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=206 +#EXTINF:0,23 - NT1 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=374 #EXTINF:0,24 - France ô rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=238 #EXTINF:0,25 - RTBF Sat rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=448 +#EXTINF:0,26 - TV5 +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=206 #EXTINF:0,27 - JET rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=496 #EXTINF:0,31 - Game One @@ -111,6 +109,8 @@ rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=618 #EXTINF:0,66 - Real Madrid TV rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=387 +#EXTINF:0,68 - La Chaîne Parlementaire +rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=226 #EXTINF:0,69 - Euronews rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=205 #EXTINF:0,70 - Bloomberg TV Modified: trunk/http-vlc/lecteur/set_option.html =================================================================== --- trunk/http-vlc/lecteur/set_option.html 2007-06-04 00:08:34 UTC (rev 179) +++ trunk/http-vlc/lecteur/set_option.html 2007-07-06 09:15:22 UTC (rev 180) @@ -3,4 +3,5 @@ <vlc id="rpn" param1="'' 'audio-language' vlc_config_set"/> <vlc id="rpn" param1="'-1' 'clock-synchro' vlc_config_set"/> <vlc id="rpn" param1="'2' 'avi-index' vlc_config_set"/> + <vlc id="rpn" param1="'0' 'play-and-stop' vlc_config_set"/> <vlc id="rpn" param1="vlc_config_save" /> Modified: trunk/module/clips/clips.tpl =================================================================== --- trunk/module/clips/clips.tpl 2007-06-04 00:08:34 UTC (rev 179) +++ trunk/module/clips/clips.tpl 2007-07-06 09:15:22 UTC (rev 180) @@ -72,5 +72,5 @@ <input name="show" type="hidden" value="rec"> <input name="string" bgcolor="{#COULEUR_TEXTBOX#}" type="text" charset="digit|alpha|caps" value="" size="20"> </form><br> -La touche {literal}#{/literal} permet de changer entre les minuscules/majuscules et les chiffres. +La touche {literal}#{/literal} permet de changer entre les minuscules/majuscules et les chiffres. Cette fonction n'est pas disponible pour l'instant pour les non d\xE9group\xE9s. {/if} Modified: trunk/module/dailymotion/dailymotion.tpl =================================================================== --- trunk/module/dailymotion/dailymotion.tpl 2007-06-04 00:08:34 UTC (rev 179) +++ trunk/module/dailymotion/dailymotion.tpl 2007-07-06 09:15:22 UTC (rev 180) @@ -34,5 +34,5 @@ <input name="show" type="hidden" value="rec"> <input name="string" bgcolor="{#COULEUR_TEXTBOX#}" type="text" charset="digit|alpha|caps" value="" size="20"> </form><br> -La touche {literal}#{/literal} permet de changer entre les minuscules/majuscules et les chiffres. +La touche {literal}#{/literal} permet de changer entre les minuscules/majuscules et les chiffres. Cette fonction n'est pas disponible pour l'instant pour les non d\xE9group\xE9s. {/if} Modified: trunk/module/films/films.tpl =================================================================== --- trunk/module/films/films.tpl 2007-06-04 00:08:34 UTC (rev 179) +++ trunk/module/films/films.tpl 2007-07-06 09:15:22 UTC (rev 180) @@ -36,20 +36,33 @@ {/foreach} </select> <br>Post-traitement : -<select name="pp"> -<option value=0 {if $pp_video==1}selected{/if}>0 +{if $vers_fbx==5} +<select name="pp" bgcolor="{#COULEUR_FOND_RADIO#}"> +<option value=0 {if $pp_video==0}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> +</select> +{else} +<table width="280" align="left"> +<tr><td width="40">0</td><td><input type=radio bgcolor="{#COULEUR_FOND_RADIO#}" name=pp value=0></td></tr> +<tr><td width="40">1</td><td><input type=radio bgcolor="{#COULEUR_FOND_RADIO#}" name=pp value=1></td></tr> +<tr><td width="40">2</td><td><input type=radio bgcolor="{#COULEUR_FOND_RADIO#}" name=pp value=2></td></tr> +<tr><td width="40">3</td><td><input type=radio bgcolor="{#COULEUR_FOND_RADIO#}" name=pp value=3></td></tr> +<tr><td width="40">4</td><td><input type=radio bgcolor="{#COULEUR_FOND_RADIO#}" name=pp value=4></td></tr> +<tr><td width="40">5</td><td><input type=radio bgcolor="{#COULEUR_FOND_RADIO#}" name=pp value=5></td></tr> +<tr><td width="40">6</td><td><input type=radio bgcolor="{#COULEUR_FOND_RADIO#}" name=pp value=6></td></tr> +</table> +{/if} - Augmenter la qualit\xE9 du traitement de l'image (de 0 vers 6) demande plus de puissance CPU. - <br> +<br> +Augmenter la qualit\xE9 du traitement de l'image (de 0 vers 6) demande plus de puissance CPU. +<br> -<table width="500" align="left"> +<table width="360" 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> @@ -57,19 +70,26 @@ </table> {if $vers_fbx==5} -<select name=display_scaling> +Format : <select name=display_aspect_ratio bgcolor="{#COULEUR_FOND_RADIO#}"> +<option value=0/0>Auto +<option value=16/9>16/9 +<option value=4/3>4/3 +</select> +<br> +Mode de conversion : <select name=display_scaling bgcolor="{#COULEUR_FOND_RADIO#}"> <option value=letterbox>Letterbox <option value=panscan>Panscan <option value=fullscreen>Fullscreen </select> -<select name=display_aspect_ratio_conversion> -<option value=letterbox>Letterbox -<option value=combined>Combined -<option value=panscan>Panscan -<option value=ignore>Ignore -</select> {else} -<table width="250" align="left"> +Aspect ratio : +<table width="390" align="left"> +<tr><td width="130">Auto</td><td><input type=radio bgcolor="{#COULEUR_FOND_RADIO#}" name=display_aspect_ratio value=0/0></td></tr> +<tr><td width="130">16/9</td><td><input type=radio bgcolor="{#COULEUR_FOND_RADIO#}" name=display_aspect_ratio value=16/9></td></tr> +<tr><td width="130">4/3</td><td><input type=radio bgcolor="{#COULEUR_FOND_RADIO#}" name=display_aspect_ratio value=4/3></td></tr> +</table> +Mode de conversion : +<table width="520" 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> @@ -171,6 +191,8 @@ {/if} <br> +<a href="{$MODULE}films/lecture.php?control=faster">plus vite</a> +<a href="{$MODULE}films/lecture.php?control=slower">moins vite</a> <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} Added: trunk/module/telesites/icone.gif =================================================================== (Binary files differ) Property changes on: trunk/module/telesites/icone.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/module/telesites/index1.php =================================================================== --- trunk/module/telesites/index1.php 2007-06-04 00:08:34 UTC (rev 179) +++ trunk/module/telesites/index1.php 2007-07-06 09:15:22 UTC (rev 180) @@ -26,6 +26,43 @@ if(isset($_GET['siteid'])){ ini_set('user_agent', "EasyBox 4.1.2\r\nX-Box-User-Agent: freebox/1.0.0 (hw:4.0; sw:1.8.0)"); +switch($_GET['actionplayer']){ +case 'stop': + $file1 = file_get_contents('http://127.0.0.1:8081/lecteur/action.html?control=stop'); + break; +case 'pause': + $file1 = file_get_contents('http://127.0.0.1:8081/lecteur/action.html?control=pause'); + break; +case 'play': + $file1 = file_get_contents('http://127.0.0.1:8081/lecteur/action.html?control=play'); + break; +case 'next': + $file1 = file_get_contents('http://127.0.0.1:8081/lecteur/action.html?control=next'); + break; +case 'previous': + $file1 = file_get_contents('http://127.0.0.1:8081/lecteur/action.html?control=previous'); + break; +} + +switch($_GET['actionbrowser']){ +case 'previous': + + break; +case 'next': + + break; +case 'startPage': + + break; +case 'addBookmark': + + break; +case 'options': + + break; +} + + if(isset($_GET['url'])){ $base = urldecode($_GET['url']); }else{ @@ -45,11 +82,14 @@ return urlencode('http://'.$info_url['host'].$info_url['dir'].'/'); } } + + +$contenu = str_replace('hjbx://browserControl.do?cmd=', 'http://'.$info_url['host'].$info_url['path'].'&actionbrowser=', $contenu); $contenu = preg_replace('/href="(.{1,100})">/se', "'href=\"index1.php?siteid={$_GET['siteid']}&url='.formaterurl('$1').str_replace('\\\\\\\\','','$1').'\">';", $contenu); $contenu = preg_replace('/src="(.{1,300})(" \/>|">|"\/>)/se', "'src=\"{$IMG2FBX}?cache=1&img='.formaterurl('$1').str_replace('\\\\\\\\','','$1').'\">';", $contenu); -$contenu = str_replace('</body>', '<script language="javascript" src="/fb2ie.js"></script></body>', $contenu); +$contenu = str_replace('</body>', '<center><a href="index1.php">Retour au choix des t\xE9l\xE9sites</a></center><script language="javascript" src="/fb2ie.js"></script></body>', $contenu); -$ereg = '<source>(.{1,800})<\/source>'; +$ereg = '<source>(.{1,300})<\/source>'; preg_match("/$ereg/s", $contenu, $valeur); $commandes = $valeur[1]; @@ -64,15 +104,13 @@ $forcerimage = $res2[0]['stopCurrentlyPlaying']; } if($res = @$xml->xpath('/url')){ - play_fichier('type=20&temps=8000',$res[0],0,'photo'); + play_fichier('type=20&temps=15000',$res[0],0,'photo'); } - - - echo $contenu; }else{ +$LINK['red']= page_retour_menu(); $smarty->assign('SITES',$sites); $smarty->assign('CONTENT',$smarty->fetch('telesite.tpl')); $smarty->display('interface.tpl'); Modified: trunk/module/youtube/index1.php =================================================================== --- trunk/module/youtube/index1.php 2007-06-04 00:08:34 UTC (rev 179) +++ trunk/module/youtube/index1.php 2007-07-06 09:15:22 UTC (rev 180) @@ -26,16 +26,19 @@ function get_recherche($rec,$page){ $contenu = str_replace("\n",'',@file_get_contents_cache('http://www.youtube.com/results?search_query='.urlencode($rec).'&search=Search&page='.$page,2)); - $ereg = '<img src="(.{1,200})" border="0" class="vimg120" \/><\/a><\/div> <\/div> <\/td> <td class="vinfo"> <div class="vSnippetTitle"> <a href="\/watch\?v=(.{1,12})" rel="nofollow" onclick="_hbLink\(\'(.{1,100})\',\'(.{1,50})\'\);">(.{1,100})<\/a><br\/> <span class="runtime">(.{1,10})<\/span>'; + $ereg = '<img src="(.{1,200})" border="0" class="vimg120" \/><\/a>(.{1,1500})class="newvtitlelink" href="\/watch\?v=(.{1,30})" rel="nofollow" onclick="_hbLink\(\'(.{1,300})\',\'(.{1,150})\'\);">(.{1,200})<\/a><br\/>(.{1,3000})Time:<\/span> <span style="font-size: 12px;" class="runtime">(.{1,8})<\/span>'; + preg_match_all("/$ereg/s", $contenu, $valeur); foreach($valeur[1] as $key=>$val){ - $retour[] = array('temps'=>strip_tags($valeur[6][$key]), 'titre'=>utf8_decode(strip_tags($valeur[5][$key])), 'id'=>$valeur[2][$key], 'img'=>$valeur[1][$key]); + $retour[] = array('temps'=>strip_tags($valeur[8][$key]), 'titre'=>utf8_decode(strip_tags($valeur[6][$key])), 'id'=>$valeur[3][$key], 'img'=>$valeur[1][$key]); } - $ereg = 'Results ([0-9]{1,9})–([0-9]{1,9}) of ([0-9]{1,9})'; + + $ereg = '<strong>([0-9]{1,9}) - ([0-9]{1,9})<\/strong> of <strong>([0-9]{1,9})<\/strong>'; if(!preg_match("/$ereg/s", $contenu, $valeur)){ - $ereg = 'Results ([0-9]{1,9})–([0-9]{1,9}) of about ([0-9]{1,9}),([0-9]{1,9}),([0-9]{1,9})'; + $ereg = '<strong>([0-9]{1,9}) - ([0-9]{1,9})<\/strong> of about <strong>([0-9]{1,9}),([0-9]{1,9}),([0-9]{1,9})<\/strong>'; if(!preg_match("/$ereg/s", $contenu, $valeur)){ - $ereg = 'Results ([0-9]{1,9})–([0-9]{1,9}) of about ([0-9]{1,9}),([0-9]{1,9})'; + $ereg = '<strong>([0-9]{1,9}) - ([0-9]{1,9})<\/strong> of about <strong>([0-9]{1,9}),([0-9]{1,9})<\/strong>'; + preg_match("/$ereg/s", $contenu, $valeur); $valeur[3]=$valeur[3]*1000+$valeur[4]; }else{ $valeur[3]=($valeur[3]*1000+$valeur[4])*1000+$valeur[5]; Modified: trunk/module/youtube/youtube.tpl =================================================================== --- trunk/module/youtube/youtube.tpl 2007-06-04 00:08:34 UTC (rev 179) +++ trunk/module/youtube/youtube.tpl 2007-07-06 09:15:22 UTC (rev 180) @@ -34,5 +34,5 @@ <input name="show" type="hidden" value="rec"> <input name="string" bgcolor="{#COULEUR_TEXTBOX#}" type="text" charset="digit|alpha|caps" value="" size="20"> </form><br> -La touche {literal}#{/literal} permet de changer entre les minuscules/majuscules et les chiffres. +La touche {literal}#{/literal} permet de changer entre les minuscules/majuscules et les chiffres. Cette fonction n'est pas disponible pour l'instant pour les non d\xE9group\xE9s. {/if} Added: trunk/ressources/icones/Radioblogclub.gif =================================================================== (Binary files differ) Property changes on: trunk/ressources/icones/Radioblogclub.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/ressources/icones/Telesites.gif =================================================================== (Binary files differ) Property changes on: trunk/ressources/icones/Telesites.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/skin/mediacenter/films.tpl =================================================================== --- trunk/skin/mediacenter/films.tpl 2007-06-04 00:08:34 UTC (rev 179) +++ trunk/skin/mediacenter/films.tpl 2007-07-06 09:15:22 UTC (rev 180) @@ -36,20 +36,33 @@ {/foreach} </select> <br>Post-traitement : -<select name="pp"> -<option value=0 {if $pp_video==1}selected{/if}>0 +{if $vers_fbx==5} +<select name="pp" bgcolor="{#COULEUR_FOND_RADIO#}"> +<option value=0 {if $pp_video==0}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> +</select> +{else} +<table width="280" align="left"> +<tr><td width="40">0</td><td><input type=radio bgcolor="{#COULEUR_FOND_RADIO#}" name=pp value=0></td></tr> +<tr><td width="40">1</td><td><input type=radio bgcolor="{#COULEUR_FOND_RADIO#}" name=pp value=1></td></tr> +<tr><td width="40">2</td><td><input type=radio bgcolor="{#COULEUR_FOND_RADIO#}" name=pp value=2></td></tr> +<tr><td width="40">3</td><td><input type=radio bgcolor="{#COULEUR_FOND_RADIO#}" name=pp value=3></td></tr> +<tr><td width="40">4</td><td><input type=radio bgcolor="{#COULEUR_FOND_RADIO#}" name=pp value=4></td></tr> +<tr><td width="40">5</td><td><input type=radio bgcolor="{#COULEUR_FOND_RADIO#}" name=pp value=5></td></tr> +<tr><td width="40">6</td><td><input type=radio bgcolor="{#COULEUR_FOND_RADIO#}" name=pp value=6></td></tr> +</table> +{/if} - Augmenter la qualit\xE9 du traitement de l'image (de 0 vers 6) demande plus de puissance CPU. - <br> +<br> +Augmenter la qualit\xE9 du traitement de l'image (de 0 vers 6) demande plus de puissance CPU. +<br> -<table width="500" align="left"> +<table width="360" 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> @@ -57,19 +70,26 @@ </table> {if $vers_fbx==5} -<select name=display_scaling> +Format : <select name=display_aspect_ratio bgcolor="{#COULEUR_FOND_RADIO#}"> +<option value=0/0>Auto +<option value=16/9>16/9 +<option value=4/3>4/3 +</select> +<br> +Mode de conversion : <select name=display_scaling bgcolor="{#COULEUR_FOND_RADIO#}"> <option value=letterbox>Letterbox <option value=panscan>Panscan <option value=fullscreen>Fullscreen </select> -<select name=display_aspect_ratio_conversion> -<option value=letterbox>Letterbox -<option value=combined>Combined -<option value=panscan>Panscan -<option value=ignore>Ignore -</select> {else} -<table width="250" align="left"> +Aspect ratio : +<table width="390" align="left"> +<tr><td width="130">Auto</td><td><input type=radio bgcolor="{#COULEUR_FOND_RADIO#}" name=display_aspect_ratio value=0/0></td></tr> +<tr><td width="130">16/9</td><td><input type=radio bgcolor="{#COULEUR_FOND_RADIO#}" name=display_aspect_ratio value=16/9></td></tr> +<tr><td width="130">4/3</td><td><input type=radio bgcolor="{#COULEUR_FOND_RADIO#}" name=display_aspect_ratio value=4/3></td></tr> +</table> +Mode de conversion : +<table width="520" 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> Modified: trunk/skin/simple/interface.tpl =================================================================== --- trunk/skin/simple/interface.tpl 2007-06-04 00:08:34 UTC (rev 179) +++ trunk/skin/simple/interface.tpl 2007-07-06 09:15:22 UTC (rev 180) @@ -54,7 +54,6 @@ </tr> </table> </center> - </td> </tr> <tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2007-06-04 00:08:40
|
Revision: 179 http://svn.sourceforge.net/easybox-mod/?rev=179&view=rev Author: craftsnux Date: 2007-06-03 17:08:34 -0700 (Sun, 03 Jun 2007) Log Message: ----------- Utilisation de img2fbx pour afficher les jaquettes. suite... Modified Paths: -------------- trunk/module/mp3/lecteuraudio.php trunk/module/mp3/playlist_audio.tpl trunk/skin/ETI/audio.tpl trunk/skin/ETI/interface.tpl trunk/skin/ETI/lecture_now.tpl trunk/skin/mediacenter/audio.tpl Modified: trunk/module/mp3/lecteuraudio.php =================================================================== --- trunk/module/mp3/lecteuraudio.php 2007-06-03 23:42:39 UTC (rev 178) +++ trunk/module/mp3/lecteuraudio.php 2007-06-04 00:08:34 UTC (rev 179) @@ -14,7 +14,7 @@ } if (count($fichierimg)=="0"){ - if($Info!='' && $pagerecherche = file_get_contents('http://images.google.fr/images?q='.urlencode($Info))){ + if($Info!='' && $pagerecherche = file_get_contents('http://images.google.fr/images?q='.urlencode(trim($Info)))){ $ereg = '\/images\?q=(.{1,25}):\/\/(.{1,75}) width'; $ereg = 'dyn.Img\("(.{0,200})","","(.{0,20})","(.{0,90})","(.{0,4})","(.{0,4})","(.{0,110})","","","(.{5,28})","jpg","(.{5,150})","","","(.{25,30})"\);'; @@ -333,8 +333,12 @@ $smarty->assign('info',$info); } - -$jaquette=jaquette(urlencode(dirname($VLC['url_current'])),$VLC['type_current'],urlencode(trim($search))); +if ($VLC['type_current']=='webradio'){ +$jaquette=jaquette(urlencode(dirname($VLC['url_current'])),$VLC['type_current'],urlencode(trim(get_variable('lastwebradio')))); +} +else{ +$jaquette=jaquette(urlencode(dirname($VLC['url_current'])),$VLC['type_current'],urlencode(trim($search))); +} $smarty->assign('jaquette',$jaquette); if($mode=='pla'){ Modified: trunk/module/mp3/playlist_audio.tpl =================================================================== --- trunk/module/mp3/playlist_audio.tpl 2007-06-03 23:42:39 UTC (rev 178) +++ trunk/module/mp3/playlist_audio.tpl 2007-06-04 00:08:34 UTC (rev 179) @@ -1,7 +1,7 @@ {if $VLC.type_current=='webradio' AND $VLC.etat!='stop'} - <center><font size=3><u>Vous lisez actuellement la station de radio</font><br><font size=4>{$lastwebradio}</u></font><br><img src="jaquette.php?directory=&info={$lastwebradio|trim|urlencode}&w=400&h=250"></center> + <center><font size=3><u>Vous lisez actuellement la station de radio</font><br><font size=4>{$lastwebradio}</u></font><br><img src="{$IMG2FBX}?width=250&height=400&img={$jaquette}"></center> {elseif $VLC.db_current_type=='podcast' AND $VLC.etat!='stop'} <font size=3><center><u>Podcast en cours de lecture</u></font></center><br> <br> Modified: trunk/skin/ETI/audio.tpl =================================================================== --- trunk/skin/ETI/audio.tpl 2007-06-03 23:42:39 UTC (rev 178) +++ trunk/skin/ETI/audio.tpl 2007-06-04 00:08:34 UTC (rev 179) @@ -121,7 +121,7 @@ {if $VLC.etat!='stop'} <td bgcolor="{#COULEUR_FOND#}" width="70" height="73"> - <img width="80" height="80" src="jaquette.php?directory={$VLC.url_current|dirname|urlencode}&lec={$VLC.type_current}&info={$search|trim|urlencode}"> + <img width="80" height="80" src="{$IMG2FBX}?local=1&width=80&height=80&img={$jaquette}"> </td> {/if} Modified: trunk/skin/ETI/interface.tpl =================================================================== --- trunk/skin/ETI/interface.tpl 2007-06-03 23:42:39 UTC (rev 178) +++ trunk/skin/ETI/interface.tpl 2007-06-04 00:08:34 UTC (rev 179) @@ -85,7 +85,7 @@ <tr> <td width="100" height="94" align="center" valign="middle"> {if $VLC.etat!='stop' AND $smarty.server.SCRIPT_NAME=="/module/mp3/lecteuraudio.php"} - <img width="70" height="70" src="jaquette.php?directory={$VLC.url_current|dirname|urlencode}&lec={$lec}&info={$search|trim|urlencode}"> + <img width="70" height="70" src="{$IMG2FBX}?local=1&width=70&height=70&img={$jaquette}"> {else} <img src="{$RACINE_REP}{$SKIN_REP}images/icons/{$LOGO_IMAGES}" width="70" height="70" border="0" /> {/if} Modified: trunk/skin/ETI/lecture_now.tpl =================================================================== --- trunk/skin/ETI/lecture_now.tpl 2007-06-03 23:42:39 UTC (rev 178) +++ trunk/skin/ETI/lecture_now.tpl 2007-06-04 00:08:34 UTC (rev 179) @@ -1,6 +1,6 @@ <table width="188" height="31" border="0" cellpadding="0" cellspacing="0"> <tr> - <td rowspan="4"><img width="31" height="31" src="jaquette.php?directory={$VLC.url_current|dirname|urlencode}&lec={$lec}&info={$search|trim|urlencode}"></td> + <td rowspan="4"><img width="31" height="31" src="{$IMG2FBX}?local=1&width=31&height=31&img={$jaquette}"></td> <td> {if $informations[0].1} <font size="1">{$informations[0].1|truncate:45:''}</font> Modified: trunk/skin/mediacenter/audio.tpl =================================================================== --- trunk/skin/mediacenter/audio.tpl 2007-06-03 23:42:39 UTC (rev 178) +++ trunk/skin/mediacenter/audio.tpl 2007-06-04 00:08:34 UTC (rev 179) @@ -121,7 +121,7 @@ {if $VLC.etat!='stop'} <td bgcolor="{#COULEUR_FOND#}" width="70" height="73"> - <img width="80" height="80" src="jaquette.php?directory={$VLC.url_current|dirname|urlencode}&lec={$VLC.type_current}&info={$search|trim|urlencode}"> + <img width="80" height="80" src="{$IMG2FBX}?local=1&width=80&height=80&img={$jaquette}"> </td> {/if} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |