From 9815d63352857a53084627e9662400b335c02150 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 3 Nov 2019 17:31:01 +0100 Subject: [PATCH] use config var in settings form --- mod/settings.php | 1 + view/templates/settings/settings.tpl | 2 +- view/theme/frio/templates/settings/settings.tpl | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/mod/settings.php b/mod/settings.php index ff38a97a9..5709df720 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -1253,6 +1253,7 @@ function settings_content(App $a) '$importcontact' => L10n::t('Import Contacts'), '$importcontact_text' => L10n::t('Upload a CSV file that contains the handle of your followed accounts in the first column you exported from the old account.'), '$importcontact_button' => L10n::t('Upload File'), + '$importcontact_maxsize' => Config::get('system', max_csv_file_size, 30720), '$relocate' => L10n::t('Relocate'), '$relocate_text' => L10n::t("If you have moved this profile from another server, and some of your contacts don't receive your updates, try pushing this button."), '$relocate_button' => L10n::t("Resend relocate message to contacts"), diff --git a/view/templates/settings/settings.tpl b/view/templates/settings/settings.tpl index 8ecc332d7..af1352c4c 100644 --- a/view/templates/settings/settings.tpl +++ b/view/templates/settings/settings.tpl @@ -198,7 +198,7 @@

{{$importcontact}}

- +
{{$importcontact_text}}
diff --git a/view/theme/frio/templates/settings/settings.tpl b/view/theme/frio/templates/settings/settings.tpl index d35094194..4ed94b182 100644 --- a/view/theme/frio/templates/settings/settings.tpl +++ b/view/theme/frio/templates/settings/settings.tpl @@ -283,7 +283,7 @@
{{$importcontact_text}}
- +