{if $unreadMsgs and $gBitUser->getPreference('message_alert')} {/if}