diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-07-27 03:44:08 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-07-27 03:44:08 +0000 |
commit | a2a3b97a397a23a67a13c3241620af7cb53ac4fb (patch) | |
tree | acd044fd350a85ef01866e7995c27845f221044b /usr/local/www/head.inc | |
parent | b77e126b22564595ad841d1c75f1605d1c6bc691 (diff) | |
download | pfsense-a2a3b97a397a23a67a13c3241620af7cb53ac4fb.zip pfsense-a2a3b97a397a23a67a13c3241620af7cb53ac4fb.tar.gz |
Unbreak nifty corners
Diffstat (limited to 'usr/local/www/head.inc')
-rwxr-xr-x | usr/local/www/head.inc | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/usr/local/www/head.inc b/usr/local/www/head.inc index 86f75b1..3ed1d6b 100755 --- a/usr/local/www/head.inc +++ b/usr/local/www/head.inc @@ -19,12 +19,18 @@ $pagetitle = gentitle( $pgtitle ); <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <?php if (strpos($_SERVER["SCRIPT_FILENAME"], "wizard.php") !== false && file_exists("{$g['www_path']}/themes/{$g['theme']}/wizard.css")): ?> - <?php outputCSSFileInline("themes/{$g['theme']}/wizard.css"); ?> + <?php outputCSSFileInline("themes/{$g['theme']}/wizard.css"); ?> <?php else: ?> - <link rel="stylesheet" href="/themes/<?php echo $g['theme']; ?>/all.css" media="all" /> + <link rel="stylesheet" href="/themes/<?php echo $g['theme']; ?>/all.css" media="all" /> <?php endif; ?> + + <?php outputCSSFileInline("niftycssCode.css"); ?> <?php outputCSSFileInline("niftycssprintCode.css"); ?> - <script type="text/javascript">var theme = "<?php echo $g['theme']; ?>"</script> + <link rel="stylesheet" type="text/css" href="niftycssprintCode.css" media="print"> + <?php outputJavaScriptFileInline("niftyjsCode.js"); ?> + <script type="text/javascript"> + var theme = "<?php echo $g['theme']; ?>"; + </script> <?php outputJavaScriptFileInline("themes/{$g['theme']}/loader.js"); ?> <? @@ -53,8 +59,9 @@ $pagetitle = gentitle( $pgtitle ); <script language="javascript" type="text/javascript"> <?php $oSajax->sajax_show_javascript(); ?> </script> + <? endif; ?> -<?php if (!isset($closehead)){ ?> -</head> -<?php } ?> +<?php if (!isset($closehead)) + echo "</head>"; +?> |