|
@@ -117,7 +117,7 @@ $NotificationsManager = new NotificationsManager(G::$LoggedUser['ID']); |
|
|
$Notifications = $NotificationsManager->get_notifications(); |
|
|
$Notifications = $NotificationsManager->get_notifications(); |
|
|
$UseNoty = $NotificationsManager->use_noty(); |
|
|
$UseNoty = $NotificationsManager->use_noty(); |
|
|
$NewSubscriptions = false; |
|
|
$NewSubscriptions = false; |
|
|
$NotificationSpans = array(); |
|
|
|
|
|
|
|
|
$NotificationSpans = []; |
|
|
foreach ($Notifications as $Type => $Notification) { |
|
|
foreach ($Notifications as $Type => $Notification) { |
|
|
if ($Type === NotificationsManager::SUBSCRIPTIONS) { |
|
|
if ($Type === NotificationsManager::SUBSCRIPTIONS) { |
|
|
$NewSubscriptions = true; |
|
|
$NewSubscriptions = true; |
|
@@ -339,8 +339,8 @@ if (check_perms('site_send_unlimited_invites')) { |
|
|
</div> |
|
|
</div> |
|
|
<? |
|
|
<? |
|
|
//Start handling alert bars |
|
|
//Start handling alert bars |
|
|
$Alerts = array(); |
|
|
|
|
|
$ModBar = array(); |
|
|
|
|
|
|
|
|
$Alerts = []; |
|
|
|
|
|
$ModBar = []; |
|
|
|
|
|
|
|
|
// Staff blog |
|
|
// Staff blog |
|
|
if (check_perms('users_mod')) { |
|
|
if (check_perms('users_mod')) { |
|
|