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

feature:2638- compatibility with Piwigo 2.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/GMaps/gmaps_aip.class.inc.php

    r15345 r16011  
    7878  public function initEvents()
    7979  {
     80    global $template;
     81
    8082    parent::initEvents();
    8183
     
    8587      GPCRequestBuilder::loadJSandCSS();
    8688    }
    87     add_event_handler('loc_end_page_header', array(&$this->css, 'applyCSS'));
    88     GPCCss::applyGpcCss();
    89   }
     89  }
     90
    9091
    9192  /**
     
    100101
    101102    $template->set_filename('plugin_admin_content', dirname(__FILE__)."/admin/gmaps_admin.tpl");
     103    GPCCore::setTemplateToken();
    102104
    103105    switch($_GET['tab'])
     
    232234    global $template;
    233235
     236    GPCCore::addUI('categorySelector');
    234237    GPCCore::addHeaderCSS('iconSelector', 'plugins/GrumPluginClasses/css/iconSelector_'.$template->get_themeconf('name').'.css');
    235     GPCCore::addHeaderCSS('categorySelector', 'plugins/GrumPluginClasses/css/categorySelector_'.$template->get_themeconf('name').'.css');
    236238
    237239    $template->set_filename('body_page',
Note: See TracChangeset for help on using the changeset viewer.