From: <ara...@us...> - 2007-04-28 07:57:14
|
Revision: 130 http://svn.sourceforge.net/easybox-mod/?rev=130&view=rev Author: aragornis Date: 2007-04-28 00:57:07 -0700 (Sat, 28 Apr 2007) Log Message: ----------- Rajout des titres dans mes 3 modules Modified Paths: -------------- trunk/module/clips/index1.php trunk/module/dailymotion/index1.php trunk/module/youtube/index1.php Modified: trunk/module/clips/index1.php =================================================================== --- trunk/module/clips/index1.php 2007-04-27 19:24:05 UTC (rev 129) +++ trunk/module/clips/index1.php 2007-04-28 07:57:07 UTC (rev 130) @@ -11,6 +11,8 @@ array('lien'=>'index1.php?show=tous', 'nom'=>'Tous', 'selected'=>$show=='tous'), array('lien'=>'index1.php?show=rec', 'nom'=>'Recherche', 'selected'=>$show=='rec')); +$title = array('hit'=>'Le Hit 100', 'new'=>'Les nouveaut\xE9s', 'tous'=>'Tous', 'rec'=>'Recherche'); +$smarty->assign('TITRE','Clips - '.$title[$show]); function get_videos_id($page){ $contenu = str_replace("\r\n",'',@file_get_contents($page)); Modified: trunk/module/dailymotion/index1.php =================================================================== --- trunk/module/dailymotion/index1.php 2007-04-27 19:24:05 UTC (rev 129) +++ trunk/module/dailymotion/index1.php 2007-04-28 07:57:07 UTC (rev 130) @@ -11,6 +11,8 @@ array('lien'=>'index1.php?show=note', 'nom'=>'Mieux not\xE9s', 'selected'=>$show=='note'), array('lien'=>'index1.php?show=rec', 'nom'=>'Recherche', 'selected'=>$show=='rec')); +$title = array('hit'=>'Les plus r\xE9cents', 'new'=>'Les plus vus', 'tous'=>'Les mieux not\xE9s', 'rec'=>'Recherche'); +$smarty->assign('TITRE','Vid\xE9os Youtube - '.$title[$show]); function get_videos_id($page){ $xml = simplexml_load_file($page); Modified: trunk/module/youtube/index1.php =================================================================== --- trunk/module/youtube/index1.php 2007-04-27 19:24:05 UTC (rev 129) +++ trunk/module/youtube/index1.php 2007-04-28 07:57:07 UTC (rev 130) @@ -11,6 +11,8 @@ array('lien'=>'index1.php?show=note', 'nom'=>'Mieux not\xE9s', 'selected'=>$show=='note'), array('lien'=>'index1.php?show=rec', 'nom'=>'Recherche', 'selected'=>$show=='rec')); +$title = array('hit'=>'Les plus r\xE9cents', 'new'=>'Les plus vus', 'tous'=>'Les mieux not\xE9s', 'rec'=>'Recherche'); +$smarty->assign('TITRE','Vid\xE9os Youtube - '.$title[$show]); function get_videos_id($page){ $contenu = str_replace("\n",'',@file_get_contents($page)); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |