diff options
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/head.inc | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/usr/local/www/head.inc b/usr/local/www/head.inc index 4a57991..57a6cf8 100755 --- a/usr/local/www/head.inc +++ b/usr/local/www/head.inc @@ -23,9 +23,14 @@ $pagetitle = gentitle( $pgtitle ); <?php else: ?> <link rel="stylesheet" href="/themes/<?php echo $g['theme']; ?>/all.css" media="all" /> <?php endif; ?> - <?php if(file_exists("niftycssCode.css")) outputCSSFileInline("niftycssCode.css"); ?> - <script type="text/javascript" src="niftycssprintCode.css"></script> - <?php outputJavaScriptFileInline("niftyjsCode.js"); ?> + <?php + if(file_exists("niftycssCode.css")) + outputCSSFileInline("niftycssCode.css"); + if(file_exists("niftycssprintCode.css")) + outputCSSFileInline("niftycssprintCode.css"); + if(file_exists("niftyjsCode.js")) + outputJavaScriptFileInline("niftyjsCode.js"); + ?> <script type="text/javascript"> var theme = "<?php echo $g['theme']; ?>"; </script> |