diff --git a/views/bootstrap/class.DocumentNotify.php b/views/bootstrap/class.DocumentNotify.php
index a6463abcf..2404ec5e6 100644
--- a/views/bootstrap/class.DocumentNotify.php
+++ b/views/bootstrap/class.DocumentNotify.php
@@ -151,10 +151,10 @@ $(document).ready( function() {
} else {
print "
\n";
foreach ($notifyList["users"] as $userNotify) {
- print "";
- print " | ";
- print "" . htmlspecialchars($userNotify->getLogin() . " - " . $userNotify->getFullName()) . " | ";
if ($user->isAdmin() || $user->getID() == $userNotify->getID()) {
+ print "
";
+ print " | ";
+ print "" . htmlspecialchars($userNotify->getLogin() . " - " . $userNotify->getFullName()) . " | ";
print "\n";
- }else print " | ";
- print "
";
+ print "";
+ }
}
foreach ($notifyList["groups"] as $groupNotify) {
- print "";
- print " | ";
- print "" . htmlspecialchars($groupNotify->getName()) . " | ";
if ($user->isAdmin() || $groupNotify->isMember($user,true)) {
+ print "
";
+ print " | ";
+ print "" . htmlspecialchars($groupNotify->getName()) . " | ";
print "\n";
- }else print " | ";
- print "
";
+ print "";
+ }
}
print "
\n";
}
diff --git a/views/bootstrap/class.FolderNotify.php b/views/bootstrap/class.FolderNotify.php
index 56a7a5961..ada8b3d4e 100644
--- a/views/bootstrap/class.FolderNotify.php
+++ b/views/bootstrap/class.FolderNotify.php
@@ -151,10 +151,10 @@ $(document).ready(function() {
} else {
print "\n";
foreach ($notifyList["users"] as $userNotify) {
- print "";
- print " | ";
- print "" . htmlspecialchars($userNotify->getLogin() . " - " . $userNotify->getFullName()) . " | ";
if ($user->isAdmin() || $user->getID() == $userNotify->getID()) {
+ print "
";
+ print " | ";
+ print "" . htmlspecialchars($userNotify->getLogin() . " - " . $userNotify->getFullName()) . " | ";
print "\n";
- }else print " | ";
- print "
";
+ print "";
+ }
}
foreach ($notifyList["groups"] as $groupNotify) {
- print "";
- print " | ";
- print "" . htmlspecialchars($groupNotify->getName()) . " | ";
if ($user->isAdmin() || $groupNotify->isMember($user,true)) {
+ print "
";
+ print " | ";
+ print "" . htmlspecialchars($groupNotify->getName()) . " | ";
print "\n";
- }else print " | ";
- print "
";
+ print "";
+ }
}
print "
\n";
}