Skip to content

Commit d03d783

Browse files
committed
Apply style to warning message add/web
1 parent d183e00 commit d03d783

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

web/inc/i18n/en.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -766,8 +766,7 @@
766766
'Theme' => 'Appearance',
767767

768768
'Operating System' => 'Operating System',
769-
'Please wait while php is installed or removed' => 'Installing or removing php versions will take cca 1 min for every php version which will be changed,
770-
please be patient until the process is finished.',
769+
'Please wait while php is installed or removed' => 'Adding or removing PHP versions will take roughly 1 minute for every version which will be modified. Please wait until the process is finished and do not refresh the page.',
771770
'Avoid adding web domains on admin account' => 'Due to the increased access rights, we strongly advise against using the admin account for direct hosting of web domains.
772771
Always use a separate unprivileged user account instead.',
773772

web/templates/admin/add_web.html

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,14 @@
4949
<tr>
5050
<td class="step-top">
5151
<span class="login-welcome"><?=__('Add Web Domain')?></span>
52+
<?php if ($user == 'admin') { ?>
53+
<span class="alert alert-info alert-with-icon">
54+
<i class="fas fa-exclamation"></i>
55+
<?=__('Avoid adding web domains on admin account')?>
56+
</span>
57+
<?php } ?>
5258
</td>
5359
</tr>
54-
<?php if ($user == 'admin') { ?>
55-
<tr>
56-
<td class="vst-text" style="width:390px;">
57-
<?php print __('Due to the increased access rights, we strongly advise against using the admin account for direct hosting of web domains. Always use a separate unprivileged user account instead.');?>
58-
</td>
59-
</tr>
60-
<?php } ?>
6160
<tr>
6261
<td class="vst-text step-top">
6362
<?php print __('Domain');?>

0 commit comments

Comments
 (0)