summaryrefslogtreecommitdiffstats
path: root/usr/local/www/head.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfSense.org>2010-02-06 15:50:09 -0500
committerScott Ullrich <sullrich@pfSense.org>2010-02-06 15:50:09 -0500
commit6b519cfeb834d7510878fb6d38891d4c81781555 (patch)
treee7fb86d7c3666f0019f1cc469f4e1ffbb111af99 /usr/local/www/head.inc
parentf6f6947e2b447ed277ef91c8de42dddc590dfb57 (diff)
downloadpfsense-6b519cfeb834d7510878fb6d38891d4c81781555.zip
pfsense-6b519cfeb834d7510878fb6d38891d4c81781555.tar.gz
Fixup nifty css corners locations and code
Diffstat (limited to 'usr/local/www/head.inc')
-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