From: <cra...@us...> - 2007-06-01 14:45:16
|
Revision: 172 http://svn.sourceforge.net/easybox-mod/?rev=172&view=rev Author: craftsnux Date: 2007-06-01 07:45:15 -0700 (Fri, 01 Jun 2007) Log Message: ----------- Modified Paths: -------------- trunk/_framework/fonctions_partagees.inc.php trunk/_framework/framework.php trunk/skin/mediacenter/menu.tpl Modified: trunk/_framework/fonctions_partagees.inc.php =================================================================== --- trunk/_framework/fonctions_partagees.inc.php 2007-06-01 13:58:20 UTC (rev 171) +++ trunk/_framework/fonctions_partagees.inc.php 2007-06-01 14:45:15 UTC (rev 172) @@ -7,10 +7,10 @@ // ou le format : // freebox/1.7.3-ppp - if (isset($HTTP_SERVER_VARS['HTTP_X_BOX_USER_AGENT']) $userboxagent = + if (isset($HTTP_SERVER_VARS['HTTP_X_BOX_USER_AGENT'])) $userboxagent = $HTTP_SERVER_VARS['HTTP_X_BOX_USER_AGENT']; - if (isset($HTTP_SERVER_VARS['HTTP_BOX_USER_AGENT']) $userboxagent = + if (isset($HTTP_SERVER_VARS['HTTP_BOX_USER_AGENT'])) $userboxagent = $HTTP_SERVER_VARS['HTTP_BOX_USER_AGENT']; if (isset($userboxagent)) Modified: trunk/_framework/framework.php =================================================================== --- trunk/_framework/framework.php 2007-06-01 13:58:20 UTC (rev 171) +++ trunk/_framework/framework.php 2007-06-01 14:45:15 UTC (rev 172) @@ -54,7 +54,7 @@ $LOAD = $FRAMEWORK_REP.'fonctions_partagees.inc.php'; require_once($LOAD); // version de freebox - $info_fbx=fbx_GetBoxUserAgent(); + $info_fbx=fbx_GetBoxUserAgent(); $vers_fbx =$info_fbx['version']; $EXPLORATEUR = $MODULE.'_explorateur/index1.php'; Modified: trunk/skin/mediacenter/menu.tpl =================================================================== --- trunk/skin/mediacenter/menu.tpl 2007-06-01 13:58:20 UTC (rev 171) +++ trunk/skin/mediacenter/menu.tpl 2007-06-01 14:45:15 UTC (rev 172) @@ -8,19 +8,19 @@ {section name=menu loop=$MENU} {if $CAT=="1" AND NOT $SHOW} {if $smarty.section.menu.first} - <a focused onfocus='front_panel="FILMS";{if $vers_fbx{0}==5}service{else}location{/if}="srv://default?ox=0&oy=0&ow=720&oh=576,&ix=0&iy=0&iw=360&ih=192";' href="../../module/films/index1.php"> + <a focused onfocus='front_panel="FILMS";{if substr($vers_fbx,0,1)=="5"}service{else}location{/if}="srv://default?ox=0&oy=0&ow=720&oh=576,&ix=0&iy=0&iw=360&ih=192";' href="../../module/films/index1.php"> </a> - <a onfocus='front_panel="MODULES";{if $vers_fbx{0}==5}service{else}location{/if}="srv://default?ox=0&oy=0&ow=720&oh=576,&ix=0&iy=384&iw=360&ih=192";' href="../../module/_menu/menu.php?show=1"> + <a onfocus='front_panel="MODULES";{if substr($vers_fbx,0,1)=="5"}service{else}location{/if}="srv://default?ox=0&oy=0&ow=720&oh=576,&ix=0&iy=384&iw=360&ih=192";' href="../../module/_menu/menu.php?show=1"> </a> - <a onfocus='front_panel="PHOTO";{if $vers_fbx{0}==5}service{else}location{/if}="srv://default?ox=0&oy=0&ow=720&oh=576,&ix=360&iy=192&iw=360&ih=192";' href="../../module/diaporama/index1.php"> + <a onfocus='front_panel="PHOTO";{if substr($vers_fbx,0,1)=="5"}service{else}location{/if}="srv://default?ox=0&oy=0&ow=720&oh=576,&ix=360&iy=192&iw=360&ih=192";' href="../../module/diaporama/index1.php"> </a> - <a onfocus='front_panel="AUDIO";{if $vers_fbx{0}==5}service{else}location{/if}="srv://default?ox=0&oy=0&ow=720&oh=576,&ix=0&iy=192&iw=360&ih=192";' href="../../module/mp3/lecteuraudio.php"> + <a onfocus='front_panel="AUDIO";{if substr($vers_fbx,0,1)=="5"}service{else}location{/if}="srv://default?ox=0&oy=0&ow=720&oh=576,&ix=0&iy=192&iw=360&ih=192";' href="../../module/mp3/lecteuraudio.php"> </a> - <a onfocus='front_panel="BIBLIOTHEQUE";{if $vers_fbx{0}==5}service{else}location{/if}="srv://default?ox=0&oy=0&ow=720&oh=576,&ix=360&iy=0&iw=360&ih=192";' href="../../module/films/catalogue.php"> + <a onfocus='front_panel="BIBLIOTHEQUE";{if substr($vers_fbx,0,1)=="5"}service{else}location{/if}="srv://default?ox=0&oy=0&ow=720&oh=576,&ix=360&iy=0&iw=360&ih=192";' href="../../module/films/catalogue.php"> </a> {/if} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |