Frio: Move relocation warning from headline to bootstrap danger box
This commit is contained in:
parent
36aca259d5
commit
66a18702c0
|
@ -1492,7 +1492,8 @@ function admin_page_site(App $a)
|
||||||
'$performance' => L10n::t('Performance'),
|
'$performance' => L10n::t('Performance'),
|
||||||
'$worker_title' => L10n::t('Worker'),
|
'$worker_title' => L10n::t('Worker'),
|
||||||
'$relay_title' => L10n::t('Message Relay'),
|
'$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),
|
'$baseurl' => System::baseUrl(true),
|
||||||
// name, label, value, help string, extra data...
|
// name, label, value, help string, extra data...
|
||||||
'$sitename' => ['sitename', L10n::t("Site name"), Config::get('config', 'sitename'),''],
|
'$sitename' => ['sitename', L10n::t("Site name"), Config::get('config', 'sitename'),''],
|
||||||
|
|
|
@ -351,7 +351,9 @@
|
||||||
</h4>
|
</h4>
|
||||||
</div>
|
</div>
|
||||||
<div id="admin-settings-relocate-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="admin-settings-relocate">
|
<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... *}}
|
{{* separate form for relocate... *}}
|
||||||
<form action="{{$baseurl}}/admin/site" method="post">
|
<form action="{{$baseurl}}/admin/site" method="post">
|
||||||
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
|
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user