Addressing #149

where neither `radio` or `php` type settings would display due to an
omission on my part.

Also cleaned up the function a bit and removed unnecessary elements.