{if $smarty.session.use_editor == 0} {/if} {if $smarty.session.use_editor == 1} {/if} {if $smarty.request.action=='edit'}