piler/webui/view/theme/default/templates/common/menu-admin.tpl

59 lines
3.4 KiB
Smarty
Raw Normal View History

2012-02-08 23:14:28 +01:00
<?php if(Registry::get('username')) { ?>
<div class="row">
<div class="leftcell">
2012-02-14 21:22:04 +01:00
<div id="ss1">
<div class="row">
<div class="mcell" style="width: 80px;">
</div>
<div class="mcell" style="width: 350px; border: 0px solid red;">
<ul class="dropdown">
2012-05-07 09:38:47 +02:00
<li class="search_li" style="font: 11px normal Arial, sans-serif;"><a href="search.php"<?php if($_SERVER['REQUEST_URI'] == '/' || strstr($_SERVER['REQUEST_URI'], "search.php")){ ?> id="active"<?php } ?>><?php print $text_simple; ?></a>&nbsp;/&nbsp;</li>
<li class="search_li" style="font: 11px normal Arial, sans-serif;"><a href="advanced.php"<?php if(strstr($_SERVER['REQUEST_URI'], "advanced.php")){ ?> id="active"<?php } ?>><?php print $text_advanced; ?></a>&nbsp;</li>
<li class="no_search_li" style="font: 11px normal Arial, sans-serif;"><?php print $text_search2; ?> | </li>
2012-02-14 21:22:04 +01:00
2012-05-07 09:38:47 +02:00
<li class="search_li" style="font: 11px normal Arial, sans-serif;"><a class="hide" href="#"<?php if(strstr($_SERVER['QUERY_STRING'], "stat/") || strstr($_SERVER['QUERY_STRING'], "health/") || strstr($_SERVER['QUERY_STRING'], "audit/") ) { ?> id="active"<?php } ?>><?php print $text_monitor; ?></a> |
2012-02-08 23:14:28 +01:00
<ul class="sub_menu">
<li><a href="index.php?route=stat/stat&timespan=daily"><?php print $text_statistics; ?></a></li>
<li><a href="index.php?route=health/health"><?php print $text_health; ?></a></li>
<li><a href="index.php?route=audit/audit"><?php print $text_audit; ?></a></li>
</ul>
</li>
2012-05-07 09:38:47 +02:00
<li class="search_li" style="font: 11px normal Arial, sans-serif;"><a class="hide" href="#"<?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 } ?>><?php print $text_administration; ?></a>
2012-02-08 23:14:28 +01:00
<ul class="sub_menu">
<li><a href="index.php?route=user/list"><?php print $text_user_management; ?></a></li>
<li><a href="index.php?route=domain/domain"><?php print $text_domain; ?></a></li>
<li><a href="index.php?route=policy/archiving"><?php print $text_archiving_rules; ?></a></li>
<li><a href="index.php?route=policy/retention"><?php print $text_retention_rules; ?></a></li>
</ul>
</li>
2012-02-14 21:22:04 +01:00
</ul>
</div>
<div class="mcell" style="width: 60px; border: 0px solid red;">
<ul class="dropdown">
2012-05-07 09:38:47 +02:00
<li class="last_li" style="text-align: right; float: right; font: 11px normal Arial, sans-serif;"><a href="settings.php"<?php if(strstr($_SERVER['REQUEST_URI'], "settings.php")){ ?> id="active"<?php } ?>><?php print $text_settings; ?></a></li>
2012-02-14 21:22:04 +01:00
</ul>
</div>
</div>
</div>
2012-02-08 23:14:28 +01:00
</div>
<div class="rightcell">
2012-05-07 09:38:47 +02:00
<div class="logout22_admin">
2012-02-14 20:16:05 +01:00
<?php if(isset($_SESSION['realname'])) { print $text_realname; ?>: <?php print $_SESSION['realname']; ?>, <?php } ?> <a class="logout" href="logout.php"<?php if(strstr($_SERVER['QUERY_STRING'], "login/logout")){ ?> id="active"<?php } ?>><?php print $text_logout; ?></a>
2012-02-08 23:14:28 +01:00
</div>
</div>
</div>
<?php } ?>