aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/language_switch/main.inc.php
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2009-05-30 15:24:29 +0000
committervdigital <vdigital@piwigo.org>2009-05-30 15:24:29 +0000
commit66f137edd5c18870681cc010e69f4d930fe8cc2d (patch)
treec6c8b61c819d284e6722fe50bdf89b21044be5d5 /plugins/language_switch/main.inc.php
parentd5cd582ca257cf5eb9dc38d5f9f25ab7afaade4b (diff)
Merge: 3375
+ Language Switch code review (No cookies => session). + Optional $conf['no_flag_languages'] = Array() to remove flags git-svn-id: http://piwigo.org/svn/trunk@3376 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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