summaryrefslogtreecommitdiffstats
path: root/application/views/header.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-07-13 23:23:14 +0200
committerFlorian Pritz <bluewind@xinu.at>2013-07-13 23:23:14 +0200
commitdae72651917ca292d41b2876136dc4d62f0a3859 (patch)
treeacc9e3c6cc908c1e5ee34ad6d6e91b8b819fde14 /application/views/header.php
parentcabec2e1c8e468279f17bee9fb87f1676e8cec9a (diff)
Add profile and change password links to nav
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/header.php')
-rw-r--r--application/views/header.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/application/views/header.php b/application/views/header.php
index 0a717d6dc..7ed605bf3 100644
--- a/application/views/header.php
+++ b/application/views/header.php
@@ -56,9 +56,14 @@ if (is_cli_client() && !isset($force_full_html)) {
<?php if(isset($username) && $username) { ?>
<li><a href="<?php echo site_url("file/index") ?>"><i class="icon-pencil icon-white"></i> New</a></li>
<li><a href="<?php echo site_url("file/upload_history") ?>"><i class="icon-book icon-white"></i> History</a></li>
- <?php if(auth_driver_function_implemented("can_register_new_users")) { ?>
- <li><a href="<?php echo site_url("user/invite") ?>"><i class="icon-plus icon-white"></i> Invite</a></li>
- <?php } ?>
+ <li class="dropdown">
+ <a href="<?php echo site_url("user/index"); ?>" class="dropdown-toggle" data-toggle="dropdown">
+ <i class="icon-user icon-white"></i> Account <b class="caret"></b>
+ </a>
+ <ul class="dropdown-menu">
+ <?php include "user/nav.php"; ?>
+ </ul>
+ </li>
<?php } ?>
</ul>
</div>