diff options
author | Erik Kristensen <ekristen@pfsense.org> | 2005-07-21 00:39:53 +0000 |
---|---|---|
committer | Erik Kristensen <ekristen@pfsense.org> | 2005-07-21 00:39:53 +0000 |
commit | 30af342ffa58785ddbc6eac3e316b2f534e16b90 (patch) | |
tree | 88876e520eba657df837e1095d2185baf9c619f7 /usr | |
parent | a99e956fbb09f6a4500faf548b75689ae31e099f (diff) | |
download | pfsense-30af342ffa58785ddbc6eac3e316b2f534e16b90.zip pfsense-30af342ffa58785ddbc6eac3e316b2f534e16b90.tar.gz |
just a few modifications
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/fbegin.inc | 44 | ||||
-rwxr-xr-x | usr/local/www/guiconfig.inc | 2 | ||||
-rwxr-xr-x | usr/local/www/pkg_mgr_install.php | 2 |
3 files changed, 4 insertions, 44 deletions
diff --git a/usr/local/www/fbegin.inc b/usr/local/www/fbegin.inc index 6a8be8c..1307d8e 100755 --- a/usr/local/www/fbegin.inc +++ b/usr/local/www/fbegin.inc @@ -18,49 +18,7 @@ require_once("notices.inc"); return $htmltext; } ?> - -<script language="javascript"> -<!-- -var tri_open = ""; -var tri_closed = ""; - -window.onload = preload; - -function preload() { - if (document.images) { - tri_open = new Image(14,10); - tri_closed = new Image(14,10); - tri_open.src = "/tri_o.gif"; - tri_closed.src = "/tri_c.gif"; - } -} - -function showhide(tspan, tri) { - tspanel = document.getElementById(tspan); - triel = document.getElementById(tri); - if (tspanel.style.display == 'none') { - tspanel.style.display = ''; - triel.src = "/tri_o.gif"; - } else { - tspanel.style.display = 'none'; - triel.src = "/tri_c.gif"; - } -} - -function showhide_black(tspan, tri) { - tspanel = document.getElementById(tspan); - triel = document.getElementById(tri); - if (tspanel.style.display == 'none') { - tspanel.style.display = ''; - triel.src = "/tri_o_black.gif"; - } else { - tspanel.style.display = 'none'; - triel.src = "/tri_c_black.gif"; - } -} ---> -</script> - +s <div id="wrapper"> <div id="header"> diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc index 7920bbf..b333145 100755 --- a/usr/local/www/guiconfig.inc +++ b/usr/local/www/guiconfig.inc @@ -134,6 +134,7 @@ function do_input_validation($postdata, $reqdfields, $reqdfieldsn, $input_errors } function print_input_errors($input_errors) { + global $g; echo "<p><table border=\"0\" cellspacing=\"0\" cellpadding=\"4\" width=\"100%\">\n"; echo "<tr><td bgcolor=\"#990000\" width=\"36\" align=\"center\" valign=\"top\"><img src=\"./themes/".$g['theme']."/images/icons/icon_error.gif\" width=\"28\" height=\"32\"></td>\n"; echo "<td bgcolor=\"#FFD9D1\" style=\"padding-left: 8px; padding-top: 6px\">"; @@ -179,6 +180,7 @@ function verify_gzip_file($fname) { } function print_info_box_np($msg) { + global $g; echo "<table height=\"32\" width=\"100%\">\n"; echo " <tr>\n"; echo " <td>\n"; diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php index 94dd5b5..90d6a4c 100755 --- a/usr/local/www/pkg_mgr_install.php +++ b/usr/local/www/pkg_mgr_install.php @@ -72,7 +72,7 @@ include("head.inc"); <td background="./themes/<?= $g['theme']; ?>/images/misc/bar_left.gif" height='15' width='5'> </td> <td> - <table id="progholder" name="progholder" height='15' width='410' border='0' colspacing='0' cellpadding='0' cellspacing='0'><td background="./themes/<?= $g['theme']; ?>/images/misc/bar_gray.gif" valign="top" align="left"><img src='./themes/<?= $g['theme']; ?>/images/icons/icon_bar_blue.gif' width='0' height='15' name='progressbar' id='progressbar'></td></table> + <table id="progholder" name="progholder" height='15' width='410' border='0' colspacing='0' cellpadding='0' cellspacing='0'><td background="./themes/<?= $g['theme']; ?>/images/misc/bar_gray.gif" valign="top" align="left"><img src='./themes/<?= $g['theme']; ?>/images/misc/bar_blue.gif' width='0' height='15' name='progressbar' id='progressbar'></td></table> </td> <td background="./themes/<?= $g['theme']; ?>/images/misc/bar_right.gif" height='15' width='5'> </td> |