Changeset 16006 for extensions/AMenuManager/amm_pip.class.inc.php
- Timestamp:
- Jun 24, 2012, 9:13:37 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/AMenuManager/amm_pip.class.inc.php
r15366 r16006 17 17 18 18 include_once(PHPWG_PLUGINS_PATH.'AMenuManager/amm_root.class.inc.php'); 19 include_once(PHPWG_PLUGINS_PATH.'GrumPluginClasses/classes/GPCAjax.class.inc.php');20 19 21 20 class AMM_PIP extends AMM_root … … 31 30 { 32 31 parent::__construct($prefixeTable, $filelocation); 33 $this->css = new GPCCss(dirname($this->getFileLocation()).'/'.$this->getPluginNameFiles()."2.css");34 32 35 33 $this->users=new GPCUsers(); … … 48 46 parent::initEvents(); 49 47 48 add_event_handler('blockmanager_register_blocks', array(&$this, 'registerBlocks') ); 50 49 add_event_handler('blockmanager_prepare_display', array(&$this, 'blockmanagerSortBlocks') ); 51 50 add_event_handler('blockmanager_apply', array(&$this, 'blockmanagerApply'), 45 ); 52 add_event_handler('loc_end_page_header', array(&$this->css, 'applyCSS'));53 51 add_event_handler('loc_end_page_header', array(&$this, 'applyJS')); 54 52 add_event_handler('get_categories_menu_sql_where', array(&$this, 'buildMenuFromCat'), 75); 53 } 54 55 public function loadCSS() 56 { 57 parent::loadCSS(); 58 GPCCore::addHeaderCSS('amm_main', 'plugins/'.$this->getDirectory().'/'.$this->getPluginNameFiles()."2.css"); 55 59 } 56 60
Note: See TracChangeset
for help on using the changeset viewer.