summaryrefslogtreecommitdiffstats
path: root/application/views
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-07-12 12:49:40 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-07-12 12:53:57 +0200
commit1eb6508517a670667c8d69b1fe3d6a6beaab7451 (patch)
tree6df651e67f136c0558c67bfb365bab5be82264ca /application/views
parent539638e7de5b9282797a514e437e74c4c50bea94 (diff)
Improve design of general error page
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views')
-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">