Fixed adduser bug

Always show notification bubble
Added tooltip to archive's sticky button
This commit is contained in:
Daniel Preussker
2015-11-21 12:15:42 +00:00
parent 987c841b48
commit 224ccab950
3 changed files with 5 additions and 5 deletions

View File

@@ -490,9 +490,7 @@ if(is_file("includes/print-menubar-custom.inc.php")) {
<ul class="nav navbar-nav navbar-right">
<?php
$notifications = new ObjCache('notifications');
if (($notifications['sticky_count']+$notifications['count']) != 0) {
echo ' <li><a href="notifications/"><span class="badge count-notif">'.($notifications['sticky_count']+$notifications['count']).'</span></a></li>';
}
echo ' <li><a href="notifications/"><span class="badge count-notif">'.($notifications['sticky_count']+$notifications['count']).'</span></a></li>';
?>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-hover="dropdown" data-toggle="dropdown"><i class="fa fa-cog fa-fw fa-lg fa-nav-icons"></i></a>