Changeset 9590
- Timestamp:
- Mar 9, 2011, 7:10:19 PM (13 years ago)
- Location:
- extensions/music_player
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/music_player/lecteur.php
r6887 r9590 2 2 define('PHPWG_ROOT_PATH','../../'); 3 3 include_once(PHPWG_ROOT_PATH.'include/common.inc.php'); 4 5 /////////////// PAS DE MENU ! 6 if ( function_exists( 'add_menu_on_public_pages' ) or function_exists( 'spread_menus_on_public_pages' ) ) 7 { 8 remove_event_handler('loc_after_page_header', 'add_menu_on_public_pages', 20); 9 remove_event_handler('loc_after_page_header', 'spread_menus_on_public_pages', 20); 10 11 } 4 12 5 13 $m_p = get_plugin_data('music_player'); … … 46 54 else { 47 55 48 $page['body_id'] = 'lecteur'; 49 50 global $conf; 51 $conf_plugin = explode("," , $conf['mp_plugin']); 52 $template->assign( 53 array( 54 'conf_plugin_1' => $conf_plugin[1], 55 'conf_plugin_2' => $conf_plugin[2], 56 ) 57 ); 56 $page['body_id'] = 'theMPlecteur'; 57 global $conf; 58 $conf_plugin = explode("," , $conf['mp_plugin']); 59 $template->assign( 60 array( 61 'conf_plugin_1' => $conf_plugin[1], 62 'conf_plugin_2' => $conf_plugin[2], 63 ) 64 ); 58 65 59 66 -
extensions/music_player/main.inc.php
r6985 r9590 2 2 /* 3 3 Plugin Name: music_player 4 Version: 2.1.54 Version: auto 5 5 Description: play music / avoir de la musique 6 6 Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=162 -
extensions/music_player/template/style/Pure_autumn/lecteur.conf.php
r6885 r9590 3 3 $FRONT_COLOR='0xffffff'; 4 4 $LIGHT_COLOR='0xedf2f2'; 5 $STYLE_FILE= 'template/style/Pure_autumn/lecteur.css';5 $STYLE_FILE= 'plugins/'.MP_NAME.'/template/style/Pure_autumn/lecteur.css'; 6 6 $TPL_FILE=$m_p->plugin_path.'template/style/default.tpl'; 7 7 ?> -
extensions/music_player/template/style/Pure_clear_blue/lecteur.conf.php
r6885 r9590 3 3 $FRONT_COLOR='0x005E89'; 4 4 $LIGHT_COLOR='0x005E89'; 5 $STYLE_FILE= 'template/style/Pure_clear_blue/lecteur.css';5 $STYLE_FILE= 'plugins/'.MP_NAME.'/template/style/Pure_clear_blue/lecteur.css'; 6 6 $TPL_FILE=$m_p->plugin_path.'template/style/default.tpl'; 7 7 ?> -
extensions/music_player/template/style/Pure_green_nature/lecteur.conf.php
r6885 r9590 3 3 $FRONT_COLOR='0xffffff'; 4 4 $LIGHT_COLOR='0xedf2f2'; 5 $STYLE_FILE= 'template/style/Pure_green_nature/lecteur.css';5 $STYLE_FILE= 'plugins/'.MP_NAME.'/template/style/Pure_green_nature/lecteur.css'; 6 6 $TPL_FILE=$m_p->plugin_path.'template/style/default.tpl'; 7 7 ?> -
extensions/music_player/template/style/Pure_grey_light/lecteur.conf.php
r6885 r9590 3 3 $FRONT_COLOR='0xffffff'; 4 4 $LIGHT_COLOR='0xe8e3dc'; 5 $STYLE_FILE= 'template/style/Pure_grey_light/lecteur.css';5 $STYLE_FILE= 'plugins/'.MP_NAME.'/template/style/Pure_grey_light/lecteur.css'; 6 6 $TPL_FILE=$m_p->plugin_path.'template/style/default.tpl'; 7 7 ?> -
extensions/music_player/template/style/Pure_grey_plastic/lecteur.conf.php
r6885 r9590 3 3 $FRONT_COLOR='0xffffff'; 4 4 $LIGHT_COLOR='0xe8e3dc'; 5 $STYLE_FILE= 'template/style/Pure_grey_plastic/lecteur.css';5 $STYLE_FILE= 'plugins/'.MP_NAME.'/template/style/Pure_grey_plastic/lecteur.css'; 6 6 $TPL_FILE=$m_p->plugin_path.'template/style/default.tpl'; 7 7 ?> -
extensions/music_player/template/style/Pure_sky/lecteur.conf.php
r6885 r9590 3 3 $FRONT_COLOR='0x005E89'; 4 4 $LIGHT_COLOR='0x005E89'; 5 $STYLE_FILE= 'template/style/Pure_sky/lecteur.css';5 $STYLE_FILE= 'plugins/'.MP_NAME.'/template/style/Pure_sky/lecteur.css'; 6 6 $TPL_FILE=$m_p->plugin_path.'template/style/default.tpl'; 7 7 ?> -
extensions/music_player/template/style/Pure_tr_clear_blue/lecteur.conf.php
r6885 r9590 3 3 $FRONT_COLOR='0x005E89'; 4 4 $LIGHT_COLOR='0x005E89'; 5 $STYLE_FILE= 'template/style/Pure_tr_clear_blue/lecteur.css';5 $STYLE_FILE= 'plugins/'.MP_NAME.'/template/style/Pure_tr_clear_blue/lecteur.css'; 6 6 $TPL_FILE=$m_p->plugin_path.'template/style/default.tpl'; 7 7 ?> -
extensions/music_player/template/style/Pure_tr_green_nature/lecteur.conf.php
r6885 r9590 3 3 $FRONT_COLOR='0xffffff'; 4 4 $LIGHT_COLOR='0xedf2f2'; 5 $STYLE_FILE= 'template/style/Pure_green_nature/lecteur.css';5 $STYLE_FILE= 'plugins/'.MP_NAME.'/template/style/Pure_green_nature/lecteur.css'; 6 6 $TPL_FILE=$m_p->plugin_path.'template/style/default.tpl'; 7 7 ?> -
extensions/music_player/template/style/Sylvia/lecteur.conf.php
r6885 r9590 3 3 $FRONT_COLOR='0xFF7700'; 4 4 $LIGHT_COLOR='0xfb3558'; 5 $STYLE_FILE= 'template/style/Sylvia/lecteur.css';5 $STYLE_FILE= 'plugins/'.MP_NAME.'/template/style/Sylvia/lecteur.css'; 6 6 $TPL_FILE=$m_p->plugin_path.'template/style/default.tpl'; 7 7 ?> -
extensions/music_player/template/style/clear/lecteur.conf.php
r6885 r9590 3 3 $FRONT_COLOR='0x005E89'; 4 4 $LIGHT_COLOR='0x005E89'; 5 $STYLE_FILE= 'template/style/default.css';5 $STYLE_FILE= 'plugins/'.MP_NAME.'/template/style/default.css'; 6 6 $TPL_FILE=$m_p->plugin_path.'template/style/default.tpl'; 7 7 ?> -
extensions/music_player/template/style/default.conf.php
r6877 r9590 3 3 $FRONT_COLOR='0xffffff'; 4 4 $LIGHT_COLOR='0xe8e3dc'; 5 $STYLE_FILE= 'template/style/default.css';5 $STYLE_FILE= 'plugins/'.MP_NAME.'/template/style/default.css'; 6 6 $TPL_FILE=$m_p->plugin_path.'template/style/default.tpl'; 7 7 ?> -
extensions/music_player/template/style/default.tpl
r3559 r9590 1 { html_head}<link rel="stylesheet" type="text/css" href="{$STYLE_FILE}">{/html_head}2 { html_head}<script type="text/javascript" src="./player/swfobject.js"></script>{/html_head}1 {combine_css path="$STYLE_FILE"} 2 {combine_script id="music_player_js" load="header" path="plugins/music_player/player/swfobject.js"} 3 3 {html_head}<script type="text/javascript"> 4 4 {literal} -
extensions/music_player/template/style/default/lecteur.tpl
r6885 r9590 1 { html_head}<link rel="stylesheet" type="text/css" href="{$STYLE_FILE}">{/html_head}1 {combine_css path="$STYLE_FILE"} 2 2 {html_head}<script type="text/javascript" src="./player/swfobject.js"></script>{/html_head} 3 3 {html_head}<script type="text/javascript"> -
extensions/music_player/template/style/flop_mauve/lecteur.conf.php
r6885 r9590 3 3 $FRONT_COLOR='0xffffff'; 4 4 $LIGHT_COLOR='0xe8e3dc'; 5 $STYLE_FILE= 'template/style/default.css';5 $STYLE_FILE= 'plugins/'.MP_NAME.'/template/style/default.css'; 6 6 $TPL_FILE=$m_p->plugin_path.'template/style/default.tpl'; 7 7 ?> -
extensions/music_player/template/style/my_phone.conf.php
r6877 r9590 3 3 $FRONT_COLOR='0xffffff'; 4 4 $LIGHT_COLOR='0xe8e3dc'; 5 $STYLE_FILE= 'template/style/my_phone/my_phone.css';5 $STYLE_FILE= 'plugins/'.MP_NAME.'/template/style/my_phone/my_phone.css'; 6 6 $TPL_FILE= $m_p->plugin_path.'template/style/my_phone/my_phone.tpl'; 7 7 //$TPL_FILE='template/style/my_phone/my_phone.tpl'; -
extensions/music_player/template/style/my_phone/my_phone.tpl
r3561 r9590 1 { html_head}<link rel="stylesheet" type="text/css" href="{$STYLE_FILE}">{/html_head}1 {combine_css path="$STYLE_FILE"} 2 2 {html_head}<script type="text/javascript" src="./player/swfobject.js"></script>{/html_head} 3 3 {html_head}<script type="text/javascript">
Note: See TracChangeset
for help on using the changeset viewer.