From 13b176602774ada13377071e6940917fd4462c10 Mon Sep 17 00:00:00 2001 From: vdigital Date: Sat, 30 May 2009 15:21:43 +0000 Subject: + 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 --- plugins/language_switch/main.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/language_switch/main.inc.php') 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 -- cgit v1.2.3