summaryrefslogtreecommitdiffstats
path: root/application/views/file/header.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/views/file/header.php')
-rw-r--r--application/views/file/header.php16
1 files changed, 9 insertions, 7 deletions
diff --git a/application/views/file/header.php b/application/views/file/header.php
index 733c6788e..3029e4579 100644
--- a/application/views/file/header.php
+++ b/application/views/file/header.php
@@ -14,13 +14,15 @@
<?php echo anchor('file/upload_history', 'History'); ?> |
<?php echo anchor('user/invite', 'Invite'); ?>
- <div class="right">
- <?php if(isset($username) && $username) { ?>
- <?=anchor("user/logout", "Logout"); ?>
- <?php } else { ?>
- <?=anchor("user/login", "Login"); ?>
- <?php } ?>
- </div>
+ <?php if(!isset($is_error_page)) { ?>
+ <div class="right">
+ <?php if(isset($username) && $username) { ?>
+ <?=anchor("user/logout", "Logout"); ?>
+ <?php } else { ?>
+ <?=anchor("user/login", "Login"); ?>
+ <?php } ?>
+ </div>
+ <?php } ?>
</div>
<div class="content">