diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-07-27 02:16:04 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-07-27 02:16:04 +0000 |
commit | c846d68436490198c23e6d6adff91359a28c2256 (patch) | |
tree | 04500f5127c2b70a85eef017029e04ceb0dea663 /usr | |
parent | 9e62228081bd5962bf7b7ebc969d2fe26fdf8cc2 (diff) | |
download | pfsense-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-x | usr/local/www/index.php | 14 |
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"> |