Commit a61edf8f authored by Seblu's avatar Seblu

fix dangling link to eptv.epitech.net

fix link starting by http://www.eptv.fr, this avoid use of www.epitv.fr et www.epitivi.fr
parent ef0bc1bf
......@@ -148,7 +148,7 @@ function dispHomeLastVideos(){
<TD>';
if ($video["video_path_daily"]) {
$str .= '&nbsp;&nbsp;&nbsp;<a href=\'http://www.eptv.fr/public/dailymotion.php?q='.$video["video_path_daily"].'\' onclick="return popitup(this, \'EPTV\')" >
$str .= '&nbsp;&nbsp;&nbsp;<a href=\'public/dailymotion.php?q='.$video["video_path_daily"].'\' onclick="return popitup(this, \'EPTV\')" >
<img class="daily_preview" src=\'../images/daily.png\' height="18" border=0></a>';
}
$str .= '&nbsp;&nbsp;&nbsp;<strong>'.$video["video_size"].' Mo</strong>';
......
......@@ -131,7 +131,7 @@ function dispPhotosByType($result, $photo_type) {
$str .= dispWhenTendu($photo["photo_tendu"]);
$str .= '&nbsp;<a href="http://www.eptv.fr/index.php?section=PhotosShow&action=
$str .= '&nbsp;<a href="index.php?section=PhotosShow&action=
'.$photo["photo_path"].'
" class="texte_link" ';
......
......@@ -5,7 +5,7 @@ function dispPhotosShow($url) {
echo "<iframe width='100%' scrolling='auto' height='100%'
style='width:100%;height:1000px;border:0;background-color:ffffff' name='forum'
src='http://www.eptv.fr/".$url."'></iframe>";
src='".$url."'></iframe>";
// frame
}
......
......@@ -162,7 +162,7 @@ function dispVideosByType($result, $video_type) {
if ($video["video_path_daily"])
{
$str .= '<a href=\'http://www.eptv.fr/public/dailymotion.php?q='.$video["video_path_daily"].'\' onclick="return popitup(this, \'EPTV\')" ><img src=\'../images/daily.png\' height=15 border=0></a>';
$str .= '<a href=\'public/dailymotion.php?q='.$video["video_path_daily"].'\' onclick="return popitup(this, \'EPTV\')" ><img src=\'../images/daily.png\' height=15 border=0></a>';
}
$str .= '</TD>
......
......@@ -226,7 +226,7 @@ function dispVideosByType($result, $video_type) {
</TD>
<TD>';
if ($video["video_path_daily"]) {
$str .= '<a href=\'http://www.eptv.fr/public/dailymotion.php?q='.$video["video_path_daily"].'\' onclick="return popitup(this, \'EPTV\')" >
$str .= '<a href=\'dailymotion.php?q='.$video["video_path_daily"].'\' onclick="return popitup(this, \'EPTV\')" >
<img src=\'http://www.dailymotion.com/favicon.ico\' height=15 border=0></a>';
}
$str .= '</TD>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment