From 66a18702c0315bf8a29d56c5da8cdcb54caf0c58 Mon Sep 17 00:00:00 2001 From: Jonny Tischbein Date: Sat, 24 Nov 2018 22:50:42 +0100 Subject: [PATCH] Frio: Move relocation warning from headline to bootstrap danger box --- mod/admin.php | 3 ++- view/theme/frio/templates/admin/site.tpl | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/mod/admin.php b/mod/admin.php index 97bde76ca..76baa9f13 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -1492,7 +1492,8 @@ function admin_page_site(App $a) '$performance' => L10n::t('Performance'), '$worker_title' => L10n::t('Worker'), '$relay_title' => L10n::t('Message Relay'), - '$relocate' => L10n::t('Relocate - WARNING: advanced function. Could make this server unreachable.'), + '$relocate' => L10n::t('Relocate Instance'), + '$relocate_warning' => L10n::t('Advanced function. Could make this server unreachable.'), '$baseurl' => System::baseUrl(true), // name, label, value, help string, extra data... '$sitename' => ['sitename', L10n::t("Site name"), Config::get('config', 'sitename'),''], diff --git a/view/theme/frio/templates/admin/site.tpl b/view/theme/frio/templates/admin/site.tpl index c0241cd0e..be25d0f90 100644 --- a/view/theme/frio/templates/admin/site.tpl +++ b/view/theme/frio/templates/admin/site.tpl @@ -351,7 +351,9 @@
- +
+ WARNING! {{$relocate_warning}} +
{{* separate form for relocate... *}}