|
From: OryNider <ory...@us...> - 2008-03-15 17:18:01
|
Update of /cvsroot/mxbb/mx_music/music_box/modules In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv18336 Modified Files: music_cat.php music_media_cat.php music_page.php music_pic_cat.php Log Message: image and video url fixes Index: music_media_cat.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/music_box/modules/music_media_cat.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** music_media_cat.php 8 Mar 2008 20:54:50 -0000 1.3 --- music_media_cat.php 15 Mar 2008 17:17:46 -0000 1.4 *************** *** 473,477 **** else { ! $img_id = ($module_root_path . 'upload/song_image/' . $thissong['song_imagename']); } --- 473,477 ---- else { ! $img_id = (PORTAL_URL . str_replace('./', '/', MUSIC_IMAGE_PATH) . $thissong['song_imagename']); } *************** *** 1052,1056 **** if ( $song_filetype == 'flv' ) { ! $url_song = PORTAL_URL . MUSIC_UPLOAD_PATH . $thissong['song_filename']; } else --- 1052,1056 ---- if ( $song_filetype == 'flv' ) { ! $url_song = PORTAL_URL. str_replace('./', '/', MUSIC_UPLOAD_PATH) . $thissong['song_filename']; } else Index: music_page.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/music_box/modules/music_page.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** music_page.php 8 Mar 2008 20:54:50 -0000 1.3 --- music_page.php 15 Mar 2008 17:17:46 -0000 1.4 *************** *** 137,141 **** else { ! $img_id = $song_image_path . $thissong['song_imagename']; } --- 137,141 ---- else { ! $img_id = (PORTAL_URL . str_replace('./', '/', MUSIC_IMAGE_PATH) . $thissong['song_imagename']); } *************** *** 526,530 **** if ( $song_filetype == 'flv' ) { ! $url_song = PORTAL_URL . MUSIC_UPLOAD_PATH . $thissong['song_filename']; } else --- 526,530 ---- if ( $song_filetype == 'flv' ) { ! $url_song = PORTAL_URL. str_replace('./', '/', MUSIC_UPLOAD_PATH) . $thissong['song_filename']; } else Index: music_pic_cat.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/music_box/modules/music_pic_cat.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** music_pic_cat.php 8 Mar 2008 20:54:51 -0000 1.3 --- music_pic_cat.php 15 Mar 2008 17:17:46 -0000 1.4 *************** *** 446,450 **** else { ! $img_id = ($module_root_path . 'upload/song_image/' . $thissong['song_imagename']); } --- 446,450 ---- else { ! $img_id = (PORTAL_URL . str_replace('./', '/', MUSIC_IMAGE_PATH) . $thissong['song_imagename']); } *************** *** 778,782 **** if ( $song_filetype == 'flv' ) { ! $url_song = PORTAL_URL . MUSIC_UPLOAD_PATH . $thissong['song_filename']; } else --- 778,782 ---- if ( $song_filetype == 'flv' ) { ! $url_song = PORTAL_URL. str_replace('./', '/', MUSIC_UPLOAD_PATH) . $thissong['song_filename']; } else Index: music_cat.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/music_box/modules/music_cat.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** music_cat.php 8 Mar 2008 20:54:50 -0000 1.3 --- music_cat.php 15 Mar 2008 17:17:45 -0000 1.4 *************** *** 443,447 **** else { ! $img_id = ($module_root_path . 'upload/song_image/' . $thissong['song_imagename']); } --- 443,447 ---- else { ! $img_id = (PORTAL_URL . str_replace('./', '/', MUSIC_IMAGE_PATH) . $thissong['song_imagename']); } *************** *** 782,788 **** } ! if ( $song_filetype == 'flv' ) { ! $url_song = PORTAL_URL . MUSIC_UPLOAD_PATH . $thissong['song_filename']; } else --- 782,788 ---- } ! if ($song_filetype == 'flv') { ! $url_song = PORTAL_URL. str_replace('./', '/', MUSIC_UPLOAD_PATH) . $thissong['song_filename']; } else *************** *** 808,812 **** 'VIDEO_URL' => !empty($url_player) ? $url_player : $url_video, ! 'U_IMG' => mx_append_sid("$img_id"), 'SINGER' => $songrow[$j]['song_singer'], --- 808,812 ---- 'VIDEO_URL' => !empty($url_player) ? $url_player : $url_video, ! 'U_IMG' => mx_append_sid($img_id), 'SINGER' => $songrow[$j]['song_singer'], |