summaryrefslogtreecommitdiffstats
path: root/application/views/file/header.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-04-11 13:42:51 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-04-11 15:59:02 +0200
commitccaacf44d01471670fa8650a8498dcd49c29b358 (patch)
tree2558d1619ee421283a79222a9c5580325a57dfc9 /application/views/file/header.php
parentba9c11dce576becf8669a11519d69322066444c4 (diff)
Display login boxes on upload_form
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/file/header.php')
-rw-r--r--application/views/file/header.php11
1 files changed, 1 insertions, 10 deletions
diff --git a/application/views/file/header.php b/application/views/file/header.php
index 896b9c894..ca540c805 100644
--- a/application/views/file/header.php
+++ b/application/views/file/header.php
@@ -18,16 +18,7 @@
<?php if(isset($username) && $username) { ?>
<?=anchor("user/logout", "Logout"); ?>
<?php } else { ?>
- <a>
- Login
- <div id="login-form">
- <?=form_open("user/login"); ?>
- <input type="text" name="username" />
- <input type="password" name="password" />
- <input type="submit" value="Login" name="process" />
- </form>
- </div>
- </a>
+ <?=anchor("user/login", "Login"); ?>
<?php } ?>
</div>
</div>