source: trunk/plugins/language_switch/main.inc.php @ 2161

Last change on this file since 2161 was 2161, checked in by vdigital, 16 years ago

New: Language Switch plugin support

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
1<?php /*
2Plugin Name: Language Switch
3Version: 1.0
4Description: Give you an advice on the administration page.
5Plugin URI: http://www.phpwebgallery.net
6Author: PhpWebGallery team
7Author URI: http://www.phpwebgallery.net
8*/
9// +-----------------------------------------------------------------------+
10// | PhpWebGallery - a PHP based picture gallery                           |
11// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
12// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
13// +-----------------------------------------------------------------------+
14// | file          : $Id: main.inc.php 2161 2007-11-18 19:59:33Z vdigital $
15// | last update   : $Date: 2007-11-18 19:59:33 +0000 (Sun, 18 Nov 2007) $
16// | last modifier : $Author: vdigital $
17// | revision      : $Revision: 2161 $
18// +-----------------------------------------------------------------------+
19// | This program is free software; you can redistribute it and/or modify  |
20// | it under the terms of the GNU General Public License as published by  |
21// | the Free Software Foundation                                          |
22// |                                                                       |
23// | This program is distributed in the hope that it will be useful, but   |
24// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
25// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
26// | General Public License for more details.                              |
27// |                                                                       |
28// | You should have received a copy of the GNU General Public License     |
29// | along with this program; if not, write to the Free Software           |
30// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
31// | USA.                                                                  |
32// +-----------------------------------------------------------------------+
33add_event_handler('loading_lang', 'language_switch' );
34include_once(PHPWG_PLUGINS_PATH.'language_switch/language_switch.inc.php');
35add_event_handler('loc_end_index', 'Lang_flags' );
36?>
Note: See TracBrowser for help on using the repository browser.