Changeset 3479 for trunk/plugins/language_switch/main.inc.php
- Timestamp:
- Jun 30, 2009, 11:24:55 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/language_switch/main.inc.php
r3376 r3479 24 24 /* 25 25 Plugin Name: Language Switch 26 Version: 2.0.2 a26 Version: 2.0.2b 27 27 Description: Switch to another language from flags on your gallery home page. 28 28 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=123 … … 32 32 33 33 include_once(PHPWG_PLUGINS_PATH.'language_switch/language_switch.inc.php'); 34 add_event_handler('loading_lang', 'language_controler::_switch', 5 ); 35 add_event_handler('loc_end_index', 'language_controler::_flags', 95 ); 34 $language_controler = new language_controler(); 35 add_event_handler('loading_lang', array(&$language_controler, '_switch'), 5 ); 36 add_event_handler('loc_end_index', array(&$language_controler, '_flags'), 95 ); 36 37 ?>
Note: See TracChangeset
for help on using the changeset viewer.