diff options
author | vdigital <vdigital@piwigo.org> | 2009-05-30 15:21:43 +0000 |
---|---|---|
committer | vdigital <vdigital@piwigo.org> | 2009-05-30 15:21:43 +0000 |
commit | 13b176602774ada13377071e6940917fd4462c10 (patch) | |
tree | 933853389db772c7bcb09fafa33e58bcd575f81b /plugins/language_switch/main.inc.php | |
parent | b31faf23b521417ca2bc5dbcea24f5f13608214b (diff) |
+ Language Switch code review (No cookies => session).
+ Optional $conf['no_flag_languages'] = Array() to remove flags
git-svn-id: http://piwigo.org/svn/branches/2.0@3375 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | plugins/language_switch/main.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/language_switch/main.inc.php b/plugins/language_switch/main.inc.php index c5887c364..d81ec050e 100644 --- a/plugins/language_switch/main.inc.php +++ b/plugins/language_switch/main.inc.php @@ -31,6 +31,6 @@ Author URI: http://piwigo.org */ include_once(PHPWG_PLUGINS_PATH.'language_switch/language_switch.inc.php'); -add_event_handler('loading_lang', 'language_switch' ); -add_event_handler('loc_end_index', 'Lang_flags' ); +add_event_handler('loading_lang', 'language_controler::_switch', 5 ); +add_event_handler('loc_end_index', 'language_controler::_flags', 95 ); ?>
\ No newline at end of file |