Changeset 8962 for extensions/AMenuManager/amm_aim.class.inc.php
- Timestamp:
- Jan 28, 2011, 5:10:45 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/AMenuManager/amm_aim.class.inc.php
r5545 r8962 3 3 Plugin : Advanced Menu Manager 4 4 Author : Grum 5 email : grum@ grum.dnsalias.com5 email : grum@piwigo.org 6 6 website : http://photos.grum.dnsalias.com 7 7 PWG user : http://forum.phpwebgallery.net/profile.php?id=3706 … … 33 33 parent::initEvents(); 34 34 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()."&fAMM_tabsheet=setmenu&fAMM_page=position'); });</script>"); 35 43 } 36 44
Note: See TracChangeset
for help on using the changeset viewer.