mirror of
https://github.com/friendica/friendica
synced 2025-04-24 20:30:14 +00:00
Add conditional help text for disabled fields
This commit is contained in:
parent
76f3b07033
commit
fa9c3d40be
6 changed files with 11 additions and 6 deletions
|
@ -146,6 +146,7 @@ class Storage extends BaseAdmin
|
|||
'$save_reload' => DI::l10n()->t('Save & Reload'),
|
||||
'$noconfig' => DI::l10n()->t('This backend doesn\'t have custom settings'),
|
||||
'$form_security_token' => self::getFormSecurityToken("admin_storage"),
|
||||
'$storagebackend_ro_txt' => DI::config()->isSetDisabled('storage', 'name') ? DI::l10n()->t("Changing the current backend is prohibited because it is set by an environment variable") : '',
|
||||
'$storagebackend' => $current_storage_backend instanceof ICanWriteToStorage ? $current_storage_backend::getName() : DI::l10n()->t('Database (legacy)'),
|
||||
'$availablestorageforms' => $available_storage_forms,
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue