-
Notifications
You must be signed in to change notification settings - Fork 12
/
header_minified.inc
61 lines (56 loc) · 2.76 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
49
50
51
52
53
54
55
56
57
58
59
60
61
</head>
<body class="invisible <?php if(isset($GLOBALS['page'])) print $GLOBALS['page'];else print "home-not-auth"; ?>">
<?php include __DIR__.'/../'.$THEMEINFO['dir'].'/body_trackers.php'; ?>
<div id="dialog"></div><div id="hiddendiv"></div>
<div class="container-fluid">
<div id="container">
<nav id="navigation" class="navbar navbar-inverse navbar-fixed-top col-lg-2 col-md-3">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse_" data-target="#menuTop" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="./" class="navbar-brand"><img src="ui/phplist-ui-bootlist/logo.svg" style="height: 45px; width: auto;" alt="phpList, email newsletter manager, logo" title="phpList, the world's most popular Open Source newsletter manager" /></a>
</nav>
<div id="sidebar" class="sidebar col-lg-2 col-md-3">
<?php echo $firstInstallButton?>
<div id="context-menu" class="menu block">
<?php print _topMenu(); ?>
</div>
<div id="recent" class="menu visited block">
<?php print recentlyVisited(); ?>
</div>
<div class="col-sm-12 sidebar-footer">
<div id="language">
<?php print $languageswitcher; ?>
</div>
<div id="logged">
<?php
if (empty($_SESSION["adminloggedin"])) {
if (empty($_SESSION['firstinstall']) && empty($_GET['firstinstall'])) {
print ('<a id="login" class="navbar-btn btn-primary btn-sm" href="./?page=home">' . s('Login') . '</a> ');
}
} else {
print ('<a id="logout" class="navbar-btn btn-primary btn-sm" href="./?page=logout">'.s('Logout').'</a>');
}
?>
</div>
</div>
</div> <!-- end #sidebar -->
<div class="col-lg-10 col-md-9 col-lg-offset-2 col-md-offset-3" id="content" tabindex=-1>
<div id="globalhelp">
<?php
$globalhelp = $pageinfo->content();
if (!empty($globalhelp)) { ?>
<div class="collapse" id="helptarget">
<div class="alert alert-info">
<?php print $globalhelp ?>
</div>
</div>
<button class="btn btn-xs btn-danger pull-right glyphicon glyphicon-info-sign" type="button" data-toggle="collapse" data-target="#helptarget" aria-expanded="false" aria-controls="collapseExample" title="<?php echo s('HELP') ?>"></button>
<?php } ?>
</div>
<div id="wrapp">
<div id="progressbar"></div>
<!-- content starts here -->