2012-02-08 23:14:28 +01:00
|
|
|
<?php if(Registry::get('username')) { ?>
|
|
|
|
|
2013-04-05 10:16:33 +02:00
|
|
|
<div class="navbar navbar-fixed-top">
|
|
|
|
<div class="navbar-inner">
|
|
|
|
<div class="container-fluid">
|
|
|
|
|
|
|
|
<!-- <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
</a> -->
|
|
|
|
|
|
|
|
<a class="brand" href="/" title="<?php print SITE_NAME; ?>"><img src="<?php print SITE_LOGO_SM; ?>" alt="<?php print SITE_NAME; ?>" /></a>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <div class="nav-collapse"> -->
|
|
|
|
<ul class="nav">
|
2013-03-29 18:05:58 +01:00
|
|
|
|
|
|
|
<?php if($admin_user == 1) { ?>
|
|
|
|
|
2013-04-05 10:16:33 +02:00
|
|
|
<li class="dropdown">
|
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-desktop"></i> <?php print $text_monitor; ?> <b class="caret"></b></a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a href="index.php?route=stat/stat×pan=daily"><i class="icon-bar-chart"></i> Statistics</a></li>
|
|
|
|
<li><a href="index.php?route=accounting/accounting&view=email"><i class="icon-tasks"></i> Accounting</a></li>
|
|
|
|
<li><a href="index.php?route=health/health"><i class="icon-medkit"></i> Health</a></li>
|
|
|
|
<?php if(ENABLE_AUDIT == 1) { ?>
|
|
|
|
<li><a href="index.php?route=audit/audit"><i class="icon-book"></i> <?php print $text_audit; ?></a></li>
|
|
|
|
<?php } ?>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li class="dropdown"<?php if(strstr($_SERVER['QUERY_STRING'], "domain/") || ($_SERVER['QUERY_STRING'] != "route=user/settings" && strstr($_SERVER['QUERY_STRING'], "user/")) || strstr($_SERVER['QUERY_STRING'], "policy/") || strstr($_SERVER['QUERY_STRING'], "import/")) { ?> id="active"<?php } ?>>
|
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-cogs"></i> <?php print $text_administration; ?> <b class="caret"></b></a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a href="index.php?route=user/list"><i class="icon-user"></i> <?php print $text_users; ?></a></li>
|
|
|
|
<li><a href="index.php?route=group/list"><i class="icon-group"></i> <?php print $text_groups; ?></a></li>
|
|
|
|
<li><a href="index.php?route=domain/domain"><i class="icon-globe"></i> <?php print $text_domain; ?></a></li>
|
2013-07-08 11:31:17 +02:00
|
|
|
<?php if(ENABLE_SAAS == 1) { ?>
|
|
|
|
<li><a href="index.php?route=ldap/list"><i class="icon-key"></i> <?php print $text_ldap; ?></a></li>
|
|
|
|
<?php } ?>
|
2013-04-05 10:16:33 +02:00
|
|
|
<li><a href="index.php?route=policy/archiving"><i class="icon-folder-open"></i> <?php print $text_archiving_rules; ?></a></li>
|
|
|
|
<li><a href="index.php?route=policy/retention"><i class="icon-time"></i> <?php print $text_retention_rules; ?></a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
2013-03-29 18:05:58 +01:00
|
|
|
|
|
|
|
|
|
|
|
<?php } else { ?>
|
|
|
|
|
2013-04-05 10:16:33 +02:00
|
|
|
<li><a href="search.php"><i class="icon-search"></i> <?php print $text_search; ?></a></li>
|
|
|
|
|
2013-07-12 15:02:50 +02:00
|
|
|
<?php if(ENABLE_AUDIT == 1 && $auditor_user == 1) { ?>
|
|
|
|
<li><a href="index.php?route=audit/audit"><i class="icon-book"></i> <?php print $text_audit; ?></a></li>
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
2013-04-05 10:16:33 +02:00
|
|
|
<?php if(ENABLE_FOLDER_RESTRICTIONS == 1) { ?>
|
|
|
|
<li><a href="/folders.php"><i class="icon-folder-close"></i> <?php print $text_folders; ?></a></li>
|
2013-03-31 14:50:21 +02:00
|
|
|
<?php } ?>
|
2012-02-08 23:14:28 +01:00
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
2013-04-05 10:16:33 +02:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
<ul class="nav pull-right">
|
|
|
|
<li class="dropdown">
|
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-user"></i> <?php if(isset($_SESSION['realname'])) { print $_SESSION['realname']; ?> <?php } ?><b class="caret"></b></a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a href="settings.php"><i class="icon-cog"></i> Settings</a></li>
|
|
|
|
<li class="divider"></li>
|
|
|
|
<li><a href="logout.php"><i class="icon-off"></i> <?php print $text_logout; ?></a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<!-- </div><!--/.nav-collapse -->
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-03-29 18:05:58 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<?php } ?>
|