Made back end edit view compatible with Joomla 3.x