diff options
author | vdigital <vdigital@piwigo.org> | 2007-11-19 19:51:54 +0000 |
---|---|---|
committer | vdigital <vdigital@piwigo.org> | 2007-11-19 19:51:54 +0000 |
commit | 4601ff1c36bd076cc2867c33e470c62c9d728c8a (patch) | |
tree | 55ff7c9fc3c5a988e9535c505e5e5bfedcb22c43 /plugins/language_switch/main.inc.php | |
parent | 51e3d211c85f413fbce8d78cbe172bf1e7f1829f (diff) |
Minor code review
git-svn-id: http://piwigo.org/svn/trunk@2162 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'plugins/language_switch/main.inc.php')
-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 8be206563..82eb5dc2e 100644 --- a/plugins/language_switch/main.inc.php +++ b/plugins/language_switch/main.inc.php @@ -1,7 +1,7 @@ <?php /* Plugin Name: Language Switch Version: 1.0 -Description: Give you an advice on the administration page. +Description: Switch to another language from flags on your gallery home page. Plugin URI: http://www.phpwebgallery.net Author: PhpWebGallery team Author URI: http://www.phpwebgallery.net @@ -30,7 +30,7 @@ Author URI: http://www.phpwebgallery.net // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | // | USA. | // +-----------------------------------------------------------------------+ -add_event_handler('loading_lang', 'language_switch' ); 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' ); ?>
\ No newline at end of file |