summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorErik Kristensen <ekristen@pfsense.org>2005-07-21 00:39:53 +0000
committerErik Kristensen <ekristen@pfsense.org>2005-07-21 00:39:53 +0000
commit30af342ffa58785ddbc6eac3e316b2f534e16b90 (patch)
tree88876e520eba657df837e1095d2185baf9c619f7 /usr
parenta99e956fbb09f6a4500faf548b75689ae31e099f (diff)
downloadpfsense-30af342ffa58785ddbc6eac3e316b2f534e16b90.zip
pfsense-30af342ffa58785ddbc6eac3e316b2f534e16b90.tar.gz
just a few modifications
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/fbegin.inc44
-rwxr-xr-xusr/local/www/guiconfig.inc2
-rwxr-xr-xusr/local/www/pkg_mgr_install.php2
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>
OpenPOWER on IntegriCloud