From: Jonny Tischbein Date: Sun, 25 Nov 2018 07:32:05 +0000 (+0100) Subject: Move all warning text in L10n + frio: make warning closable X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3af59eaba423169c6876b735265eff3540e61318;p=friendica.git Move all warning text in L10n + frio: make warning closable --- 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... *}}