Modified upload_thumbs.html
This commit is contained in:
parent
8526c0d92e
commit
3c3988eedd
1 changed files with 32 additions and 31 deletions
|
@ -8,41 +8,42 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<form action="upload_thumbs.php?video={$data.videoid}" method="post" enctype="multipart/form-data" name="set_default_thumb" id="set_default_thumb">
|
<form action="upload_thumbs.php?video={$data.videoid}" method="post" enctype="multipart/form-data" name="set_default_thumb" id="set_default_thumb">
|
||||||
<div class="row">
|
|
||||||
<div class="col-sm-6 col-md-6 col-lg-6 col-xs-12">
|
|
||||||
<div style="width:140px; float:left" align="center">
|
|
||||||
<label for="{$vid_thumb|getname}"><img src="{$vid_thumb}" border="1" style="margin:4px; max-width:120px" /><br />
|
|
||||||
<input class="radio" type="radio" value="{$vid_thumb|getname}.{$vid_thumb|getext}" id="{$vid_thumb|getname}" name="default_thumb" {if $data.default_thumb==$vid_thumb|getname|get_thumb_num} checked="checked"{/if} />Default</label><br />
|
|
||||||
{if $vid_thumb|getname!='processing'}
|
|
||||||
<a href="?video={$data.videoid}&delete={$vid_thumb|getname}.{$vid_thumb|getext}">Delete</a>
|
|
||||||
{/if}
|
|
||||||
</div>
|
|
||||||
<div align="center" style=" width:98%; margin:auto; margin-top:10px;">
|
|
||||||
<input class="btn btn-primary btn-danger" type="submit" name="update_default_thumb" value="Update Video Thumb" class="button"/>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<fieldset class="fieldset">
|
<fieldset class="fieldset">
|
||||||
{assign var=vidthumbs value=get_thumb($data,1,TRUE,FLASE,TRUE,FALSE)}
|
{assign var=vidthumbs value=get_thumb($data,1,TRUE,FLASE,TRUE,FALSE)}
|
||||||
|
|
||||||
{foreach from=$vidthumbs item=vid_thumb}
|
{foreach from=$vidthumbs item=vid_thumb}
|
||||||
|
<div class="cbthumbs">
|
||||||
|
{$video.title}
|
||||||
{/foreach}
|
<div class="row-fluid">
|
||||||
</form>
|
<ul class="ace-thumbnails">
|
||||||
|
<li>
|
||||||
<form action="upload_thumbs.php?video={$data.videoid}" method="post" enctype="multipart/form-data" name="form1">
|
<label class="thumbs"><input type="checkbox">
|
||||||
<fieldset class="fieldset">
|
<img alt="170x170" src="{$vid_thumb}" /></label>
|
||||||
<h3 align="right">Upload New Thumb</h3>
|
<div class="tools">
|
||||||
<div align="right" style="width:1000px;"><a href="javascript:void(0)" onclick="$('#thumb_fileds').append('<input name=\'vid_thumb[]\' type=\'file\' /><br>')">+ Insert More</a></div>
|
{if $vid_thumb|getname!='processing'}
|
||||||
<div align="right" id="thumb_fileds" style="margin:10px">
|
{/if}
|
||||||
<input name="vid_thumb[]" type="file" />
|
<a href="?video={$data.videoid}&delete={$vid_thumb|getname}.{$vid_thumb|getext}">
|
||||||
<label for="thumb_file"></label>
|
<i class="icon-remove red"></i>
|
||||||
<br />
|
</a>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{/foreach}
|
||||||
|
<div style="clear:both;"></div><br />
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<div align="right" style=" width:98%; margin:auto; margin-top:10px;">
|
<div class="form-group">
|
||||||
<input type="submit" name="upload_thumbs" value="Upload Thumb(s)" class="btn btn-primary"/>
|
<input type="submit" name="update_default_thumb" class="btn btn-danger" value="Update Video Thumb"/>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<div style="height:20px"></div>
|
<form action="upload_thumbs.php?video={$data.videoid}" method="post" enctype="multipart/form-data" name="form1">
|
||||||
{/if}
|
<div id="thumb_fileds" class="form-group">
|
||||||
|
<a href="javascript:void(0)" onclick="$('#thumb_fileds').append('<input name=\'vid_thumb[]\' type=\'file\' /><br>')">+ Insert More</a></div>
|
||||||
|
<input name="vid_thumb[]" type="file" />
|
||||||
|
<label for="thumb_file"></label>
|
||||||
|
</div>
|
||||||
|
<div class="form-group pull-right">
|
||||||
|
<input type="submit" name="upload_thumbs" value="Upload Thumb(s)" class="btn btn-primary"/>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
{/if}
|
||||||
|
|
Loading…
Add table
Reference in a new issue