Changeset 18115 for extensions/Autosize/main.inc.php
- Timestamp:
- Sep 21, 2012, 10:54:57 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/main.inc.php
r17680 r18115 2 2 /* 3 3 Plugin Name: AutoSize 4 Version: 2.064 Version: auto 5 5 Description: Ajuste l'affichage des photos en fonction de la hauteur de la fenetre de navigation 6 6 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=448 … … 22 22 23 23 24 25 24 //================================================================== 26 25 include(AUTOSIZE_PATH."include/constants.php"); 27 26 include_once(AUTOSIZE_PATH.'autosize.inc.php'); 28 27 //================================================================== 29 global $page ;28 global $page,$autosize_controler; 30 29 if (!isset( $page['start'])) { 31 30 $page['start']=0; 32 31 } 33 34 global $autosize_controler;35 32 $autosize_controler = new autosize_controler(); 36 33 add_event_handler('get_admin_plugin_menu_links', array(&$autosize_controler,'cl_autosize_admin') ); … … 40 37 41 38 42 add_event_handler('render_element_content', array(&$autosize_controler,'init'),EVENT_HANDLER_PRIORITY_NEUTRAL ,2 );39 add_event_handler('render_element_content', array(&$autosize_controler,'init'),EVENT_HANDLER_PRIORITY_NEUTRAL-1,2 ); 43 40 44 41 //avant pamooramics
Note: See TracChangeset
for help on using the changeset viewer.