summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-03 00:41:17 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-03 00:41:17 +0000
commitc438d2f8328a49f1bc38f005a18866c7f4f92119 (patch)
tree2e679090a2ffca05b87cb5deae09521dd9af6d3d /usr
parent1b8f9d6eb7eb579923202ccc5d60a8da3437bdaa (diff)
downloadpfsense-c438d2f8328a49f1bc38f005a18866c7f4f92119.zip
pfsense-c438d2f8328a49f1bc38f005a18866c7f4f92119.tar.gz
Break msg into its own table to protect from wrapping under icon
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/guiconfig.inc24
1 files changed, 13 insertions, 11 deletions
diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc
index 61b42b6..8ba49bd 100755
--- a/usr/local/www/guiconfig.inc
+++ b/usr/local/www/guiconfig.inc
@@ -178,20 +178,22 @@ function verify_gzip_file($fname) {
function print_info_box_np($msg) {
echo "<table height=\"32\" width=\"100%\">\n";
- echo " <tr>";
- echo " <td>";
- echo " <div style='background-color:#990000' id='redbox'>";
- echo " &nbsp;&nbsp;&nbsp;<img style='vertical-align:middle' src=\"/exclam.gif\" width=\"28\" height=\"32\">";
- echo " &nbsp;&nbsp;&nbsp;<font color='white'><b>{$msg}</b></font>";
- echo " </div>";
- echo " </td>";
- echo "</table>";
- echo "<br>";
- echo "<script type=\"text/javascript\">";
+ echo " <tr>\n";
+ echo " <td>\n";
+ echo " <div style='background-color:#990000' id='redbox'>\n";
+ echo " <table width='100%'><tr><td width='8%'>\n";
+ echo " &nbsp;&nbsp;&nbsp;<img style='vertical-align:middle' src=\"/exclam.gif\" width=\"28\" height=\"32\">\n";
+ echo " </td><td><font color='white'><b>{$msg}</b></font>\n";
+ echo " </td></tr></table>\n";
+ echo " </div>\n";
+ echo " </td>\n";
+ echo "</table>\n";
+ echo "<br>\n";
+ echo "<script type=\"text/javascript\">\n";
echo "NiftyCheck();\n";
echo "Rounded(\"div#redbox\",\"all\",\"#FFF\",\"#990000\",\"smooth\");\n";
echo "Rounded(\"td#blackbox\",\"all\",\"#FFF\",\"#000000\",\"smooth\");\n";
- echo "</script>";
+ echo "</script>\n";
}
function print_info_box($msg) {
OpenPOWER on IntegriCloud