{if $page|lower neq 'sandbox' or $tiki_p_admin eq 'y'}
{if $translation_mode eq 'y'}
{else}
{if $tiki_p_minor eq 'y' and $page|lower ne 'sandbox' and $prefs.wiki_edit_minor neq 'n'}
{/if}
{if $prefs.feature_ajax eq 'y' && $prefs.feature_wiki_save_draft eq 'y'}
{/if}
{/if}
{/if}
{if $page|lower ne 'sandbox'}
{else}
{/if}