Changeset 7439
- Timestamp:
- Oct 27, 2010, 8:33:06 PM (14 years ago)
- Location:
- extensions/ASearchEngine
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/ASearchEngine/ase_pip.class.inc.php
r7407 r7439 33 33 $this->load_lang(); 34 34 35 $this->sectionPage=new GPCPublicIntegration(self::SEARCH_SECTION); 36 $this->sectionPage->setCallbackPageFunction(array(&$this, 'managePage')); 37 $this->sectionPage->initEvents(); 35 if($this->config['ase_publicAccess_active']) 36 { 37 $this->sectionPage=new GPCPublicIntegration(self::SEARCH_SECTION); 38 $this->sectionPage->setCallbackPageFunction(array(&$this, 'managePage')); 39 $this->sectionPage->initEvents(); 40 } 38 41 } 39 42 … … 65 68 add_event_handler('init', array(&$this, 'applyJS')); 66 69 add_event_handler('loc_begin_page_header', array(&$this->css2, 'applyCSS'), 9); // have to be loaded before other css file (event level from GPCCore=10) 67 add_event_handler('blockmanager_apply', array(&$this, 'blockmanagerApply'), 55);70 add_event_handler('blockmanager_apply', array(&$this, 'blockmanagerApply'), 40); // call ASE before AMM 68 71 add_event_handler('user_init', array(&$this, 'load_lang')); 69 72 } … … 144 147 { 145 148 $block=$menu->get_block('mbMenu'); 146 $block->data['search']['URL']=get_root_url().'?/'.self::SEARCH_SECTION;149 if(!is_null($block)) $block->data['search']['URL']=get_root_url().'?/'.self::SEARCH_SECTION; 147 150 } 148 151 } -
extensions/ASearchEngine/main.inc.php
r7407 r7439 2 2 /* 3 3 Plugin Name: Advanced Search Engine 4 Version: 1.0. 04 Version: 1.0.2 5 5 Description: An advanced search engine 6 6 Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid= … … 34 34 | | | . Translation is not correct for RBuilder keys 35 35 | | | 36 | 1.0.2 | 2010-10-27 | * mantis bug:1963 37 | | | . Compatibiliy with AdvancedMenuManager 36 38 | | | 37 | | | 38 | | | 39 | | | * mantis bug:1961 40 | | | . Search Engine is accessible from gallery users even 41 | | | if not activated 39 42 | | | 40 43 | | |
Note: See TracChangeset
for help on using the changeset viewer.