Commit ef0bc1bf authored by Seblu's avatar Seblu
Browse files

fix eptv.epitech.net bad link

parent 7d360bea
Loading
Loading
Loading
Loading
+1 −1
Changes for admin/admin_videos.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -117,7 +117,7 @@ function dispAdminVideosByType($result, $video_type) {
					'.$video["video_name"].'
				</TD><TD>';
			if ($video["video_path_daily"]) {
			$str .= '<a href=\'http://eptv.epitech.net/dailymotion.php?q='.$video["video_path_daily"].'\' onclick="return popitup(this, \'EPTV\')" ><img src=\'http://www.dailymotion.com/favicon.ico\' height=15></a>';
			$str .= '<a href=\'http://www.eptv.fr/dailymotion.php?q='.$video["video_path_daily"].'\' onclick="return popitup(this, \'EPTV\')" ><img src=\'http://www.dailymotion.com/favicon.ico\' height=15></a>';
			}	
			$str .= '</TD>
				<TD>
+2 −2
Changes for public/home.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -186,14 +186,14 @@ function dispHomeLastPhotos(){
// DISP LAST PHOTOS BY TENDU
			$str .= dispWhenTendu($photo["photo_tendu"]);

			$str .= '<li><a href="http://eptv.epitech.net/index.php?section=PhotosShow&action='.$photo["photo_path"].'" class="texte_link"';
			$str .= '<li><a href="index.php?section=PhotosShow&action='.$photo["photo_path"].'" class="texte_link"';
			
			if ($photo["photo_comment"]) {
			$str .= 'ONMOUSECLICK="popitup(\'<font>'.$photo["photo_comment"].'</font>\', \'#d3d3df\')"';
		}
			$str .= '>'.$photo["photo_name"].'</a>&nbsp;';
				if ($_SESSION["user_right"] >= $GLOBALS["PRIV_GUEST"] && photo_img_path != 0) {
                        	$str .= '<a href="http://eptv.epitech.net/"'.$photo["photo_img_path"].'" class="texte_link" >(zip)</a>';
                        	$str .= '<a href="http://www.eptv.fr/"'.$photo["photo_img_path"].'" class="texte_link" >(zip)</a>';
                        	}
			$str .= '';
			$str .=	'&nbsp;&nbsp;&nbsp;<strong>'.$photo["photo_size"]. ' Img</strong>
−237

File deleted.