## Mass Uploader

Warning! Videos with only allowed extensions will be shown here.
{$mass_upload_config = config('delete_mass_upload')} {assign var=vid_files value=$cbmass->get_video_files()} {if $vid_files} {assign var = i value = 0}

### Select/Deselect

### Mass Category Selection

{foreach $cats as $cat} {$cat['category_name']} {$i = $i+1} {/foreach}
{$count=0} {foreach from=$vid_files item=file name=mass_files} {assign var='requiredFields' value=$Upload->loadRequiredFields($file)} {assign var='optionFields' value=$Upload->loadOptionFields($file)} {assign var='locationFields' value=$Upload->loadLocationFields($file)} {assign var='cust_fields' value=$Upload->custom_form_fields}
{$count=$count+1} {$file.title}{$smarty.foreach.mass_files}
{foreach from=$requiredFields item=field} {$field.class='form-control'} {if $field.title=='Title'}
{$field.name} {$formObj->createField($field, true)}
{/if} {/foreach} {foreach from=$requiredFields item=field} {$field.class='form-control'} {if $field.title=='Description'}
{$field.name} {$formObj->createField($field, true)}
{/if} {/foreach}
{foreach from=$requiredFields item=field} {$field.class='form-control'} {if $field.title=='Video Category'}
{$field.name}
{$formObj->createField($field, true)}
{/if} {/foreach} {foreach from=$requiredFields item=field} {$field.class='form-control'} {if $field.title=='Tags'}
{$field.name} {$formObj->createField($field, true)}
{/if} {/foreach}
{/foreach}
{else}
NO VIDEO FOUND IN MASS UPLOAD FOLDER
{if $mass_upload_config == 'no'}
Uploaded Videos are stored in mass_uploads/processed.
{/if} {/if} {include file="$style_dir/blocks/pagination.html" }