Show
Ignore:
Timestamp:
01/28/11 17:10:45 (2 years ago)
Author:
grum
Message:

release 3.0.0
fix bug:1716, bug:2128, bug:1296, bug:2052, bug:1910, bug:1723, bug:1709, bug:1680, bug:1477, bug:2129
rewrite plugin core, implement ajax interface, optimize JS

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • extensions/AMenuManager/amm_aim.class.inc.php

    r5545 r8962  
    33  Plugin     : Advanced Menu Manager 
    44  Author     : Grum 
    5     email    : grum@grum.dnsalias.com 
     5    email    : grum@piwigo.org 
    66    website  : http://photos.grum.dnsalias.com 
    77    PWG user : http://forum.phpwebgallery.net/profile.php?id=3706 
     
    3333    parent::initEvents(); 
    3434    add_event_handler('get_admin_plugin_menu_links', array(&$this, 'pluginAdminMenu') ); 
     35    add_event_handler('loc_end_page_header', array(&$this, 'adminPanel')); 
     36  } 
     37 
     38  public function adminPanel() 
     39  { 
     40    global $template; 
     41 
     42    $template->append('footer_elements', "<script>$(document).ready(function () { $('li a[href=".$template->get_template_vars('U_CONFIG_MENUBAR')."]').attr('href', '".$this->getAdminLink()."&amp;fAMM_tabsheet=setmenu&amp;fAMM_page=position'); });</script>"); 
    3543  } 
    3644