You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
(95) |
Apr
(270) |
May
(111) |
Jun
|
Jul
|
Aug
(64) |
Sep
(130) |
Oct
(319) |
Nov
(17) |
Dec
(191) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(53) |
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
(387) |
Jul
(102) |
Aug
(247) |
Sep
(120) |
Oct
(1) |
Nov
(8) |
Dec
(21) |
| 2007 |
Jan
(38) |
Feb
(36) |
Mar
|
Apr
(32) |
May
(135) |
Jun
(523) |
Jul
(192) |
Aug
(103) |
Sep
(533) |
Oct
(77) |
Nov
(23) |
Dec
(203) |
| 2008 |
Jan
(312) |
Feb
(1193) |
Mar
(404) |
Apr
(67) |
May
(62) |
Jun
(497) |
Jul
(297) |
Aug
(110) |
Sep
(335) |
Oct
(256) |
Nov
(50) |
Dec
(118) |
| 2009 |
Jan
(67) |
Feb
(10) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(10) |
Jul
(61) |
Aug
|
Sep
(16) |
Oct
(45) |
Nov
(12) |
Dec
(14) |
| 2010 |
Jan
(30) |
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
(7) |
Aug
(7) |
Sep
(5) |
Oct
(5) |
Nov
|
Dec
|
| 2011 |
Jan
(7) |
Feb
(3) |
Mar
(89) |
Apr
(11) |
May
(5) |
Jun
|
Jul
(8) |
Aug
(1) |
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(89) |
| 2012 |
Jan
(7) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(3) |
Oct
(42) |
Nov
(1) |
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
(19) |
Apr
(90) |
May
(38) |
Jun
(235) |
Jul
(38) |
Aug
(10) |
Sep
|
Oct
(29) |
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
(6) |
May
(52) |
Jun
|
Jul
(7) |
Aug
|
Sep
(17) |
Oct
|
Nov
|
Dec
|
|
From: Jon O. <jon...@us...> - 2007-09-12 19:28:30
|
Update of /cvsroot/mxbb/core/templates/prosilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13225/templates/prosilver Modified Files: prosilver.cfg Log Message: for 2.9.x - updates Index: prosilver.cfg =================================================================== RCS file: /cvsroot/mxbb/core/templates/prosilver/prosilver.cfg,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** prosilver.cfg 9 Sep 2007 16:50:46 -0000 1.1 --- prosilver.cfg 12 Sep 2007 19:28:26 -0000 1.2 *************** *** 56,69 **** $mx_template_settings['border_graphics'] = false; ! /********************************************************************************\ | Define what graphics bundles to use | - these are very handy paths to ALL kind of phpBB/mxBB graphics \********************************************************************************/ ! $mx_images['mx_graphics']['general'] = $current_template_path . "/images"; ! $mx_images['mx_graphics']['page_icons'] = file_exists( $mx_root_path . $current_template_path . "/images/page_icons" ) ? $current_template_path . "/images/page_icons" : $cloned_template_path . "/images/page_icons"; ! $mx_images['mx_graphics']['block_icons'] = file_exists( $mx_root_path . $current_template_path . "/images/block_icons" ) ? $current_template_path . "/images/block_icons" : $cloned_template_path . "/images/block_icons"; ! $mx_images['mx_graphics']['menu_icons'] = file_exists( $mx_root_path . $current_template_path . "/images/menu_icons" ) ? $current_template_path . "/images/menu_icons" : $cloned_template_path . "/images/menu_icons"; ! $mx_images['mx_graphics']['admin_icons'] = file_exists( $mx_root_path . $current_template_path . "/images/admin_icons" ) ? $current_template_path . "/images/admin_icons" : $cloned_template_path . "/images/admin_icons"; ! $mx_images['mx_graphics']['phpbb_icons'] = file_exists( $phpbb_root_path . $current_template_path . "/images" ) ? $current_template_path . "/images" : $cloned_template_path . "/images"; // --- 56,69 ---- $mx_template_settings['border_graphics'] = false; ! //********************************************************************************\ | Define what graphics bundles to use | - these are very handy paths to ALL kind of phpBB/mxBB graphics \********************************************************************************/ ! $mx_images['mx_graphics']['general'] = file_exists( $mx_root_path . $current_template_path . "/images/logo.gif" ) ? $current_template_path . "/images" : ( file_exists( $mx_root_path . $cloned_template_path . "/images/logo.gif" ) ? $cloned_template_path . "/images" : $default_template_path . "/images" ); ! $mx_images['mx_graphics']['page_icons'] = file_exists( $mx_root_path . $current_template_path . "/images/page_icons" ) ? $current_template_path . "/images/page_icons" : ( file_exists( $mx_root_path . $cloned_template_path . "/images/page_icons" ) ? $cloned_template_path . "/images/page_icons" : $default_template_path . "/images/page_icons" ); ! $mx_images['mx_graphics']['block_icons'] = file_exists( $mx_root_path . $current_template_path . "/images/block_icons" ) ? $current_template_path . "/images/block_icons" : ( file_exists( $mx_root_path . $cloned_template_path . "/images/block_icons" ) ? $cloned_template_path . "/images/block_icons" : $default_template_path . "/images/block_icons" ); ! $mx_images['mx_graphics']['menu_icons'] = file_exists( $mx_root_path . $current_template_path . "/images/menu_icons" ) ? $current_template_path . "/images/menu_icons" : ( file_exists( $mx_root_path . $cloned_template_path . "/images/menu_icons" ) ? $cloned_template_path . "/images/menu_icons" : $default_template_path . "/images/menu_icons" ); ! $mx_images['mx_graphics']['admin_icons'] = file_exists( $mx_root_path . $current_template_path . "/images/admin_icons" ) ? $current_template_path . "/images/admin_icons" : ( file_exists( $mx_root_path . $cloned_template_path . "/images/admin_icons" ) ? $cloned_template_path . "/images/admin_icons" : $default_template_path . "/images/admin_icons" ); ! $mx_images['mx_graphics']['phpbb_icons'] = file_exists( $phpbb_root_path . $current_template_path . "/images" ) ? $current_template_path . "/images" : ( file_exists( $phpbb_root_path . $cloned_template_path . "/images" ) ? $cloned_template_path . "/images" : $default_template_path . "/images"); // *************** *** 158,212 **** // ! $current_template_images = $current_template_path . "/images"; ! ! $images['icon_quote'] = "$current_template_images/{LANG}/icon_quote.gif"; ! $images['icon_edit'] = "$current_template_images/{LANG}/icon_edit.gif"; ! $images['icon_profile'] = "$current_template_images/icon_profile.gif"; ! $images['icon_pm'] = "$current_template_images/icon_pm.gif"; ! $images['icon_email'] = "$current_template_images/icon_email.gif"; ! $images['icon_delpost'] = "$current_template_images/icon_delete.gif"; ! $images['icon_ip'] = "$current_template_images/icon_ip.gif"; ! $images['icon_www'] = "$current_template_images/icon_www.gif"; ! $images['icon_icq'] = "$current_template_images/icon_icq_add.gif"; ! $images['icon_aim'] = "$current_template_images/icon_aim.gif"; ! $images['icon_yim'] = "$current_template_images/icon_yim.gif"; ! $images['icon_msnm'] = "$current_template_images/icon_msnm.gif"; ! $images['icon_minipost'] = "$current_template_images/icon_post_target.gif"; ! $images['icon_gotopost'] = "$current_template_images/icon_minipost.gif"; ! $images['icon_minipost_new'] = "$current_template_images/icon_post_target_unread.gif"; ! $images['icon_latest_reply'] = "$current_template_images/icon_latest_reply.gif"; ! $images['icon_newest_reply'] = "$current_template_images/icon_newest_reply.gif"; ! ! $images['forum'] = "$current_template_images/forum_read.gif"; ! $images['forum_new'] = "$current_template_images/forum_unread.gif"; ! $images['forum_locked'] = "$current_template_images/forum_read_locked.gif"; ! $images['folder'] = "$current_template_images/topic_read.gif"; ! $images['folder_new'] = "$current_template_images/topic_unread.gif"; ! $images['folder_hot'] = "$current_template_images/topic_read_hot.gif"; ! $images['folder_hot_new'] = "$current_template_images/topic_unread_hot.gif"; ! $images['folder_locked'] = "$current_template_images/topic_read_locked.gif"; ! $images['folder_locked_new'] = "$current_template_images/topic_unread_locked.gif"; ! $images['folder_sticky'] = "$current_template_images/sticky_read.gif"; ! $images['folder_sticky_new'] = "$current_template_images/sticky_unread.gif"; ! $images['folder_announce'] = "$current_template_images/announce_read.gif"; ! $images['folder_announce_new'] = "$current_template_images/announce_unread.gif"; ! $images['post_new'] = "$current_template_images/{LANG}/post.gif"; ! $images['post_locked'] = "$current_template_images/{LANG}/reply-locked.gif"; ! $images['reply_new'] = "$current_template_images/{LANG}/reply.gif"; ! $images['reply_locked'] = "$current_template_images/{LANG}/reply-locked.gif"; ! $images['pm_inbox'] = "$current_template_images/msg_inbox.gif"; ! $images['pm_outbox'] = "$current_template_images/msg_outbox.gif"; ! $images['pm_savebox'] = "$current_template_images/msg_savebox.gif"; ! $images['pm_sentbox'] = "$current_template_images/msg_sentbox.gif"; $images['pm_readmsg'] = "templates/prosilver/images/topic_read.gif"; $images['pm_unreadmsg'] = "templates/prosilver/images/topic_unread.gif"; ! $images['pm_replymsg'] = "$current_template_images/{LANG}/reply.gif"; ! $images['pm_postmsg'] = "$current_template_images/{LANG}/msg_newpost.gif"; ! $images['pm_quotemsg'] = "$current_template_images/{LANG}/icon_quote.gif"; ! $images['pm_editmsg'] = "$current_template_images/{LANG}/icon_edit.gif"; $images['pm_new_msg'] = ""; $images['pm_no_new_msg'] = ""; --- 158,209 ---- // + $images['icon_quote'] = "$current_template_phpbb_images/{LANG}/icon_quote.gif"; + $images['icon_edit'] = "$current_template_phpbb_images/{LANG}/icon_edit.gif"; + $images['icon_profile'] = "$current_template_phpbb_images/icon_profile.gif"; + $images['icon_pm'] = "$current_template_phpbb_images/icon_pm.gif"; + $images['icon_email'] = "$current_template_phpbb_images/icon_email.gif"; + $images['icon_delpost'] = "$current_template_phpbb_images/icon_delete.gif"; + $images['icon_ip'] = "$current_template_phpbb_images/icon_ip.gif"; + $images['icon_www'] = "$current_template_phpbb_images/icon_www.gif"; + $images['icon_icq'] = "$current_template_phpbb_images/icon_icq_add.gif"; + $images['icon_aim'] = "$current_template_phpbb_images/icon_aim.gif"; + $images['icon_yim'] = "$current_template_phpbb_images/icon_yim.gif"; + $images['icon_msnm'] = "$current_template_phpbb_images/icon_msnm.gif"; + $images['icon_minipost'] = "$current_template_phpbb_images/icon_post_target.gif"; + $images['icon_gotopost'] = "$current_template_phpbb_images/icon_minipost.gif"; + $images['icon_minipost_new'] = "$current_template_phpbb_images/icon_post_target_unread.gif"; + $images['icon_latest_reply'] = "$current_template_phpbb_images/icon_latest_reply.gif"; + $images['icon_newest_reply'] = "$current_template_phpbb_images/icon_newest_reply.gif"; ! $images['forum'] = "$current_template_phpbb_images/forum_read.gif"; ! $images['forum_new'] = "$current_template_phpbb_images/forum_unread.gif"; ! $images['forum_locked'] = "$current_template_phpbb_images/forum_read_locked.gif"; ! $images['folder'] = "$current_template_phpbb_images/topic_read.gif"; ! $images['folder_new'] = "$current_template_phpbb_images/topic_unread.gif"; ! $images['folder_hot'] = "$current_template_phpbb_images/topic_read_hot.gif"; ! $images['folder_hot_new'] = "$current_template_phpbb_images/topic_unread_hot.gif"; ! $images['folder_locked'] = "$current_template_phpbb_images/topic_read_locked.gif"; ! $images['folder_locked_new'] = "$current_template_phpbb_images/topic_unread_locked.gif"; ! $images['folder_sticky'] = "$current_template_phpbb_images/sticky_read.gif"; ! $images['folder_sticky_new'] = "$current_template_phpbb_images/sticky_unread.gif"; ! $images['folder_announce'] = "$current_template_phpbb_images/announce_read.gif"; ! $images['folder_announce_new'] = "$current_template_phpbb_images/announce_unread.gif"; ! $images['post_new'] = "$current_template_phpbb_images/{LANG}/post.gif"; ! $images['post_locked'] = "$current_template_phpbb_images/{LANG}/reply-locked.gif"; ! $images['reply_new'] = "$current_template_phpbb_images/{LANG}/reply.gif"; ! $images['reply_locked'] = "$current_template_phpbb_images/{LANG}/reply-locked.gif"; ! $images['pm_inbox'] = "$current_template_phpbb_images/msg_inbox.gif"; ! $images['pm_outbox'] = "$current_template_phpbb_images/msg_outbox.gif"; ! $images['pm_savebox'] = "$current_template_phpbb_images/msg_savebox.gif"; ! $images['pm_sentbox'] = "$current_template_phpbb_images/msg_sentbox.gif"; $images['pm_readmsg'] = "templates/prosilver/images/topic_read.gif"; $images['pm_unreadmsg'] = "templates/prosilver/images/topic_unread.gif"; ! $images['pm_replymsg'] = "$current_template_phpbb_images/{LANG}/reply.gif"; ! $images['pm_postmsg'] = "$current_template_phpbb_images/{LANG}/msg_newpost.gif"; ! $images['pm_quotemsg'] = "$current_template_phpbb_images/{LANG}/icon_quote.gif"; ! $images['pm_editmsg'] = "$current_template_phpbb_images/{LANG}/icon_edit.gif"; $images['pm_new_msg'] = ""; $images['pm_no_new_msg'] = ""; *************** *** 214,228 **** $images['Topic_watch'] = ""; $images['topic_un_watch'] = ""; ! $images['topic_mod_lock'] = "$current_template_images/topic_lock.gif"; ! $images['topic_mod_unlock'] = "$current_template_images/topic_unlock.gif"; ! $images['topic_mod_split'] = "$current_template_images/topic_split.gif"; ! $images['topic_mod_move'] = "$current_template_images/topic_move.gif"; ! $images['topic_mod_delete'] = "$current_template_images/topic_delete.gif"; ! $images['voting_graphic'][0] = "$current_template_images/voting_bar.gif"; ! $images['voting_graphic'][1] = "$current_template_images/voting_bar.gif"; ! $images['voting_graphic'][2] = "$current_template_images/voting_bar.gif"; ! $images['voting_graphic'][3] = "$current_template_images/voting_bar.gif"; ! $images['voting_graphic'][4] = "$current_template_images/voting_bar.gif"; --- 211,225 ---- $images['Topic_watch'] = ""; $images['topic_un_watch'] = ""; ! $images['topic_mod_lock'] = "$current_template_phpbb_images/topic_lock.gif"; ! $images['topic_mod_unlock'] = "$current_template_phpbb_images/topic_unlock.gif"; ! $images['topic_mod_split'] = "$current_template_phpbb_images/topic_split.gif"; ! $images['topic_mod_move'] = "$current_template_phpbb_images/topic_move.gif"; ! $images['topic_mod_delete'] = "$current_template_phpbb_images/topic_delete.gif"; ! $images['voting_graphic'][0] = "$current_template_phpbb_images/voting_bar.gif"; ! $images['voting_graphic'][1] = "$current_template_phpbb_images/voting_bar.gif"; ! $images['voting_graphic'][2] = "$current_template_phpbb_images/voting_bar.gif"; ! $images['voting_graphic'][3] = "$current_template_phpbb_images/voting_bar.gif"; ! $images['voting_graphic'][4] = "$current_template_phpbb_images/voting_bar.gif"; *************** *** 259,263 **** // Online Block // ! $mx_images['mx_who_is_online'] = $mx_root_path . $current_template_path . "/images/whosonline.gif"; ! ?> --- 256,259 ---- // Online Block // ! $mx_images['mx_who_is_online'] = "$current_template_phpbb_images/whosonline.gif"; ?> |
|
From: Jon O. <jon...@us...> - 2007-09-12 19:28:30
|
Update of /cvsroot/mxbb/core/includes/sessions/phpbb3 In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13225/includes/sessions/phpbb3 Modified Files: session.php Log Message: for 2.9.x - updates Index: session.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/sessions/phpbb3/session.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** session.php 9 Sep 2007 16:51:32 -0000 1.1 --- session.php 12 Sep 2007 19:28:26 -0000 1.2 *************** *** 1803,1978 **** } - // USE: $default_lang = $mx_user->get_old_lang($board_config['default_lang']); - function get_old_lang($lang) - { - if ( PORTAL_BACKEND != 'phpbb3' ) - { - return $lang; - } - - switch( $lang ) - { - case 'ar': - $default_lang = 'arabic'; - break; - case 'bg': - $default_lang = 'bulgarian'; - break; - case 'ca': - $default_lang = 'catalan'; - break; - case 'cs': - $default_lang = 'czech'; - break; - case 'da': - $default_lang = 'danish'; - break; - case 'de': - $default_lang = 'german'; - break; - case 'et': - $default_lang = 'estonian'; - break; - case 'en': - $default_lang = 'english'; - break; - case 'fi': - $default_lang = 'finnish'; - break; - case 'fr ': - $default_lang = 'french'; - break; - case 'el': - $default_lang = 'greek'; - break; - case 'es[_-]ar': - $default_lang = 'spanish_argentina'; - break; - case 'es([_-][a-z]+)?': - $default_lang = 'spanish'; - break; - case 'gd': - $default_lang = 'gaelic'; - break; - case 'gl': - $default_lang = 'galego'; - break; - case 'gu': - $default_lang = 'gujarati'; - break; - case 'he': - $default_lang = 'hebrew'; - break; - case 'hi': - $default_lang = 'hindi'; - break; - case 'is': - $default_lang = 'icelandic'; - break; - case 'id ': - $default_lang = 'indonesian'; - break; - case 'it': - $default_lang = 'italian'; - break; - case 'ja': - $default_lang = 'japanese'; - break; - case 'ko': - $default_lang = 'korean'; - break; - case 'lv': - $default_lang = 'latvian'; - break; - case 'mk': - $default_lang = 'macedonian'; - break; - case 'nl ': - $default_lang = 'dutch'; - break; - case 'no': - $default_lang = 'norwegian'; - break; - case 'pa': - $default_lang = 'punjabi'; - break; - case 'lt': - $default_lang = 'lithuanian'; - break; - case 'pl': - $default_lang = 'polish'; - break; - case 'pt[_-]br': - $default_lang = 'portuguese_brazil'; - break; - case 'pt ': - $default_lang = 'portuguese'; - break; - case 'ro': - $default_lang = 'romanian'; - break; - case 'sl': - $default_lang = 'slovenian'; - break; - case 'sr': - $default_lang = 'serbian'; - break; - case 'sv': - $default_lang = 'slovak'; - break; - case 'sw': - $default_lang = 'swedish'; - break; - case 'th': - $default_lang = 'thai'; - break; - case 'tr': - $default_lang = 'turkish'; - break; - case 'uk': - $default_lang = 'ukranian'; - break; - case 'ur': - $default_lang = 'urdu'; - break; - case 'vi': - $default_lang = 'viatnamese'; - break; - case 'zh': - $default_lang = 'chinese_simplified'; - break; - case 'zh[_-]tw': - $default_lang = 'chinese_traditional_taiwan'; - break; - case 'pl': - $default_lang = 'polish'; - break; - case 'pl': - $default_lang = 'polish'; - break; - case 'pl': - $default_lang = 'polish'; - break; - default: - $default_lang = $lang; - break; - } - - return $default_lang; - } - - /** - * Get option bit field from user options - */ - function optionget($key, $data = false) - { - if (!isset($this->keyvalues[$key])) - { - $var = ($data) ? $data : $this->data['user_options']; - $this->keyvalues[$key] = ($var & 1 << $this->keyoptions[$key]) ? true : false; - } - - return $this->keyvalues[$key]; - } } --- 1803,1806 ---- |
|
From: Jon O. <jon...@us...> - 2007-09-12 19:28:30
|
Update of /cvsroot/mxbb/core/templates/mxSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13225/templates/mxSilver Modified Files: mxSilver.css Log Message: for 2.9.x - updates Index: mxSilver.css =================================================================== RCS file: /cvsroot/mxbb/core/templates/mxSilver/mxSilver.css,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mxSilver.css 9 Sep 2007 16:50:46 -0000 1.1 --- mxSilver.css 12 Sep 2007 19:28:26 -0000 1.2 *************** *** 45,49 **** td.rowpic { background-color: #FFFFFF; ! background-image: url(images/cellpic2.jpg); background-repeat: repeat-y; } --- 45,49 ---- td.rowpic { background-color: #FFFFFF; ! background-image: url(../_core/images/phpbb2/cellpic2.jpg); background-repeat: repeat-y; } *************** *** 53,61 **** color: #FFA34F; font-size: 11px; font-weight : bold; background-color: #006699; height: 25px; ! background-image: url(images/cellpic3.gif); } td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom { ! background-image: url(images/cellpic1.gif); background-color:#D1D7DC; border: #FFFFFF; border-style: solid; height: 28px; } --- 53,61 ---- color: #FFA34F; font-size: 11px; font-weight : bold; background-color: #006699; height: 25px; ! background-image: url(../_core/images/phpbb2/cellpic3.gif); } td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom { ! background-image: url(../_core/images/phpbb2/cellpic1.gif); background-color:#D1D7DC; border: #FFFFFF; border-style: solid; height: 28px; } |
|
From: Jon O. <jon...@us...> - 2007-09-12 19:28:30
|
Update of /cvsroot/mxbb/core/templates/subsilver2 In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13225/templates/subsilver2 Modified Files: subsilver2.cfg Log Message: for 2.9.x - updates Index: subsilver2.cfg =================================================================== RCS file: /cvsroot/mxbb/core/templates/subsilver2/subsilver2.cfg,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** subsilver2.cfg 9 Sep 2007 16:50:46 -0000 1.1 --- subsilver2.cfg 12 Sep 2007 19:28:27 -0000 1.2 *************** *** 60,69 **** | - these are very handy paths to ALL kind of phpBB/mxBB graphics \********************************************************************************/ ! $mx_images['mx_graphics']['general'] = $current_template_path . "/images"; ! $mx_images['mx_graphics']['page_icons'] = file_exists( $mx_root_path . $current_template_path . "/images/page_icons" ) ? $current_template_path . "/images/page_icons" : $cloned_template_path . "/images/page_icons"; ! $mx_images['mx_graphics']['block_icons'] = file_exists( $mx_root_path . $current_template_path . "/images/block_icons" ) ? $current_template_path . "/images/block_icons" : $cloned_template_path . "/images/block_icons"; ! $mx_images['mx_graphics']['menu_icons'] = file_exists( $mx_root_path . $current_template_path . "/images/menu_icons" ) ? $current_template_path . "/images/menu_icons" : $cloned_template_path . "/images/menu_icons"; ! $mx_images['mx_graphics']['admin_icons'] = file_exists( $mx_root_path . $current_template_path . "/images/admin_icons" ) ? $current_template_path . "/images/admin_icons" : $cloned_template_path . "/images/admin_icons"; ! $mx_images['mx_graphics']['phpbb_icons'] = file_exists( $phpbb_root_path . $current_template_path . "/images" ) ? $current_template_path . "/images" : $cloned_template_path . "/images"; // --- 60,69 ---- | - these are very handy paths to ALL kind of phpBB/mxBB graphics \********************************************************************************/ ! $mx_images['mx_graphics']['general'] = file_exists( $mx_root_path . $current_template_path . "/images/logo.gif" ) ? $current_template_path . "/images" : ( file_exists( $mx_root_path . $cloned_template_path . "/images/logo.gif" ) ? $cloned_template_path . "/images" : $default_template_path . "/images" ); ! $mx_images['mx_graphics']['page_icons'] = file_exists( $mx_root_path . $current_template_path . "/images/page_icons" ) ? $current_template_path . "/images/page_icons" : ( file_exists( $mx_root_path . $cloned_template_path . "/images/page_icons" ) ? $cloned_template_path . "/images/page_icons" : $default_template_path . "/images/page_icons" ); ! $mx_images['mx_graphics']['block_icons'] = file_exists( $mx_root_path . $current_template_path . "/images/block_icons" ) ? $current_template_path . "/images/block_icons" : ( file_exists( $mx_root_path . $cloned_template_path . "/images/block_icons" ) ? $cloned_template_path . "/images/block_icons" : $default_template_path . "/images/block_icons" ); ! $mx_images['mx_graphics']['menu_icons'] = file_exists( $mx_root_path . $current_template_path . "/images/menu_icons" ) ? $current_template_path . "/images/menu_icons" : ( file_exists( $mx_root_path . $cloned_template_path . "/images/menu_icons" ) ? $cloned_template_path . "/images/menu_icons" : $default_template_path . "/images/menu_icons" ); ! $mx_images['mx_graphics']['admin_icons'] = file_exists( $mx_root_path . $current_template_path . "/images/admin_icons" ) ? $current_template_path . "/images/admin_icons" : ( file_exists( $mx_root_path . $cloned_template_path . "/images/admin_icons" ) ? $cloned_template_path . "/images/admin_icons" : $default_template_path . "/images/admin_icons" ); ! $mx_images['mx_graphics']['phpbb_icons'] = file_exists( $phpbb_root_path . $current_template_path . "/images" ) ? $current_template_path . "/images" : ( file_exists( $phpbb_root_path . $cloned_template_path . "/images" ) ? $cloned_template_path . "/images" : $default_template_path . "/images"); // *************** *** 157,161 **** // common phpBB images, this will have immedaite effect for all mxBB pages. // - /* $images['icon_quote'] = "$current_template_phpbb_images/{LANG}/icon_quote.gif"; $images['icon_edit'] = "$current_template_phpbb_images/{LANG}/icon_edit.gif"; --- 157,160 ---- *************** *** 223,227 **** $images['voting_graphic'][3] = "$current_template_phpbb_images/voting_bar.gif"; $images['voting_graphic'][4] = "$current_template_phpbb_images/voting_bar.gif"; - */ // --- 222,225 ---- *************** *** 262,265 **** // Online Block // ! $mx_images['mx_who_is_online'] = $mx_root_path . $current_template_path . "/images/whosonline.gif"; ?> --- 260,263 ---- // Online Block // ! $mx_images['mx_who_is_online'] = "$current_template_phpbb_images/whosonline.gif"; ?> |
|
From: Jon O. <jon...@us...> - 2007-09-12 19:28:30
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13225/includes Modified Files: mx_functions_style.php Log Message: for 2.9.x - updates Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** mx_functions_style.php 9 Sep 2007 16:48:17 -0000 1.18 --- mx_functions_style.php 12 Sep 2007 19:28:26 -0000 1.19 *************** *** 613,617 **** $board_config['default_lang'] = $this->get_old_lang($this->lang['default_lang']); // ? ! include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx); // Also include phpBB lang keys include($mx_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx); --- 613,617 ---- $board_config['default_lang'] = $this->get_old_lang($this->lang['default_lang']); // ? ! include($mx_root_path . 'includes/shared/phpbb2/language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx); // Also include phpBB lang keys include($mx_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx); *************** *** 623,627 **** } ! include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx); // Also include phpBB lang keys include($mx_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx); } --- 623,627 ---- } ! include($mx_root_path . 'includes/shared/phpbb2/language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx); // Also include phpBB lang keys include($mx_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx); } *************** *** 1259,1262 **** --- 1259,1435 ---- } + // USE: $default_lang = $mx_user->get_old_lang($board_config['default_lang']); + function get_old_lang($lang) + { + if ( PORTAL_BACKEND != 'phpbb3' ) + { + return $lang; + } + + switch( $lang ) + { + case 'ar': + $default_lang = 'arabic'; + break; + case 'bg': + $default_lang = 'bulgarian'; + break; + case 'ca': + $default_lang = 'catalan'; + break; + case 'cs': + $default_lang = 'czech'; + break; + case 'da': + $default_lang = 'danish'; + break; + case 'de': + $default_lang = 'german'; + break; + case 'et': + $default_lang = 'estonian'; + break; + case 'en': + $default_lang = 'english'; + break; + case 'fi': + $default_lang = 'finnish'; + break; + case 'fr ': + $default_lang = 'french'; + break; + case 'el': + $default_lang = 'greek'; + break; + case 'es[_-]ar': + $default_lang = 'spanish_argentina'; + break; + case 'es([_-][a-z]+)?': + $default_lang = 'spanish'; + break; + case 'gd': + $default_lang = 'gaelic'; + break; + case 'gl': + $default_lang = 'galego'; + break; + case 'gu': + $default_lang = 'gujarati'; + break; + case 'he': + $default_lang = 'hebrew'; + break; + case 'hi': + $default_lang = 'hindi'; + break; + case 'is': + $default_lang = 'icelandic'; + break; + case 'id ': + $default_lang = 'indonesian'; + break; + case 'it': + $default_lang = 'italian'; + break; + case 'ja': + $default_lang = 'japanese'; + break; + case 'ko': + $default_lang = 'korean'; + break; + case 'lv': + $default_lang = 'latvian'; + break; + case 'mk': + $default_lang = 'macedonian'; + break; + case 'nl ': + $default_lang = 'dutch'; + break; + case 'no': + $default_lang = 'norwegian'; + break; + case 'pa': + $default_lang = 'punjabi'; + break; + case 'lt': + $default_lang = 'lithuanian'; + break; + case 'pl': + $default_lang = 'polish'; + break; + case 'pt[_-]br': + $default_lang = 'portuguese_brazil'; + break; + case 'pt ': + $default_lang = 'portuguese'; + break; + case 'ro': + $default_lang = 'romanian'; + break; + case 'sl': + $default_lang = 'slovenian'; + break; + case 'sr': + $default_lang = 'serbian'; + break; + case 'sv': + $default_lang = 'slovak'; + break; + case 'sw': + $default_lang = 'swedish'; + break; + case 'th': + $default_lang = 'thai'; + break; + case 'tr': + $default_lang = 'turkish'; + break; + case 'uk': + $default_lang = 'ukranian'; + break; + case 'ur': + $default_lang = 'urdu'; + break; + case 'vi': + $default_lang = 'viatnamese'; + break; + case 'zh': + $default_lang = 'chinese_simplified'; + break; + case 'zh[_-]tw': + $default_lang = 'chinese_traditional_taiwan'; + break; + case 'pl': + $default_lang = 'polish'; + break; + case 'pl': + $default_lang = 'polish'; + break; + case 'pl': + $default_lang = 'polish'; + break; + default: + $default_lang = $lang; + break; + } + + return $default_lang; + } + + /** + * Get option bit field from user options + */ + function optionget($key, $data = false) + { + if (!isset($this->keyvalues[$key])) + { + $var = ($data) ? $data : $this->data['user_options']; + $this->keyvalues[$key] = ($var & 1 << $this->keyoptions[$key]) ? true : false; + } + + return $this->keyvalues[$key]; + } + // ------------------------------ // Public Methods |
|
From: Jon O. <jon...@us...> - 2007-09-12 19:26:19
|
Update of /cvsroot/mxbb/core/install/schemas In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12278 Modified Files: Tag: core28x mysql_schema_upgrade_to_2.8.1.sql Log Message: another fix Index: mysql_schema_upgrade_to_2.8.1.sql =================================================================== RCS file: /cvsroot/mxbb/core/install/schemas/mysql_schema_upgrade_to_2.8.1.sql,v retrieving revision 1.4.2.2 retrieving revision 1.4.2.3 diff -C2 -d -r1.4.2.2 -r1.4.2.3 *** mysql_schema_upgrade_to_2.8.1.sql 12 Sep 2007 13:11:07 -0000 1.4.2.2 --- mysql_schema_upgrade_to_2.8.1.sql 12 Sep 2007 19:26:16 -0000 1.4.2.3 *************** *** 30,33 **** # New Fields in Table `mx_portal` # ! ALTER TABLE mx_table_portal ADD portal_status smallint(2) NOT NULL default '1' AFTER mod_rewrite; ALTER TABLE mx_table_portal ADD disabled_message varchar(255) default 'We are currenty upgrading this site with latest mxBB software.' AFTER portal_status; --- 30,34 ---- # New Fields in Table `mx_portal` # ! ALTER TABLE mx_table_portal ADD portal_backend varchar(255) default 'phpBB2' AFTER mod_rewrite; ! ALTER TABLE mx_table_portal ADD portal_status smallint(2) NOT NULL default '1' AFTER portal_backend; ALTER TABLE mx_table_portal ADD disabled_message varchar(255) default 'We are currenty upgrading this site with latest mxBB software.' AFTER portal_status; |
|
From: Jon O. <jon...@us...> - 2007-09-12 17:56:55
|
Update of /cvsroot/mxbb/core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv7819 Modified Files: Tag: core28x common.php Log Message: test Index: common.php =================================================================== RCS file: /cvsroot/mxbb/core/common.php,v retrieving revision 1.67 retrieving revision 1.67.2.1 diff -C2 -d -r1.67 -r1.67.2.1 *** common.php 5 Aug 2007 22:07:26 -0000 1.67 --- common.php 12 Sep 2007 17:56:44 -0000 1.67.2.1 *************** *** 15,18 **** --- 15,19 ---- } + define('IN_PHPBB', 1); |
|
From: Jon O. <jon...@us...> - 2007-09-12 13:11:15
|
Update of /cvsroot/mxbb/core/install/schemas In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv1152/install/schemas Modified Files: Tag: core28x mysql_schema_upgrade_to_2.8.1.sql Log Message: upgrade fix Index: mysql_schema_upgrade_to_2.8.1.sql =================================================================== RCS file: /cvsroot/mxbb/core/install/schemas/mysql_schema_upgrade_to_2.8.1.sql,v retrieving revision 1.4.2.1 retrieving revision 1.4.2.2 diff -C2 -d -r1.4.2.1 -r1.4.2.2 *** mysql_schema_upgrade_to_2.8.1.sql 26 Aug 2007 19:41:24 -0000 1.4.2.1 --- mysql_schema_upgrade_to_2.8.1.sql 12 Sep 2007 13:11:07 -0000 1.4.2.2 *************** *** 30,33 **** # New Fields in Table `mx_portal` # ! ALTER TABLE mx_table_portal ADD portal_backend varchar(255) default 'phpBB2' AFTER mod_rewrite; ALTER TABLE mx_table_portal ADD disabled_message varchar(255) default 'We are currenty upgrading this site with latest mxBB software.' AFTER portal_status; --- 30,33 ---- # New Fields in Table `mx_portal` # ! ALTER TABLE mx_table_portal ADD portal_status smallint(2) NOT NULL default '1' AFTER mod_rewrite; ALTER TABLE mx_table_portal ADD disabled_message varchar(255) default 'We are currenty upgrading this site with latest mxBB software.' AFTER portal_status; |
|
From: OryNider <ory...@us...> - 2007-09-10 22:28:51
|
Update of /cvsroot/mxbb/mx_music/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13189 Modified Files: music_cat_xs.tpl music_media_cat_body.tpl music_page_body.tpl music_pic_cat_body.tpl Log Message: Added flv player ... Index: music_cat_xs.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/subSilver/music_cat_xs.tpl,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** music_cat_xs.tpl 8 Sep 2007 13:29:03 -0000 1.7 --- music_cat_xs.tpl 10 Sep 2007 22:28:43 -0000 1.8 *************** *** 39,43 **** <tr> <!-- BEGIN song_detail --> ! <!-- IF song_detail.SWITCH_ROW_TYPE eq img --> <td> <table width="100%" cellpadding="2" cellspacing="1" border="0"> --- 39,43 ---- <tr> <!-- BEGIN song_detail --> ! <!-- IF song_detail.SWITCH_ROW_TYPE eq IMG --> <td> <table width="100%" cellpadding="2" cellspacing="1" border="0"> *************** *** 89,93 **** <tr> <td width="44%" colspan="7" class="row1" align="center"> ! <!-- IF song_detail.S_ROW_TYPE eq media --> <SCRIPT LANGUAGE="JavaScript"> var WMP7; --- 89,93 ---- <tr> <td width="44%" colspan="7" class="row1" align="center"> ! <!-- IF song_detail.S_ROW_TYPE eq MEDIA --> <SCRIPT LANGUAGE="JavaScript"> var WMP7; *************** *** 207,221 **** <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq flash --> <EMBED src="{song_detail.U_SONG}" quality=high scale=noborder wmode=transparent bgcolor=#000000 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED> <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq flashvideo --> <embed src="{song_detail.SONG_URL}" id="VideoPlayback" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350" flashvars=""> </embed> <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq youtube --> <object width="425" height="350"> <param name="movie" value="{song_detail.SONG_URL}"></param> --- 207,221 ---- <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq FLASH --> <EMBED src="{song_detail.U_SONG}" quality=high scale=noborder wmode=transparent bgcolor=#000000 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED> <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq FLASHVIDEO --> <embed src="{song_detail.SONG_URL}" id="VideoPlayback" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350" flashvars=""> </embed> <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq YOUTUBE --> <object width="425" height="350"> <param name="movie" value="{song_detail.SONG_URL}"></param> *************** *** 226,230 **** <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq ram --> <embed src="{song_detail.U_SONG}" align="center" width="275" height="40" type="audio/x-pn-realaudio-plugin" console="cons" --- 226,248 ---- <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq FLV --> ! <div id="flvplayer"> ! <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,47,0" width="425" height="350" id="flvplayer" align="center"> ! <param name="allowScriptAccess" value="always" /> ! <param name="movie" value="{song_detail.VIDEO_URL}" /> ! <param name="loop" value="false" /> ! <param name="menu" value="false" /> ! <param name="quality" value="high" /> ! <param name="allowfullscreen" value="true" /> ! <param name="scale" value="noscale" /> ! <param name="salign" value="lt" /> ! <param name="bgcolor" value="000000" /> ! <param name="flashvars" value="file={song_detail.SONG_URL}&image={song_detail.U_IMG}&shuffleOnLoad=no" /> ! <embed src="{song_detail.VIDEO_URL}" flashvars="file={song_detail.SONG_URL}&image={song_detail.U_IMG}&shuffleOnLoad=no" loop="false" allowfullscreen="true" menu="false" quality="high" width="425" height="360" scale="noscale" salign="lt" name="flvplayer" align="center" bgcolor="000000" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> ! </object> ! </div> ! <!-- ENDIF --> ! ! <!-- IF song_detail.S_ROW_TYPE eq RAM --> <embed src="{song_detail.U_SONG}" align="center" width="275" height="40" type="audio/x-pn-realaudio-plugin" console="cons" *************** *** 232,236 **** <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq qt --> <object id="qt" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="377" height="212"> <param name="qtsrc" value="{song_detail.U_SONG}"> --- 250,254 ---- <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq QT --> <object id="qt" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="377" height="212"> <param name="qtsrc" value="{song_detail.U_SONG}"> *************** *** 246,250 **** <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq img --> <a href="javascript:void(0);" onClick="window.open('<!-- IF song_detail.SONG_FULL_URL is even -->{song_detail.SONG_FULL_URL}<!-- ELSE -->{song_detail.U_SONG}<!-- ENDIF -->','','scrollbars=yes,resizable=no,width=810,height=610')"><img src="<!-- IF song_detail.SONG_THUMB_URL is even -->{song_detail.SONG_THUMB_URL}<!-- ELSE -->{song_detail.U_SONG}<!-- ENDIF -->" id="image" type="image" border="1"></a> <!-- ENDIF --> --- 264,268 ---- <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq IMG --> <a href="javascript:void(0);" onClick="window.open('<!-- IF song_detail.SONG_FULL_URL is even -->{song_detail.SONG_FULL_URL}<!-- ELSE -->{song_detail.U_SONG}<!-- ENDIF -->','','scrollbars=yes,resizable=no,width=810,height=610')"><img src="<!-- IF song_detail.SONG_THUMB_URL is even -->{song_detail.SONG_THUMB_URL}<!-- ELSE -->{song_detail.U_SONG}<!-- ENDIF -->" id="image" type="image" border="1"></a> <!-- ENDIF --> Index: music_pic_cat_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/subSilver/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 8 Sep 2007 13:29:03 -0000 1.2 --- music_pic_cat_body.tpl 10 Sep 2007 22:28:44 -0000 1.3 *************** *** 45,49 **** <tr> <!-- BEGIN song_detail --> ! <!-- IF song_detail.SWITCH_ROW_TYPE eq img --> <td> <table width="100%" cellpadding="2" cellspacing="1" border="0"> --- 45,49 ---- <tr> <!-- BEGIN song_detail --> ! <!-- IF song_detail.SWITCH_ROW_TYPE eq IMG --> <td> <table width="100%" cellpadding="2" cellspacing="1" border="0"> *************** *** 70,74 **** <tr> <td width="44%" class="row1" align="center"> ! <!-- IF song_detail.S_ROW_TYPE eq media --> <SCRIPT LANGUAGE="JavaScript"> var WMP7; --- 70,74 ---- <tr> <td width="44%" class="row1" align="center"> ! <!-- IF song_detail.S_ROW_TYPE eq MEDIA --> <SCRIPT LANGUAGE="JavaScript"> var WMP7; *************** *** 192,206 **** <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq flash --> <EMBED src="{song_detail.U_SONG}" quality=high scale=noborder wmode=transparent bgcolor=#000000 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED> <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq flashvideo --> <embed src="{song_detail.SONG_URL}" id="VideoPlayback" type="application/x-shockwave-flash" wmode="transparent" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" flashvars=""> </embed> <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq youtube --> <object width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}"> <param name="movie" value="{song_detail.SONG_URL}"></param> --- 192,206 ---- <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq FLASH --> <EMBED src="{song_detail.U_SONG}" quality=high scale=noborder wmode=transparent bgcolor=#000000 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED> <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq FLASHVIDEO --> <embed src="{song_detail.SONG_URL}" id="VideoPlayback" type="application/x-shockwave-flash" wmode="transparent" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" flashvars=""> </embed> <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq YOUTUBE --> <object width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}"> <param name="movie" value="{song_detail.SONG_URL}"></param> *************** *** 211,215 **** <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq ram --> <embed src="{song_detail.U_SONG}" align="center" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" type="audio/x-pn-realaudio-plugin" console="cons" --- 211,233 ---- <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq FLV --> ! <div id="flvplayer"> ! <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,47,0" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" id="flvplayer" align="center"> ! <param name="allowScriptAccess" value="always" /> ! <param name="movie" value="{song_detail.VIDEO_URL}" /> ! <param name="loop" value="false" /> ! <param name="menu" value="false" /> ! <param name="quality" value="high" /> ! <param name="allowfullscreen" value="true" /> ! <param name="scale" value="noscale" /> ! <param name="salign" value="lt" /> ! <param name="bgcolor" value="000000" /> ! <param name="flashvars" value="file={song_detail.SONG_URL}&image={song_detail.U_IMG}&shuffleOnLoad=no" /> ! <embed src="{song_detail.VIDEO_URL}" flashvars="file={song_detail.SONG_URL}&image={song_detail.U_IMG}&shuffleOnLoad=no" loop="false" allowfullscreen="true" menu="false" quality="high" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" scale="noscale" salign="lt" name="flvplayer" align="center" bgcolor="000000" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> ! </object> ! </div> ! <!-- ENDIF --> ! ! <!-- IF song_detail.S_ROW_TYPE eq RAM --> <embed src="{song_detail.U_SONG}" align="center" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" type="audio/x-pn-realaudio-plugin" console="cons" *************** *** 217,221 **** <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq qt --> <object id="qt" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}"> <param name="qtsrc" value="{song_detail.U_SONG}"> --- 235,239 ---- <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq QT --> <object id="qt" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}"> <param name="qtsrc" value="{song_detail.U_SONG}"> *************** *** 231,235 **** <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq img --> <a href="javascript:void(0);" onClick="window.open('<!-- IF song_detail.SONG_FULL_URL is even -->{song_detail.SONG_FULL_URL}<!-- ELSE -->{song_detail.U_SONG}<!-- ENDIF -->','','scrollbars=yes,resizable=no,width=810,height=610')"><img src="<!-- IF song_detail.SONG_THUMB_URL is even -->{song_detail.SONG_THUMB_URL}<!-- ELSE -->{song_detail.U_SONG}<!-- ENDIF -->" id="image" type="image" border="1"></a> <!-- ENDIF --> --- 249,253 ---- <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq IMG --> <a href="javascript:void(0);" onClick="window.open('<!-- IF song_detail.SONG_FULL_URL is even -->{song_detail.SONG_FULL_URL}<!-- ELSE -->{song_detail.U_SONG}<!-- ENDIF -->','','scrollbars=yes,resizable=no,width=810,height=610')"><img src="<!-- IF song_detail.SONG_THUMB_URL is even -->{song_detail.SONG_THUMB_URL}<!-- ELSE -->{song_detail.U_SONG}<!-- ENDIF -->" id="image" type="image" border="1"></a> <!-- ENDIF --> Index: music_page_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/subSilver/music_page_body.tpl,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** music_page_body.tpl 5 Sep 2007 23:37:50 -0000 1.5 --- music_page_body.tpl 10 Sep 2007 22:28:43 -0000 1.6 *************** *** 61,73 **** { ! document.write (' <object id="MediaPlayer" width={WIDTH} height={HEIGHT} classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6"'); ! document.write ('codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0"'); ! document.write ('standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'); document.write ('<PARAM NAME="url" VALUE="{U_SONG}">'); document.write ('<PARAM NAME="FileName" value="{U_SONG}">'); document.write ('<PARAM NAME="AutoStart" VALUE="true">'); document.write ('<PARAM NAME="ShowControls" VALUE="1">'); ! document.write ('<PARAM NAME="ShowStatusBar" VALUE="1">'); ! document.write ('<PARAM NAME="AutoSize" VALUE="1">'); document.write ('<PARAM NAME="uiMode" VALUE="mini">'); --- 61,73 ---- { ! document.write (' <object id="MediaPlayer" width={WIDTH} height={HEIGHT} classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6"'); ! document.write ('codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0"'); ! document.write ('standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'); document.write ('<PARAM NAME="url" VALUE="{U_SONG}">'); document.write ('<PARAM NAME="FileName" value="{U_SONG}">'); document.write ('<PARAM NAME="AutoStart" VALUE="true">'); document.write ('<PARAM NAME="ShowControls" VALUE="1">'); ! document.write ('<PARAM NAME="ShowStatusBar" VALUE="1">'); ! document.write ('<PARAM NAME="AutoSize" VALUE="1">'); document.write ('<PARAM NAME="uiMode" VALUE="mini">'); *************** *** 81,85 **** document.write (' ShowStatusBar="1"'); document.write (' AUTOSTART="true"'); ! document.write (' AutoSize="1"'); document.write (' width="70"'); document.write (' height="300">'); --- 81,85 ---- document.write (' ShowStatusBar="1"'); document.write (' AUTOSTART="true"'); ! document.write (' AutoSize="1"'); document.write (' width="70"'); document.write (' height="300">'); *************** *** 97,108 **** //IE Code ! document.write (' <object id="wmp" width={WIDTH} height={HEIGHT} classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"'); ! document.write ('codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0"'); ! document.write ('standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'); document.write ('<PARAM NAME="url" VALUE="{U_SONG}">'); document.write ('<PARAM NAME="FileName" value="{U_SONG}">'); document.write ('<PARAM NAME="AutoStart" VALUE="true">'); document.write ('<PARAM NAME="ShowControls" VALUE="1">'); ! document.write ('<PARAM NAME="ShowStatusBar" VALUE="1">'); document.write ('<PARAM NAME="AutoSize" VALUE="1">'); --- 97,108 ---- //IE Code ! document.write (' <object id="wmp" width={WIDTH} height={HEIGHT} classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"'); ! document.write ('codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0"'); ! document.write ('standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'); document.write ('<PARAM NAME="url" VALUE="{U_SONG}">'); document.write ('<PARAM NAME="FileName" value="{U_SONG}">'); document.write ('<PARAM NAME="AutoStart" VALUE="true">'); document.write ('<PARAM NAME="ShowControls" VALUE="1">'); ! document.write ('<PARAM NAME="ShowStatusBar" VALUE="1">'); document.write ('<PARAM NAME="AutoSize" VALUE="1">'); *************** *** 149,153 **** <!-- BEGIN youtube --> <object width="425" height="350"> ! <param name="movie" value="{SONG_URL}"></param> <param name="wmode" value="transparent"></param> <embed src="{VIDEO_URL}" id="VideoPlayback" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350" flashvars=""> --- 149,153 ---- <!-- BEGIN youtube --> <object width="425" height="350"> ! <param name="movie" value="{VIDEO_URL}"></param> <param name="wmode" value="transparent"></param> <embed src="{VIDEO_URL}" id="VideoPlayback" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350" flashvars=""> *************** *** 156,159 **** --- 156,177 ---- <!-- END youtube --> + <!-- BEGIN flv --> + <div id="flvplayer"> + <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,47,0" width="425" height="350" id="flvplayer" align="center"> + <param name="allowScriptAccess" value="always" /> + <param name="movie" value="{VIDEO_URL}" /> + <param name="loop" value="false" /> + <param name="menu" value="false" /> + <param name="quality" value="high" /> + <param name="allowfullscreen" value="true" /> + <param name="scale" value="noscale" /> + <param name="salign" value="lt" /> + <param name="bgcolor" value="000000" /> + <param name="flashvars" value="file={SONG_URL}&image={U_IMG}&shuffleOnLoad=no" /> + <embed src="{VIDEO_URL}" flashvars="file={SONG_URL}&image={U_IMG}&shuffleOnLoad=no" loop="false" allowfullscreen="true" menu="false" quality="high" width="425" height="360" scale="noscale" salign="lt" name="flvplayer" align="center" bgcolor="000000" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> + </object> + </div> + <!-- END flv --> + <!-- BEGIN ram --> <embed src="{U_SONG}" align="center" Index: music_media_cat_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/subSilver/music_media_cat_body.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** music_media_cat_body.tpl 8 Sep 2007 13:29:03 -0000 1.2 --- music_media_cat_body.tpl 10 Sep 2007 22:28:43 -0000 1.3 *************** *** 38,42 **** <tr> <!-- BEGIN song_detail --> ! <!-- IF song_detail.SWITCH_ROW_TYPE eq media --> <td> <table width="100%" cellpadding="2" cellspacing="1" border="0"> --- 38,42 ---- <tr> <!-- BEGIN song_detail --> ! <!-- IF song_detail.SWITCH_ROW_TYPE eq MEDIA --> <td> <table width="100%" cellpadding="2" cellspacing="1" border="0"> *************** *** 46,50 **** <tr> <td width="44%" colspan="7" class="row1" align="center"> ! <!-- IF song_detail.S_ROW_TYPE eq media --> <SCRIPT LANGUAGE="JavaScript"> var WMP7; --- 46,50 ---- <tr> <td width="44%" colspan="7" class="row1" align="center"> ! <!-- IF song_detail.S_ROW_TYPE eq MEDIA --> <SCRIPT LANGUAGE="JavaScript"> var WMP7; *************** *** 164,178 **** <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq flash --> <EMBED src="{song_detail.U_SONG}" quality=high scale=noborder wmode=transparent bgcolor=#000000 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED> <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq flashvideo --> <embed src="{song_detail.SONG_URL}" id="VideoPlayback" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350" flashvars=""> </embed> <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq youtube --> <object width="425" height="350"> <param name="movie" value="{song_detail.SONG_URL}"></param> --- 164,178 ---- <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq FLASH --> <EMBED src="{song_detail.U_SONG}" quality=high scale=noborder wmode=transparent bgcolor=#000000 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED> <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq FLASHVIDEO --> <embed src="{song_detail.SONG_URL}" id="VideoPlayback" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350" flashvars=""> </embed> <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq YOUTUBE --> <object width="425" height="350"> <param name="movie" value="{song_detail.SONG_URL}"></param> *************** *** 183,187 **** <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq ram --> <embed src="{song_detail.U_SONG}" align="center" width="275" height="40" type="audio/x-pn-realaudio-plugin" console="cons" --- 183,205 ---- <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq FLV --> ! <div id="flvplayer"> ! <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,47,0" width="425" height="350" id="flvplayer" align="center"> ! <param name="allowScriptAccess" value="always" /> ! <param name="movie" value="{song_detail.VIDEO_URL}" /> ! <param name="loop" value="false" /> ! <param name="menu" value="false" /> ! <param name="quality" value="high" /> ! <param name="allowfullscreen" value="true" /> ! <param name="scale" value="noscale" /> ! <param name="salign" value="lt" /> ! <param name="bgcolor" value="000000" /> ! <param name="flashvars" value="file={song_detail.SONG_URL}&image={song_detail.U_IMG}&shuffleOnLoad=no" /> ! <embed src="{song_detail.VIDEO_URL}" flashvars="file={song_detail.SONG_URL}&image={song_detail.U_IMG}&shuffleOnLoad=no" loop="false" allowfullscreen="true" menu="false" quality="high" width="425" height="360" scale="noscale" salign="lt" name="flvplayer" align="center" bgcolor="000000" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> ! </object> ! </div> ! <!-- ENDIF --> ! ! <!-- IF song_detail.S_ROW_TYPE eq RAM --> <embed src="{song_detail.U_SONG}" align="center" width="275" height="40" type="audio/x-pn-realaudio-plugin" console="cons" *************** *** 189,193 **** <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq qt --> <object id="qt" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="377" height="212"> <param name="qtsrc" value="{song_detail.U_SONG}"> --- 207,211 ---- <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq QT --> <object id="qt" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="377" height="212"> <param name="qtsrc" value="{song_detail.U_SONG}"> *************** *** 203,207 **** <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq img --> <a href="javascript:void(0);" onClick="window.open('<!-- IF song_detail.SONG_FULL_URL is even -->{song_detail.SONG_FULL_URL}<!-- ELSE -->{song_detail.U_SONG}<!-- ENDIF -->','','scrollbars=yes,resizable=no,width=810,height=610')"><img src="<!-- IF song_detail.SONG_THUMB_URL is even -->{song_detail.SONG_THUMB_URL}<!-- ELSE -->{song_detail.U_SONG}<!-- ENDIF -->" id="image" type="image" border="1"></a> <!-- ENDIF --> --- 221,225 ---- <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq IMG --> <a href="javascript:void(0);" onClick="window.open('<!-- IF song_detail.SONG_FULL_URL is even -->{song_detail.SONG_FULL_URL}<!-- ELSE -->{song_detail.U_SONG}<!-- ENDIF -->','','scrollbars=yes,resizable=no,width=810,height=610')"><img src="<!-- IF song_detail.SONG_THUMB_URL is even -->{song_detail.SONG_THUMB_URL}<!-- ELSE -->{song_detail.U_SONG}<!-- ENDIF -->" id="image" type="image" border="1"></a> <!-- ENDIF --> |
|
From: OryNider <ory...@us...> - 2007-09-10 22:28:51
|
Update of /cvsroot/mxbb/mx_music/templates/subSilver/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13189/admin Modified Files: music_config_body.tpl Log Message: Added flv player ... Index: music_config_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/subSilver/admin/music_config_body.tpl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** music_config_body.tpl 8 Sep 2007 13:29:02 -0000 1.3 --- music_config_body.tpl 10 Sep 2007 22:28:43 -0000 1.4 *************** *** 33,85 **** </tr> <tr> ! <td class="row1"><span class="genmed">MP3</span></td> <td class="row2"><span class="genmed"><input type="radio" {MP3_ENABLED} name="mp3_allowed" value="1" />{L_YES} <input type="radio" {MP3_DISABLED} name="mp3_allowed" value="0" />{L_NO}</span></td> </tr> <tr> ! <td class="row1"><span class="genmed">WAV</span></td> <td class="row2"><span class="genmed"><input type="radio" {WAV_ENABLED} name="wav_allowed" value="1" />{L_YES} <input type="radio" {WAV_DISABLED} name="wav_allowed" value="0" />{L_NO}</span></td> </tr> <tr> ! <td class="row1"><span class="genmed">WMA</span></td> <td class="row2"><span class="genmed"><input type="radio" {WMA_ENABLED} name="wma_allowed" value="1" />{L_YES} <input type="radio" {WMA_DISABLED} name="wma_allowed" value="0" />{L_NO}</span></td> </tr> <tr> ! <td class="row1"><span class="genmed">WMV</span></td> <td class="row2"><span class="genmed"><input type="radio" {WMV_ENABLED} name="wmv_allowed" value="1" />{L_YES} <input type="radio" {WMV_DISABLED} name="wmv_allowed" value="0" />{L_NO}</span></td> </tr> <tr> ! <td class="row1"><span class="genmed">MIDI</span></td> <td class="row2"><span class="genmed"><input type="radio" {MIDI_ENABLED} name="mid_allowed" value="1" />{L_YES} <input type="radio" {MIDI_DISABLED} name="mid_allowed" value="0" />{L_NO}</span></td> </tr> <tr> ! <td class="row1"><span class="genmed">RAM</span></td> <td class="row2"><span class="genmed"><input type="radio" {RAM_ENABLED} name="ram_allowed" value="1" />{L_YES} <input type="radio" {RAM_DISABLED} name="ram_allowed" value="0" />{L_NO}</span></td> </tr> <tr> ! <td class="row1"><span class="genmed">AU</span></td> <td class="row2"><span class="genmed"><input type="radio" {AU_ENABLED} name="au_allowed" value="1" />{L_YES} <input type="radio" {AU_DISABLED} name="au_allowed" value="0" />{L_NO}</span></td> </tr> <tr> ! <td class="row1"><span class="genmed">MPEG</span></td> <td class="row2"><span class="genmed"><input type="radio" {MPEG_ENABLED} name="mpeg_allowed" value="1" />{L_YES} <input type="radio" {MPEG_DISABLED} name="mpeg_allowed" value="0" />{L_NO}</span></td> </tr> <tr> ! <td class="row1"><span class="genmed">AVI</span></td> <td class="row2"><span class="genmed"><input type="radio" {AVI_ENABLED} name="avi_allowed" value="1" />{L_YES} <input type="radio" {AVI_DISABLED} name="avi_allowed" value="0" />{L_NO}</span></td> </tr> <tr> ! <td class="row1"><span class="genmed">SWF</span></td> <td class="row2"><span class="genmed"><input type="radio" {SWF_ENABLED} name="swf_allowed" value="1" />{L_YES} <input type="radio" {SWF_DISABLED} name="swf_allowed" value="0" />{L_NO}</span></td> </tr> <tr> ! <td class="row1"><span class="genmed">QT</span></td> <td class="row2"><span class="genmed"><input type="radio" {QT_ENABLED} name="qt_allowed" value="1" />{L_YES} <input type="radio" {QT_DISABLED} name="qt_allowed" value="0" />{L_NO}</span></td> </tr> <tr> ! <td class="row1"><span class="genmed">RM</span></td> <td class="row2"><span class="genmed"><input type="radio" {RM_ENABLED} name="rm_allowed" value="1" />{L_YES} <input type="radio" {RM_DISABLED} name="rm_allowed" value="0" />{L_NO}</span></td> </tr> <tr> ! <td class="row1"><span class="genmed">IMG</span></td> <td class="row2"><span class="genmed"><input type="radio" {IMG_ENABLED} name="img_allowed" value="1" />{L_YES} <input type="radio" {IMG_DISABLED} name="img_allowed" value="0" />{L_NO}</span></td> </tr> --- 33,89 ---- </tr> <tr> ! <td class="row1"><span class="genmed">{L_MP3_ALLOWED}</span></td> <td class="row2"><span class="genmed"><input type="radio" {MP3_ENABLED} name="mp3_allowed" value="1" />{L_YES} <input type="radio" {MP3_DISABLED} name="mp3_allowed" value="0" />{L_NO}</span></td> </tr> <tr> ! <td class="row1"><span class="genmed">{L_WAV_ALLOWED}</span></td> <td class="row2"><span class="genmed"><input type="radio" {WAV_ENABLED} name="wav_allowed" value="1" />{L_YES} <input type="radio" {WAV_DISABLED} name="wav_allowed" value="0" />{L_NO}</span></td> </tr> <tr> ! <td class="row1"><span class="genmed">{L_WMA_ALLOWED}</span></td> <td class="row2"><span class="genmed"><input type="radio" {WMA_ENABLED} name="wma_allowed" value="1" />{L_YES} <input type="radio" {WMA_DISABLED} name="wma_allowed" value="0" />{L_NO}</span></td> </tr> <tr> ! <td class="row1"><span class="genmed">{L_WMV_ALLOWED}</span></td> <td class="row2"><span class="genmed"><input type="radio" {WMV_ENABLED} name="wmv_allowed" value="1" />{L_YES} <input type="radio" {WMV_DISABLED} name="wmv_allowed" value="0" />{L_NO}</span></td> </tr> <tr> ! <td class="row1"><span class="genmed">{L_MIDI_ALLOWED}</span></td> <td class="row2"><span class="genmed"><input type="radio" {MIDI_ENABLED} name="mid_allowed" value="1" />{L_YES} <input type="radio" {MIDI_DISABLED} name="mid_allowed" value="0" />{L_NO}</span></td> </tr> <tr> ! <td class="row1"><span class="genmed">{L_RAM_ALLOWED}</span></td> <td class="row2"><span class="genmed"><input type="radio" {RAM_ENABLED} name="ram_allowed" value="1" />{L_YES} <input type="radio" {RAM_DISABLED} name="ram_allowed" value="0" />{L_NO}</span></td> </tr> <tr> ! <td class="row1"><span class="genmed">{L_AU_ALLOWED}</span></td> <td class="row2"><span class="genmed"><input type="radio" {AU_ENABLED} name="au_allowed" value="1" />{L_YES} <input type="radio" {AU_DISABLED} name="au_allowed" value="0" />{L_NO}</span></td> </tr> <tr> ! <td class="row1"><span class="genmed">{L_MPEG_ALLOWED}</span></td> <td class="row2"><span class="genmed"><input type="radio" {MPEG_ENABLED} name="mpeg_allowed" value="1" />{L_YES} <input type="radio" {MPEG_DISABLED} name="mpeg_allowed" value="0" />{L_NO}</span></td> </tr> <tr> ! <td class="row1"><span class="genmed">{L_AVI_ALLOWED}</span></td> <td class="row2"><span class="genmed"><input type="radio" {AVI_ENABLED} name="avi_allowed" value="1" />{L_YES} <input type="radio" {AVI_DISABLED} name="avi_allowed" value="0" />{L_NO}</span></td> </tr> <tr> ! <td class="row1"><span class="genmed">{L_SWF_ALLOWED}</span></td> <td class="row2"><span class="genmed"><input type="radio" {SWF_ENABLED} name="swf_allowed" value="1" />{L_YES} <input type="radio" {SWF_DISABLED} name="swf_allowed" value="0" />{L_NO}</span></td> </tr> <tr> ! <td class="row1"><span class="genmed">{L_QT_ALLOWED}</span></td> <td class="row2"><span class="genmed"><input type="radio" {QT_ENABLED} name="qt_allowed" value="1" />{L_YES} <input type="radio" {QT_DISABLED} name="qt_allowed" value="0" />{L_NO}</span></td> </tr> <tr> ! <td class="row1"><span class="genmed">{L_FLV_ALLOWED}</span></td> ! <td class="row2"><span class="genmed"><input type="radio" {FLV_ENABLED} name="flv_allowed" value="1" />{L_YES} <input type="radio" {FLV_DISABLED} name="flv_allowed" value="0" />{L_NO}</span></td> ! </tr> ! <tr> ! <td class="row1"><span class="genmed">{L_RM_ALLOWED}</span></td> <td class="row2"><span class="genmed"><input type="radio" {RM_ENABLED} name="rm_allowed" value="1" />{L_YES} <input type="radio" {RM_DISABLED} name="rm_allowed" value="0" />{L_NO}</span></td> </tr> <tr> ! <td class="row1"><span class="genmed">{L_IMG_ALLOWED}</span></td> <td class="row2"><span class="genmed"><input type="radio" {IMG_ENABLED} name="img_allowed" value="1" />{L_YES} <input type="radio" {IMG_DISABLED} name="img_allowed" value="0" />{L_NO}</span></td> </tr> |
|
From: OryNider <ory...@us...> - 2007-09-10 22:28:33
|
Update of /cvsroot/mxbb/mx_music/language/lang_romanian In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13113/lang_romanian Modified Files: lang_admin_music.php Log Message: Added flv player ... Index: lang_admin_music.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/language/lang_romanian/lang_admin_music.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** lang_admin_music.php 8 Sep 2007 13:28:47 -0000 1.4 --- lang_admin_music.php 10 Sep 2007 22:28:27 -0000 1.5 *************** *** 88,91 **** --- 88,107 ---- $lang['Comment'] = 'Comentariu'; + //Allowed File Types + $lang['MP3_allowed'] = 'MP3 Acceptatã'; + $lang['WAV_allowed'] = 'WAV Acceptatã'; + $lang['WMA_allowed'] = 'WMA Acceptatã'; + $lang['WMV_allowed'] = 'WMV Acceptatã'; + $lang['MIDI_allowed'] = 'MIDI Acceptatã'; + $lang['RAM_allowed'] = 'RAM Acceptatã'; + $lang['AU_allowed'] = 'AU Acceptatã'; + $lang['MPEG_allowed'] = 'MPEG Acceptatã'; + $lang['AVI_allowed'] = 'AVI Acceptatã'; + $lang['SWF_allowed'] = 'SWF Acceptatã'; + $lang['QT_allowed'] = 'QT Acceptatã'; + $lang['FLV_allowed'] = 'FLV Acceptatã'; + $lang['RM_allowed'] = 'RM Acceptatã'; + $lang['IMG_allowed'] = 'JPG, GIF and PNG Acceptate'; + // // Song Image |
|
From: OryNider <ory...@us...> - 2007-09-10 22:28:33
|
Update of /cvsroot/mxbb/mx_music/language/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13113/lang_english Modified Files: lang_admin_music.php Log Message: Added flv player ... Index: lang_admin_music.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/language/lang_english/lang_admin_music.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** lang_admin_music.php 8 Sep 2007 13:28:47 -0000 1.4 --- lang_admin_music.php 10 Sep 2007 22:28:27 -0000 1.5 *************** *** 81,84 **** --- 81,100 ---- $lang['Comment'] = 'Comment'; + //Allowed File Types + $lang['MP3_allowed'] = 'MP3 Allowed'; + $lang['WAV_allowed'] = 'WAV Allowed'; + $lang['WMA_allowed'] = 'WMA Allowed'; + $lang['WMV_allowed'] = 'WMV Allowed'; + $lang['MIDI_allowed'] = 'MIDI Allowed'; + $lang['RAM_allowed'] = 'RAM Allowed'; + $lang['AU_allowed'] = 'AU Allowed'; + $lang['MPEG_allowed'] = 'MPEG Allowed'; + $lang['AVI_allowed'] = 'AVI Allowed'; + $lang['SWF_allowed'] = 'SWF Allowed'; + $lang['QT_allowed'] = 'QT Allowed'; + $lang['FLV_allowed'] = 'FLV Allowed'; + $lang['RM_allowed'] = 'RM Allowed'; + $lang['IMG_allowed'] = 'JPG, GIF and PNG Allowed'; + // // Song Image |
|
From: OryNider <ory...@us...> - 2007-09-10 22:28:16
|
Update of /cvsroot/mxbb/mx_music In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12566 Modified Files: db_install.php db_upgrade.php music.php music_center.pak Log Message: Added flv player ... Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/db_install.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** db_install.php 8 Sep 2007 13:28:29 -0000 1.7 --- db_install.php 10 Sep 2007 22:27:37 -0000 1.8 *************** *** 175,178 **** --- 175,179 ---- $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('index', '5')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('img_allowed', '1')"; + $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('flv_allowed', '1')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('xs_enabled', '1')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('show_index_subcats', '1')"; Index: music_center.pak =================================================================== RCS file: /cvsroot/mxbb/mx_music/music_center.pak,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** music_center.pak 1 Aug 2007 23:33:27 -0000 1.2 --- music_center.pak 10 Sep 2007 22:27:38 -0000 1.3 *************** *** 1,10 **** ! module=+:57=+:Music Center=+:modules/mx_music/=+:music_center=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:57=+:60=+:music_center=+:Music Center=+:music.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Music Center=+:Demo block=+:60=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:57=+:61=+:Music_list=+:Music toplists=+:music_lists.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Music Toplist=+:Demo block=+:61=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 --- 1,10 ---- ! module=+:57=+:Media Center=+:modules/mx_music/=+:mxBB Media Center=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:57=+:60=+:music_center=+:Media Center=+:music.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Media Center=+:Demo block=+:60=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:57=+:61=+:Music_list=+:Media toplists=+:music_lists.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Media Toplist=+:Demo block=+:61=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 Index: music.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/music.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** music.php 8 Sep 2007 13:28:29 -0000 1.8 --- music.php 10 Sep 2007 22:27:38 -0000 1.9 *************** *** 13,17 **** // //error_reporting( E_ALL ); ! //ini_set( 'display_errors', '1' ); --- 13,17 ---- // //error_reporting( E_ALL ); ! ini_set( 'display_errors', '1' ); *************** *** 20,23 **** --- 20,24 ---- define('IN_PORTAL', true); $mx_root_path = '../../'; + $module_root_path = $mx_root_path . 'modules/mx_music/'; // // Let's include some stuff... *************** *** 35,39 **** if( empty($block_id) ) { ! $sql = "SELECT * FROM " . BLOCK_TABLE . " WHERE block_title = 'Music Center' LIMIT 1"; if(!$result = $db->sql_query($sql)) { --- 36,40 ---- if( empty($block_id) ) { ! $sql = "SELECT * FROM " . BLOCK_TABLE . " WHERE block_title = 'Media Center' LIMIT 1"; if(!$result = $db->sql_query($sql)) { Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/db_upgrade.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** db_upgrade.php 8 Sep 2007 13:28:29 -0000 1.5 --- db_upgrade.php 10 Sep 2007 22:27:38 -0000 1.6 *************** *** 97,100 **** --- 97,101 ---- $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('xs_enabled', '1')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('img_allowed', '1')"; + $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('flv_allowed', '1')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('show_index_subcats', '1')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('rows_per_page_pic', '5')"; |
|
From: OryNider <ory...@us...> - 2007-09-10 22:28:11
|
Update of /cvsroot/mxbb/mx_music/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12566/admin Modified Files: admin_music_cfg.php Log Message: Added flv player ... Index: admin_music_cfg.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/admin/admin_music_cfg.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** admin_music_cfg.php 8 Sep 2007 13:28:29 -0000 1.4 --- admin_music_cfg.php 10 Sep 2007 22:27:37 -0000 1.5 *************** *** 164,167 **** --- 164,170 ---- 'QT_DISABLED' => ($new['qt_allowed'] == 0) ? 'checked="checked"' : '', + 'FLV_ENABLED' => ($new['flv_allowed'] == 1) ? 'checked="checked"' : '', + 'FLV_DISABLED' => ($new['flv_allowed'] == 0) ? 'checked="checked"' : '', + 'RM_ENABLED' => ($new['rm_allowed'] == 1) ? 'checked="checked"' : '', 'RM_DISABLED' => ($new['rm_allowed'] == 0) ? 'checked="checked"' : '', *************** *** 229,236 **** 'L_MAX_IMAGE_HEIGHT' => $lang['Max_image_height'], 'L_MP3_ALLOWED' => $lang['MP3_allowed'], 'L_WAV_ALLOWED' => $lang['WAV_allowed'], 'L_WMA_ALLOWED' => $lang['WMA_allowed'], - // Media Center 'L_WMV_ALLOWED' => $lang['WMV_allowed'], 'L_MIDI_ALLOWED' => $lang['MIDI_allowed'], --- 232,239 ---- 'L_MAX_IMAGE_HEIGHT' => $lang['Max_image_height'], + // Media Center Allowed FileTypes 'L_MP3_ALLOWED' => $lang['MP3_allowed'], 'L_WAV_ALLOWED' => $lang['WAV_allowed'], 'L_WMA_ALLOWED' => $lang['WMA_allowed'], 'L_WMV_ALLOWED' => $lang['WMV_allowed'], 'L_MIDI_ALLOWED' => $lang['MIDI_allowed'], *************** *** 241,247 **** 'L_SWF_ALLOWED' => $lang['SWF_allowed'], 'L_QT_ALLOWED' => $lang['QT_allowed'], 'L_RM_ALLOWED' => $lang['RM_allowed'], 'L_IMG_ALLOWED' => $lang['IMG_allowed'], ! // Media Center 'L_SONG_DESC_MAX_LENGTH' => $lang['Song_Desc_Max_Length'], 'L_HOTLINK_PREVENT' => $lang['Hotlink_prevent'], --- 244,252 ---- 'L_SWF_ALLOWED' => $lang['SWF_allowed'], 'L_QT_ALLOWED' => $lang['QT_allowed'], + 'L_FLV_ALLOWED' => $lang['FLV_allowed'], 'L_RM_ALLOWED' => $lang['RM_allowed'], 'L_IMG_ALLOWED' => $lang['IMG_allowed'], ! // Media Center Allowed FileTypes ! 'L_SONG_DESC_MAX_LENGTH' => $lang['Song_Desc_Max_Length'], 'L_HOTLINK_PREVENT' => $lang['Hotlink_prevent'], |
Update of /cvsroot/mxbb/mx_music/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12566/includes Modified Files: music_cat.php music_download.php music_media_cat.php music_page.php music_pic_cat.php music_song.php music_upload.php Log Message: Added flv player ... Index: music_upload.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/includes/music_upload.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** music_upload.php 8 Sep 2007 13:28:29 -0000 1.6 --- music_upload.php 10 Sep 2007 22:27:40 -0000 1.7 *************** *** 252,255 **** --- 252,257 ---- 'S_SWF' => ($music_config['swf_allowed'] == 1) ? 'SWF,' : '', 'S_QT' => ($music_config['qt_allowed'] == 1) ? 'QT,' : '', + 'S_FLV' => ($music_config['flv_allowed'] == 1) ? 'FLV,' : '', + 'S_IMG' => ($music_config['img_allowed'] == 1) ? 'IMG,' : '', 'S_RM' => ($music_config['rm_allowed'] == 1) ? 'RM,' : '', // Media Center *************** *** 482,485 **** --- 484,497 ---- break; + case 'video/x-flv': + case 'video/flv': + case 'application/octet-stream': + if ($music_config['flv_allowed'] == 0) + { + mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type']); + } + $song_filetype = '.flv'; + break; + case 'audio/x-midi': case 'audio/mid': *************** *** 549,553 **** default: ! mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type']); } } --- 561,565 ---- default: ! mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type'] . ': ' . $filetype); } } Index: music_pic_cat.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/includes/music_pic_cat.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** music_pic_cat.php 8 Sep 2007 13:28:29 -0000 1.2 --- music_pic_cat.php 10 Sep 2007 22:27:40 -0000 1.3 *************** *** 440,443 **** --- 440,452 ---- $user_id = $thissong['song_user_id']; + if ( $thissong['song_imagename'] == '' ) + { + $img_id = $mx_images['no_image']; + } + else + { + $img_id = ($module_root_path . 'upload/song_image/' . $thissong['song_imagename']); + } + if ( $thissong['song_url'] == '' ) { *************** *** 496,509 **** $row_type = 'qt'; } ! else if ( ( $song_filetype == '.jpg' ) || ( $song_filetype == '.gif' ) || ( $song_filetype == '.png' ) ) { ! $url_download = !empty($thissong['song_url']) ? $thissong['song_url'] : append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); ! $url_video = $url_download; ! $row_type = 'img'; ! $template->assign_block_vars('songrow.img', array( ! 'VIDEO_URL' => $url_video, ! 'SONG_URL' => $url_video ! )); } else if ( ( $song_filetype == 'jpg' ) || ( $song_filetype == 'gif' ) || ( $song_filetype == 'png' ) ) --- 505,522 ---- $row_type = 'qt'; } ! else if ( $song_filetype == 'flv' ) { ! /* ! if ( !is_object($mx_page) ) ! { ! $mx_page = new mx_page(); ! } ! $mx_page->add_footer_text( $music_root_path . 'music_player.js', true ); ! */ ! $template->assign_block_vars('songrow.flv', array()); ! $url_download = append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); ! $url_video = $music_root_path . 'music_player.swf'; ! $row_type = 'flv'; } else if ( ( $song_filetype == 'jpg' ) || ( $song_filetype == 'gif' ) || ( $song_filetype == 'png' ) ) *************** *** 749,753 **** } ! $url_song = append_sid(this_mo_mxurl("music_mode=music_song&song_id=" . $song_id, true)); $template->assign_block_vars('songrow.song_detail', array( --- 762,773 ---- } ! if ( $song_filetype == 'flv' ) ! { ! $url_song = PORTAL_URL . MUSIC_UPLOAD_PATH . $thissong['song_filename']; ! } ! else ! { ! $url_song = append_sid(this_mo_mxurl("music_mode=music_song&song_id=" . $songrow[$j]['song_id'], true)); ! } $template->assign_block_vars('songrow.song_detail', array( *************** *** 758,762 **** 'SONG_TITLE' => $thissong['song_title'], ! 'SONG_URL' => !empty($thissong['song_url']) ? $thissong['song_url'] : append_sid(this_mo_mxurl("music_mode=music_song&song_id=" . $songrow[$j]['song_id'], true)), 'SONG_THUMB_URL' => !empty($thissong['song_url']) ? $thissong['song_url'] : append_sid(this_mo_mxurl("music_mode=music_song&song_id=" . $songrow[$j]['song_id'] . "&item_size=114", true)), --- 778,782 ---- 'SONG_TITLE' => $thissong['song_title'], ! 'SONG_URL' => !empty($thissong['song_url']) ? $thissong['song_url'] : $url_song, 'SONG_THUMB_URL' => !empty($thissong['song_url']) ? $thissong['song_url'] : append_sid(this_mo_mxurl("music_mode=music_song&song_id=" . $songrow[$j]['song_id'] . "&item_size=114", true)), *************** *** 766,769 **** --- 786,791 ---- 'VIDEO_URL' => $url_video, + 'U_IMG' => append_sid("$img_id"), + 'SINGER' => $songrow[$j]['song_singer'], *************** *** 948,951 **** --- 970,982 ---- 'HEIGHT' => ( !empty($media_height) ? $media_height : '85' ), + 'FLASH' => 'flash', + 'RAM' => 'ram', + 'FLASHVIDEO' => 'flashvideo', + 'YOUTUBE' => 'youtube', + 'QT' => 'qt', + 'FLV' => 'flv', + 'IMG' => 'img', + 'MEDIA' => 'media', + 'S_AUTH_LIST' => $auth_list) ); Index: music_cat.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/includes/music_cat.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** music_cat.php 8 Sep 2007 13:28:29 -0000 1.8 --- music_cat.php 10 Sep 2007 22:27:39 -0000 1.9 *************** *** 437,440 **** --- 437,449 ---- $user_id = $thissong['song_user_id']; + if ( $thissong['song_imagename'] == '' ) + { + $img_id = $mx_images['no_image']; + } + else + { + $img_id = ($module_root_path . 'upload/song_image/' . $thissong['song_imagename']); + } + if ( $thissong['song_url'] == '' ) { *************** *** 494,497 **** --- 503,521 ---- $row_type = 'qt'; } + else if ( $song_filetype == 'flv' ) + { + /* + if ( !is_object($mx_page) ) + { + $mx_page = new mx_page(); + } + $mx_page->add_footer_text( $music_root_path . 'music_player.js', true ); + */ + + $template->assign_block_vars('songrow.flv', array()); + $url_download = append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); + $url_video = $music_root_path . 'music_player.swf'; + $row_type = 'flv'; + } else if ( ( $song_filetype == '.jpg' ) || ( $song_filetype == '.gif' ) || ( $song_filetype == '.png' ) ) { *************** *** 747,751 **** } ! $url_song = append_sid(this_mo_mxurl("music_mode=music_song&song_id=" . $song_id, true)); $template->assign_block_vars('songrow.song_detail', array( --- 771,782 ---- } ! if ( $song_filetype == 'flv' ) ! { ! $url_song = PORTAL_URL . MUSIC_UPLOAD_PATH . $thissong['song_filename']; ! } ! else ! { ! $url_song = append_sid(this_mo_mxurl("music_mode=music_song&song_id=" . $songrow[$j]['song_id'], true)); ! } $template->assign_block_vars('songrow.song_detail', array( *************** *** 756,760 **** 'SONG_TITLE' => $thissong['song_title'], ! 'SONG_URL' => !empty($thissong['song_url']) ? $thissong['song_url'] : append_sid(this_mo_mxurl("music_mode=music_song&song_id=" . $songrow[$j]['song_id'], true)), 'SONG_THUMB_URL' => !empty($thissong['song_url']) ? $thissong['song_url'] : append_sid(this_mo_mxurl("music_mode=music_song&song_id=" . $songrow[$j]['song_id'] . "&item_size=425", true)), --- 787,791 ---- 'SONG_TITLE' => $thissong['song_title'], ! 'SONG_URL' => !empty($thissong['song_url']) ? $thissong['song_url'] : $url_song, 'SONG_THUMB_URL' => !empty($thissong['song_url']) ? $thissong['song_url'] : append_sid(this_mo_mxurl("music_mode=music_song&song_id=" . $songrow[$j]['song_id'] . "&item_size=425", true)), *************** *** 764,767 **** --- 795,800 ---- 'VIDEO_URL' => $url_video, + 'U_IMG' => append_sid("$img_id"), + 'SINGER' => $songrow[$j]['song_singer'], *************** *** 942,945 **** --- 975,987 ---- 'HEIGHT' => ( !empty($media_height) ? $media_height : '300' ), + 'FLASH' => 'flash', + 'RAM' => 'ram', + 'FLASHVIDEO' => 'flashvideo', + 'YOUTUBE' => 'youtube', + 'QT' => 'qt', + 'FLV' => 'flv', + 'IMG' => 'img', + 'MEDIA' => 'media', + 'S_AUTH_LIST' => $auth_list) ); Index: music_song.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/includes/music_song.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** music_song.php 8 Sep 2007 13:28:29 -0000 1.5 --- music_song.php 10 Sep 2007 22:27:40 -0000 1.6 *************** *** 203,206 **** --- 203,209 ---- $read_function = 'readfile'; break; + case '.flv': + $read_function = 'readfile'; + break; case 'ram': $read_function = 'readfile'; *************** *** 260,263 **** --- 263,269 ---- header('Content-type: video/quicktime'); break; + case 'flv': + header('Content-type: video/x-flv'); + break; case 'ram': header('Content-type: audio/x-pn-realaudio'); Index: music_media_cat.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/includes/music_media_cat.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** music_media_cat.php 8 Sep 2007 13:28:29 -0000 1.2 --- music_media_cat.php 10 Sep 2007 22:27:39 -0000 1.3 *************** *** 467,470 **** --- 467,479 ---- $user_id = $thissong['song_user_id']; + if ( $thissong['song_imagename'] == '' ) + { + $img_id = $mx_images['no_image']; + } + else + { + $img_id = ($module_root_path . 'upload/song_image/' . $thissong['song_imagename']); + } + if ( $thissong['song_url'] == '' ) { *************** *** 511,517 **** $row_type = 'qt'; } ! else if ( ( $song_filetype == '.jpg' ) || ( $song_filetype == '.gif' ) || ( $song_filetype == '.png' ) ) { ! $row_type = 'img'; } else if ( ( $song_filetype == 'jpg' ) || ( $song_filetype == 'gif' ) || ( $song_filetype == 'png' ) ) --- 520,526 ---- $row_type = 'qt'; } ! else if ( $song_filetype == 'flv' ) { ! $row_type = 'flv'; } else if ( ( $song_filetype == 'jpg' ) || ( $song_filetype == 'gif' ) || ( $song_filetype == 'png' ) ) *************** *** 694,697 **** --- 703,710 ---- break; + case 'flv': + $switch_row_type = 'media'; + break; + case 'media': $switch_row_type = 'media'; *************** *** 780,783 **** --- 793,811 ---- $url_video = $url_download; } + else if ( $song_filetype == 'flv' ) + { + + /* + if ( !is_object($mx_page) ) + { + $mx_page = new mx_page(); + } + $mx_page->add_footer_text( $music_root_path . 'music_player.js', true ); + */ + + $template->assign_block_vars('songrow.flv', array()); + $url_download = append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); + $url_video = $music_root_path . 'music_player.swf'; + } else if ( ( $song_filetype == '.jpg' ) || ( $song_filetype == '.gif' ) || ( $song_filetype == '.png' ) ) { *************** *** 1006,1010 **** } ! $url_song = append_sid(this_mo_mxurl("music_mode=music_song&song_id=" . $song_id, true)); $template->assign_block_vars('songrow.song_detail', array( --- 1034,1045 ---- } ! if ( $song_filetype == 'flv' ) ! { ! $url_song = PORTAL_URL . MUSIC_UPLOAD_PATH . $thissong['song_filename']; ! } ! else ! { ! $url_song = append_sid(this_mo_mxurl("music_mode=music_song&song_id=" . $songrow[$j]['song_id'], true)); ! } $template->assign_block_vars('songrow.song_detail', array( *************** *** 1015,1019 **** 'SONG_TITLE' => $thissong['song_title'], ! 'SONG_URL' => !empty($thissong['song_url']) ? $thissong['song_url'] : append_sid(this_mo_mxurl("music_mode=music_song&song_id=" . $songrow[$j]['song_id'], true)), 'SONG_THUMB_URL' => !empty($thissong['song_url']) ? $thissong['song_url'] : append_sid(this_mo_mxurl("music_mode=music_song&song_id=" . $songrow[$j]['song_id'] . "&item_size=425", true)), --- 1050,1054 ---- 'SONG_TITLE' => $thissong['song_title'], ! 'SONG_URL' => !empty($thissong['song_url']) ? $thissong['song_url'] : $url_song, 'SONG_THUMB_URL' => !empty($thissong['song_url']) ? $thissong['song_url'] : append_sid(this_mo_mxurl("music_mode=music_song&song_id=" . $songrow[$j]['song_id'] . "&item_size=425", true)), *************** *** 1023,1026 **** --- 1058,1063 ---- 'VIDEO_URL' => $url_video, + 'U_IMG' => append_sid("$img_id"), + 'SINGER' => $songrow[$j]['song_singer'], *************** *** 1203,1206 **** --- 1240,1252 ---- 'HEIGHT' => ( !empty($media_height) ? $media_height : '300' ), + 'FLASH' => 'flash', + 'RAM' => 'ram', + 'FLASHVIDEO' => 'flashvideo', + 'YOUTUBE' => 'youtube', + 'QT' => 'qt', + 'FLV' => 'flv', + 'IMG' => 'img', + 'MEDIA' => 'media', + 'S_AUTH_LIST' => $auth_list) ); Index: music_download.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/includes/music_download.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** music_download.php 8 Sep 2007 13:28:29 -0000 1.4 --- music_download.php 10 Sep 2007 22:27:39 -0000 1.5 *************** *** 15,51 **** } - // - // Let's include some stuff... - // - $phpEx = substr(strrchr(__FILE__, '.'), 1); - - if ( !defined('TEMPLATE_ROOT_PATH') ) - { - include_once($mx_root_path . 'common.' . $phpEx); - - // - // Start session management - // - $mx_user->init($user_ip, PAGE_INDEX); - // - // End session management - // - } - $music_root_path = $module_root_path . 'music_box/'; - // - // Get general music information - // - if ( !$is_block ) - { - include($music_root_path . 'music_common.'.$phpEx); - } - else - { - include_once($music_root_path . 'music_common.'.$phpEx); - } - /* +---------------------------------------------------------- --- 15,21 ---- *************** *** 157,160 **** --- 127,133 ---- header('Content-type: video/quicktime'); break; + case 'flv': + header('Content-type: video/x-flv'); + break; case 'ram': header('Content-type: audio/x-pn-realaudio'); Index: music_page.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/includes/music_page.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** music_page.php 8 Sep 2007 13:28:29 -0000 1.7 --- music_page.php 10 Sep 2007 22:27:40 -0000 1.8 *************** *** 137,141 **** else { ! $img_id = ( $song_image_path . $thissong['song_imagename'] ); } --- 137,141 ---- else { ! $img_id = $song_image_path . $thissong['song_imagename']; } *************** *** 288,301 **** $url_video = $url_download; } ! else if ( ( $song_filetype == '.jpg' ) || ( $song_filetype == '.gif' ) || ( $song_filetype == '.png' ) ) { ! $url_download = !empty($thissong['song_url']) ? $thissong['song_url'] : append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); ! $url_video = $url_download; ! $row_type = 'img'; ! $template->assign_block_vars('img', array( ! 'VIDEO_URL' => $url_video, ! 'SONG_URL' => $url_video ! )); } else if ( ( $song_filetype == 'jpg' ) || ( $song_filetype == 'gif' ) || ( $song_filetype == 'png' ) ) --- 288,304 ---- $url_video = $url_download; } ! else if ( $song_filetype == 'flv' ) { ! /* ! if ( !is_object($mx_page) ) ! { ! $mx_page = new mx_page(); ! } ! $mx_page->add_footer_text( $music_root_path . 'music_player.js', true ); ! */ ! $template->assign_block_vars('flv', array()); ! $url_download = append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); ! $url_video = $music_root_path . 'music_player.swf'; } else if ( ( $song_filetype == 'jpg' ) || ( $song_filetype == 'gif' ) || ( $song_filetype == 'png' ) ) *************** *** 510,515 **** } ! //$url_song = append_sid($module_root_path . 'galerie_media.' . $phpEx . '?music_mode=music_song&song_id=' . $song_id); ! $url_song = append_sid(this_mo_mxurl("music_mode=music_song&song_id=" . $song_id, true)); $template->assign_vars(array( --- 513,524 ---- } ! if ( $song_filetype == 'flv' ) ! { ! $url_song = PORTAL_URL . MUSIC_UPLOAD_PATH . $thissong['song_filename']; ! } ! else ! { ! $url_song = append_sid(this_mo_mxurl("music_mode=music_song&song_id=" . $song_id, true)); ! } $template->assign_vars(array( *************** *** 517,521 **** 'U_VIEW_CAT' => append_sid(this_mo_mxurl("music_mode=music_cat&cat_id=$cat_id")), - //'U_SONG' => append_sid($module_root_path . 'galerie_media.' . $phpEx . '?music_mode=music_song&song_id=' . $song_id), 'U_SONG' => $url_song, --- 526,529 ---- *************** *** 524,528 **** 'SONG_TITLE' => $thissong['song_title'], ! 'SONG_URL' => !empty($thissong['song_url']) ? $thissong['song_url'] : append_sid(this_mo_mxurl("music_mode=music_song&song_id=" . $song_id, true)), 'SONG_THUMB_URL' => !empty($thissong['song_url']) ? $thissong['song_url'] : append_sid(this_mo_mxurl("music_mode=music_song&song_id=" . $song_id . "&item_size=425", true)), --- 532,536 ---- 'SONG_TITLE' => $thissong['song_title'], ! 'SONG_URL' => !empty($thissong['song_url']) ? $thissong['song_url'] : $url_song, 'SONG_THUMB_URL' => !empty($thissong['song_url']) ? $thissong['song_url'] : append_sid(this_mo_mxurl("music_mode=music_song&song_id=" . $song_id . "&item_size=425", true)), *************** *** 572,575 **** --- 580,592 ---- 'HEIGHT' => ( !empty($media_height) ? $media_height : '300' ), + 'FLASH' => 'flash', + 'RAM' => 'ram', + 'FLASHVIDEO' => 'flashvideo', + 'YOUTUBE' => 'youtube', + 'QT' => 'qt', + 'FLV' => 'flv', + 'IMG' => 'img', + 'MEDIA' => 'media', + 'L_RATING' => $lang['Rating'], 'L_SONG_TITLE' => $lang['Song_Title'], |
|
From: Jon O. <jon...@us...> - 2007-09-09 21:00:41
|
Update of /cvsroot/mxbb/mx_who_am_i/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv9357 Removed Files: index.htm mx_who_am_i.tpl Log Message: for 2.9.x --- index.htm DELETED --- --- mx_who_am_i.tpl DELETED --- |
|
From: Jon O. <jon...@us...> - 2007-09-09 21:00:41
|
Update of /cvsroot/mxbb/mx_who_am_i/templates/subSilver/images In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv9357/images Removed Files: index.htm noavatar.png Log Message: for 2.9.x --- noavatar.png DELETED --- --- index.htm DELETED --- |
|
From: Jon O. <jon...@us...> - 2007-09-09 21:00:30
|
Update of /cvsroot/mxbb/mx_who_am_i/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv9331 Added Files: index.htm mx_who_am_i.tpl Log Message: for 2.9.x --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> --- NEW FILE: mx_who_am_i.tpl --- <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" style="border-top:none;"> <tr> <td class="row3" align="center"><span class="topictitle"> {L_PROFILE_NAME} {USERNAME} </span></td> </tr> <tr> <td class="row1" align="left" width="100%"><span class="genmed"><center>{AVATAR_IMG}</center></span></td> </tr> <tr> <td class="row1" align="left"><span class="gensmall"> <center><b>{L_DATE_JOINED}</b><br /> {JOINED}<br /> <br /> <b>{L_POST_TOTAL}</b><br /> {POSTS}<br /> <br /> <b>{L_POST_STATS}</b><br /> {POST_PERCENTAGE}% {L_OF_TOTAL_POSTS}<br /> {POST_PER_DAY} {L_POSTS_PER_DAY}</center><br /> <center><a href="{U_PROFILE}" class="mainmenu">{L_CHANGE_PROFILE}</a></center></span> </td> </tr> </table> |
|
From: Jon O. <jon...@us...> - 2007-09-09 21:00:30
|
Update of /cvsroot/mxbb/mx_who_am_i/templates/_core/images In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv9331/images Added Files: index.htm noavatar.png Log Message: for 2.9.x --- NEW FILE: noavatar.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |
|
From: Jon O. <jon...@us...> - 2007-09-09 21:00:14
|
Update of /cvsroot/mxbb/mx_who_am_i/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv9263 Modified Files: mx_common.php Log Message: for 2.9.x Index: mx_common.php =================================================================== RCS file: /cvsroot/mxbb/mx_who_am_i/includes/mx_common.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** mx_common.php 23 Nov 2006 16:38:17 -0000 1.8 --- mx_common.php 9 Sep 2007 21:00:10 -0000 1.9 *************** *** 16,20 **** | re...@di... | www.digitalhijinx.com ! | | description : The "Who Am I" block is a block that | will be visable only to registered users who are --- 16,20 ---- | re...@di... | www.digitalhijinx.com ! | | description : The "Who Am I" block is a block that | will be visable only to registered users who are *************** *** 85,89 **** if ($userdata['user_posts'] != 0) { ! $this->total_posts = get_db_stat('postcount'); $this->percentage = round(($this->total_posts) ? min(100, ($userdata['user_posts'] / $this->total_posts) * 100) : 0, 2); } --- 85,89 ---- if ($userdata['user_posts'] != 0) { ! $this->total_posts = phpBB2::get_db_stat('postcount'); $this->percentage = round(($this->total_posts) ? min(100, ($userdata['user_posts'] / $this->total_posts) * 100) : 0, 2); } *************** *** 167,172 **** 'USERNAME' => $userdata['username'], 'AVATAR_IMG' => '<a href="' . PHPBB_URL . 'profile.php?mode=viewprofile&u=' . $userdata['user_id'] . '">' . $this->avatar_img . '</a>', ! 'U_PROFILE' => append_sid(PHPBB_URL . 'profile.' . $phpEx . '?mode=editprofile'), ! 'JOINED' => create_date($lang['DATE_FORMAT'], $userdata['user_regdate'], $board_config['board_timezone']), 'POSTS' => $userdata['user_posts'], 'POST_PER_DAY' => $this->posts_per_day, --- 167,172 ---- 'USERNAME' => $userdata['username'], 'AVATAR_IMG' => '<a href="' . PHPBB_URL . 'profile.php?mode=viewprofile&u=' . $userdata['user_id'] . '">' . $this->avatar_img . '</a>', ! 'U_PROFILE' => mx_append_sid(PHPBB_URL . 'profile.' . $phpEx . '?mode=editprofile'), ! 'JOINED' => phpBB2::create_date($lang['DATE_FORMAT'], $userdata['user_regdate'], $board_config['board_timezone']), 'POSTS' => $userdata['user_posts'], 'POST_PER_DAY' => $this->posts_per_day, |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:59:24
|
Update of /cvsroot/mxbb/mx_who_am_i/templates/_core/images In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv8822/images Log Message: Directory /cvsroot/mxbb/mx_who_am_i/templates/_core/images added to the repository |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:59:17
|
Update of /cvsroot/mxbb/mx_who_am_i/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv8801/_core Log Message: Directory /cvsroot/mxbb/mx_who_am_i/templates/_core added to the repository |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:58:21
|
Update of /cvsroot/mxbb/mx_slides/templates/subSilver/images In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv8397/images Removed Files: index.htm Log Message: for 2.9.x --- index.htm DELETED --- |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:58:21
|
Update of /cvsroot/mxbb/mx_slides/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv8397 Removed Files: mx_textblock_bbcode.tpl mx_textblock_html.tpl mx_textblock_multi.tpl slides_index.tpl subSilver.cfg Log Message: for 2.9.x --- subSilver.cfg DELETED --- --- slides_index.tpl DELETED --- --- mx_textblock_bbcode.tpl DELETED --- --- mx_textblock_multi.tpl DELETED --- --- mx_textblock_html.tpl DELETED --- |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:58:17
|
Update of /cvsroot/mxbb/mx_slides/templates/_core/images In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv8354/images Added Files: index.htm Log Message: for 2.9.x --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |