{* This should be input[type=file] … *}
{$CONST.MEDIA_LIBRARY}
{* … not touching it in order to not break it for now. *}
{/if}
{if $ctype == 'sequence'}
{if !$sequencejs_output}
{/if}
{*** Smarty 3 has a new auto literal option which is enabled by default.
When the { is surrounded by whitespace it is not interpreted as smarty delimiter but literal. e.g. ' } ;'
AS tests have proofed, ending javascript delimiters " } ;" and " };" and even "};" work fine as well. So back to origin. ***}
{/if}