summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xusr/local/www/head.inc11
1 files changed, 3 insertions, 8 deletions
diff --git a/usr/local/www/head.inc b/usr/local/www/head.inc
index 2bbe61f..3958174 100755
--- a/usr/local/www/head.inc
+++ b/usr/local/www/head.inc
@@ -37,14 +37,9 @@ $pagetitle = gentitle( $pgtitle );
<?php else: ?>
<link rel="stylesheet" href="/themes/<?php echo $g['theme']; ?>/all.css" media="all" />
<?php endif; ?>
- <?php
- if(file_exists("{$g['www_path']}/niftycssCode.css"))
- echo "<style type=\"text/css\" src=\"{$g['www_path']}/niftycssCode.css\"></style>";
- if(file_exists("{$g['www_path']}/niftycssprintCode.css"))
- echo "<style type=\"text/css\" src=\"{$g['www_path']}/niftycssprintCode.css\"></style>";
- if(file_exists("{$g['www_path']}/javascript/niftyjsCode.js"))
- echo "\t<script type=\"text/javascript\" src=\"{$g['www_path']}/javascript/niftyjsCode.js\"></script>\n";
- ?>
+ <link rel="stylesheet" type="text/css" href="/niftycssCode.css">
+ <link rel="stylesheet" type="text/css" href="/niftycssprintCode.css" media="print">
+ <script type="text/javascript" src="/javascript/niftyjsCode.js"></script>
<script type="text/javascript">
var theme = "<?php echo $g['theme']; ?>";
</script>
OpenPOWER on IntegriCloud