-
Notifications
You must be signed in to change notification settings - Fork 9
/
header_minified.inc
48 lines (47 loc) · 1.77 KB
/
header_minified.inc
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
<link rel="icon" href="./images/phplist.ico" type="image/x-icon" />
<link rel="apple-touch-icon" href="./images/phplist-touch-icon.png" />
<link rel="apple-touch-icon-precomposed" href="./images/phplist-touch-icon.png" />
</head>
<body class="<?php if(isset($GLOBALS['page'])) print $GLOBALS['page'];else print "home-not-auth"; ?>">
<div id="dialog"></div><div id="hiddendiv"></div>
<div id="container" class="container_24 container">
<div id="header" class="grid_24 sixteen columns">
<div id="logo"><a href="http://www.phplist.com" target="_blank"><img src="ui/dressprow/images/branding.png" alt="phpList, email newsletter manager, logo" title="phpList, the world's most popular Open Source newsletter manager" /></a></div>
<div id="logged">
<?php
if ($GLOBALS["require_login"] && (!isset ($_SESSION["adminloggedin"]) || !$_SESSION["adminloggedin"])) {
print ('<a id="login" href="./?page=home">Login</a> ');
} else {
print ('<a id="logout" href="./?page=logout">Logout</a>');
}
?>
</div>
</div>
<!-- end .grid_24 -->
<div class="clear"></div>
<div id="navigation" class="grid_24 sixteen columns">
<div id="main-menu" class=" fourteen columns alpha">
<?php print topMenu(); ?>
</div>
<div class="two columns omega">
<span id="menu-button"><span>Menu</span></span>
</div>
</div>
<div id="globalhelp">
<?php
$globalhelp = $pageinfo->content();
if (!empty($globalhelp)) { ?>
<div class="content">
<div class="text">
<?php print $globalhelp ?>
</div>
</div>
<div class="buttonhelp open"><?php echo s('HELP') ?></div>
<div class="buttonhelp close"><?php echo s('HELP') ?></div>
<?php } ?>
</div>
<div class="clear"></div>
<div id="content" class="grid_20 twelve columns">
<div id="wrapp">
<div id="progressbar"></div>
<!-- content start here -->