Project

General

Profile

« Previous | Next » 

Revision a2a3b97a

Added by Scott Ullrich almost 17 years ago

Unbreak nifty corners

View differences:

usr/local/www/head.inc
19 19
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
20 20
        <?php if (strpos($_SERVER["SCRIPT_FILENAME"], "wizard.php") !== false &&
21 21
                  file_exists("{$g['www_path']}/themes/{$g['theme']}/wizard.css")): ?>
22
		<?php outputCSSFileInline("themes/{$g['theme']}/wizard.css"); ?>
22
					<?php outputCSSFileInline("themes/{$g['theme']}/wizard.css"); ?>
23 23
        <?php else: ?>
24
        <link rel="stylesheet" href="/themes/<?php echo $g['theme']; ?>/all.css" media="all" />
24
        	<link rel="stylesheet" href="/themes/<?php echo $g['theme']; ?>/all.css" media="all" />
25 25
        <?php endif; ?>
26

  
27
	<?php outputCSSFileInline("niftycssCode.css"); ?>
26 28
	<?php outputCSSFileInline("niftycssprintCode.css"); ?>
27
	<script type="text/javascript">var theme = "<?php echo $g['theme']; ?>"</script>
29
		<link rel="stylesheet" type="text/css" href="niftycssprintCode.css" media="print">
30
	<?php outputJavaScriptFileInline("niftyjsCode.js"); ?>
31
	<script type="text/javascript">
32
		var theme = "<?php echo $g['theme']; ?>";
33
	</script>
28 34
	<?php outputJavaScriptFileInline("themes/{$g['theme']}/loader.js"); ?>
29 35

  
30 36
<?
......
53 59
	<script language="javascript" type="text/javascript">
54 60
		<?php $oSajax->sajax_show_javascript(); ?>
55 61
	</script>
62

  
56 63
<?	endif; ?>
57 64

  
58
<?php if (!isset($closehead)){ ?>
59
</head>
60
<?php } ?>
65
<?php if (!isset($closehead))
66
	echo "</head>";
67
?>

Also available in: Unified diff