aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/language_switch/main.inc.php
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2009-05-30 15:21:43 +0000
committervdigital <vdigital@piwigo.org>2009-05-30 15:21:43 +0000
commit13b176602774ada13377071e6940917fd4462c10 (patch)
tree933853389db772c7bcb09fafa33e58bcd575f81b /plugins/language_switch/main.inc.php
parentb31faf23b521417ca2bc5dbcea24f5f13608214b (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 'plugins/language_switch/main.inc.php')
-rw-r--r--plugins/language_switch/main.inc.php4
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