navbar changes
Fixed syntax error for old PHP versions