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

39 lines
1.6 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 20:16:05 +01:00
<div id="ss1">
<div class="row">
<div class="mcell" style="width: 80px;">
</div>
<div class="mcell" style="width: 315px;">
<ul class="dropdown">
2012-03-10 14:52:50 +01:00
<li class="search_li"><a href="search.php"<?php if($_SERVER['REQUEST_URI'] == '/' || strstr($_SERVER['REQUEST_URI'], "search.php")){ ?> id="active"<?php } ?>><?php print $text_simple_search; ?></a> |&nbsp;</li>
2012-02-14 20:16:05 +01:00
<li class="search_li"><a href="advanced.php"<?php if(strstr($_SERVER['REQUEST_URI'], "advanced.php")){ ?> id="active"<?php } ?>><?php print $text_advanced_search; ?></a></li>
</ul>
</div>
<div class="mcell" style="width: 95px;">
<ul class="dropdown">
<li class="last_li" style="text-align: right; float: right;"><a href="settings.php"<?php if(strstr($_SERVER['REQUEST_URI'], "settings.php")){ ?> id="active"<?php } ?>><?php print $text_settings; ?></a></li>
</ul>
</div>
</div>
</div>
2012-02-08 23:14:28 +01:00
</div>
<div class="rightcell">
<div class="logout22">
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 } ?>