Ignore:
Timestamp:
Mar 9, 2011, 7:10:19 PM (13 years ago)
Author:
flop25
Message:

use of combine tag : relocation of css in config files, css and js files combined
todo : js code not in file
remove events from spread_menu and add_menu_on_public_pages of themes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/music_player/lecteur.php

    r6887 r9590  
    22define('PHPWG_ROOT_PATH','../../');
    33include_once(PHPWG_ROOT_PATH.'include/common.inc.php');
     4
     5/////////////// PAS DE MENU !
     6if ( 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}
    412
    513$m_p = get_plugin_data('music_player');
     
    4654else {
    4755
    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';
     57global $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);
    5865
    5966
Note: See TracChangeset for help on using the changeset viewer.