|
From: <ara...@us...> - 2007-03-10 13:27:25
|
Revision: 97
http://svn.sourceforge.net/easybox-mod/?rev=97&view=rev
Author: aragornis
Date: 2007-03-10 05:27:23 -0800 (Sat, 10 Mar 2007)
Log Message:
-----------
R?\195?\169solution des pb de vid?\195?\169o sur v3,v4 ET HD
Modified Paths:
--------------
trunk/_framework/aide/help.php
trunk/_framework/demarrage.php
trunk/_framework/framework.php
trunk/_utilisateur/modules.db
trunk/configuration/config.xml
Modified: trunk/_framework/aide/help.php
===================================================================
--- trunk/_framework/aide/help.php 2007-03-10 13:09:31 UTC (rev 96)
+++ trunk/_framework/aide/help.php 2007-03-10 13:27:23 UTC (rev 97)
@@ -2,7 +2,7 @@
$RACINE_REP = "../../";
require($RACINE_REP.'_framework/framework.php');
- if ($ini['explorateur']['freeboxHD'] == 'oui') $typeTel = 'telehd';
+ if ($vers_fbx==5) $typeTel = 'telehd';
else $typeTel = 'tele';
if (isset($_GET['affichage'])) $affichage = $_GET['affichage'];
Modified: trunk/_framework/demarrage.php
===================================================================
--- trunk/_framework/demarrage.php 2007-03-10 13:09:31 UTC (rev 96)
+++ trunk/_framework/demarrage.php 2007-03-10 13:27:23 UTC (rev 97)
@@ -54,6 +54,11 @@
switch($etape){
case 1:
+ if($vers_fbx<=4){
+ $META['service'] = 'ts://127.0.0.1';
+ $META['display_aspect_ratio_conversion'] = 'letterbox';
+ }
+
list_templates();
function RemoveDir($dir) {
if(!$dh = @opendir($dir)) return;
Modified: trunk/_framework/framework.php
===================================================================
--- trunk/_framework/framework.php 2007-03-10 13:09:31 UTC (rev 96)
+++ trunk/_framework/framework.php 2007-03-10 13:27:23 UTC (rev 97)
@@ -5,6 +5,12 @@
}
setlocale(LC_TIME, "fr");
+
+ $vers_fbx = $_SERVER["HTTP_USER_AGENT"];
+ $ereg = 'freebox\/[0-9]\.[0-9]\.[0-9] \(hw:([0-9]).0;';
+ preg_match("/$ereg/s", $vers_fbx, $val_vers);
+ $vers_fbx = $val_vers[1];
+ unset($val_vers);
//-- Chargement du r\xE9pertoire du framework
$FRAMEWORK_REP = $RACINE_REP."_framework/";
Modified: trunk/_utilisateur/modules.db
===================================================================
(Binary files differ)
Modified: trunk/configuration/config.xml
===================================================================
--- trunk/configuration/config.xml 2007-03-10 13:09:31 UTC (rev 96)
+++ trunk/configuration/config.xml 2007-03-10 13:27:23 UTC (rev 97)
@@ -79,11 +79,6 @@
<type>boolean</type>
<defaut>oui</defaut>
</souscat>
- <souscat name="freeboxHD" >
- <name>Mettre 'oui' si vous possedez une FreeBox HD.</name>
- <type>boolean</type>
- <defaut>non</defaut>
- </souscat>
</categorie>
<categorie name="multimedia" >
<souscat name="sortiefreebox" >
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|