summaryrefslogtreecommitdiffstats
path: root/usr/local/www/head.inc
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/head.inc')
-rwxr-xr-xusr/local/www/head.inc19
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>";
+?>
OpenPOWER on IntegriCloud