From 8733ee94b1087ea7e8e79be592cfad1acb28b885 Mon Sep 17 00:00:00 2001 From: spaghetti Date: Tue, 5 Jul 2016 15:53:45 -0400 Subject: [PATCH] code cleanup --- design/privateheader.php | 920 +++++++++++++++--------------- design/views/generic/reply/quickreply.php | 4 +- 2 files changed, 461 insertions(+), 463 deletions(-) diff --git a/design/privateheader.php b/design/privateheader.php index e460f1e..06e0200 100755 --- a/design/privateheader.php +++ b/design/privateheader.php @@ -1,124 +1,123 @@ - <?=display_str($PageTitle)?> - - + <?=display_str($PageTitle)?> + + - - - - + + + + - + - - - - - - - + + + + + + + - + - - + + - + - + - " /> + " /> - + - + - + use_noty(); $NewSubscriptions = false; $NotificationSpans = array(); foreach ($Notifications as $Type => $Notification) { - if ($Type === NotificationsManager::SUBSCRIPTIONS) { - $NewSubscriptions = true; - } - if ($UseNoty) { - $NotificationSpans[] = "$Notification[message]"; - } + if ($Type === NotificationsManager::SUBSCRIPTIONS) { + $NewSubscriptions = true; + } + if ($UseNoty) { + $NotificationSpans[] = "$Notification[message]"; + } } if ($UseNoty && !empty($NotificationSpans)) { - NotificationsManagerView::load_js(); + NotificationsManagerView::load_js(); } if ($NotificationsManager->is_skipped(NotificationsManager::SUBSCRIPTIONS)) { - $NewSubscriptions = Subscriptions::has_new_subscriptions(); + $NewSubscriptions = Subscriptions::has_new_subscriptions(); } ?> -
-

-