Fixes elseif in webmode
Adds phtml to web mode.