From 3af59eaba423169c6876b735265eff3540e61318 Mon Sep 17 00:00:00 2001 From: Jonny Tischbein Date: Sun, 25 Nov 2018 08:32:05 +0100 Subject: [PATCH] Move all warning text in L10n + frio: make warning closable --- mod/admin.php | 2 +- view/templates/admin/site.tpl | 2 +- view/theme/frio/templates/admin/site.tpl | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/mod/admin.php b/mod/admin.php index 76baa9f135..f22bb7be02 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -1493,7 +1493,7 @@ function admin_page_site(App $a) '$worker_title' => L10n::t('Worker'), '$relay_title' => L10n::t('Message Relay'), '$relocate' => L10n::t('Relocate Instance'), - '$relocate_warning' => L10n::t('Advanced function. Could make this server unreachable.'), + '$relocate_warning' => L10n::t('Warning! 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/templates/admin/site.tpl b/view/templates/admin/site.tpl index 3e89b20866..abf7835e06 100644 --- a/view/templates/admin/site.tpl +++ b/view/templates/admin/site.tpl @@ -171,7 +171,7 @@

{{$relocate}}

- Warning! {{$relocate_warning}} + {{$relocate_warning}} {{include file="field_input.tpl" field=$relocate_url}}
diff --git a/view/theme/frio/templates/admin/site.tpl b/view/theme/frio/templates/admin/site.tpl index be25d0f900..0cb2f62520 100644 --- a/view/theme/frio/templates/admin/site.tpl +++ b/view/theme/frio/templates/admin/site.tpl @@ -351,8 +351,9 @@
-
- WARNING! {{$relocate_warning}} +
+ × + {{$relocate_warning}}
{{* separate form for relocate... *}} -- 2.39.5