Fixed indention
Fixed some issues reported by phpcs
Fixed indention (partly)
Fixed some issues reported by phpcs
Replaced some prints by plain html
Removed `else` after a return
Fixed indention
Fixed issues reported by phpcs
Removed `else` after a return
Replaced `else { if` with `elseif`
Removed duplicate code
Fixed indention
Fixed whitespace issues
Fixed indention
Fixed issues reported by phpcs
Fixed indention
Fixed issues reported by phpcs
Removed unnecessary local variable
Unnested ifs
Fixed indention