- '$title' => DI::l10n()->t('Administration'),
- '$page' => DI::l10n()->t('Storage'),
- '$submit' => DI::l10n()->t('Save Settings'),
- '$clear' => DI::l10n()->t('Clear'),
- '$baseurl' => DI::baseUrl()->get(true),
- '$form_security_token' => self::getFormSecurityToken("admin_storage"),
- '$storagebackend' => ['storagebackend', DI::l10n()->t('File storage backend'), $current_storage_backend, DI::l10n()->t('The backend used to store uploaded data. If you change the storage backend, you can manually move the existing files. If you do not do so, the files uploaded before the change will still be available at the old backend. Please see <a href="/help/Settings#1_2_3_1">the settings documentation</a> for more information about the choices and the moving procedure.'), $available_storage_backends],
- '$storageform' => $storage_form,
+ '$title' => DI::l10n()->t('Administration'),
+ '$label_current' => DI::l10n()->t('Current Storage Backend'),
+ '$label_config' => DI::l10n()->t('Storage Configuration'),
+ '$page' => DI::l10n()->t('Storage'),
+ '$save' => DI::l10n()->t('Save'),
+ '$save_use' => DI::l10n()->t('Save & Use storage backend'),
+ '$use' => DI::l10n()->t('Use storage backend'),
+ '$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()->isWritable('storage', 'name') ? DI::l10n()->t('Changing the current backend is prohibited because it is set by an environment variable') : '',
+ '$is_writable' => DI::config()->isWritable('storage', 'name'),
+ '$storagebackend' => $current_storage_backend instanceof ICanWriteToStorage ? $current_storage_backend::getName() : DI::l10n()->t('Database (legacy)'),
+ '$availablestorageforms' => $available_storage_forms,