Ignore:
Timestamp:
10/28/10 09:26:28 (9 years ago)
Author:
grum
Message:

implement feature:1970

Location:
extensions/ASearchEngine
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/ASearchEngine/ase_pip.class.inc.php

    r7439 r7450  
    3030    $this->css2 = new GPCCss(dirname($this->getFileLocation()).'/'.$this->getPluginNameFiles()."2.css"); 
    3131    $this->loadConfig(); 
    32     $this->initEvents(); 
     32 
    3333    $this->load_lang(); 
    3434 
     
    3838      $this->sectionPage->setCallbackPageFunction(array(&$this, 'managePage')); 
    3939      $this->sectionPage->initEvents(); 
     40      $this->initEvents(); 
    4041    } 
    4142  } 
     
    6465    parent::initEvents(); 
    6566 
    66     GPCRequestBuilder::loadJSandCSS(); 
     67    if($this->sectionPage->pageIsSection()) 
     68    { 
     69      GPCRequestBuilder::loadJSandCSS(); 
    6770 
    68     add_event_handler('init', array(&$this, 'applyJS')); 
    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) 
    70     add_event_handler('blockmanager_apply', array(&$this, 'blockmanagerApply'), 40); // call ASE before AMM 
    71     add_event_handler('user_init', array(&$this, 'load_lang')); 
     71      add_event_handler('init', array(&$this, 'applyJS')); 
     72      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) 
     73      add_event_handler('blockmanager_apply', array(&$this, 'blockmanagerApply'), 40); // call ASE before AMM 
     74      add_event_handler('user_init', array(&$this, 'load_lang')); 
     75    } 
    7276  } 
    7377 
     
    8185  { 
    8286    global $template; 
     87 
    8388 
    8489    GPCCore::addHeaderJS('jquery', 'themes/default/js/jquery.packed.js'); 
  • extensions/ASearchEngine/ase_version.inc.php

    r7440 r7450  
    1515  if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 
    1616 
    17   define('ASE_VERSION',  '1.0.2'); 
    18   define('ASE_VERSION2', '01.00.02'); 
    19   define('ASE_GPC_NEEDED', '3.3.2'); 
     17  define('ASE_VERSION',  '1.0.3'); 
     18  define('ASE_VERSION2', '01.00.03'); 
     19  define('ASE_GPC_NEEDED', '3.3.3'); 
    2020?> 
  • extensions/ASearchEngine/main.inc.php

    r7439 r7450  
    22/* 
    33Plugin Name: Advanced Search Engine 
    4 Version: 1.0.2 
     4Version: 1.0.3 
    55Description: An advanced search engine 
    66Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid= 
     
    4040|         |            |   . Search Engine is accessible from gallery users even 
    4141|         |            |     if not activated 
     42|         |            | 
     43| 1.0.3   | 2010-10-28 | * mantis bug:1970 
     44|         |            |   . optimization in css management 
     45|         |            | 
     46|         |            | 
     47|         |            | 
     48|         |            | 
    4249|         |            | 
    4350|         |            | 
Note: See TracChangeset for help on using the changeset viewer.