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

19 lines
1.1 KiB
Smarty
Raw Normal View History

2012-02-08 23:14:28 +01:00
<?php if(Registry::get('username')) { ?>
<div class="logout22">
2012-09-06 15:27:20 +02:00
<a href="search.php"<?php if($_SERVER['REQUEST_URI'] == '/' || strstr($_SERVER['REQUEST_URI'], "search.php")){ ?> id="active"<?php } ?>><?php print $text_search; ?></a> |
2012-09-15 15:30:35 +02:00
<?php if(ENABLE_FOLDER_RESTRICTIONS == 1) { ?>
2012-12-18 15:58:14 +01:00
<a href="folders.php"<?php if(strstr($_SERVER['REQUEST_URI'], "folders.php")){ ?> id="active"<?php } ?>><?php print $text_folders; ?></a> |
2012-09-15 15:30:35 +02:00
<?php } ?>
2012-12-18 15:58:14 +01:00
<a href="settings.php"<?php if(strstr($_SERVER['REQUEST_URI'], "settings.php")){ ?> id="active"<?php } ?>><?php print $text_settings; ?></a> |
2012-10-23 10:34:05 +02:00
<?php if(HELPER_URL) { ?>
<a href="<?php print HELPER_URL; ?>"><?php print $text_help; ?></a> |
<?php } ?>
2012-09-06 15:27:20 +02:00
<?php if(isset($_SESSION['realname'])) { print $text_realname; ?>: <?php print $_SESSION['realname']; ?> | <?php } ?>
2012-12-18 15:58:14 +01:00
<a 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>
<?php } ?>