added elseif snippet and modified else snippet
updated smarty syntax xml