mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 01:03:31 +02:00
Minor code review
git-svn-id: http://piwigo.org/svn/trunk@2162 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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' );
|
||||
?>
|
||||
Reference in New Issue
Block a user