summaryrefslogtreecommitdiffstats
path: root/application/modules
diff options
context:
space:
mode:
authorSimon2011-04-11 12:25:05 +0200
committerSimon2011-04-11 12:25:05 +0200
commit370c7659aa62ec420e885862459f8f2df099ff7e (patch)
treea38c4c03dab29d9f05f0373d0b94e49bd8692fb5 /application/modules
parentDefault Bootmenu wird kopiert und passender Filter angelegt (diff)
downloadpbs2-370c7659aa62ec420e885862459f8f2df099ff7e.tar.gz
pbs2-370c7659aa62ec420e885862459f8f2df099ff7e.tar.xz
pbs2-370c7659aa62ec420e885862459f8f2df099ff7e.zip
Layout an rechte angepasst & send-post zum testen an datenbank angepasst
Diffstat (limited to 'application/modules')
-rw-r--r--application/modules/user/layouts/user.phtml6
1 files changed, 4 insertions, 2 deletions
diff --git a/application/modules/user/layouts/user.phtml b/application/modules/user/layouts/user.phtml
index b27b747..32569c9 100644
--- a/application/modules/user/layouts/user.phtml
+++ b/application/modules/user/layouts/user.phtml
@@ -29,10 +29,12 @@ echo $this->headScript()."\n";
<li class='navTreeItem'><a href='/user/'>user</a></li>
<li>
<ul class='navTreeLevel1'>
+ <?php if(Zend_Auth::getInstance()->hasIdentity()) {
+ echo "<li class='navTreeItem'><a href='/user/person'>Own Details</a></li>";
+ }
+ ?>
<?php if (Zend_Auth::getInstance()->hasIdentity() && count(Zend_Session::namespaceGet('userIDs')) > 0) {
# This should be splitted
- if(Pbs_Acl::checkRight('psod'))
- echo "<li class='navTreeItem'><a href='/user/person'>Own Details</a></li>";
if(Pbs_Acl::checkRight('pso'))
echo "<li class='navTreeItem'><a href='/user/person/showall'>Personlist</a></li>";
if(Pbs_Acl::checkRight('gsdo'))