summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-04-09 00:37:49 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-04-09 20:48:09 +0200
commitab79796120f5ea94cdee1a317c22868aae47812a (patch)
tree3a6514f909e456379d39d10bc74f206bb62b9861
parent965dca9990d416fc4016c26d0e8d7dbff4de0a8f (diff)
add history link to header; fix indentation
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--application/views/file/header.php13
1 files changed, 7 insertions, 6 deletions
diff --git a/application/views/file/header.php b/application/views/file/header.php
index 526a9bca4..e4a1edc2b 100644
--- a/application/views/file/header.php
+++ b/application/views/file/header.php
@@ -10,17 +10,18 @@
<body>
<div class="top">
- <?php echo anchor('file/index', 'New'); ?>
+ <?php echo anchor('file/index', 'New'); ?> |
+ <?php echo anchor('file/upload_history', 'History'); ?>
<div class="right">
<?php if(isset($username) && $username) { ?>
<?=anchor("user/logout", "Logout"); ?>
<?php } else { ?>
- <?=form_open("user/login"); ?>
- <input type="text" name="username" />
- <input type="password" name="password" />
- <input type="submit" value="Login" name="process" />
- </form>
+ <?=form_open("user/login"); ?>
+ <input type="text" name="username" />
+ <input type="password" name="password" />
+ <input type="submit" value="Login" name="process" />
+ </form>
<?php } ?>
</div>
</div>