1
|
<?php
|
2
|
/*
|
3
|
* if user has selected a custom template, use it.
|
4
|
* otherwise default to pfsense tempalte
|
5
|
*/
|
6
|
if($config['theme'] <> "")
|
7
|
$g['theme'] = $config['theme'];
|
8
|
else
|
9
|
$g['theme'] = "pfsense";
|
10
|
?>
|
11
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
12
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
13
|
<html>
|
14
|
<head>
|
15
|
<title><?=gentitle($pgtitle);?></title>
|
16
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
17
|
<link rel="stylesheet" href="/themes/<?php echo $g['theme']; ?>/all.css" media="all" />
|
18
|
<link rel="stylesheet" type="text/css" href="/niftycssprintCode.css" media="print">
|
19
|
<script type="text/javascript" src="/themes/<?php echo $g['theme']; ?>/loader.js"></script>
|
20
|
|
21
|
<?php if (!isset($closehead)){ ?>
|
22
|
</head>
|
23
|
<?php } ?>
|