diff options
author | k-paulius <k.dash.paulius@gmail.com> | 2016-02-13 16:22:44 -0600 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-02-14 15:09:54 -0500 |
commit | 7c945f74712d3c2ef8d1beee65b881cfcf80e6bd (patch) | |
tree | 1664e15a5b3e1202bf87ebcc62f538005d6f42c3 /src/usr/local/www/exec.php | |
parent | b290833b28c3083a7cb5c8b3ec5060620274e2b9 (diff) | |
download | pfsense-7c945f74712d3c2ef8d1beee65b881cfcf80e6bd.zip pfsense-7c945f74712d3c2ef8d1beee65b881cfcf80e6bd.tar.gz |
Use print_info_box() to generate alerts
Diffstat (limited to 'src/usr/local/www/exec.php')
-rw-r--r-- | src/usr/local/www/exec.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/exec.php b/src/usr/local/www/exec.php index b37c734..2e785f4 100644 --- a/src/usr/local/www/exec.php +++ b/src/usr/local/www/exec.php @@ -218,7 +218,7 @@ if (isBlank($_POST['txtRecallBuffer'])) { <?php if (isBlank($_POST['txtCommand']) && isBlank($_POST['txtPHPCommand']) && isBlank($ulmsg)) { - print('<div class="alert alert-warning" role="alert">' . gettext("The capabilities offered here can be dangerous. No support is available. Use them at your own risk!") . '</div>'); + print_info_box(gettext("The capabilities offered here can be dangerous. No support is available. Use them at your own risk!"), 'warning', false); } if (!isBlank($_POST['txtCommand'])):?> @@ -269,7 +269,7 @@ if (!isBlank($_POST['txtCommand'])):?> <?php if ($ulmsg) { - print('<div class="alert alert-success" role="alert">' . $ulmsg . '</div>'); + print_info_box($ulmsg, 'success', false); } ?> <div class="panel panel-default"> |