From 56b6adc396440f57d50041122127351c2447f69e Mon Sep 17 00:00:00 2001 From: Andreas Neustifter Date: Sun, 8 Jul 2018 21:08:29 +0200 Subject: [PATCH] Fix relocate button label. In settings the 'Start Relocate' button is also labeld 'Save Settings'. --- mod/admin.php | 3 ++- view/templates/admin/site.tpl | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/mod/admin.php b/mod/admin.php index f12ec5e3b..4d4c06501 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -1465,7 +1465,8 @@ function admin_page_site(App $a) '$relay_server_tags' => ['relay_server_tags', L10n::t("Server tags"), Config::get('system','relay_server_tags'), L10n::t("Comma separated list of tags for the 'tags' subscription.")], '$relay_user_tags' => ['relay_user_tags', L10n::t("Allow user tags"), Config::get('system', 'relay_user_tags', true), L10n::t("If enabled, the tags from the saved searches will used for the 'tags' subscription in addition to the 'relay_server_tags'.")], - '$form_security_token' => get_form_security_token("admin_site") + '$form_security_token' => get_form_security_token("admin_site"), + '$relocate_button' => L10n::t('Start Relocation'), ]); } diff --git a/view/templates/admin/site.tpl b/view/templates/admin/site.tpl index 31b3b68ca..ad5f42e85 100644 --- a/view/templates/admin/site.tpl +++ b/view/templates/admin/site.tpl @@ -169,7 +169,7 @@

{{$relocate}}

{{include file="field_input.tpl" field=$relocate_url}} -
+