Only show "Register" on NavBar if cms.regallowed is true

Small change that only shows the Register button on the top navigation bar if "Enable Public Registration" is set to true in /app/config/cms.php configuration file.