Changeset 9590 for extensions/music_player/lecteur.php
- Timestamp:
- Mar 9, 2011, 7:10:19 PM (13 years ago)
- File:
-
- 1 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
Note: See TracChangeset
for help on using the changeset viewer.