summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-07-27 02:16:04 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-07-27 02:16:04 +0000
commitc846d68436490198c23e6d6adff91359a28c2256 (patch)
tree04500f5127c2b70a85eef017029e04ceb0dea663 /usr
parent9e62228081bd5962bf7b7ebc969d2fe26fdf8cc2 (diff)
downloadpfsense-c846d68436490198c23e6d6adff91359a28c2256.zip
pfsense-c846d68436490198c23e6d6adff91359a28c2256.tar.gz
Begin using inline CSS and JS functions. Prototype seems to not agree
but everything else does and I am seeing a very nice speedup using these functions.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/index.php14
1 files changed, 9 insertions, 5 deletions
diff --git a/usr/local/www/index.php b/usr/local/www/index.php
index 7e33836..4bb741f 100755
--- a/usr/local/www/index.php
+++ b/usr/local/www/index.php
@@ -410,11 +410,15 @@ $closehead = false;
## Set Page Title and Include Header
$pgtitle = array("{$g['product_name']} Dashboard");
include("head.inc");
-
-echo "<script type=\"text/javascript\" language=\"javascript\" src=\"/javascript/domTT/domLib.js\"></script>";
-echo "<script type=\"text/javascript\" language=\"javascript\" src=\"/javascript/domTT/domTT.js\"></script>";
-echo "<script type=\"text/javascript\" language=\"javascript\" src=\"/javascript/domTT/behaviour.js\"></script>";
-echo "<script type=\"text/javascript\" language=\"javascript\" src=\"/javascript/domTT/fadomatic.js\"></script>";
+
+outputJavaScriptFileInline("javascript/domTT/domLib.js");
+outputJavaScriptFileInline("javascript/domTT/domTT.js");
+outputJavaScriptFileInline("javascript/domTT/behaviour.js");
+outputJavaScriptFileInline("javascript/domTT/fadomatic.js");
+//echo "<script type=\"text/javascript\" language=\"javascript\" src=\"/javascript/domTT/domLib.js\"></script>";
+//echo "<script type=\"text/javascript\" language=\"javascript\" src=\"/javascript/domTT/domTT.js\"></script>";
+//echo "<script type=\"text/javascript\" language=\"javascript\" src=\"/javascript/domTT/behaviour.js\"></script>";
+//echo "<script type=\"text/javascript\" language=\"javascript\" src=\"/javascript/domTT/fadomatic.js\"></script>";
?>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
OpenPOWER on IntegriCloud