diff --git a/classes/users.class.php b/classes/users.class.php index d23fbb3d..0936455e 100644 --- a/classes/users.class.php +++ b/classes/users.class.php @@ -296,10 +296,13 @@ public static function release_order ($Default = false) { } $ID = $Key . '_' . (int) !!$Checked; + + // The HTML is indented this far for proper indentation in the generated HTML + // on user.php?action=edit ?> -
  • - -
  • +
  • + +
  • styles/mobile/style.js" type="text/javascript"> @@ -159,9 +157,16 @@ AND f.ID NOT IN ('$RestrictedForums')" : '')); list($NewSubscriptions) = $DB->next_record(); $Cache->cache_value('subscriptions_user_new_'.$LoggedUser['ID'], $NewSubscriptions, 0); +} + +// set up the inbox URL for use in the main user navigation area and in the alert bar +if ($LoggedUser['ListUnreadPMsFirst']) { + $InboxURL = 'inbox.php?sort=unread'; +} else { + $InboxURL = 'inbox.php'; } ?>