summaryrefslogtreecommitdiffstats
path: root/application/views/user/nav.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/user/nav.php
parentcabec2e1c8e468279f17bee9fb87f1676e8cec9a (diff)
Add profile and change password links to nav
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/user/nav.php')
-rw-r--r--application/views/user/nav.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/application/views/user/nav.php b/application/views/user/nav.php
new file mode 100644
index 000000000..26898fde8
--- /dev/null
+++ b/application/views/user/nav.php
@@ -0,0 +1,10 @@
+<?php if(auth_driver_function_implemented("can_register_new_users")) { ?>
+<li><a href="<?php echo site_url("user/invite") ?>"><i class="icon-plus icon-black"></i> Invite</a></li>
+<?php } ?>
+
+<li><a href="<?php echo site_url("user/profile") ?>"><i class="icon-user icon-black"></i> Profile</a></li>
+
+<?php if(auth_driver_function_implemented("can_reset_password")) { ?>
+<li><a href="<?php echo site_url("user/reset_password") ?>"><i class="icon-lock icon-black"></i> Change password</a></li>
+<?php } ?>
+