Update navbar.php

Forward-declare global `$shortened` variable.  Attempt to fix #61 (forums aren't installed locally, so this is a trial and error approach).