Minor code review

git-svn-id: http://piwigo.org/svn/trunk@2162 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
vdigital
2007-11-19 19:51:54 +00:00
parent 51e3d211c8
commit 4601ff1c36
2 changed files with 49 additions and 64 deletions
+2 -2
View File
@@ -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' );
?>