diff options
Diffstat (limited to 'plugins/language_switch')
93 files changed, 0 insertions, 1488 deletions
diff --git a/plugins/language_switch/flag_sprite.jpg b/plugins/language_switch/flag_sprite.jpg Binary files differdeleted file mode 100644 index c22450d7b..000000000 --- a/plugins/language_switch/flag_sprite.jpg +++ /dev/null diff --git a/plugins/language_switch/flag_sprite_original.png b/plugins/language_switch/flag_sprite_original.png Binary files differdeleted file mode 100644 index dc95afde4..000000000 --- a/plugins/language_switch/flag_sprite_original.png +++ /dev/null diff --git a/plugins/language_switch/flags.tpl b/plugins/language_switch/flags.tpl deleted file mode 100644 index 089e39604..000000000 --- a/plugins/language_switch/flags.tpl +++ /dev/null @@ -1,33 +0,0 @@ -<li id="languageSwitch">{strip}<a id="languageSwitchLink" title="{'Language'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> - <span class="pwg-icon langflag-{$lang_switch.Active.code}"> </span><span class="pwg-button-text">{'Language'|@translate}</span> -</a> -<div id="languageSwitchBox" class="switchBox"> - <div class="switchBoxTitle">{'Language'|@translate}</div> - {foreach from=$lang_switch.flags item=flag name=f} - <a rel="nofollow" href="{$flag.url}"> - {if $lang_info.direction=="ltr"}<span class="pwg-icon langflag-{$flag.code}">{$flag.alt}</span>{$flag.title}{else}{$flag.title}<span class="pwg-icon langflag-{$flag.code}">{$flag.alt}</span>{/if} - </a> - {if ($smarty.foreach.f.index+1)%3 == 0}<br>{/if} - {/foreach} -</div> -{/strip}</li> - -{footer_script require='jquery'}{literal} -jQuery("#languageSwitchLink").click(function() { - var elt = jQuery("#languageSwitchBox"); - elt.css("left", Math.min(jQuery(this).offset().left, jQuery(window).width() - elt.outerWidth(true) - 5)) - .css("top", jQuery(this).offset().top + jQuery(this).outerHeight(true)) - .toggle(); -}); -jQuery("#languageSwitchBox").on("mouseleave", function() { - jQuery(this).hide(); -}); -{/literal}{/footer_script} - -{* <!-- stylish for themes missing .switchBox styles --> *} -{if $LANGUAGE_SWITCH_LOAD_STYLE} -{combine_css path=$LANGUAGE_SWITCH_PATH|@cat:"style.css"} -{/if} - -{* <!-- common style specific for LanguageSwitch --> *} -{combine_css path=$LANGUAGE_SWITCH_PATH|@cat:"language_switch.css"}
\ No newline at end of file diff --git a/plugins/language_switch/index.php b/plugins/language_switch/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/language_switch/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based photo gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2014 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/language_switch/language/af_ZA/description.txt b/plugins/language_switch/language/af_ZA/description.txt deleted file mode 100755 index 5b5fb07c1..000000000 --- a/plugins/language_switch/language/af_ZA/description.txt +++ /dev/null @@ -1 +0,0 @@ -Skakel na 'n ander taal deur vlae op jou gallery se tuisblad.
\ No newline at end of file diff --git a/plugins/language_switch/language/af_ZA/index.php b/plugins/language_switch/language/af_ZA/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/language_switch/language/af_ZA/index.php +++ /dev/null @@ -1,7 +0,0 @@ -<?php -$url = '../'; -header( 'Request-URI: '.$url ); -header( 'Content-Location: '.$url ); -header( 'Location: '.$url ); -exit(); -?> diff --git a/plugins/language_switch/language/ar_SA/description.txt b/plugins/language_switch/language/ar_SA/description.txt deleted file mode 100644 index b0dec5d53..000000000 --- a/plugins/language_switch/language/ar_SA/description.txt +++ /dev/null @@ -1 +0,0 @@ -التبديل إلى لغة أخرى من الأعلام على الصفحة الرئيسية لمعرض الصور
\ No newline at end of file diff --git a/plugins/language_switch/language/ar_SA/index.php b/plugins/language_switch/language/ar_SA/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/language_switch/language/ar_SA/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based photo gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2014 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/language_switch/language/bg_BG/description.txt b/plugins/language_switch/language/bg_BG/description.txt deleted file mode 100755 index c35a94ee3..000000000 --- a/plugins/language_switch/language/bg_BG/description.txt +++ /dev/null @@ -1,2 +0,0 @@ -Language Switch - Промяна на език
-Български [BG]
\ No newline at end of file diff --git a/plugins/language_switch/language/bg_BG/index.php b/plugins/language_switch/language/bg_BG/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/language_switch/language/bg_BG/index.php +++ /dev/null @@ -1,7 +0,0 @@ -<?php -$url = '../'; -header( 'Request-URI: '.$url ); -header( 'Content-Location: '.$url ); -header( 'Location: '.$url ); -exit(); -?> diff --git a/plugins/language_switch/language/br_FR/description.txt b/plugins/language_switch/language/br_FR/description.txt deleted file mode 100755 index d823adac6..000000000 --- a/plugins/language_switch/language/br_FR/description.txt +++ /dev/null @@ -1 +0,0 @@ -Cheñchit yezh gant bannieloù war ho pajenn-degemer.
\ No newline at end of file diff --git a/plugins/language_switch/language/ca_ES/description.txt b/plugins/language_switch/language/ca_ES/description.txt deleted file mode 100755 index e7b2bed69..000000000 --- a/plugins/language_switch/language/ca_ES/description.txt +++ /dev/null @@ -1 +0,0 @@ -Canvia fàcilment l'idioma de la galeria. Es mostren banderes com a símbol dels idiomes disponibles.
\ No newline at end of file diff --git a/plugins/language_switch/language/cs_CZ/description.txt b/plugins/language_switch/language/cs_CZ/description.txt deleted file mode 100644 index a355801ff..000000000 --- a/plugins/language_switch/language/cs_CZ/description.txt +++ /dev/null @@ -1 +0,0 @@ -Pøepíná do jiného jazyka podle vlajeèek na hlavní stránce galerie.
\ No newline at end of file diff --git a/plugins/language_switch/language/cs_CZ/index.php b/plugins/language_switch/language/cs_CZ/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/language_switch/language/cs_CZ/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based photo gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2014 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/language_switch/language/da_DK/description.txt b/plugins/language_switch/language/da_DK/description.txt deleted file mode 100755 index 097eba5e1..000000000 --- a/plugins/language_switch/language/da_DK/description.txt +++ /dev/null @@ -1 +0,0 @@ -Skift til et andet sprog via flag på dit galleris forside.
\ No newline at end of file diff --git a/plugins/language_switch/language/de_DE/description.txt b/plugins/language_switch/language/de_DE/description.txt deleted file mode 100644 index dcf2b6d60..000000000 --- a/plugins/language_switch/language/de_DE/description.txt +++ /dev/null @@ -1 +0,0 @@ -Ändert die Sprache der Galerie durch Anklicken einer Landesfahne. diff --git a/plugins/language_switch/language/de_DE/index.php b/plugins/language_switch/language/de_DE/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/language_switch/language/de_DE/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based photo gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2014 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/language_switch/language/el_GR/description.txt b/plugins/language_switch/language/el_GR/description.txt deleted file mode 100755 index 1b32b2370..000000000 --- a/plugins/language_switch/language/el_GR/description.txt +++ /dev/null @@ -1 +0,0 @@ -Αλλαγ? σε ?λλη γλ?σσα απ? εικον?διο σημα?ας στην αρχικ? σελ?δα γκαλερ? σας.
\ No newline at end of file diff --git a/plugins/language_switch/language/en_UK/description.txt b/plugins/language_switch/language/en_UK/description.txt deleted file mode 100644 index 6dd277e30..000000000 --- a/plugins/language_switch/language/en_UK/description.txt +++ /dev/null @@ -1 +0,0 @@ -Switch to another language using the flags on your gallery home page.
\ No newline at end of file diff --git a/plugins/language_switch/language/en_UK/index.php b/plugins/language_switch/language/en_UK/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/language_switch/language/en_UK/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based photo gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2014 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/language_switch/language/eo_EO/description.txt b/plugins/language_switch/language/eo_EO/description.txt deleted file mode 100755 index e25c9e7bc..000000000 --- a/plugins/language_switch/language/eo_EO/description.txt +++ /dev/null @@ -1 +0,0 @@ -Ŝaltu al alia lingvo pere de la flagoj ĉe la hejmpaĝo de via galerio.
\ No newline at end of file diff --git a/plugins/language_switch/language/es_ES/description.txt b/plugins/language_switch/language/es_ES/description.txt deleted file mode 100644 index 27ae2359e..000000000 --- a/plugins/language_switch/language/es_ES/description.txt +++ /dev/null @@ -1 +0,0 @@ -Cambiar el idioma de la galería con facilidad de las banderas de la página de inicio.
\ No newline at end of file diff --git a/plugins/language_switch/language/es_ES/index.php b/plugins/language_switch/language/es_ES/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/language_switch/language/es_ES/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based photo gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2014 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/language_switch/language/et_EE/description.txt b/plugins/language_switch/language/et_EE/description.txt deleted file mode 100755 index a1b4411f1..000000000 --- a/plugins/language_switch/language/et_EE/description.txt +++ /dev/null @@ -1 +0,0 @@ -Vali keel vajutades lipule su galerii leheküljel.
\ No newline at end of file diff --git a/plugins/language_switch/language/et_EE/index.php b/plugins/language_switch/language/et_EE/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/language_switch/language/et_EE/index.php +++ /dev/null @@ -1,7 +0,0 @@ -<?php -$url = '../'; -header( 'Request-URI: '.$url ); -header( 'Content-Location: '.$url ); -header( 'Location: '.$url ); -exit(); -?> diff --git a/plugins/language_switch/language/fa_IR/description.txt b/plugins/language_switch/language/fa_IR/description.txt deleted file mode 100755 index e33630fff..000000000 --- a/plugins/language_switch/language/fa_IR/description.txt +++ /dev/null @@ -1 +0,0 @@ -به کمک عکس پرچم ها در صفحه ی اصلی گالری خود ، زبان گالری را تغییر دهید.
\ No newline at end of file diff --git a/plugins/language_switch/language/fa_IR/index.php b/plugins/language_switch/language/fa_IR/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/language_switch/language/fa_IR/index.php +++ /dev/null @@ -1,7 +0,0 @@ -<?php -$url = '../'; -header( 'Request-URI: '.$url ); -header( 'Content-Location: '.$url ); -header( 'Location: '.$url ); -exit(); -?> diff --git a/plugins/language_switch/language/fi_FI/description.txt b/plugins/language_switch/language/fi_FI/description.txt deleted file mode 100755 index b03801e48..000000000 --- a/plugins/language_switch/language/fi_FI/description.txt +++ /dev/null @@ -1 +0,0 @@ -Vaihda kieltä klikkaamalla lippua gallerian etusivulta.
\ No newline at end of file diff --git a/plugins/language_switch/language/fr_CA/description.txt b/plugins/language_switch/language/fr_CA/description.txt deleted file mode 100644 index 42d4c3a04..000000000 --- a/plugins/language_switch/language/fr_CA/description.txt +++ /dev/null @@ -1 +0,0 @@ -Changez la langue de la galerie facilement à partir des drapeaux de la page d'accueil.
\ No newline at end of file diff --git a/plugins/language_switch/language/fr_CA/index.php b/plugins/language_switch/language/fr_CA/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/language_switch/language/fr_CA/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based photo gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2014 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/language_switch/language/fr_FR/description.txt b/plugins/language_switch/language/fr_FR/description.txt deleted file mode 100644 index 42d4c3a04..000000000 --- a/plugins/language_switch/language/fr_FR/description.txt +++ /dev/null @@ -1 +0,0 @@ -Changez la langue de la galerie facilement à partir des drapeaux de la page d'accueil.
\ No newline at end of file diff --git a/plugins/language_switch/language/fr_FR/index.php b/plugins/language_switch/language/fr_FR/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/language_switch/language/fr_FR/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based photo gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2014 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/language_switch/language/gl_ES/description.txt b/plugins/language_switch/language/gl_ES/description.txt deleted file mode 100755 index 38a63f14b..000000000 --- a/plugins/language_switch/language/gl_ES/description.txt +++ /dev/null @@ -1 +0,0 @@ -Muda a outro idioma empregando as bandeiras na páxina de inicio da túa galería.
\ No newline at end of file diff --git a/plugins/language_switch/language/he_IL/description.txt b/plugins/language_switch/language/he_IL/description.txt deleted file mode 100644 index 56956c159..000000000 --- a/plugins/language_switch/language/he_IL/description.txt +++ /dev/null @@ -1 +0,0 @@ -שנה לשפה אחרת מהדגל בדף הבית בגלריה שלך.
\ No newline at end of file diff --git a/plugins/language_switch/language/he_IL/index.php b/plugins/language_switch/language/he_IL/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/language_switch/language/he_IL/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based photo gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2014 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/language_switch/language/hr_HR/description.txt b/plugins/language_switch/language/hr_HR/description.txt deleted file mode 100644 index f1a3fd859..000000000 --- a/plugins/language_switch/language/hr_HR/description.txt +++ /dev/null @@ -1 +0,0 @@ -Prebacivanje na drugi jezik koristeći zastave na naslovnici galerije.
\ No newline at end of file diff --git a/plugins/language_switch/language/hr_HR/index.php b/plugins/language_switch/language/hr_HR/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/language_switch/language/hr_HR/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based photo gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2014 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/language_switch/language/hu_HU/description.txt b/plugins/language_switch/language/hu_HU/description.txt deleted file mode 100644 index 5326aebe7..000000000 --- a/plugins/language_switch/language/hu_HU/description.txt +++ /dev/null @@ -1 +0,0 @@ -Galéria nyelvének változtatása a honlapon, zászló segítségével. diff --git a/plugins/language_switch/language/hu_HU/index.php b/plugins/language_switch/language/hu_HU/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/language_switch/language/hu_HU/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based photo gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2014 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/language_switch/language/index.php b/plugins/language_switch/language/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/language_switch/language/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based photo gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2014 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/language_switch/language/it_IT/description.txt b/plugins/language_switch/language/it_IT/description.txt deleted file mode 100644 index f179c6871..000000000 --- a/plugins/language_switch/language/it_IT/description.txt +++ /dev/null @@ -1 +0,0 @@ -Cambiate facilmente la lingua della galleria grazie alle bandierine sulla pagina principale.
\ No newline at end of file diff --git a/plugins/language_switch/language/it_IT/index.php b/plugins/language_switch/language/it_IT/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/language_switch/language/it_IT/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based photo gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2014 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/language_switch/language/ja_JP/description.txt b/plugins/language_switch/language/ja_JP/description.txt deleted file mode 100644 index 8e5b3e8bc..000000000 --- a/plugins/language_switch/language/ja_JP/description.txt +++ /dev/null @@ -1 +0,0 @@ -ギャラリーホームページで国旗を選んで言語を選べる
\ No newline at end of file diff --git a/plugins/language_switch/language/ja_JP/index.php b/plugins/language_switch/language/ja_JP/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/language_switch/language/ja_JP/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based photo gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2014 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/language_switch/language/ka_GE/description.txt b/plugins/language_switch/language/ka_GE/description.txt deleted file mode 100644 index cfb0ab8b1..000000000 --- a/plugins/language_switch/language/ka_GE/description.txt +++ /dev/null @@ -1 +0,0 @@ -გადასვლა სხვა ენაზე დროშების საშუალებით თქვენი გალერეის მთავარ გვერდზე.
\ No newline at end of file diff --git a/plugins/language_switch/language/ka_GE/index.php b/plugins/language_switch/language/ka_GE/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/language_switch/language/ka_GE/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based photo gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2014 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/language_switch/language/km_KH/description.txt b/plugins/language_switch/language/km_KH/description.txt deleted file mode 100755 index daa1c0917..000000000 --- a/plugins/language_switch/language/km_KH/description.txt +++ /dev/null @@ -1 +0,0 @@ -ផ្តូរទៅភាសាដទៃទៀត ដោយការប្រើប្រាស់រូបទង់ជាតិលើទំព័រវិចិត្រសាលរបស់អ្នក។
\ No newline at end of file diff --git a/plugins/language_switch/language/km_KH/index.php b/plugins/language_switch/language/km_KH/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/language_switch/language/km_KH/index.php +++ /dev/null @@ -1,7 +0,0 @@ -<?php -$url = '../'; -header( 'Request-URI: '.$url ); -header( 'Content-Location: '.$url ); -header( 'Location: '.$url ); -exit(); -?> diff --git a/plugins/language_switch/language/kn_IN/description.txt b/plugins/language_switch/language/kn_IN/description.txt deleted file mode 100755 index 5f2373b76..000000000 --- a/plugins/language_switch/language/kn_IN/description.txt +++ /dev/null @@ -1 +0,0 @@ -ನಿಮ್ಮ ಚಿತ್ರಾಂಗಣದ (ಗ್ಯಾಲರಿಯ) ಮುಖಪುಟದಲ್ಲಿರುವ ಬಾವುಟಗಳ ಸಂಕೇತವನ್ನು ಬಳಸಿ ಬೇರೊಂದು ಭಾಷೆಗೆ ಬದಲಿಸಿ.
\ No newline at end of file diff --git a/plugins/language_switch/language/lt_LT/description.txt b/plugins/language_switch/language/lt_LT/description.txt deleted file mode 100755 index a90140a44..000000000 --- a/plugins/language_switch/language/lt_LT/description.txt +++ /dev/null @@ -1 +0,0 @@ -Savo galerijos pradiniame puslapyje galite perjungti kalbą naudodamiesi vėlevėlėmis.
\ No newline at end of file diff --git a/plugins/language_switch/language/lv_LV/description.txt b/plugins/language_switch/language/lv_LV/description.txt deleted file mode 100644 index 738fcc512..000000000 --- a/plugins/language_switch/language/lv_LV/description.txt +++ /dev/null @@ -1 +0,0 @@ -Pārslēgšanās uz citu valodu, izmantojot karodziņus Jūsu galerijas mājas lapā
\ No newline at end of file diff --git a/plugins/language_switch/language/lv_LV/index.php b/plugins/language_switch/language/lv_LV/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/language_switch/language/lv_LV/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based photo gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2014 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/language_switch/language/mn_MN/description.txt b/plugins/language_switch/language/mn_MN/description.txt deleted file mode 100755 index 730252509..000000000 --- a/plugins/language_switch/language/mn_MN/description.txt +++ /dev/null @@ -1 +0,0 @@ -Хэлээ солихыг хүсвэл нүүр хуудасан дахь далбааны зурагнаас сонгоно уу.
\ No newline at end of file diff --git a/plugins/language_switch/language/mn_MN/index.php b/plugins/language_switch/language/mn_MN/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/language_switch/language/mn_MN/index.php +++ /dev/null @@ -1,7 +0,0 @@ -<?php -$url = '../'; -header( 'Request-URI: '.$url ); -header( 'Content-Location: '.$url ); -header( 'Location: '.$url ); -exit(); -?> diff --git a/plugins/language_switch/language/nb_NO/description.txt b/plugins/language_switch/language/nb_NO/description.txt deleted file mode 100644 index 76986a928..000000000 --- a/plugins/language_switch/language/nb_NO/description.txt +++ /dev/null @@ -1 +0,0 @@ -Bytt til et annet språk via språkvelger på ditt galleris hjemmeside.
\ No newline at end of file diff --git a/plugins/language_switch/language/nb_NO/index.php b/plugins/language_switch/language/nb_NO/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/language_switch/language/nb_NO/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based photo gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2014 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/language_switch/language/nl_NL/description.txt b/plugins/language_switch/language/nl_NL/description.txt deleted file mode 100644 index 0935facf4..000000000 --- a/plugins/language_switch/language/nl_NL/description.txt +++ /dev/null @@ -1 +0,0 @@ -Gebruik de landen-vlaggetjes op uw galerie-startpagina om van taal te wisselen.
\ No newline at end of file diff --git a/plugins/language_switch/language/nl_NL/index.php b/plugins/language_switch/language/nl_NL/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/language_switch/language/nl_NL/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based photo gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2014 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/language_switch/language/nn_NO/description.txt b/plugins/language_switch/language/nn_NO/description.txt deleted file mode 100755 index b7f698c72..000000000 --- a/plugins/language_switch/language/nn_NO/description.txt +++ /dev/null @@ -1 +0,0 @@ -Bytt til eit anna språk ved å bruke flaggsymbol på startsida på galleriet.
\ No newline at end of file diff --git a/plugins/language_switch/language/pl_PL/description.txt b/plugins/language_switch/language/pl_PL/description.txt deleted file mode 100644 index d3669e017..000000000 --- a/plugins/language_switch/language/pl_PL/description.txt +++ /dev/null @@ -1 +0,0 @@ -Przełączanie na inny język poprzez ikony flag na stronie głównej Twojej galerii.
\ No newline at end of file diff --git a/plugins/language_switch/language/pl_PL/index.php b/plugins/language_switch/language/pl_PL/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/language_switch/language/pl_PL/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based photo gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2014 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/language_switch/language/pt_BR/description.txt b/plugins/language_switch/language/pt_BR/description.txt deleted file mode 100755 index 8d6d70854..000000000 --- a/plugins/language_switch/language/pt_BR/description.txt +++ /dev/null @@ -1 +0,0 @@ -Troque para outro idioma usando as bandeiras na página da sua galeria. diff --git a/plugins/language_switch/language/pt_BR/index.php b/plugins/language_switch/language/pt_BR/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/language_switch/language/pt_BR/index.php +++ /dev/null @@ -1,7 +0,0 @@ -<?php -$url = '../'; -header( 'Request-URI: '.$url ); -header( 'Content-Location: '.$url ); -header( 'Location: '.$url ); -exit(); -?> diff --git a/plugins/language_switch/language/pt_PT/description.txt b/plugins/language_switch/language/pt_PT/description.txt deleted file mode 100644 index b54b2a2da..000000000 --- a/plugins/language_switch/language/pt_PT/description.txt +++ /dev/null @@ -1 +0,0 @@ -Mude para outro idioma clicando na bandeira correspondente ao idioma existentes na página de entrada da sua galeria.
\ No newline at end of file diff --git a/plugins/language_switch/language/pt_PT/index.php b/plugins/language_switch/language/pt_PT/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/language_switch/language/pt_PT/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based photo gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2014 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/language_switch/language/ro_RO/description.txt b/plugins/language_switch/language/ro_RO/description.txt deleted file mode 100755 index 97b3cb098..000000000 --- a/plugins/language_switch/language/ro_RO/description.txt +++ /dev/null @@ -1 +0,0 @@ -Comutați într-o o altă limbă folosind steagurile de pe pagina de start a galeriei.
\ No newline at end of file diff --git a/plugins/language_switch/language/ru_RU/description.txt b/plugins/language_switch/language/ru_RU/description.txt deleted file mode 100644 index 487dbe6e7..000000000 --- a/plugins/language_switch/language/ru_RU/description.txt +++ /dev/null @@ -1 +0,0 @@ -Позволяет переключать языки, нажимая на картинки флажков на главной странице Вашей галереи.
\ No newline at end of file diff --git a/plugins/language_switch/language/ru_RU/index.php b/plugins/language_switch/language/ru_RU/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/language_switch/language/ru_RU/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based photo gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2014 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/language_switch/language/sh_RS/description.txt b/plugins/language_switch/language/sh_RS/description.txt deleted file mode 100755 index d01b7f940..000000000 --- a/plugins/language_switch/language/sh_RS/description.txt +++ /dev/null @@ -1 +0,0 @@ -Promenite jezik preko zastavica na početnoj strani Vaše galerije.
\ No newline at end of file diff --git a/plugins/language_switch/language/sk_SK/description.txt b/plugins/language_switch/language/sk_SK/description.txt deleted file mode 100644 index 45368c7ab..000000000 --- a/plugins/language_switch/language/sk_SK/description.txt +++ /dev/null @@ -1 +0,0 @@ -Prepínac na iný jazyk z vlajok vo Vašej galérii.
\ No newline at end of file diff --git a/plugins/language_switch/language/sk_SK/index.php b/plugins/language_switch/language/sk_SK/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/language_switch/language/sk_SK/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based photo gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2014 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/language_switch/language/sl_SI/description.txt b/plugins/language_switch/language/sl_SI/description.txt deleted file mode 100755 index eed62d857..000000000 --- a/plugins/language_switch/language/sl_SI/description.txt +++ /dev/null @@ -1 +0,0 @@ -Za spremembo jezika kliknite zastavico na domači strani galerije. diff --git a/plugins/language_switch/language/sr_RS/description.txt b/plugins/language_switch/language/sr_RS/description.txt deleted file mode 100644 index 2ade27bb8..000000000 --- a/plugins/language_switch/language/sr_RS/description.txt +++ /dev/null @@ -1 +0,0 @@ -Промена на други језик преко заставе на почетној страници Ваше галерије.
\ No newline at end of file diff --git a/plugins/language_switch/language/sr_RS/index.php b/plugins/language_switch/language/sr_RS/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/language_switch/language/sr_RS/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based photo gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2014 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/language_switch/language/sv_SE/description.txt b/plugins/language_switch/language/sv_SE/description.txt deleted file mode 100644 index 07efaacac..000000000 --- a/plugins/language_switch/language/sv_SE/description.txt +++ /dev/null @@ -1 +0,0 @@ -Byt till annat språk via flaggorna på ditt galleris hemsida.
\ No newline at end of file diff --git a/plugins/language_switch/language/sv_SE/index.php b/plugins/language_switch/language/sv_SE/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/language_switch/language/sv_SE/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based photo gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2014 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/language_switch/language/ta_IN/description.txt b/plugins/language_switch/language/ta_IN/description.txt deleted file mode 100755 index cf89b8502..000000000 --- a/plugins/language_switch/language/ta_IN/description.txt +++ /dev/null @@ -1 +0,0 @@ -உங்கள் கேலரி இல்லப்பக்கத்தில் கொடிகளை பயன்படுத்தி வேறு ஒரு மொழியை மாற்றவும்.
\ No newline at end of file diff --git a/plugins/language_switch/language/th_TH/description.txt b/plugins/language_switch/language/th_TH/description.txt deleted file mode 100644 index 37737c294..000000000 --- a/plugins/language_switch/language/th_TH/description.txt +++ /dev/null @@ -1 +0,0 @@ -สลับใช้ภาษาอื่นได้ง่ายๆ โดยคลิกรูปธงบนหน้าเว็บแกลลอรี่ของคุณ.
\ No newline at end of file diff --git a/plugins/language_switch/language/th_TH/index.php b/plugins/language_switch/language/th_TH/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/language_switch/language/th_TH/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based photo gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2014 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/language_switch/language/tr_TR/description.txt b/plugins/language_switch/language/tr_TR/description.txt deleted file mode 100644 index f94f6ed64..000000000 --- a/plugins/language_switch/language/tr_TR/description.txt +++ /dev/null @@ -1 +0,0 @@ -Ana sayfadaki dil bayraklarından dil değişimi.
\ No newline at end of file diff --git a/plugins/language_switch/language/tr_TR/index.php b/plugins/language_switch/language/tr_TR/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/language_switch/language/tr_TR/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based photo gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2014 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/language_switch/language/uk_UA/description.txt b/plugins/language_switch/language/uk_UA/description.txt deleted file mode 100644 index 3492ace9d..000000000 --- a/plugins/language_switch/language/uk_UA/description.txt +++ /dev/null @@ -1 +0,0 @@ -Перехід на іншу мову з прапорами на вашій домашній сторінці галереї.
\ No newline at end of file diff --git a/plugins/language_switch/language/vi_VN/description.txt b/plugins/language_switch/language/vi_VN/description.txt deleted file mode 100644 index 0119bddf5..000000000 --- a/plugins/language_switch/language/vi_VN/description.txt +++ /dev/null @@ -1 +0,0 @@ -Chuyển sang ngôn ngữ khác từ biểu tượng lá cờ trên trang chủ Thư viện hình của bạn.
\ No newline at end of file diff --git a/plugins/language_switch/language/vi_VN/index.php b/plugins/language_switch/language/vi_VN/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/language_switch/language/vi_VN/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based photo gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2014 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/language_switch/language/zh_CN/description.txt b/plugins/language_switch/language/zh_CN/description.txt deleted file mode 100644 index be6e40007..000000000 --- a/plugins/language_switch/language/zh_CN/description.txt +++ /dev/null @@ -1 +0,0 @@ -在您的Piwigo首页使用旗帜图标来选择其他语言
\ No newline at end of file diff --git a/plugins/language_switch/language/zh_CN/index.php b/plugins/language_switch/language/zh_CN/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/language_switch/language/zh_CN/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based photo gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2014 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/language_switch/language/zh_HK/description.txt b/plugins/language_switch/language/zh_HK/description.txt deleted file mode 100755 index ced411ff9..000000000 --- a/plugins/language_switch/language/zh_HK/description.txt +++ /dev/null @@ -1 +0,0 @@ -使用照片庫主頁的旗幟圖標切換語言
\ No newline at end of file diff --git a/plugins/language_switch/language/zh_TW/description.txt b/plugins/language_switch/language/zh_TW/description.txt deleted file mode 100644 index e913d670e..000000000 --- a/plugins/language_switch/language/zh_TW/description.txt +++ /dev/null @@ -1 +0,0 @@ -從你的相簿主頁,直接點選國旗以切換使用語言。
\ No newline at end of file diff --git a/plugins/language_switch/language/zh_TW/index.php b/plugins/language_switch/language/zh_TW/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/language_switch/language/zh_TW/index.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based photo gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2014 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/language_switch/language_switch.css b/plugins/language_switch/language_switch.css deleted file mode 100644 index 356a43e32..000000000 --- a/plugins/language_switch/language_switch.css +++ /dev/null @@ -1,274 +0,0 @@ -#languageSwitchBox a { - display:inline-block; - width:130px; - text-decoration:none; - border:none; - text-transform:none; - margin-bottom:3px; - text-overflow:ellipsis; - white-space:nowrap; - overflow:hidden; - line-height:1.2em; -} -#languageSwitchLink span { - margin-bottom:5px; - margin-top:5px; -} -[class*="langflag-"] { - background-image:url('flag_sprite.jpg') !important; - background-repeat:no-repeat; - background-position:24px 16px; - margin-right:3px; - width:24px; - height:16px; - direction:ltr; -} - -/** Change the langflag-XX label to match a new language. All flags are represented there**/ -.langflag-ad { background-position:0px 0px; } -.langflag-ae { background-position:-24px 0px; } -.langflag-af { background-position:-48px 0px; } -.langflag-ag { background-position:-72px 0px; } -.langflag-al { background-position:-96px 0px; } -.langflag-am { background-position:-120px 0px; } -.langflag-an { background-position:-144px 0px; } -.langflag-ao { background-position:-168px 0px; } -.langflag-es_AR { background-position:-192px 0px; } -.langflag-as { background-position:-216px 0px; } -.langflag-at { background-position:-240px 0px; } -.langflag-aw { background-position:-264px 0px; } -.langflag-ax { background-position:-288px 0px; } -.langflag-az_AZ { background-position:-312px 0px; } -.langflag-ba { background-position:-336px 0px; } -.langflag-bb { background-position:0px -16px; } -.langflag-bd { background-position:-24px -16px; } -.langflag-be { background-position:-48px -16px; } -.langflag-bf { background-position:-72px -16px; } -.langflag-bg_BG { background-position:-96px -16px; } -.langflag-bh { background-position:-120px -16px; } -.langflag-bi { background-position:-144px -16px; } -.langflag-bj { background-position:-168px -16px; } -.langflag-bl { background-position:-192px -16px; } -.langflag-bm { background-position:-216px -16px; } -.langflag-bn{ background-position:-240px -16px; } -.langflag-bo { background-position:-264px -16px; } -.langflag-bonaire { background-position:-288px -16px; } -.langflag-pt_BR { background-position:-312px -16px; } -.langflag-bs { background-position:-336px -16px; } -.langflag-bt { background-position:0px -32px; } -.langflag-bv { background-position:-24px -32px; } -.langflag-bw { background-position:-48px -32px; } -.langflag-by { background-position:-72px -32px; } -.langflag-bz { background-position:-96px -32px; } -.langflag-ca { background-position:-120px -32px; } -.langflag-ca_ES { background-position:-144px -32px; } -.langflag-cc { background-position:-168px -32px; } -.langflag-cd { background-position:-192px -32px; } -.langflag-cf { background-position:-216px -32px; } -.langflag-cg { background-position:-240px -32px; } -.langflag-ch { background-position:-264px -32px; } -.langflag-ci { background-position:-288px -32px; } -.langflag-cl { background-position:-312px -32px; } -.langflag-cm { background-position:-336px -32px; } -.langflag-zh_CN { background-position:0px -48px; } -.langflag-co { background-position:-24px -48px; } -.langflag-cr { background-position:-48px -48px; } -.langflag-cs_CZ { background-position:-72px -48px; } -.langflag-cu { background-position:-96px -48px; } -.langflag-cv { background-position:-120px -48px; } -.langflag-cx { background-position:-144px -48px; } -.langflag-cy { background-position:-168px -48px; } -.langflag-cz { background-position:-192px -48px; } -.langflag-de_DE { background-position:-216px -48px; } -.langflag-dj { background-position:-240px -48px; } -.langflag-da_DK { background-position:-264px -48px; } -.langflag-dm { background-position:-288px -48px; } -.langflag-do { background-position:-312px -48px; } -.langflag-dz { background-position:-336px -48px; } -.langflag-ec { background-position:0px -64px; } -.langflag-et_EE { background-position:-24px -64px; } -.langflag-eg { background-position:-48px -64px; } -.langflag-eh { background-position:-72px -64px; } -.langflag-en_UK { background-position:-96px -64px; } -.langflag-eo_EO { background-position:-120px -64px; } -.langflag-er { background-position:-144px -64px; } -.langflag-es_ES { background-position:-168px -64px; } -.langflag-et { background-position:-192px -64px; } -.langflag-fi_FI { background-position:-216px -64px; } -.langflag-fm { background-position:-240px -64px; } -.langflag-fo { background-position:-264px -64px; } -.langflag-fr_FR { background-position:-288px -64px; } -.langflag-ga { background-position:-312px -64px; } -.langflag-gb { background-position:-336px -64px; } -.langflag-en_GB { background-position:-336px -64px; } -.langflag-gd { background-position:0px -80px; } -.langflag-ka_GE { background-position:-24px -80px; } -.langflag-gg { background-position:-48px -80px; } -.langflag-gh { background-position:-72px -80px; } -.langflag-gi { background-position:-96px -80px; } -.langflag-gl { background-position:-120px -80px; } -.langflag-gm { background-position:-144px -80px; } -.langflag-gn { background-position:-168px -80px; } -.langflag-gq { background-position:-192px -80px; } -.langflag-el_GR { background-position:-216px -80px; } -.langflag-gt { background-position:-240px -80px; } -.langflag-gu { background-position:-264px -80px; } -.langflag-gw { background-position:-288px -80px; } -.langflag-gy { background-position:-312px -80px; } -.langflag-zh_HK { background-position:-336px -80px; } -.langflag-hn { background-position:0px -96px; } -.langflag-hr_HR { background-position:-24px -96px; } -.langflag-ht { background-position:-48px -96px; } -.langflag-hu_HU { background-position:-72px -96px; } -.langflag-id_ID { background-position:-96px -96px; } -.langflag-ie { background-position:-120px -96px; } -.langflag-ga_IE { background-position:-120px -96px; } -.langflag-he_IL { background-position:-144px -96px; } -.langflag-im { background-position:-168px -96px; } -.langflag-kok_IN { background-position:-192px -96px; } -.langflag-ta_IN { background-position:-192px -96px; } -.langflag-bn_IN { background-position:-192px -96px; } -.langflag-kn_IN { background-position:-192px -96px; } -.langflag-gu_IN { background-position:-192px -96px; } -.langflag-iq { background-position:-216px -96px; } -.langflag-fa_IR { background-position:-240px -96px; } -.langflag-is_IS { background-position:-264px -96px; } -.langflag-it_IT { background-position:-288px -96px; } -.langflag-je { background-position:-312px -96px; } -.langflag-jm { background-position:-336px -96px; } -.langflag-jo { background-position:0px -112px; } -.langflag-ja_JP { background-position:-24px -112px; } -.langflag-ke { background-position:-48px -112px; } -.langflag-kg { background-position:-72px -112px; } -.langflag-km_KH { background-position:-96px -112px; } -.langflag-ki { background-position:-120px -112px; } -.langflag-km { background-position:-144px -112px; } -.langflag-kn { background-position:-168px -112px; } -.langflag-kosovo { background-position:-192px -112px; } -.langflag-kp { background-position:-216px -112px; } -.langflag-ko_KR { background-position:-240px -112px; } -.langflag-kw { background-position:-264px -112px; } -.langflag-kz { background-position:-288px -112px; } -.langflag-la { background-position:-312px -112px; } -.langflag-lb { background-position:-336px -112px; } -.langflag-lc { background-position:0px -128px; } -.langflag-li { background-position:-24px -128px; } -.langflag-lk { background-position:-48px -128px; } -.langflag-lr { background-position:-72px -128px; } -.langflag-ls { background-position:-96px -128px; } -.langflag-lt_LT { background-position:-120px -128px; } -.langflag-lu { background-position:-144px -128px; } -.langflag-lb_LU { background-position:-144px -128px; } -.langflag-lv_LV { background-position:-168px -128px; } -.langflag-ly { background-position:-192px -128px; } -.langflag-ar_MA { background-position:-216px -128px; } -.langflag-mc { background-position:-240px -128px; } -.langflag-md { background-position:-264px -128px; } -.langflag-me { background-position:-288px -128px; } -.langflag-mg { background-position:-312px -128px; } -.langflag-mh { background-position:-336px -128px; } -.langflag-mk_MK { background-position:0px -144px; } -.langflag-ml { background-position:-24px -144px; } -.langflag-mm { background-position:-48px -144px; } -.langflag-mn_MN { background-position:-72px -144px; } -.langflag-mo { background-position:-96px -144px; } -.langflag-mp { background-position:-120px -144px; } -.langflag-mq { background-position:-144px -144px; } -.langflag-mr { background-position:-168px -144px; } -.langflag-mt { background-position:-192px -144px; } -.langflag-mu { background-position:-216px -144px; } -.langflag-dv_MV { background-position:-240px -144px; } -.langflag-mw { background-position:-264px -144px; } -.langflag-mx { background-position:-288px -144px; } -.langflag-es_MX { background-position:-288px -144px; } -.langflag-ms_MY { background-position:-312px -144px; } -.langflag-mz { background-position:-336px -144px; } -.langflag-na { background-position:0px -160px; } -.langflag-ne { background-position:-24px -160px; } -.langflag-nf { background-position:-48px -160px; } -.langflag-ng { background-position:-72px -160px; } -.langflag-ni { background-position:-96px -160px; } -.langflag-nl_NL { background-position:-120px -160px; } -.langflag-nb_NO { background-position:-144px -160px; } -.langflag-nn_NO { background-position:-144px -160px; } -.langflag-np { background-position:-168px -160px; } -.langflag-nr { background-position:-192px -160px; } -.langflag-nu { background-position:-216px -160px; } -.langflag-om { background-position:-240px -160px; } -.langflag-pa { background-position:-264px -160px; } -.langflag-pe { background-position:-288px -160px; } -.langflag-pf { background-position:-312px -160px; } -.langflag-pg { background-position:-336px -160px; } -.langflag-ph { background-position:0px -176px; } -.langflag-pk { background-position:-24px -176px; } -.langflag-pl_PL { background-position:-48px -176px; } -.langflag-pm { background-position:-72px -176px; } -.langflag-pr { background-position:-96px -176px; } -.langflag-ps { background-position:-120px -176px; } -.langflag-pt_PT { background-position:-144px -176px; } -.langflag-pw { background-position:-168px -176px; } -.langflag-py { background-position:-192px -176px; } -.langflag-qa { background-position:-216px -176px; } -.langflag-fr_CA { background-position:-240px -176px; } -.langflag-ro_RO { background-position:-264px -176px; } -.langflag-sh_RS { background-position:-288px -176px; } -.langflag-sr_RS { background-position:-288px -176px; } -.langflag-ru_RU { background-position:-312px -176px; } -.langflag-rw { background-position:-336px -176px; } -.langflag-ar_SA { background-position:0px -192px; } -.langflag-saba { background-position:-24px -192px; } -.langflag-sark { background-position:-48px -192px; } -.langflag-sb { background-position:-72px -192px; } -.langflag-sc { background-position:-96px -192px; } -.langflag-scotland { background-position:-120px -192px; } -.langflag-sd { background-position:-144px -192px; } -.langflag-sv_SE { background-position:-168px -192px; } -.langflag-sg { background-position:-192px -192px; } -.langflag-sl_SI { background-position:-216px -192px; } -.langflag-sj { background-position:-240px -192px; } -.langflag-sk_SK { background-position:-264px -192px; } -.langflag-sl { background-position:-288px -192px; } -.langflag-sm { background-position:-312px -192px; } -.langflag-sn { background-position:-336px -192px; } -.langflag-wo_SN { background-position:-336px -192px; } -.langflag-so { background-position:0px -208px; } -.langflag-sr { background-position:-24px -208px; } -.langflag-st { background-position:-48px -208px; } -.langflag-sv { background-position:-72px -208px; } -.langflag-sy { background-position:-96px -208px; } -.langflag-sz { background-position:-120px -208px; } -.langflag-td { background-position:-144px -208px; } -.langflag-tg { background-position:-168px -208px; } -.langflag-th_TH { background-position:-192px -208px; } -.langflag-tj { background-position:-216px -208px; } -.langflag-tk { background-position:-240px -208px; } -.langflag-tl { background-position:-264px -208px; } -.langflag-tm { background-position:-288px -208px; } -.langflag-tn { background-position:-312px -208px; } -.langflag-to { background-position:-336px -208px; } -.langflag-tr_TR { background-position:0px -224px; } -.langflag-tt { background-position:-24px -224px; } -.langflag-zh_TW{ background-position:-48px -224px; } -.langflag-tz { background-position:-72px -224px; } -.langflag-uk_UA { background-position:-96px -224px; } -.langflag-ug { background-position:-120px -224px; } -.langflag-en_US { background-position:-144px -224px; } -.langflag-uy { background-position:-168px -224px; } -.langflag-uz { background-position:-192px -224px; } -.langflag-va { background-position:-216px -224px; } -.langflag-vc { background-position:-240px -224px; } -.langflag-ve { background-position:-264px -224px; } -.langflag-vi { background-position:-288px -224px; } -.langflag-vi_VN { background-position:-312px -224px; } -.langflag-vu { background-position:-336px -224px; } -.langflag-wales { background-position:0px -240px; } -.langflag-wf { background-position:-24px -240px; } -.langflag-ws { background-position:-48px -240px; } -.langflag-ye { background-position:-72px -240px; } -.langflag-yt { background-position:-96px -240px; } -.langflag-af_ZA { background-position:-120px -240px; } -.langflag-zm { background-position:-144px -240px; } -.langflag-zw { background-position:-168px -240px; } -.langflag-gl_ES { background-position:-192px -240px; } -.langflag-br_FR { background-position:-216px -240px; } -.langflag-eu_ES { background-position:-240px -240px; }
\ No newline at end of file diff --git a/plugins/language_switch/language_switch.inc.php b/plugins/language_switch/language_switch.inc.php deleted file mode 100644 index 8a7e62817..000000000 --- a/plugins/language_switch/language_switch.inc.php +++ /dev/null @@ -1,140 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based photo gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2014 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. | -// +-----------------------------------------------------------------------+ - -if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); - -function language_controler_switch() -{ - global $user; - - $same = $user['language']; - - if (isset($_GET['lang'])) - { - include_once(PHPWG_ROOT_PATH . 'admin/include/languages.class.php'); - $languages = new languages(); - if ( !in_array($_GET['lang'], array_keys($languages->fs_languages)) ) - { - $_GET['lang'] = PHPWG_DEFAULT_LANGUAGE; - } - - if ( !empty($_GET['lang']) and file_exists(PHPWG_ROOT_PATH.'language/'.$_GET['lang'].'/common.lang.php') ) - { - if ( is_a_guest() or is_generic() ) - { - pwg_set_session_var('lang_switch', $_GET['lang']); - } - else - { - $query = ' -UPDATE '.USER_INFOS_TABLE.' - SET language = \''.$_GET['lang'].'\' - WHERE user_id = '.$user['id'].' -;'; - pwg_query($query); - } - - $user['language'] = $_GET['lang']; - } - } - elseif ( (is_a_guest() or is_generic()) ) - { - $user['language'] = pwg_get_session_var('lang_switch', $user['language']); - } - - // Reload language only if it isn't the same one - if ( $same !== $user['language'] ) - { - load_language('common.lang', '', array('language'=>$user['language'])); - - load_language( - 'lang', - PHPWG_ROOT_PATH.PWG_LOCAL_DIR, - array( - 'language' => $user['language'], - 'no_fallback' => true, - 'local' => true - ) - ); - - if ( defined('IN_ADMIN') and IN_ADMIN ) - { - // Never currently - load_language('admin.lang', '', array('language'=>$user['language'])); - } - } -} - -function language_controler_flags() -{ - global $user, $template, $conf, $page; - - $available_lang = get_languages(); - - if (isset($conf['no_flag_languages'])) - { - $available_lang = array_diff_key($available_lang, array_flip($conf['no_flag_languages'])); - } - - $url_starting = get_query_string_diff(array('lang')); - - if (isset($page['section']) and $page['section'] == 'additional_page' and isset($page['additional_page'])) - { - $base_url = make_index_url(array('section'=>'page')).'/'.(isset($page['additional_page']['permalink']) ? $page['additional_page']['permalink'] : $page['additional_page']['id']); - } - else - { - $base_url = duplicate_index_url(); - } - - foreach ($available_lang as $code => $displayname) - { - $qlc = array ( - 'url' => add_url_params($base_url, array('lang'=> $code)), - 'alt' => ucwords($displayname), - 'title' => substr($displayname, 0, -4), // remove [FR] or [RU] - 'code' => $code, - ); - - $lsw['flags'][$code] = $qlc; - - if ($code == $user['language']) - { - $lsw['Active'] = $qlc; - } - } - - $safe_themes = array('clear','dark','elegant','Sylvia','simple-grey','simple-black','simple-white','kardon','luciano','montblancxl'); // stripped (2.6) - - $template->assign(array( - 'lang_switch'=> $lsw, - 'LANGUAGE_SWITCH_PATH' => LANGUAGE_SWITCH_PATH, - 'LANGUAGE_SWITCH_LOAD_STYLE' => !in_array($user['theme'], $safe_themes), - )); - - $template->set_filename('language_flags', dirname(__FILE__) . '/flags.tpl'); - $template->concat('PLUGIN_INDEX_ACTIONS', $template->parse('language_flags', true) ); - $template->clear_assign('lang_switch'); -} - -?>
\ No newline at end of file diff --git a/plugins/language_switch/main.inc.php b/plugins/language_switch/main.inc.php deleted file mode 100644 index 53909f360..000000000 --- a/plugins/language_switch/main.inc.php +++ /dev/null @@ -1,42 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based photo gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2014 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. | -// +-----------------------------------------------------------------------+ - -/* -Plugin Name: Language Switch -Version: 2.7.2 -Description: Switch to another language from flags on your gallery home page. -Plugin URI: http://piwigo.org/ext/extension_view.php?eid=123 -Author: Piwigo team -Author URI: http://piwigo.org -*/ - -if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); - -define('LANGUAGE_SWITCH_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/'); - -include_once(LANGUAGE_SWITCH_PATH.'language_switch.inc.php'); - -add_event_handler('loading_lang', 'language_controler_switch', 5 ); -add_event_handler('loc_end_index', 'language_controler_flags', 95 ); - -?>
\ No newline at end of file diff --git a/plugins/language_switch/style.css b/plugins/language_switch/style.css deleted file mode 100644 index 476ab4a66..000000000 --- a/plugins/language_switch/style.css +++ /dev/null @@ -1,29 +0,0 @@ -#languageSwitchBox { - padding: 0.5em 5px; - border-radius: 4px; - z-index: 100; - text-align:left; - display: none; - position: absolute; - left: 0; top: 0; /*left, right set through js*/ - background-color: #555; - border: 1px solid #000; -} - -#languageSwitchBox .switchBoxTitle { - padding-bottom:5px; - margin-bottom:5px; - border-bottom: 1px solid #444; -} -#languageSwitchBox a { - color:#aaa; -} -#languageSwitchBox a:hover { - color:#ddd; -} - -[class*="langflag-"] { - overflow: hidden; - text-indent: -9999px; - vertical-align: bottom; -} |