]> git.mxchange.org Git - friendica.git/commitdiff
Frio: Move relocation warning from headline to bootstrap danger box
authorJonny Tischbein <jonny_tischbein@systemli.org>
Sat, 24 Nov 2018 21:50:42 +0000 (22:50 +0100)
committerJonny Tischbein <jonny_tischbein@systemli.org>
Sat, 24 Nov 2018 21:50:42 +0000 (22:50 +0100)
mod/admin.php
view/theme/frio/templates/admin/site.tpl

index 97bde76ca96fdf2e1d1786011699a17ad01d8d47..76baa9f1358de83d4998feef075aac0febaab1bf 100644 (file)
@@ -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'),''],
index c0241cd0e16e52373a1496f83571eeb025d4124a..be25d0f900ca62deb2c528eaece57a6b2696e4f2 100644 (file)
                        </h4>
                </div>
                <div id="admin-settings-relocate-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="admin-settings-relocate">
-
+                       <div class="alert alert-danger">
+                               <b>WARNING!</b> {{$relocate_warning}}
+                       </div>
                        {{* separate form for relocate... *}}
                        <form action="{{$baseurl}}/admin/site" method="post">
                                <input type='hidden' name='form_security_token' value='{{$form_security_token}}'>