aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/admin_multi_view
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/admin_multi_view')
-rw-r--r--plugins/admin_multi_view/language/en_UK/description.txt1
-rw-r--r--plugins/admin_multi_view/language/en_UK/index.php30
-rw-r--r--plugins/admin_multi_view/language/fr_FR/description.txt1
-rw-r--r--plugins/admin_multi_view/language/fr_FR/index.php30
-rw-r--r--plugins/admin_multi_view/language/index.php30
-rw-r--r--plugins/admin_multi_view/main.inc.php2
6 files changed, 93 insertions, 1 deletions
diff --git a/plugins/admin_multi_view/language/en_UK/description.txt b/plugins/admin_multi_view/language/en_UK/description.txt
new file mode 100644
index 000000000..8aaad29e4
--- /dev/null
+++ b/plugins/admin_multi_view/language/en_UK/description.txt
@@ -0,0 +1 @@
+Allows administrators to view gallery as guests and/or change the language and/or theme on the fly. Practical to debug changes... \ No newline at end of file
diff --git a/plugins/admin_multi_view/language/en_UK/index.php b/plugins/admin_multi_view/language/en_UK/index.php
new file mode 100644
index 000000000..871b52b6a
--- /dev/null
+++ b/plugins/admin_multi_view/language/en_UK/index.php
@@ -0,0 +1,30 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based picture gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/admin_multi_view/language/fr_FR/description.txt b/plugins/admin_multi_view/language/fr_FR/description.txt
new file mode 100644
index 000000000..66e01a536
--- /dev/null
+++ b/plugins/admin_multi_view/language/fr_FR/description.txt
@@ -0,0 +1 @@
+Permet aux administrateurs de voir la galerie en tant qu'invité et/ou changer la langue et/ou changer de thème à la volée. Pratique pour le débuggage... \ No newline at end of file
diff --git a/plugins/admin_multi_view/language/fr_FR/index.php b/plugins/admin_multi_view/language/fr_FR/index.php
new file mode 100644
index 000000000..871b52b6a
--- /dev/null
+++ b/plugins/admin_multi_view/language/fr_FR/index.php
@@ -0,0 +1,30 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based picture gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/admin_multi_view/language/index.php b/plugins/admin_multi_view/language/index.php
new file mode 100644
index 000000000..871b52b6a
--- /dev/null
+++ b/plugins/admin_multi_view/language/index.php
@@ -0,0 +1,30 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based picture gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/admin_multi_view/main.inc.php b/plugins/admin_multi_view/main.inc.php
index 6a5658059..2602c2b87 100644
--- a/plugins/admin_multi_view/main.inc.php
+++ b/plugins/admin_multi_view/main.inc.php
@@ -24,7 +24,7 @@
/*
Plugin Name: Multi view
Version: 2.0.2
-Description: Allows administrators to view gallery as guests and/or change the language and/or theme on the fly. Practical to debug changes ...
+Description: Allows administrators to view gallery as guests and/or change the language and/or theme on the fly. Practical to debug changes...
Plugin URI: http://piwigo.org/ext/extension_view.php?eid=286
Author: Piwigo team
Author URI: http://piwigo.org