{extends "layout_view.tpl"} {block name="title"} {if $uploadInModal}{title}{$title}{/title}{/if} {/block} {block name="content"} {if $uploadInModal}
{if $image_max_size_x || $image_max_size_y } {remarksbox type="note" title="{tr}Note{/tr}"} {if $image_max_size_x and $image_max_size_y}{tr _0=$image_max_size_x _1=$image_max_size_y}Images will be resized to %0px in width and %1px in height{/tr} {elseif $image_max_size_x}{tr _0=$image_max_size_x}Images will be resized to %0px in width{/tr} {elseif $image_max_size_y}{tr _0=$image_max_size_y}Images will be resized to %0px in height{/tr} {/if} {/remarksbox} {elseif not empty($admin_trackers)} {remarksbox type="note" title="{tr}Note{/tr}"} {tr}Images will not be resized, for resizing edit this tracker field and set image max width and height in "Options for files" section.{/tr} {/remarksbox} {/if} {ticket}
{if $limit !== 1}{tr}Upload Files{/tr}{else}{tr}Upload File{/tr}{/if}

{if $limit !== 1}{tr}Or drop files here from your file manager.{/tr}{else}{tr}Or drop file here from your file manager.{/tr}{/if}

{ticket}
{else}{* not $uploadInModal *}
{if $image_max_size_x || $image_max_size_y } {remarksbox type="note" title="{tr}Note{/tr}"} {if $image_max_size_x and $image_max_size_y}{tr _0=$image_max_size_x _1=$image_max_size_y}Images will be resized to %0px in width and %1px in height{/tr} {elseif $image_max_size_x}{tr _0=$image_max_size_x}Images will be resized to %0px in width{/tr} {elseif $image_max_size_y}{tr _0=$image_max_size_y}Images will be resized to %0px in height{/tr} {/if} {/remarksbox} {elseif not empty($admin_trackers)} {remarksbox type="note" title="{tr}Note{/tr}"} {tr}Images will not be resized, for resizing edit this tracker field and set image max width and height in "Options for files" section.{/tr} {/remarksbox} {/if}
{if $limit !== 1}{tr}Upload Files{/tr}{else}{tr}Upload File{/tr}{/if}

{if $limit !== 1}{tr}Or drop files here from your file manager.{/tr}{else}{tr}Or drop file here from your file manager.{/tr}{/if}

{/if} {/block} {if $requireTitle == 'y'} {jq} $('.custom-file-title').show(); {/jq} {/if}