aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2011-08-22 17:14:13 +0000
committerplegall <plg@piwigo.org>2011-08-22 17:14:13 +0000
commit58b18bff0f08daa482c7949e1487ffccf00463a5 (patch)
treeb4fc9a21d4b892a0c274958f818dc26f0e5e58be
parent24ab1e2467a178817735b9049e4a8a6612e13d41 (diff)
feature 2413 added: move gallery_url configuration parameter from database to
local configuration file. git-svn-id: http://piwigo.org/svn/trunk@11978 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--admin/configuration.php1
-rw-r--r--admin/themes/default/template/configuration.tpl7
-rw-r--r--include/config_default.inc.php5
-rw-r--r--install/db/110-database.php117
-rw-r--r--language/ar_SA/admin.lang.php1
-rw-r--r--language/ca_ES/admin.lang.php1
-rw-r--r--language/cs_CZ/admin.lang.php1
-rw-r--r--language/da_DK/admin.lang.php1
-rw-r--r--language/de_DE/admin.lang.php1
-rw-r--r--language/en_UK/admin.lang.php1
-rw-r--r--language/es_ES/admin.lang.php1
-rw-r--r--language/fa_IR/admin.lang.php1
-rw-r--r--language/fr_CA/admin.lang.php1
-rw-r--r--language/fr_FR/admin.lang.php1
-rw-r--r--language/he_IL/admin.lang.php1
-rw-r--r--language/hr_HR/admin.lang.php1
-rw-r--r--language/hu_HU/admin.lang.php1
-rw-r--r--language/it_IT/admin.lang.php1
-rw-r--r--language/ja_JP/admin.lang.php1
-rw-r--r--language/ka_GE/admin.lang.php1
-rw-r--r--language/lv_LV/admin.lang.php1
-rw-r--r--language/nl_NL/admin.lang.php1
-rw-r--r--language/no_NO/admin.lang.php1
-rw-r--r--language/pl_PL/admin.lang.php1
-rw-r--r--language/pt_BR/admin.lang.php1
-rw-r--r--language/pt_PT/admin.lang.php1
-rw-r--r--language/ro_RO/admin.lang.php1
-rw-r--r--language/ru_RU/admin.lang.php1
-rw-r--r--language/sh_RS/admin.lang.php1
-rw-r--r--language/sk_SK/admin.lang.php1
-rw-r--r--language/sr_RS/admin.lang.php1
-rw-r--r--language/sv_SE/admin.lang.php1
-rw-r--r--language/tr_TR/admin.lang.php1
-rw-r--r--language/uk_UA/admin.lang.php1
-rw-r--r--language/vi_VN/admin.lang.php1
-rw-r--r--language/zh_CN/admin.lang.php1
-rw-r--r--language/zh_TW/admin.lang.php1
37 files changed, 122 insertions, 41 deletions
diff --git a/admin/configuration.php b/admin/configuration.php
index 9915af3cc..53916199f 100644
--- a/admin/configuration.php
+++ b/admin/configuration.php
@@ -327,7 +327,6 @@ switch ($page['section'])
array(
'CONF_GALLERY_TITLE' => htmlspecialchars($conf['gallery_title']),
'CONF_PAGE_BANNER' => htmlspecialchars($conf['page_banner']),
- 'CONF_GALLERY_URL' => $conf['gallery_url'],
'week_starts_on_options' => array(
'sunday' => $lang['day'][0],
'monday' => $lang['day'][1],
diff --git a/admin/themes/default/template/configuration.tpl b/admin/themes/default/template/configuration.tpl
index 895d52295..205d5ffb0 100644
--- a/admin/themes/default/template/configuration.tpl
+++ b/admin/themes/default/template/configuration.tpl
@@ -26,13 +26,6 @@
</span>
<textarea rows="5" cols="50" class="description" name="page_banner" id="page_banner">{$main.CONF_PAGE_BANNER}</textarea>
</li>
-
- <li>
- <span class="property">
- <label for="gallery_url">{'Gallery URL'|@translate}</label>
- </span>
- <input type="text" maxlength="255" size="50" name="gallery_url" id="gallery_url" value="{$main.CONF_GALLERY_URL}">
- </li>
</ul>
</fieldset>
diff --git a/include/config_default.inc.php b/include/config_default.inc.php
index f15ed0fb1..06d01a396 100644
--- a/include/config_default.inc.php
+++ b/include/config_default.inc.php
@@ -554,6 +554,11 @@ $conf['nb_logs_page'] = 300;
// | urls |
// +-----------------------------------------------------------------------+
+// gallery_url : you can set a specific URL for the home page of your
+// gallery. This is for very specific use and you don't need to change this
+// setting when move your gallery to a new directory or a new domain name.
+$conf['gallery_url'] = null;
+
// question_mark_in_urls : the generated urls contain a ? sign. This can be
// changed to false only if the server translates PATH_INFO variable
// (depends on the server AcceptPathInfo directive configuration)
diff --git a/install/db/110-database.php b/install/db/110-database.php
new file mode 100644
index 000000000..968735e73
--- /dev/null
+++ b/install/db/110-database.php
@@ -0,0 +1,117 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2011 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. |
+// +-----------------------------------------------------------------------+
+
+defined('PHPWG_ROOT_PATH') or die('Hacking attempt!');
+
+$upgrade_description = 'Move "gallery_url" parameter from config table to local configuration file';
+
+include_once(PHPWG_ROOT_PATH.'include/constants.php');
+
+if (!isset($page))
+{
+ $page = array();
+}
+
+if (!isset($page['errors']))
+{
+ $page['errors'] = array();
+}
+
+$query = '
+SELECT
+ value
+ FROM '.CONFIG_TABLE.'
+ WHERE param =\'gallery_url\'
+;';
+list($gallery_url) = pwg_db_fetch_row(pwg_query($query));
+
+if (!empty($gallery_url))
+{
+ // let's try to write it in the local configuration file
+ $local_conf = PHPWG_ROOT_PATH. 'local/config/config.inc.php';
+ if (isset($conf['local_dir_site']))
+ {
+ $local_conf = PHPWG_ROOT_PATH.PWG_LOCAL_DIR.'config/config.inc.php';
+ }
+
+ $conf_line = '$conf[\'gallery_url\'] = \''.$gallery_url.'\';';
+
+ if (!is_file($local_conf))
+ {
+ $config_file_contents_new = "<?php\n".$conf_line."\n?>";
+ }
+ else
+ {
+ // we have to update the local conf
+ $config_file_contents = @file_get_contents($local_conf);
+ if ($config_file_contents === false)
+ {
+ $error = 'Cannot load '.$local_conf.', add by hand: '.$conf_line;
+
+ array_push($page['errors'], $error);
+ echo $error;
+ }
+ else
+ {
+ $php_end_tag = strrpos($config_file_contents, '?'.'>');
+ if ($php_end_tag === false)
+ {
+ // the file is empty
+ $config_file_contents_new = "<?php\n".$conf_line."\n?>";
+ }
+ else
+ {
+ $config_file_contents_new =
+ substr($config_file_contents, 0, $php_end_tag) . "\n"
+ .$conf_line."\n"
+ .substr($config_file_contents, $php_end_tag)
+ ;
+ }
+ }
+ }
+
+ if (isset($config_file_contents_new))
+ {
+ if (!@file_put_contents($local_conf, $config_file_contents_new))
+ {
+ $error = 'Cannot write into local configuration file '.$local_conf.', add by hand: '.$conf_line;
+
+ array_push($page['errors'], $error);
+ echo $error;
+ }
+ }
+}
+
+$query = '
+DELETE
+ FROM '.CONFIG_TABLE.'
+ WHERE param =\'gallery_url\'
+;';
+pwg_query($query);
+
+echo
+"\n"
+. $upgrade_description
+."\n"
+;
+?> \ No newline at end of file
diff --git a/language/ar_SA/admin.lang.php b/language/ar_SA/admin.lang.php
index b04245686..d2edc03c8 100644
--- a/language/ar_SA/admin.lang.php
+++ b/language/ar_SA/admin.lang.php
@@ -84,7 +84,6 @@ $lang['Email admins when a valid comment is entered'] = 'اعلم المدير
$lang['Email admins when a comment requires validation'] = 'اعلم المدير للمصادقة على تعليقات جديدة';
$lang['Environment'] = 'البيئة';
$lang['Form'] = 'نموذج';
-$lang['Gallery URL'] = 'عنوان المعرض';
$lang['Gallery title'] = 'عنوان المعرض';
$lang['Grant selected groups'] = 'تصريح المجموعه المختارة';
$lang['Grant selected users'] = 'تصريح المستخدم المختار';
diff --git a/language/ca_ES/admin.lang.php b/language/ca_ES/admin.lang.php
index a5e45d3ae..e9e0d644e 100644
--- a/language/ca_ES/admin.lang.php
+++ b/language/ca_ES/admin.lang.php
@@ -84,7 +84,6 @@ $lang['Email admins when a valid comment is entered'] = 'Envia un correu electr
$lang['Email admins when a comment requires validation'] = 'Envia un correu electrònic als administradors quan un comentari requereixi validació';
$lang['Environment'] = 'Entorn';
$lang['Form'] = 'Form';
-$lang['Gallery URL'] = 'URL de la galeria';
$lang['Gallery title'] = 'Títol de la galeria';
$lang['Grant selected groups'] = 'Atorgar als grups seleccionats';
$lang['Grant selected users'] = 'Atorgar als usuaris seleccionats';
diff --git a/language/cs_CZ/admin.lang.php b/language/cs_CZ/admin.lang.php
index ed93d92b0..57bca8908 100644
--- a/language/cs_CZ/admin.lang.php
+++ b/language/cs_CZ/admin.lang.php
@@ -87,7 +87,6 @@ $lang['Email admins when a valid comment is entered'] = 'Poslat e-mail administr
$lang['Email admins when a comment requires validation'] = 'Poslat e-mail administrátorovi při vložení nového komentáře vyžadujícího schválení.';
$lang['Environment'] = 'Prostředí';
$lang['Form'] = 'Formulář';
-$lang['Gallery URL'] = 'URL galerie';
$lang['Gallery title'] = 'Název galerie';
$lang['Grant selected groups'] = 'Povolit vybrané skupiny';
$lang['Grant selected users'] = 'Povolit vybrané uživatele';
diff --git a/language/da_DK/admin.lang.php b/language/da_DK/admin.lang.php
index 44526cae7..ac8d44f01 100644
--- a/language/da_DK/admin.lang.php
+++ b/language/da_DK/admin.lang.php
@@ -86,7 +86,6 @@ $lang['Email admins when a valid comment is entered'] = 'Email admins n
$lang['Email admins when a comment requires validation'] = 'Email admins, når en kommentar kræver validering';
$lang['Environment'] = 'Miljø';
$lang['Form'] = 'Form';
-$lang['Gallery URL'] = 'Gallery URL';
$lang['Gallery title'] = 'Gallery titel';
$lang['Grant selected groups'] = 'Tildel valgte grupper';
$lang['Grant selected users'] = 'Tildel valgte brugere';
diff --git a/language/de_DE/admin.lang.php b/language/de_DE/admin.lang.php
index 85e92ca10..1a049b374 100644
--- a/language/de_DE/admin.lang.php
+++ b/language/de_DE/admin.lang.php
@@ -84,7 +84,6 @@ $lang['Email admins when a valid comment is entered'] = 'sende eine Email an den
$lang['Email admins when a comment requires validation'] = 'sende eine Email an den(die) Adminstrator(en) wenn ein Kommentar die Freischaltung durch den Admin erfordert';
$lang['Environment'] = 'Server-Daten';
$lang['Form'] = 'Formular';
-$lang['Gallery URL'] = 'genaue URL zur Gallerie';
$lang['Gallery title'] = 'Galerietitel';
$lang['Grant selected groups'] = 'Ausgewählte Gruppen zulassen';
$lang['Grant selected users'] = 'Ausgewählte Benutzer zulassen';
diff --git a/language/en_UK/admin.lang.php b/language/en_UK/admin.lang.php
index 270780bb5..f5c4c3387 100644
--- a/language/en_UK/admin.lang.php
+++ b/language/en_UK/admin.lang.php
@@ -297,7 +297,6 @@ $lang['Forbidden'] = "Forbidden";
$lang['Form'] = "Form";
$lang['FTP + Synchronization'] = 'FTP + Synchronization';
$lang['Gallery title'] = "Gallery title";
-$lang['Gallery URL'] = "Gallery URL";
$lang['GD library is missing'] = "GD library is missing";
$lang['GD version'] = "GD version";
$lang['General statistics'] = "General statistics";
diff --git a/language/es_ES/admin.lang.php b/language/es_ES/admin.lang.php
index 89b555814..6e45cc1f5 100644
--- a/language/es_ES/admin.lang.php
+++ b/language/es_ES/admin.lang.php
@@ -84,7 +84,6 @@ $lang['Email admins when a valid comment is entered'] = 'Notificar a los adminis
$lang['Email admins when a comment requires validation'] = 'Notificar a los administradores cuando un comentario requiere su validación';
$lang['Environment'] = 'Entorno';
$lang['Form'] = 'Formulario';
-$lang['Gallery URL'] = 'URL de la galería';
$lang['Gallery title'] = 'Título de la galería';
$lang['Grant selected groups'] = 'Dar el acceso a los grupos seleccionados';
$lang['Grant selected users'] = 'Darles el acceso a los usuarios seleccionados';
diff --git a/language/fa_IR/admin.lang.php b/language/fa_IR/admin.lang.php
index 2606f4c17..fb3780789 100644
--- a/language/fa_IR/admin.lang.php
+++ b/language/fa_IR/admin.lang.php
@@ -86,7 +86,6 @@ $lang['Email admins when a valid comment is entered'] = "ارسال ايميل
$lang['Email admins when a comment requires validation'] = "ارسال ايميل به مديران زماني که يک نظر نياز به تاييد دارد";
$lang['Environment'] = "محيط(Environment)";
$lang['Form'] = "فرم";
-$lang['Gallery URL'] = "URL گالري";
$lang['Gallery title'] = "عنوان گالري";
$lang['Grant selected groups'] = "Grant selected groups";
$lang['Grant selected users'] = "Grant selected users";
diff --git a/language/fr_CA/admin.lang.php b/language/fr_CA/admin.lang.php
index 71de88cfd..3311528fb 100644
--- a/language/fr_CA/admin.lang.php
+++ b/language/fr_CA/admin.lang.php
@@ -86,7 +86,6 @@ $lang['Email admins when a valid comment is entered'] = "Notifier les administra
$lang['Email admins when a comment requires validation'] = "Notifier les administrateurs quand un commentaire requiert leur validation";
$lang['Environment'] = "Environnement";
$lang['Form'] = "Formulaire";
-$lang['Gallery URL'] = "URL de la galerie";
$lang['Gallery title'] = "Titre de la galerie";
$lang['Grant selected groups'] = "Donner l'accès aux groupes sélectionnés";
$lang['Grant selected users'] = "Donner l'accès aux utilisateurs sélectionnés";
diff --git a/language/fr_FR/admin.lang.php b/language/fr_FR/admin.lang.php
index ce2af1a8d..6d027a2b5 100644
--- a/language/fr_FR/admin.lang.php
+++ b/language/fr_FR/admin.lang.php
@@ -88,7 +88,6 @@ $lang['Email admins when a valid comment is entered'] = "Notifier les administra
$lang['Email admins when a comment requires validation'] = "Notifier les administrateurs quand un commentaire requiert leur validation";
$lang['Environment'] = "Environnement";
$lang['Form'] = "Formulaire";
-$lang['Gallery URL'] = "URL de la galerie";
$lang['Gallery title'] = "Titre de la galerie";
$lang['Grant selected groups'] = "Donner l'accès aux groupes sélectionnés";
$lang['Grant selected users'] = "Donner l'accès aux utilisateurs sélectionnés";
diff --git a/language/he_IL/admin.lang.php b/language/he_IL/admin.lang.php
index 08e605be3..36585deae 100644
--- a/language/he_IL/admin.lang.php
+++ b/language/he_IL/admin.lang.php
@@ -84,7 +84,6 @@ $lang['Email admins when a valid comment is entered'] = 'שלח מייל למנ
$lang['Email admins when a comment requires validation'] = 'שלח מייל למנהל כאשר נדרש אימות לתגובה';
$lang['Environment'] = 'סביבה';
$lang['Form'] = 'טופס';
-$lang['Gallery URL'] = 'כתובת הגלריה';
$lang['Gallery title'] = 'כותרת הגלריה';
$lang['Grant selected groups'] = 'להעניק לקבוצות שנבחרו';
$lang['Grant selected users'] = 'להענית למשתמשים שנבחרו';
diff --git a/language/hr_HR/admin.lang.php b/language/hr_HR/admin.lang.php
index 474b39e81..5e5248631 100644
--- a/language/hr_HR/admin.lang.php
+++ b/language/hr_HR/admin.lang.php
@@ -84,7 +84,6 @@ $lang['Email admins when a valid comment is entered'] = 'E-mail upraviteljima pr
$lang['Email admins when a comment requires validation'] = 'Email upraviteljima kada komentar treba ovjeru';
$lang['Environment'] = 'Okruženje';
$lang['Form'] = 'Oblik';
-$lang['Gallery URL'] = 'URL Galerije';
$lang['Gallery title'] = 'Naziv galerije';
$lang['Grant selected groups'] = 'Ovlasti odabrane grupe';
$lang['Grant selected users'] = 'Ovlasti odabrane korisnike';
diff --git a/language/hu_HU/admin.lang.php b/language/hu_HU/admin.lang.php
index ad1542033..e20d7dc45 100644
--- a/language/hu_HU/admin.lang.php
+++ b/language/hu_HU/admin.lang.php
@@ -84,7 +84,6 @@ $lang['Email admins when a valid comment is entered'] = 'Email-küldés, ha egy
$lang['Email admins when a comment requires validation'] = 'Email-küldés, ha egy hozzászólás jóváhagyásra vár ';
$lang['Environment'] = 'Környezet';
$lang['Form'] = 'Űrlap';
-$lang['Gallery URL'] = 'Galéria URL';
$lang['Gallery title'] = 'Galéria címe';
$lang['Grant selected groups'] = 'Kiválasztott csoportok részére jogosultság adása';
$lang['Grant selected users'] = 'Kiválasztott felhasználók részére jogosultság adása';
diff --git a/language/it_IT/admin.lang.php b/language/it_IT/admin.lang.php
index 1cf2955a5..f9b0c5110 100644
--- a/language/it_IT/admin.lang.php
+++ b/language/it_IT/admin.lang.php
@@ -88,7 +88,6 @@ $lang['Email admins when a valid comment is entered'] = 'Notificare gli amminist
$lang['Email admins when a comment requires validation'] = 'Notificare gli amministratori quando un commento richiede un\'approvazione';
$lang['Environment'] = 'Ambiente';
$lang['Form'] = 'Modulo';
-$lang['Gallery URL'] = 'URL della galleria';
$lang['Gallery title'] = 'Titolo della galleria';
$lang['Grant selected groups'] = 'Dare l\'accesso ai gruppi selezionati';
$lang['Grant selected users'] = 'Dare l\'accesso agli utenti selezionati';
diff --git a/language/ja_JP/admin.lang.php b/language/ja_JP/admin.lang.php
index 05a30613a..b2a283380 100644
--- a/language/ja_JP/admin.lang.php
+++ b/language/ja_JP/admin.lang.php
@@ -84,7 +84,6 @@ $lang['Email admins when a valid comment is entered'] = '有効なコメント
$lang['Email admins when a comment requires validation'] = 'コメントの承認が必要な場合、管理者にメールする';
$lang['Environment'] = '環境';
$lang['Form'] = 'フォーム';
-$lang['Gallery URL'] = 'ギャラリーURI';
$lang['Gallery title'] = 'ギャラリータイトル';
$lang['Grant selected groups'] = '選択したグループに付与する';
$lang['Grant selected users'] = '選択したユーザに付与する';
diff --git a/language/ka_GE/admin.lang.php b/language/ka_GE/admin.lang.php
index ed57e8bc6..7d90b2c57 100644
--- a/language/ka_GE/admin.lang.php
+++ b/language/ka_GE/admin.lang.php
@@ -84,7 +84,6 @@ $lang['Email admins when a valid comment is entered'] = 'შევატყო
$lang['Email admins when a comment requires validation'] = 'შევატყობინოთ ადმინისტრატორს შესამოწმებელი კომანტარის შესახებ';
$lang['Environment'] = 'გარემოცვა';
$lang['Form'] = 'მოქმედებები';
-$lang['Gallery URL'] = 'გალერეის მისამართი';
$lang['Gallery title'] = 'გალერეის სახელი';
$lang['Grant selected groups'] = 'ნება დავრთოთ რჩეულ ჯგუფებს';
$lang['Grant selected users'] = 'ნება დავრთოთ რჩეულ მომხმარებლებს';
diff --git a/language/lv_LV/admin.lang.php b/language/lv_LV/admin.lang.php
index 4cb23134a..50b51bbcb 100644
--- a/language/lv_LV/admin.lang.php
+++ b/language/lv_LV/admin.lang.php
@@ -82,7 +82,6 @@ $lang['Email admins when a valid comment is entered'] = 'Paziņot adminam, kad d
$lang['Email admins when a comment requires validation'] = 'Paziņot adminam, kad parādījies komentārs, kas jāpārbauda';
$lang['Environment'] = 'Vide';
$lang['Form'] = 'Forma';
-$lang['Gallery URL'] = 'Galerijas URL';
$lang['Gallery title'] = 'Galerijas nosaukums';
$lang['Grant selected groups'] = 'Atļaut piekļuvi izvēlētām grupām';
$lang['Grant selected users'] = 'Atļaut piekļuvi izvēlētajiem lietotājiem';
diff --git a/language/nl_NL/admin.lang.php b/language/nl_NL/admin.lang.php
index d844de1c1..da07d04e3 100644
--- a/language/nl_NL/admin.lang.php
+++ b/language/nl_NL/admin.lang.php
@@ -84,7 +84,6 @@ $lang['Email admins when a valid comment is entered'] = 'Stuur email naar beheer
$lang['Email admins when a comment requires validation'] = 'Stuur email naar beheerders wanneer een commantaar validatie nodig heeft';
$lang['Environment'] = 'Omgeving';
$lang['Form'] = 'Formulier';
-$lang['Gallery URL'] = 'Galerie URL';
$lang['Gallery title'] = 'Galerie-titel';
$lang['Grant selected groups'] = 'Toegang geselecteerde groepen';
$lang['Grant selected users'] = 'Toegang geselecteerde gebruikers';
diff --git a/language/no_NO/admin.lang.php b/language/no_NO/admin.lang.php
index 9574cb75b..04ca3229a 100644
--- a/language/no_NO/admin.lang.php
+++ b/language/no_NO/admin.lang.php
@@ -82,7 +82,6 @@ $lang['Email admins when a valid comment is entered'] = 'Email administrator nå
$lang['Email admins when a comment requires validation'] = 'Email administrator når en kommentar trenger godkjenning';
$lang['Environment'] = 'Miljø';
$lang['Form'] = 'Skjema';
-$lang['Gallery URL'] = 'Galleri URL';
$lang['Gallery title'] = 'Galleri tittel';
$lang['Grant selected groups'] = 'Godkjenn valgte grupper';
$lang['Grant selected users'] = 'Godkjenn valgte brukere';
diff --git a/language/pl_PL/admin.lang.php b/language/pl_PL/admin.lang.php
index c3b65d253..c7464c0d3 100644
--- a/language/pl_PL/admin.lang.php
+++ b/language/pl_PL/admin.lang.php
@@ -84,7 +84,6 @@ $lang['Email admins when a valid comment is entered'] = 'Wyślij wiadomość do
$lang['Email admins when a comment requires validation'] = 'Wyślij wiadomość do administratora gdy komentarz wymaga weryfikacji';
$lang['Environment'] = 'Środowisko';
$lang['Form'] = 'Formularz';
-$lang['Gallery URL'] = 'Adres URL galerii';
$lang['Gallery title'] = 'Tytuł galerii';
$lang['Grant selected groups'] = 'Zezwól zaznaczonym grypom';
$lang['Grant selected users'] = 'Zezwól zaznaczonym użytkownikom';
diff --git a/language/pt_BR/admin.lang.php b/language/pt_BR/admin.lang.php
index 63f2aaa68..a4a8244ce 100644
--- a/language/pt_BR/admin.lang.php
+++ b/language/pt_BR/admin.lang.php
@@ -84,7 +84,6 @@ $lang['Email admins when a valid comment is entered'] = 'Notificar os administra
$lang['Email admins when a comment requires validation'] = 'Notificar os administradores quando um comentário necessitar de aprovação';
$lang['Environment'] = 'Arredores';
$lang['Form'] = 'Formulário';
-$lang['Gallery URL'] = 'Endereço (URL) da galeria';
$lang['Gallery title'] = 'título da galeria';
$lang['Grant selected groups'] = 'Permitir os grupos selecionados';
$lang['Grant selected users'] = 'Permitir os usuários selecionados';
diff --git a/language/pt_PT/admin.lang.php b/language/pt_PT/admin.lang.php
index ef25eadfc..ebe38820c 100644
--- a/language/pt_PT/admin.lang.php
+++ b/language/pt_PT/admin.lang.php
@@ -84,7 +84,6 @@ $lang['Email admins when a valid comment is entered'] = 'Notificar os administra
$lang['Email admins when a comment requires validation'] = 'Notificar os administradores quando um comentário necessitar de aprovação';
$lang['Environment'] = 'Ambiente';
$lang['Form'] = 'Formulário';
-$lang['Gallery URL'] = 'Endereço (URL) da galeria';
$lang['Gallery title'] = 'Título da galeria';
$lang['Grant selected groups'] = 'Permitir os grupos selecionados';
$lang['Grant selected users'] = 'Permitir os utilizadores selecionados';
diff --git a/language/ro_RO/admin.lang.php b/language/ro_RO/admin.lang.php
index ee41c4d39..d7b9ec714 100644
--- a/language/ro_RO/admin.lang.php
+++ b/language/ro_RO/admin.lang.php
@@ -83,7 +83,6 @@ $lang['Email admins when a valid comment is entered'] = 'Anunță administratori
$lang['Email admins when a comment requires validation'] = 'Anunță administratorii atunci cînd un comentariu necesită validare';
$lang['Environment'] = 'Mediul';
$lang['Form'] = 'Formular';
-$lang['Gallery URL'] = 'URL-ul galeriei';
$lang['Gallery title'] = 'Titlul galeriei';
$lang['Grant selected groups'] = 'Asigură accesul la grupurile selectate';
$lang['Grant selected users'] = 'Asigură accesul la utilizatorii selectați';
diff --git a/language/ru_RU/admin.lang.php b/language/ru_RU/admin.lang.php
index fdc43ab3e..4fc11ca34 100644
--- a/language/ru_RU/admin.lang.php
+++ b/language/ru_RU/admin.lang.php
@@ -84,7 +84,6 @@ $lang['Email admins when a valid comment is entered'] = 'Сообщать адм
$lang['Email admins when a comment requires validation'] = 'Сообщать администратору когда появился комментарий для проверки';
$lang['Environment'] = 'Окружение';
$lang['Form'] = 'Действия';
-$lang['Gallery URL'] = 'Адрес галереи';
$lang['Gallery title'] = 'Название галереи';
$lang['Grant selected groups'] = 'Разрешить доступ выбранным группам';
$lang['Grant selected users'] = 'Разрешить доступ выбранным пользователям';
diff --git a/language/sh_RS/admin.lang.php b/language/sh_RS/admin.lang.php
index bf70ab145..a9a20cfd0 100644
--- a/language/sh_RS/admin.lang.php
+++ b/language/sh_RS/admin.lang.php
@@ -84,7 +84,6 @@ $lang['Email admins when a valid comment is entered'] = 'E-mail administratorima
$lang['Email admins when a comment requires validation'] = 'Email administratorima kada komentar treba overu';
$lang['Environment'] = 'Okruženje';
$lang['Form'] = 'Oblik';
-$lang['Gallery URL'] = 'URL Galerije';
$lang['Gallery title'] = 'Naziv galerije';
$lang['Grant selected groups'] = 'Ovlasti odabrane grupe';
$lang['Grant selected users'] = 'Ovlasti odabrane korisnike';
diff --git a/language/sk_SK/admin.lang.php b/language/sk_SK/admin.lang.php
index 97b48e31b..e4a6cfe01 100644
--- a/language/sk_SK/admin.lang.php
+++ b/language/sk_SK/admin.lang.php
@@ -85,7 +85,6 @@ $lang['Email admins when a valid comment is entered'] = 'Poslať e-mail administ
$lang['Email admins when a comment requires validation'] = 'Poslať e-mail administrátorom pri vložení nového komentára vyžadujúceho schválenie.';
$lang['Environment'] = 'Prostredie';
$lang['Form'] = 'Formulár';
-$lang['Gallery URL'] = 'URL galérie';
$lang['Gallery title'] = 'Názov galérie';
$lang['Grant selected groups'] = 'Povoliť vybrané skupiny';
$lang['Grant selected users'] = 'Povoliť vybraných používateľov';
diff --git a/language/sr_RS/admin.lang.php b/language/sr_RS/admin.lang.php
index 0292186ff..45ec17719 100644
--- a/language/sr_RS/admin.lang.php
+++ b/language/sr_RS/admin.lang.php
@@ -84,7 +84,6 @@ $lang['Email admins when a valid comment is entered'] = 'Пошаљи елект
$lang['Email admins when a comment requires validation'] = 'Пошаљи електронску пошту администраторима када коментар треба оверу';
$lang['Environment'] = 'Окружење';
$lang['Form'] = 'Облик';
-$lang['Gallery URL'] = 'УРЛ галерије';
$lang['Gallery title'] = 'Назив галерије';
$lang['Grant selected groups'] = 'Овласти одабране групе';
$lang['Grant selected users'] = 'Овласти одабране кориснике';
diff --git a/language/sv_SE/admin.lang.php b/language/sv_SE/admin.lang.php
index 6a1b3cec1..634e44ab6 100644
--- a/language/sv_SE/admin.lang.php
+++ b/language/sv_SE/admin.lang.php
@@ -84,7 +84,6 @@ $lang['Email admins when a valid comment is entered'] = 'Sänd mail till admin n
$lang['Email admins when a comment requires validation'] = 'Sänd mail till admin när en kommentar väntar på godkännande';
$lang['Environment'] = 'Miljö';
$lang['Form'] = 'Formulär';
-$lang['Gallery URL'] = 'Galleri URL';
$lang['Gallery title'] = 'Galleri titel';
$lang['Grant selected groups'] = 'Tillåt markerade grupper';
$lang['Grant selected users'] = 'Tillåt markerade användare';
diff --git a/language/tr_TR/admin.lang.php b/language/tr_TR/admin.lang.php
index f3b235977..44c9b784a 100644
--- a/language/tr_TR/admin.lang.php
+++ b/language/tr_TR/admin.lang.php
@@ -82,7 +82,6 @@ $lang['Email admins when a valid comment is entered'] = 'Yeni yorum eklendiginde
$lang['Email admins when a comment requires validation'] = 'Yorum onayı oldugunda yöneticiye e-posta gönder';
$lang['Environment'] = 'Ortam / Çevre';
$lang['Form'] = 'Biçim';
-$lang['Gallery URL'] = 'Galleri URL';
$lang['Gallery title'] = 'Galleri Başlığı';
$lang['Grant selected groups'] = 'Seçilen grupların kabulu';
$lang['Grant selected users'] = 'Seçilen kullanıcıların kabulu';
diff --git a/language/uk_UA/admin.lang.php b/language/uk_UA/admin.lang.php
index 8182c9c78..00f76638c 100644
--- a/language/uk_UA/admin.lang.php
+++ b/language/uk_UA/admin.lang.php
@@ -288,7 +288,6 @@ $lang['Forbidden'] = 'Заборонено';
$lang['Form'] = 'Форма';
$lang['FTP + Synchronization'] = 'FTP + Синхронізація';
$lang['Gallery title'] = 'Заголовок галереї';
-$lang['Gallery URL'] = 'URL галереї';
$lang['GD library is missing'] = 'GD бібліотека відсутня';
$lang['GD version'] = 'GD версія';
$lang['General statistics'] = 'Загальна статистика';
diff --git a/language/vi_VN/admin.lang.php b/language/vi_VN/admin.lang.php
index 69fd31bd7..67a3b931c 100644
--- a/language/vi_VN/admin.lang.php
+++ b/language/vi_VN/admin.lang.php
@@ -84,7 +84,6 @@ $lang['Email admins when a valid comment is entered'] = 'Gởi email cho quản
$lang['Email admins when a comment requires validation'] = 'Gởi email cho quản trị khi có một mời bình cần được xác nhận';
$lang['Environment'] = 'Môi trường';
$lang['Form'] = 'Form';
-$lang['Gallery URL'] = 'Địa chỉ website của gallery';
$lang['Gallery title'] = 'Tiêu đề của gallery';
$lang['Grant selected groups'] = 'Cấp cho các nhóm đã chọn';
$lang['Grant selected users'] = 'Cấp cho các thành viên đã chọn';
diff --git a/language/zh_CN/admin.lang.php b/language/zh_CN/admin.lang.php
index 59d7ff87f..1610cd2c1 100644
--- a/language/zh_CN/admin.lang.php
+++ b/language/zh_CN/admin.lang.php
@@ -84,7 +84,6 @@ $lang['Email admins when a valid comment is entered'] = '当用户发表评论
$lang['Email admins when a comment requires validation'] = '当用户要求确认他的评论时通知管理员';
$lang['Environment'] = '环境';
$lang['Form'] = '表单';
-$lang['Gallery URL'] = '图库URL';
$lang['Gallery title'] = '图库标题';
$lang['Grant selected groups'] = '对所选组授权';
$lang['Grant selected users'] = '对所选用户授权';
diff --git a/language/zh_TW/admin.lang.php b/language/zh_TW/admin.lang.php
index e9a0a96bf..fb9f10646 100644
--- a/language/zh_TW/admin.lang.php
+++ b/language/zh_TW/admin.lang.php
@@ -84,7 +84,6 @@ $lang['Email admins when a valid comment is entered'] = '當用戶發表評論
$lang['Email admins when a comment requires validation'] = '當用戶要求確認他的評論時通知管理員';
$lang['Environment'] = '環境';
$lang['Form'] = '表單';
-$lang['Gallery URL'] = '圖庫URL';
$lang['Gallery title'] = '圖庫標題';
$lang['Grant selected groups'] = '對所選組授權';
$lang['Grant selected users'] = '對所選用戶授權';