From: <ara...@us...> - 2007-03-11 07:55:20
|
Revision: 98 http://svn.sourceforge.net/easybox-mod/?rev=98&view=rev Author: aragornis Date: 2007-03-10 23:55:18 -0800 (Sat, 10 Mar 2007) Log Message: ----------- Belles modifs sur le lecteur mp3 Modified Paths: -------------- trunk/module/_explorateur/explorateur.tpl trunk/module/_explorateur/index1.php trunk/module/mp3/catalogue_audio.tpl trunk/module/mp3/index1.php trunk/module/mp3/playlist_audio.tpl Modified: trunk/module/_explorateur/explorateur.tpl =================================================================== --- trunk/module/_explorateur/explorateur.tpl 2007-03-10 13:27:23 UTC (rev 97) +++ trunk/module/_explorateur/explorateur.tpl 2007-03-11 07:55:18 UTC (rev 98) @@ -119,13 +119,29 @@ {assign var="rep_a_affich" value=$REP|cat:'/'|cat:$T_affich[files]} <tr><td colspan="2"><img src="{$SKIN_REP}dossier/folder.gif"> <font size="1"><a {if $smarty.section.disques.first==1}focused {/if}href="{$PAGE_EXPLO}?directory={$rep_a_affich|realpath|urlencode}&mode={$MODE}" onfocus='aide="Explorer {$T_affich[files]|strip_delimiters|escape:"htmlall"}";'>{$T_affich[files]|truncate:55|strip_delimiters}</a></font></td></tr> {else} -<tr><td width="35"> +<tr> {if $AFF_INFO} - {assign var="nb" value=$T_affich[files]|strrpos:"."} - <a href="fichefilm.php?start={$MIN}&comeback=expl&film={$T_affich[files]|substr:0:$nb|urlencode}&fichier={$REP|cat:'/'|cat:$T_affich[files]|realpath|urlencode}"><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$INTERFACE_REP}/information.gif" border="0" width="20" height="20"></td></tr></table></a> + <td width="35"> + {assign var="nb" value=$T_affich[files]|strrpos:"."} + <a href="fichefilm.php?start={$MIN}&comeback=expl&film={$T_affich[files]|substr:0:$nb|urlencode}&fichier={$REP|cat:'/'|cat:$T_affich[files]|realpath|urlencode}"><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$INTERFACE_REP}/information.gif" border="0" width="20" height="20"></td></tr></table></a> + </td> + {elseif $LECTEUR_AUDIO} + <td width="60"> + <table cellpadding="0" cellspacing="0" width="60"><tr><td width="30"> + <a href="{$PAGE_LECT}?{$OPT_LIENS}toplay_file={$T_affich[files]|urlencode}&toplay_rep={$REP|urlencode}"><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND2#}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$INTERFACE_REP}/jouer.gif" border="0" width="20" height="20"></td></tr></table></a> + </td><td width="30"> + <a href="{$PAGE_LECT}?{$OPT_LIENS}toplay_file={$T_affich[files]|urlencode}&toplay_rep={$REP|urlencode}&option=1"><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND2#}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$INTERFACE_REP}/ajouter.gif" border="0" width="20" height="20"></td></tr></table></a> + </td></tr></table> + </td> + {else} + <td></td> {/if} - </td><td>{if NOT $AFF_INFO}<img src="{$SKIN_REP}dossier/{$ICONE_FICHIER}" width="16" height="16"> {/if}<font size="1"><a {if $smarty.section.disques.first==1}focused {/if}href="{$PAGE_LECT}?{$OPT_LIENS}toplay_file={$T_affich[files]|urlencode}&toplay_rep={$REP|urlencode}" onfocus='aide="Jouer {$T_affich[files]|strip_delimiters|escape:"htmlall"}";'>{$T_affich[files]|strip_delimiters|truncate:52}</a> -</font></td></tr> + + <td> + {if (NOT $AFF_INFO) AND (NOT $LECTEUR_AUDIO)}<img src="{$SKIN_REP}dossier/{$ICONE_FICHIER}" width="16" height="16"> {/if} + <font size="1"><a {if $smarty.section.disques.first==1}focused {/if}href="{$PAGE_LECT}?{$OPT_LIENS}toplay_file={$T_affich[files]|urlencode}&toplay_rep={$REP|urlencode}" onfocus='aide="Jouer {$T_affich[files]|strip_delimiters|escape:"htmlall"}";'>{$T_affich[files]|strip_delimiters|truncate:52}</a></font> + + </td></tr> {/if} {/section} @@ -146,6 +162,9 @@ {if $AFF_FAVORIS} <a href="{$RACINE_REP}module/favoris/index1.php?ajout={$REP|urlencode}&nom={$REP}" onfocus='aide="Ajouter le dossier aux favoris";'><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$SKIN_REP}dossier/favoris.gif" border="0" width="20" height="20"></td></tr></table></a> {/if} +{if $LECTEUR_AUDIO} +<var name=aide width=250> +{/if} </td></tr></table> </td></tr> Modified: trunk/module/_explorateur/index1.php =================================================================== --- trunk/module/_explorateur/index1.php 2007-03-10 13:27:23 UTC (rev 97) +++ trunk/module/_explorateur/index1.php 2007-03-11 07:55:18 UTC (rev 98) @@ -182,6 +182,7 @@ $smarty->assign('LETTRE_CDDA',$rep_copy{0}); $smarty->assign('ICONE_FICHIER',$icone_fichier); $smarty->assign('OPT_LIENS',$option_liens); +$smarty->assign('LECTEUR_AUDIO',$lecteur_audio); $path=PATH(); $smarty->assign('CHEMIN_REP',$path); Modified: trunk/module/mp3/catalogue_audio.tpl =================================================================== --- trunk/module/mp3/catalogue_audio.tpl 2007-03-10 13:27:23 UTC (rev 97) +++ trunk/module/mp3/catalogue_audio.tpl 2007-03-11 07:55:18 UTC (rev 98) @@ -37,16 +37,25 @@ {cycle name=color assign=COLOR print=false values="`$smarty.config.COULEUR_INTERFACE1`,`$smarty.config.COULEUR_INTERFACE2`"} - <tr><td width="480" bgcolor="{$COLOR}"><img src="{$SKIN_REP}dossier/mp3.gif"> - + <tr> {if $type=='ch'} - - <a href="playdb.php?toplay={$rows[fichiers].filename|realpath|urlencode}"><font color=#0000003f>{$rows[fichiers].name|truncate:60}</font></a></td> - {else} - - <a href="playdb.php?wf={$field}&wl={$rows[fichiers].affichage|truncate:60|urlencode}"><font color=#0000003f family="Symbol">T</font></a> <a hRef="lecteuraudio.php?mode=bib&t={$t}&wf={$field}&wl={$rows[fichiers].affichage|truncate:60|urlencode}"><font color=#0000003f>{$rows[fichiers].affichage|truncate:60}</font></a></td></tr> - {/if} - + <td width="30" bgcolor="{$COLOR}"> + <a href="playdb.php?toplay={$rows[fichiers].filename|realpath|urlencode}"><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="{$COLOR}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$INTERFACE_REP}/jouer.gif" border="0" width="20" height="20"></td></tr></table></a> + </td><td width="30" bgcolor="{$COLOR}"> + <a href="playdb.php?toplay={$rows[fichiers].filename|realpath|urlencode}&option=1"><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="{$COLOR}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$INTERFACE_REP}/ajouter.gif" border="0" width="20" height="20"></td></tr></table></a> + </td><td width="420" bgcolor="{$COLOR}"> + <font color=#0000003f>{$rows[fichiers].name|truncate:60}</font> + </td> + {else} + <td width="30" bgcolor="{$COLOR}"> + <a href="playdb.php?wf={$field}&wl={$rows[fichiers].affichage|truncate:60|urlencode}"><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="{$COLOR}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$INTERFACE_REP}/jouer.gif" border="0" width="20" height="20"></td></tr></table></a> + </td><td width="30" bgcolor="{$COLOR}"> + <a href="playdb.php?wf={$field}&wl={$rows[fichiers].affichage|truncate:60|urlencode}&option=1"><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="{$COLOR}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$INTERFACE_REP}/ajouter.gif" border="0" width="20" height="20"></td></tr></table></a> + </td><td width="420" bgcolor="{$COLOR}"> + <a hRef="lecteuraudio.php?mode=bib&t={$t}&wf={$field}&wl={$rows[fichiers].affichage|truncate:60|urlencode}"><font color=#0000003f>{$rows[fichiers].affichage|truncate:60}</font></a> + </td> + {/if} + </tr> {sectionelse} Modified: trunk/module/mp3/index1.php =================================================================== --- trunk/module/mp3/index1.php 2007-03-10 13:27:23 UTC (rev 97) +++ trunk/module/mp3/index1.php 2007-03-11 07:55:18 UTC (rev 98) @@ -16,6 +16,7 @@ $page_lect_rep = 'playdb.php'; $play_rep_txt = "Lire tout le dossier r\xE9cursivement"; $aff_cdda = "1"; +$lecteur_audio = true; include($EXPLORATEUR); Modified: trunk/module/mp3/playlist_audio.tpl =================================================================== --- trunk/module/mp3/playlist_audio.tpl 2007-03-10 13:27:23 UTC (rev 97) +++ trunk/module/mp3/playlist_audio.tpl 2007-03-11 07:55:18 UTC (rev 98) @@ -9,7 +9,7 @@ Auteur : {$info.auteur_flux|strip_tags}<br> Description : {$info.description|strip_tags}<br> - <img src="{$IMG2FBX}{$info.image}&cache=1" border="0"><br> <br> + <img src="{$IMG2FBX}{$info.image}&cache=1&new_width=150&new_height=150" border="0" width="150" height="150"><br> <br> <center><u>En cours d'\xE9coute</u></center><br> @@ -25,7 +25,7 @@ <img src="{$SKIN_REP}dossier/mp3.gif" width="16" height="16"> <a href=lecteuraudio.php?action=save&m3u_save=1&play_m3u={$playlists[pl]|realpath|urlencode}>{$playlists[pl]|realpath|extract_name|truncate:130:''}.m3u</a><br> {/section} -{elseif count($pl)==0 OR $action=='load' OR $VLC.etat=='stop'} +{elseif count($pl)==0 OR $action=='load'} {section name=pl loop=$playlists} {if $smarty.section.pl.first} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |