blob: 46698d0b822238c64fe2ee161daaf6e0e94f4599 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
<?php header('Content-Type: text/html; charset=utf-8'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title><?php echo filter($GLOBALS['sitename'] . (isset($pagetitle) ? ': ' . $pagetitle : '')); ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="icon" type="image/png"
href="<?php echo $GLOBALS['root']; ?>icon.png" />
<link rel="stylesheet" type="text/css"
href="<?php echo $GLOBALS['root']; ?>scuttle.css" />
<?php
if(isset($rsschannels)) {
$size = count($rsschannels);
for ($i = 0; $i < $size; $i++) {
echo '<link rel="alternate" type="application/rss+xml" title="'. $rsschannels[$i][0] .'" href="'. $rsschannels[$i][1] .'" />';
}
}
?>
<?php if (isset($loadjs)) :?>
<script type="text/javascript"
src="<?php echo $GLOBALS['root']; ?>jsScuttle.php"></script>
<link rel="stylesheet" type="text/css"
href="<?php echo $GLOBALS['root']; ?>includes/js/dijit/themes/tundra/tundra.css">
<script type="text/javascript" src="<?php echo $GLOBALS['root']; ?>includes/js/dojo/dojo.js"
djConfig="parseOnLoad:true, isDebug:false, usePlainJson:true"></script>
<script type="text/javascript">
dojo.require("dojo.parser");
dojo.require("dojo.data.ItemFileReadStore");
dojo.require("dojox.widget.MultiComboBox");
</script>
<?php endif ?>
</head>
<body class="tundra"> <!-- the tundra class is used by Dojo widgets -->
<?php
$headerstyle = '';
if(isset($_GET['popup'])) {
$headerstyle = ' class="popup"';
}
?>
<div id="header" <?php echo $headerstyle; ?>>
<h1><a href="<?php echo $GLOBALS['root']; ?>"><?php echo $GLOBALS['sitename']; ?></a></h1>
<?php
if(!isset($_GET['popup'])) {
$this->includeTemplate('toolbar.inc');
}
?> <?php if(!isset($_GET['popup'])):?> <!--span id="welcome"><?php echo $GLOBALS['welcomeMessage'];?></span-->
<?php endif; ?></div>
<?php
if (isset($subtitle)) {
echo '<h2>'. $subtitle ."</h2>\n";
}
if (isset($error)) {
echo '<p class="error">'. $error ."</p>\n";
}
if (isset($msg)) {
echo '<p class="success">'. $msg ."</p>\n";
}
?>
|