Modfied:fixed Mass uploader video selection issue
This commit is contained in:
parent
76612e954b
commit
d74233233f
1 changed files with 37 additions and 26 deletions
|
@ -1,6 +1,10 @@
|
|||
<div class="heading">
|
||||
<h2>Mass Uploader</h2>
|
||||
</div>
|
||||
<div class="alert alert-info">
|
||||
<strong>Warning!</strong> Videos with only allowed extensions will be shown here.
|
||||
</div>
|
||||
|
||||
{$mass_upload_config = config('delete_mass_upload')}
|
||||
|
||||
{assign var=vid_files value=$cbmass->get_video_files()}
|
||||
|
@ -18,16 +22,23 @@
|
|||
{$i = $i+1}
|
||||
{/foreach}
|
||||
</div>
|
||||
<!-- checkmate -->
|
||||
{$count=0}
|
||||
<!-- checkmate -->
|
||||
<form name="mass_upload" method="post" class="cbform">
|
||||
{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}
|
||||
|
||||
<input class="lead" type="hidden" name="mass_up[]" value="{$file.title}" />
|
||||
|
||||
<div class="well">
|
||||
<input type="checkbox" name="filesToImport[]" class="checkboxMassImport"/>
|
||||
<!-- checkmate -->
|
||||
<input type="checkbox" name="filesToImport[{$count}]" class="checkboxMassImport"/>
|
||||
{$count=$count+1}
|
||||
<!-- checkmate -->
|
||||
<span class="label label-danger" style="cursor: pointer;" onclick="$(this).next().toggle();return false;"><b>{$file.title}</b>{$smarty.foreach.mass_files}</span>
|
||||
<div class="" style="display:none">
|
||||
{foreach from=$requiredFields item=field}
|
||||
|
|
Loading…
Add table
Reference in a new issue