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

Last change on this file since 2243 was 2243, checked in by patdenice, 16 years ago

Corections to respect coding conventions.
Change plugins versions to 1.8
Change 3 plugins URI.

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 2.1 KB
Line 
1<?php /*
2Plugin Name: Language Switch
3Version: 1.8
4Description: Switch to another language from flags on your gallery home page.
5Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=123
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 2243 2008-03-02 18:56:05Z patdenice $
15// | last update   : $Date: 2008-03-02 18:56:05 +0000 (Sun, 02 Mar 2008) $
16// | last modifier : $Author: patdenice $
17// | revision      : $Revision: 2243 $
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// +-----------------------------------------------------------------------+
33include_once(PHPWG_PLUGINS_PATH.'language_switch/language_switch.inc.php');
34add_event_handler('loading_lang', 'language_switch' );
35add_event_handler('loc_end_index', 'Lang_flags' );
36?>
Note: See TracBrowser for help on using the repository browser.