{title url=''}{tr}Directory batch upload{/tr}{/title}
{if $galleryId} {button href="tiki-list_file_gallery.php?galleryId=$galleryId" class="btn btn-primary" _class="me-3" _text="{tr}Browse File Gallery{/tr}"} {button href="tiki-upload_file.php?galleryId=$galleryId" class="btn btn-primary" _text="{tr}Upload From Disk{/tr}"} {else} {button href="tiki-list_file_gallery.php" class="btn btn-primary" _text="{tr}Browse File Gallery{/tr}"} {button href="tiki-upload_file.php" class="btn btn-primary" _class="me-3" _text="{tr}Upload From Disk{/tr}"} {/if}
{remarksbox type="tip" title="{tr}Tip{/tr}"}{tr}Please do not use this feature to upload data into the database.{/tr}{/remarksbox} {if count($feedback)}
{section name=i loop=$feedback}{$feedback[i]}
{/section}
{/if} {$totalsize = 0}

{tr}Available Files{/tr}

{foreach key=k item=it from=$filelist} {$totalsize = $totalsize + $it.size} {/foreach}
{select_all checkbox_names='files[]'} {tr}Filename{/tr} {tr}Filesize{/tr} {tr}Filetype{/tr} {icon name='permission' title="{tr}File Permissions{/tr}"}
{$it.size|kbsize} {$it.ext} {if $it.writable}{icon name='success' title="{tr}File is writable{/tr}"}{else}{icon name='ban' title="{tr}File is not writable{/tr}"}{/if}
{tr _0=$filelist|count}Total: %0{/tr} {$totalsize|kbsize}

{tr}eg. for "misc/screenshots/digicam0001.jpg" the file will be uploaded into a gallery called "screenshots" in the called "misc" inside the chosen gallery if it exists{/tr}
{tr}eg. from "misc/screenshots/digicam0001.jpg" a description "screenshots" will be created{/tr}r}