|
From: Florin C B. <ory...@us...> - 2013-04-19 17:52:49
|
Update of /cvsroot/mxbb/mx_music/templates/_core In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv15508/templates/_core Modified Files: _core.cfg music_cat_xs.tpl music_flv_body.tpl music_index_body.tpl music_media_cat_body.tpl music_midi_body.tpl music_page_body.tpl music_pic_cat_body.tpl Log Message: fixed mp3 play in categories using jw flash player and media player in music page Index: music_midi_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/_core/music_midi_body.tpl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** music_midi_body.tpl 9 Apr 2013 12:12:52 -0000 1.3 --- music_midi_body.tpl 19 Apr 2013 17:52:47 -0000 1.4 *************** *** 170,174 **** </div> <!-- END flv --> ! <!-- BEGIN ram --> <embed src="{U_SONG}" align="center" width="640" height="40" type="audio/x-pn-realaudio-plugin" console="cons" controls="ControlPanel" autostart="false"></embed> --- 170,187 ---- </div> <!-- END flv --> ! ! <!-- BEGIN mp3 --> ! <object type="application/x-shockwave-flash" width="{WIDTH}" height="{HEIGHT}" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="mp3player" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> ! <param name="movie" value="{VIDEO_URL}?config={MUSIC_BOX_PATH}/mp3/_core/config.xml&file={U_SONG}" /> ! <param name="wmode" value="transparent" /> ! <param name="quality" value="best" /> ! <param name="allowfullscreen" value="true" /> ! <param name="bgcolor" value="#F9F9F9" /> ! <param name="config" value="{MUSIC_BOX_PATH}/mp3/_core/config.xml"> ! <param name="flashvars" value="&rs=1&sn=1&iurl={U_IMG}" /> ! <embed src="{VIDEO_URL}?config={MUSIC_BOX_PATH}/mp3/_core/config.xml &file={U_SONG}" wmode="transparent" width="170" height="200" flashvars="&rs=1&sn=1&iurl={U_IMG}" name="mp3player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> ! </object> ! <!-- END mp3 --> ! <!-- BEGIN ram --> <embed src="{U_SONG}" align="center" width="640" height="40" type="audio/x-pn-realaudio-plugin" console="cons" controls="ControlPanel" autostart="false"></embed> Index: _core.cfg =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/_core/_core.cfg,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** _core.cfg 7 Sep 2008 18:06:56 -0000 1.4 --- _core.cfg 19 Apr 2013 17:52:47 -0000 1.5 *************** *** 52,55 **** --- 52,56 ---- // MOM Pics + $mx_images['button_mp3_popup'] = "$current_module_images/{LANG}/icon_mp3_popup.gif"; $mx_images['upload_song'] = "$current_module_images/{LANG}/upload_song.gif"; $mx_images['no_image'] = "$current_module_images/no_image.gif"; Index: music_page_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/_core/music_page_body.tpl,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** music_page_body.tpl 9 Apr 2013 12:12:52 -0000 1.11 --- music_page_body.tpl 19 Apr 2013 17:52:47 -0000 1.12 *************** *** 211,215 **** </div> <!-- END flv --> ! <!-- BEGIN mod --> <div class="wordtube playlist2" id="WT999"> --- 211,226 ---- </div> <!-- END flv --> ! <!-- BEGIN mp3 --> ! <object type="application/x-shockwave-flash" width="{WIDTH}" height="{HEIGHT}" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="mp3player" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> ! <param name="movie" value="{VIDEO_URL}?config={MUSIC_BOX_PATH}/mp3/_core/config.xml&file={U_SONG}" /> ! <param name="wmode" value="transparent" /> ! <param name="quality" value="best" /> ! <param name="allowfullscreen" value="true" /> ! <param name="bgcolor" value="#F9F9F9" /> ! <param name="config" value="{MUSIC_BOX_PATH}/mp3/_core/config.xml"> ! <param name="flashvars" value="&rs=1&sn=1&iurl={U_IMG}" /> ! <embed src="{VIDEO_URL}?config={MUSIC_BOX_PATH}/mp3/_core/config.xml &file={U_SONG}" wmode="transparent" width="170" height="200" flashvars="&rs=1&sn=1&iurl={U_IMG}" name="mp3player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> ! </object> ! <!-- END mp3 --> <!-- BEGIN mod --> <div class="wordtube playlist2" id="WT999"> Index: music_media_cat_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/_core/music_media_cat_body.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** music_media_cat_body.tpl 29 Jan 2008 07:51:30 -0000 1.1 --- music_media_cat_body.tpl 19 Apr 2013 17:52:47 -0000 1.2 *************** *** 198,202 **** </object> <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq FLV --> <div id="flvplayer"> --- 198,213 ---- </object> <!-- ENDIF --> ! ! <!-- IF song_detail.S_ROW_TYPE eq VIMEO --> ! <object type="application/x-shockwave-flash" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" data="{song_detail.VIDEO_URL}"> ! <param name="quality" value="best" /> ! <param name="allowfullscreen" value="true" /> ! <param name="scale" value="showAll" /> ! <param name="movie" value="{song_detail.VIDEO_URL}" /> ! <param name="flashvars" value="&rs=1&sn=1&iurl={song_detail.U_IMG}" /> ! <embed src="{song_detail.VIDEO_URL}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350" allowfullscreen="true" flashvars="&rs=1&sn=1&iurl={song_detail.U_IMG}" /> ! </object> ! <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq FLV --> <div id="flvplayer"> *************** *** 216,220 **** </div> <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq RAM --> <embed src="{song_detail.SONG_URL}" align="center" --- 227,244 ---- </div> <!-- ENDIF --> ! ! <!-- IF song_detail.S_ROW_TYPE eq MP3 --> ! <object type="application/x-shockwave-flash" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="mp3player" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> ! <param name="movie" value="{song_detail.VIDEO_URL}?config={song_detail.MUSIC_BOX_PATH}/mp3/_core/config.xml&file={song_detail.U_SONG}" /> ! <param name="wmode" value="transparent" /> ! <param name="quality" value="best" /> ! <param name="allowfullscreen" value="true" /> ! <param name="bgcolor" value="#F9F9F9" /> ! <param name="config" value="{song_detail.MUSIC_BOX_PATH}/mp3/_core/config.xml"> ! <param name="flashvars" value="&rs=1&sn=1&iurl={song_detail.U_IMG}" /> ! <embed src="{song_detail.VIDEO_URL}?config={song_detail.MUSIC_BOX_PATH}/mp3/_core/config.xml &file={song_detail.U_SONG}" wmode="transparent" width="170" height="200" flashvars="&rs=1&sn=1&iurl={song_detail.U_IMG}" name="mp3player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> ! </object> ! <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq RAM --> <embed src="{song_detail.SONG_URL}" align="center" Index: music_flv_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/_core/music_flv_body.tpl,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** music_flv_body.tpl 9 Apr 2013 12:12:52 -0000 1.6 --- music_flv_body.tpl 19 Apr 2013 17:52:47 -0000 1.7 *************** *** 176,180 **** </div> <!-- END flv --> ! <!-- BEGIN ram --> <embed src="{U_SONG}" align="center" --- 176,193 ---- </div> <!-- END flv --> ! ! <!-- BEGIN mp3 --> ! <object type="application/x-shockwave-flash" width="{WIDTH}" height="{HEIGHT}" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="mp3player" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> ! <param name="movie" value="{VIDEO_URL}?config={MUSIC_BOX_PATH}/mp3/_core/config.xml&file={U_SONG}" /> ! <param name="wmode" value="transparent" /> ! <param name="quality" value="best" /> ! <param name="allowfullscreen" value="true" /> ! <param name="bgcolor" value="#F9F9F9" /> ! <param name="config" value="{MUSIC_BOX_PATH}/mp3/_core/config.xml"> ! <param name="flashvars" value="&rs=1&sn=1&iurl={U_IMG}" /> ! <embed src="{VIDEO_URL}?config={MUSIC_BOX_PATH}/mp3/_core/config.xml &file={U_SONG}" wmode="transparent" width="170" height="200" flashvars="&rs=1&sn=1&iurl={U_IMG}" name="mp3player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> ! </object> ! <!-- END mp3 --> ! <!-- BEGIN ram --> <embed src="{U_SONG}" align="center" Index: music_pic_cat_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/_core/music_pic_cat_body.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** music_pic_cat_body.tpl 17 Mar 2013 02:20:37 -0000 1.2 --- music_pic_cat_body.tpl 19 Apr 2013 17:52:47 -0000 1.3 *************** *** 233,237 **** </div> <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq RAM --> <embed src="{song_detail.U_SONG}" align="center" --- 233,248 ---- </div> <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq MP3 --> ! <object type="application/x-shockwave-flash" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="mp3player" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> ! <param name="movie" value="{song_detail.VIDEO_URL}?config={song_detail.MUSIC_BOX_PATH}/mp3/_core/config.xml&file={song_detail.U_SONG}" /> ! <param name="wmode" value="transparent" /> ! <param name="quality" value="best" /> ! <param name="allowfullscreen" value="true" /> ! <param name="bgcolor" value="#F9F9F9" /> ! <param name="config" value="{song_detail.MUSIC_BOX_PATH}/mp3/_core/config.xml"> ! <param name="flashvars" value="&rs=1&sn=1&iurl={song_detail.U_IMG}" /> ! <embed src="{song_detail.VIDEO_URL}?config={song_detail.MUSIC_BOX_PATH}/mp3/_core/config.xml &file={song_detail.U_SONG}" wmode="transparent" width="170" height="200" flashvars="&rs=1&sn=1&iurl={song_detail.U_IMG}" name="mp3player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> ! </object> ! <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq RAM --> <embed src="{song_detail.U_SONG}" align="center" Index: music_index_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/_core/music_index_body.tpl,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** music_index_body.tpl 18 Sep 2008 03:31:37 -0000 1.7 --- music_index_body.tpl 19 Apr 2013 17:52:47 -0000 1.8 *************** *** 99,109 **** <!-- END subcat_link --></span> </td> ! <td class="row1 bg1" height="49%" width="49%"> <!-- BEGIN virtualimagecat --> ! <span class="gensmall"> <a alt="images" href="{catrow.U_VIEW_PIC_CAT}">{catrow.L_ALL_CAT_PICS}</a></span> <!-- END virtualimagecat --> <!-- BEGIN virtualmediacat --> <br /> ! <span class="gensmall"> <a alt="videos" href="{catrow.U_VIEW_MEDIA_CAT}">{catrow.L_ALL_CAT_SONGS}</a></span> <!-- END virtualmediacat --> </td> --- 99,121 ---- <!-- END subcat_link --></span> </td> ! <td class="row1 bg1" height="49%" width="49%"> <!-- BEGIN virtualimagecat --> ! <div class="my_buttons" style="text-align:center; width:100%;"> ! <span class="gensmall"> <a alt="images" href="{catrow.U_VIEW_PIC_CAT}">{L_ALL_CAT_PICS}</a></span> ! </div> <!-- END virtualimagecat --> + <!-- BEGIN virtualmp3cat --> + <br /> + <div class="my_buttons" style="text-align:center; width:100%;"> + <div class="mp3_popup-icon"> + <span class="gensmall"> <a alt="mp3s" href="{catrow.U_MP3_PLAYER}" onClick="window.open('','popup','toolbar=0,resizable=1,location=0,status=0,menubar=0,scrollbars=0,width=180,height=196,left=210,screenX=210,top=60,screenY=60')" Target="popup" title="{L_MEDIA_PLAYER_POPUP}"><span></span>{L_MP3_POPUP}</a></span> + </div> + </div> + <!-- END virtualmp3cat --> <!-- BEGIN virtualmediacat --> <br /> ! <div class="my_buttons" style="text-align:center; width:100%;"> ! <span class="gensmall"> <a alt="videos" href="{catrow.U_VIEW_MEDIA_CAT}">{L_ALL_CAT_SONGS}</a></span> ! </div> <!-- END virtualmediacat --> </td> Index: music_cat_xs.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/_core/music_cat_xs.tpl,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** music_cat_xs.tpl 9 Apr 2013 12:12:52 -0000 1.10 --- music_cat_xs.tpl 19 Apr 2013 17:52:47 -0000 1.11 *************** *** 32,42 **** <!-- END subcat_link --></span> </td> ! <td class="row1 bg1" height="49%" width="49%"> <!-- BEGIN virtualimagecat --> ! <span class="gensmall"> <a alt="images" href="{catrow.U_VIEW_PIC_CAT}">{catrow.L_ALL_CAT_PICS}</a></span> <!-- END virtualimagecat --> <!-- BEGIN virtualmediacat --> <br /> ! <span class="gensmall"> <a alt="videos" href="{catrow.U_VIEW_MEDIA_CAT}">{catrow.L_ALL_CAT_SONGS}</a></span> <!-- END virtualmediacat --> </td> --- 32,54 ---- <!-- END subcat_link --></span> </td> ! <td class="row1 bg1" height="49%" width="49%"> <!-- BEGIN virtualimagecat --> ! <div class="my_buttons" style="text-align:center; width:100%;"> ! <span class="gensmall"> <a alt="images" href="{catrow.U_VIEW_PIC_CAT}">{L_ALL_CAT_PICS}</a></span> ! </div> <!-- END virtualimagecat --> + <!-- BEGIN virtualmp3cat --> + <br /> + <div class="my_buttons" style="text-align:center; width:100%;"> + <div class="mp3_popup-icon"> + <span class="gensmall"> <a alt="mp3s" href="{catrow.U_MP3_PLAYER}" onClick="window.open('','popup','toolbar=0,resizable=1,location=0,status=0,menubar=0,scrollbars=0,width=180,height=196,left=210,screenX=210,top=60,screenY=60')" Target="popup" title="{L_MEDIA_PLAYER_POPUP}"><span></span>{L_MP3_POPUP}</a></span> + </div> + </div> + <!-- END virtualmp3cat --> <!-- BEGIN virtualmediacat --> <br /> ! <div class="my_buttons" style="text-align:center; width:100%;"> ! <span class="gensmall"> <a alt="videos" href="{catrow.U_VIEW_MEDIA_CAT}">{L_ALL_CAT_SONGS}</a></span> ! </div> <!-- END virtualmediacat --> </td> *************** *** 323,327 **** <embed src="{song_detail.VIDEO_URL}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350" allowfullscreen="true" flashvars="&rs=1&sn=1&iurl={song_detail.U_IMG}" /> </object> ! <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq FLV --> <div class="wordtube playlist2" id="flvplayer"> --- 335,339 ---- <embed src="{song_detail.VIDEO_URL}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350" allowfullscreen="true" flashvars="&rs=1&sn=1&iurl={song_detail.U_IMG}" /> </object> ! <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq FLV --> <div class="wordtube playlist2" id="flvplayer"> *************** *** 344,348 **** </div> <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq MOD --> <div class="wordtube playlist2" id="WT999"> --- 356,386 ---- </div> <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq MP3 --> ! <object type="application/x-shockwave-flash" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="mp3player" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> ! <param name="movie" value="{song_detail.VIDEO_URL}?config={song_detail.MUSIC_BOX_PATH}/mp3/_core/config.xml&file={song_detail.U_SONG}" /> ! <param name="backcolor" value="0xF9F9F9" /> ! <param name="frontcolor" value="0x007677" /> ! <param name="lightcolor" value="0xFFD3A6" /> ! <param name="displayheight" value="100" /> ! <param name="height" value="{song_detail.HEIGHT}" /> ! <param name="width" value="{song_detail.WIDTH}" /> ! <param name="showeq" value="true" /> ! <param name="thumbsinplaylist" value="true" /> ! <param name="showdigits" value="true" /> ! <param name="repeat" value="true" /> ! <param name="autostart" value="true" /> ! <param name="shuffle" value="true" /> ! <param name="volume" value="40" /> ! <param name="autoscroll" value="true" /> ! <param name="showicons" value="true" /> ! <param name="wmode" value="transparent" /> ! <param name="quality" value="best" /> ! <param name="allowfullscreen" value="true" /> ! <param name="bgcolor" value="#F9F9F9" /> ! <param name="config" value="{song_detail.MUSIC_BOX_PATH}/mp3/_core/config.xml"> ! <param name="flashvars" value="&rs=1&sn=1&iurl={song_detail.U_IMG}" /> ! <embed src="{song_detail.VIDEO_URL}?config={song_detail.MUSIC_BOX_PATH}/mp3/_core/config.xml &file={song_detail.U_SONG}" wmode="transparent" width="170" height="200" flashvars="&rs=1&sn=1&iurl={song_detail.U_IMG}" name="mp3player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> ! </object> ! <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq MOD --> <div class="wordtube playlist2" id="WT999"> |