|
From: <ara...@us...> - 2007-05-08 12:49:11
|
Revision: 145
http://svn.sourceforge.net/easybox-mod/?rev=145&view=rev
Author: aragornis
Date: 2007-05-08 05:49:03 -0700 (Tue, 08 May 2007)
Log Message:
-----------
R?\195?\169solution du probleme des dvd avec accents dans le path
Mise au niveau du module "modules" avec gestion multipage
R?\195?\169solution du probl?\195?\168me de pause ?
Modified Paths:
--------------
trunk/_utilisateur/multiposte.m3u
trunk/module/_explorateur/explorateur.tpl
trunk/module/dvd/index1.php
trunk/module/dvd/playrep.php
trunk/module/films/lecture.php
trunk/module/modules/index1.php
trunk/module/modules/modules.tpl
trunk/version.html
Modified: trunk/_utilisateur/multiposte.m3u
===================================================================
--- trunk/_utilisateur/multiposte.m3u 2007-05-05 10:40:17 UTC (rev 144)
+++ trunk/_utilisateur/multiposte.m3u 2007-05-08 12:49:03 UTC (rev 145)
@@ -53,6 +53,12 @@
rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=220
#EXTINF:0,36 - Mangas
rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=253
+#EXTINF:0,37 - MCM
+rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=621
+#EXTINF:0,38 - MCM TOP
+rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=622
+#EXTINF:0,39 - MCM POP
+rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=623
#EXTINF:0,40 - M6 Music Hits
rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=430
#EXTINF:0,41 - M6 Music Rock
@@ -85,6 +91,8 @@
rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=254
#EXTINF:0,57 - NRJ 12 HD
rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=617
+#EXTINF:0,58 - NRJ Hits
+rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=620
#EXTINF:0,59 - Mizik Tropical
rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=468
#EXTINF:0,61 - Equidia
@@ -159,8 +167,6 @@
rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=359
#EXTINF:0,133 - Astro Center TV
rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=415
-#EXTINF:0,134 - Terre d'infos
-rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=437
#EXTINF:0,150 - TLM
rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=267
#EXTINF:0,151 - TLT
@@ -347,7 +353,7 @@
rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=463
#EXTINF:0,289 - Star TV
rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=464
-#EXTINF:0,290 - TGRT
+#EXTINF:0,290 - Fox Türk
rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=465
#EXTINF:0,291 - NTV Avrupa
rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=466
@@ -417,8 +423,6 @@
rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=302
#EXTINF:0,324 - France 3 Rhône-Alpes
rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=303
-#EXTINF:0,999 - Mire FREEBOX
-rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=308
#EXTINF:0,10001 - Europe 1
#EXTVLCOPT:ts-es-id-pid
#EXTVLCOPT:no-video
Modified: trunk/module/_explorateur/explorateur.tpl
===================================================================
--- trunk/module/_explorateur/explorateur.tpl 2007-05-05 10:40:17 UTC (rev 144)
+++ trunk/module/_explorateur/explorateur.tpl 2007-05-08 12:49:03 UTC (rev 145)
@@ -147,7 +147,7 @@
<td width="30" align="center">
{if $PLAYREP}
-<a href="{$PAGE_LECT_REP}?toplay={$REP|urlencode}&type=playrep" onfocus='aide="Lire le dossier en entier";'><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$SKIN_REP}dossier/rep_all.gif" border="0" width="20" height="20"></td></tr></table></a>
+<a href="{$PAGE_LECT_REP}?toplay={$REP|urlencode}&type=playrep" onfocus='aide="{if $IS_DVD}Lire le dossier en tant que DVD{else}Lire le dossier en entier{/if}";'><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$SKIN_REP}dossier/rep_all.gif" border="0" width="20" height="20"></td></tr></table></a>
{/if}
</td><td width="30" align="center">
{if $AFF_FAVORIS}
Modified: trunk/module/dvd/index1.php
===================================================================
--- trunk/module/dvd/index1.php 2007-05-05 10:40:17 UTC (rev 144)
+++ trunk/module/dvd/index1.php 2007-05-08 12:49:03 UTC (rev 145)
@@ -32,6 +32,7 @@
}
}
save_variable('statutdvd', 'disques');
+ $smarty->assign('IS_DVD',true);
$smarty->assign('disques_dispo',$disques_dispo);
$smarty->assign('disques_optique',$disques_optique);
$smarty->assign('CONTENT',$smarty->fetch('dvd.tpl'));
Modified: trunk/module/dvd/playrep.php
===================================================================
--- trunk/module/dvd/playrep.php 2007-05-05 10:40:17 UTC (rev 144)
+++ trunk/module/dvd/playrep.php 2007-05-08 12:49:03 UTC (rev 145)
@@ -11,8 +11,7 @@
eval($contenu_html);
if(!isset($_GET['mode'])){
- $basename = stripslashes(urldecode($_REQUEST['toplay']));
-
+ $basename = $_REQUEST['toplay'];
$pisteaudio = $ini['multimedia']['sortiefreebox'];
$decallage = $ini['multimedia']['compensation'];
@@ -27,7 +26,7 @@
$play = 'type=32';
}
- $basename = realpath($basename);
+ $basename = ereg_replace ("\\\'", "'", $basename);
if((substr($basename, -1, 1)=='\\' || substr($basename, -1, 1)=='/') && strlen($basename)<=3){
$basename=substr($basename, 0, (strlen($basename)-1));
@@ -36,12 +35,12 @@
//Ajout dans la base de donn\xE9e pour les retours
save_variable('lastexpl', 'dvd');
- $basename = 'dvdsimple://'.$basename;
+ $basename = utf8_encode('dvdsimple://'.$basename);
play_fichier($play,$basename,0,'dvd');
//$META['refresh'] = '2;url=playrep.php?mode=1';
$META['refresh'] = '0;url='.$MODULE.'films/lecture.php';
- $affich = 'Veuillez patienter pendant la construction des menus...';
+ $affich = 'Veuillez patienter pendant la redirection...';
}elseif($_GET['mode']==1 && is_array($title)){
Modified: trunk/module/films/lecture.php
===================================================================
--- trunk/module/films/lecture.php 2007-05-05 10:40:17 UTC (rev 144)
+++ trunk/module/films/lecture.php 2007-05-08 12:49:03 UTC (rev 145)
@@ -11,10 +11,10 @@
$META['front_panel'] = strtoupper($VLC['etat']);
//Si aucune frame vid\xE9o n'est affich\xE9e :
-if($VLC['etat']!='pause'){
+if($VLC['etat']=='Playing' OR $_REQUEST['control']=='pause'){
$META['nopicture'] = '20;url=lecture.php?control=stop&signet=noload&errorload=1';
}else{
- $META['nopicture'] = '';
+ $META['nopicture'] = 'none';
}
$affiche ="";
@@ -84,7 +84,7 @@
// Micht : Utilisation d'une page de skin
$message = $smarty->fetch('signet_ask.tpl');
}
- } elseif($control!='seek')
+ } elseif($_REQUEST['control']!='seek')
{
$control = $_REQUEST['control'];
$OSD = $control;
Modified: trunk/module/modules/index1.php
===================================================================
--- trunk/module/modules/index1.php 2007-05-05 10:40:17 UTC (rev 144)
+++ trunk/module/modules/index1.php 2007-05-08 12:49:03 UTC (rev 145)
@@ -26,9 +26,9 @@
array('lien'=>'index1.php?action=skin', 'nom'=>'Skins install\xE9es', 'selected'=>$_GET['action']=='skin'),
array('lien'=>'index1.php?action=newskin', 'nom'=>'Nouv. skins', 'selected'=>$_GET['action']=='newskin'),
array('lien'=>'index1.php?action=options', 'nom'=>'Option', 'selected'=>$_GET['action']=='options'));
-
+/*
(isset($_GET['min'])?$min=$_GET['min']:$min=0);
-$smarty->assign('MIN',$min);
+$smarty->assign('MIN',$min);*/
if(!isset($_GET['action'])){
$_GET['action'] = 'mod';
@@ -77,7 +77,9 @@
switch($_GET['action']){
case 'mod':
- $smarty->assign('MOD',get_installed_modules());
+ $MOD = get_installed_modules();
+ start_multi('index1.php?action=mod',4,count($MOD));
+ $smarty->assign('MOD',$MOD);
$smarty->assign('TITRE','Modules install\xE9s');
break;
case 'newmod':
@@ -90,12 +92,14 @@
$MOD[] = array('nom'=> utf8_decode($elem->nom),'version'=> utf8_decode($elem->version),'description'=> utf8_decode($elem->description),'auteur'=> utf8_decode($elem->auteur),'fichier'=> utf8_decode($elem->fichier),'img'=>'http://www.easybox-mod.org/modules/addon/screen/'.utf8_decode($elem->screen));
}
}
-
+ start_multi('index1.php?action=newmod',4,count($MOD));
$smarty->assign('MOD',$MOD);
$smarty->assign('TITRE','Modules installables');
break;
case 'skin':
- $smarty->assign('MOD',get_installed_skins());
+ $MOD = get_installed_skins();
+ start_multi('index1.php?action=skin',4,count($MOD));
+ $smarty->assign('MOD',$MOD);
$smarty->assign('TITRE','Skins install\xE9es');
break;
case 'newskin':
@@ -108,7 +112,7 @@
$MOD[] = array('nom'=>utf8_decode($element->nom),'version'=>utf8_decode($element->version),'description'=>utf8_decode($element->description),'auteur'=>utf8_decode($element->auteur),'fichier'=>utf8_decode($element->fichier),'img'=>'http://www.easybox-mod.org/modules/addon/screen/'.utf8_decode($element->screen));
}
}
-
+ start_multi('index1.php?action=newskin',4,count($MOD));
$smarty->assign('MOD',$MOD);
$smarty->assign('TITRE','Skins installables');
break;
Modified: trunk/module/modules/modules.tpl
===================================================================
--- trunk/module/modules/modules.tpl 2007-05-05 10:40:17 UTC (rev 144)
+++ trunk/module/modules/modules.tpl 2007-05-08 12:49:03 UTC (rev 145)
@@ -2,12 +2,8 @@
{if $action=="mod" OR $action=="skin"}
{section name=mod loop=$MOD start=$MIN max=4}
{if $smarty.section.mod.first}
- {if $MIN!=0}
- {assign var=temp value=$MIN-4}
- {attribbouton touche="green" lien="index1.php?action=$action&min=$temp"}
- <a href="index1.php?action={$action}&min={$temp}"><img src="{$INTERFACE_REP}btn_vert.gif" border="0"> Pr\xE9c\xE9dent</a>
- {/if}
<table width="500" border="0" cellspacing="0" cellpadding="2" align="left" valign="top">
+ {if !$_multipage.is_first_page}<tr><td align="center" colspan="2">{precedent}</td></tr>{/if}
{/if}
<tr>
@@ -19,13 +15,9 @@
{if NOT ($MOD[mod].dep=='Easybox Core' AND $action=="skin")}<td width="20"><a href="index1.php?delid={$MOD[mod].id}&action={$action}" onfocus='aide="Supprimer {if $action=="skin"}la skin{else}le module{/if} {$MOD[mod].nom}";'><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="#COULEUR_FOND1#" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$INTERFACE_REP}delete.gif" border="0" width="20" height="20"></td></tr></table></a></td>{else}<td> </td>{/if}{/if}
</tr>
{if $smarty.section.mod.last}
+ <tr><td align="center" colspan="2">{if !$_multipage.is_last_page}{suivant} - {/if}{pagination}</td></tr>
</table>
- {if $MIN+$smarty.section.mod.total < count($MOD)}
- {assign var=temp value=$MIN+4}
- {attribbouton touche="blue" lien="index1.php?action=$action&min=$temp"}
- <a href="index1.php?action={$action}&min={$temp}"><img src="{$INTERFACE_REP}btn_bleu.gif" border="0"> Suivant</a>
{/if}
- {/if}
{sectionelse}
{if $action=="skin"}
Aucune skin suppl\xE9mentaire n'est install\xE9e. Pour en installer, rendez-vous dans la partie "Nouvelles skins".
@@ -34,15 +26,11 @@
{/if}
{/section}
{elseif $action=="newmod" OR $action=="newskin"}
- {section name=mod loop=$MOD}
+ {section name=mod loop=$MOD start=$MIN max=4}
{if $smarty.section.mod.first}
- {if $MIN!=0}
- {assign var=temp value=$MIN-4}
- {attribbouton touche="green" lien="index1.php?action=$action&min=$temp"}
- <a href="index1.php?action={$action}&min={$temp}"><img src="{$INTERFACE_REP}btn_vert.gif" border="0"> Pr\xE9c\xE9dent</a>
- {/if}
<table width="500" border="0" cellspacing="0" cellpadding="2" align="left" valign="top">
+ {if !$_multipage.is_first_page}<tr><td align="center" colspan="2">{precedent}</td></tr>{/if}
{/if}
<tr>
@@ -53,13 +41,9 @@
<td width="20"><a href="index1.php?install{$action}={$MOD[mod].nom|urlencode}&action={$action}"onfocus='aide="Installer {if $action=="newskin"}la skin{else}le module{/if} {$MOD[mod].nom}";'><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$INTERFACE_REP}valider.gif" border="0" width="20" height="20"></td></tr></table></a></td>
</tr>
{if $smarty.section.mod.last}
+ <tr><td align="center" colspan="2">{if !$_multipage.is_last_page}{suivant} - {/if}{pagination}</td></tr>
</table>
- {if $MIN+$smarty.section.mod.total < count($MOD)}
- {assign var=temp value=$MIN+4}
- {attribbouton touche="blue" lien="index1.php?action=$action&min=$temp"}
- <a href="index1.php?action={$action}&min={$temp}"><img src="{$INTERFACE_REP}btn_bleu.gif" border="0"> Suivant</a>
{/if}
- {/if}
{sectionelse}
{if $action=="newskin"}
Modified: trunk/version.html
===================================================================
--- trunk/version.html 2007-05-05 10:40:17 UTC (rev 144)
+++ trunk/version.html 2007-05-08 12:49:03 UTC (rev 145)
@@ -4,6 +4,6 @@
</head>
<body>
<h1>Easybox</h1>
-<h2>4.0.2</h2>
+<h2>4.0.3</h2>
</body>
</html>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|