Ignore:
Timestamp:
Jun 24, 2012, 9:14:35 PM (12 years ago)
Author:
grum
Message:

feature:2637- compatibility with Piwigo 2.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/AMetaData/amd_aip.class.inc.php

    r15343 r16007  
    2424include_once('amd_root.class.inc.php');
    2525include_once(PHPWG_PLUGINS_PATH.'GrumPluginClasses/classes/GPCTabSheet.class.inc.php');
    26 include_once(PHPWG_PLUGINS_PATH.'GrumPluginClasses/classes/GPCAjax.class.inc.php');
    2726include_once(PHPWG_PLUGINS_PATH.'GrumPluginClasses/classes/genericjs.class.inc.php');
    2827
     
    8180  {
    8281    unset($this->tabsheet);
    83     unset($this->ajax);
    8482    parent::__destruct();
    8583  }
     
    116114
    117115    $template->assign('plugin', $pluginInfo);
     116    GPCCore::setTemplateToken();
    118117
    119118    switch($_GET['tab'])
     
    146145  public function initEvents()
    147146  {
     147    parent::initEvents();
     148
    148149    if(isset($_GET['tab']) and $_GET['tab']=='search')
    149150    {
     
    151152      GPCRequestBuilder::loadJSandCSS();
    152153    }
    153 
    154     add_event_handler('loc_end_page_header', array(&$this->css, 'applyCSS'));
    155     GPCCss::applyGpcCss();
    156   }
     154  }
     155
    157156
    158157  /**
Note: See TracChangeset for help on using the changeset viewer.