mirror of
https://github.com/friendica/friendica
synced 2024-12-23 08:00:16 +00:00
use config var in settings form
This commit is contained in:
parent
9ceda398ae
commit
9815d63352
3 changed files with 3 additions and 2 deletions
|
@ -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"),
|
||||
|
|
|
@ -198,7 +198,7 @@
|
|||
|
||||
<h3 class="settings-heading"><a href="javascript:;">{{$importcontact}}</a></h3>
|
||||
<div class="settings-content-block">
|
||||
<input type="hidden" name="MAX_FILE_SIZE" value="30720" />
|
||||
<input type="hidden" name="MAX_FILE_SIZE" value="{{$importcontact_maxsize}}" />
|
||||
<div id="settings-pagetype-desc">{{$importcontact_text}}</div>
|
||||
<input type="file" name="importcontact-filename" />
|
||||
|
||||
|
|
|
@ -283,7 +283,7 @@
|
|||
<div class="section-content-tools-wrapper">
|
||||
|
||||
<div id="importcontact-relocate-desc">{{$importcontact_text}}</div>
|
||||
<input type="hidden" name="MAX_FILE_SIZE" value="30720" />
|
||||
<input type="hidden" name="MAX_FILE_SIZE" value="{{$importcontact_maxsize}}" />
|
||||
<input type="file" name="importcontact-filename" />
|
||||
|
||||
<br/>
|
||||
|
|
Loading…
Reference in a new issue