Modified: made some changes in Ui also upload thumb button functional
This commit is contained in:
parent
a41879c027
commit
2f994e9461
1 changed files with 87 additions and 83 deletions
|
@ -10,9 +10,25 @@
|
||||||
<div class="cb-box marginBottom">
|
<div class="cb-box marginBottom">
|
||||||
<h2>Edit Video</h2>
|
<h2>Edit Video</h2>
|
||||||
<div class="account_form">
|
<div class="account_form">
|
||||||
|
<!-- ///////////changes made//////////// -->
|
||||||
|
<h3>Thumbs</h3>
|
||||||
|
<div class="clearfix well">
|
||||||
|
<form action="upload_thumb.php?video={$v.videoid}" method="post" enctype="multipart/form-data" name="form1">
|
||||||
|
<h5>Upload New Thumb</h5>
|
||||||
|
<input name="vid_thumb[]" type="file" />
|
||||||
|
<label for="thumb_file"></label>
|
||||||
|
<div class="form-group pull-right">
|
||||||
|
<input type="submit" name="upload_thumbs" value="Upload Thumb(s)" class="btn btn-primary btn-sm"/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<!-- ///////////changes made//////////// -->
|
||||||
|
|
||||||
<form method="post" name="edit_video" enctype="multipart/form-data">
|
<form method="post" name="edit_video" enctype="multipart/form-data">
|
||||||
{* GETTING THUMBS INFO *}
|
{* GETTING THUMBS INFO *}
|
||||||
<h3>Thumbs</h3>
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{assign var=vidthumbs value=get_thumb($v,1,TRUE,FALSE,TRUE,FALSE,'original')}
|
{assign var=vidthumbs value=get_thumb($v,1,TRUE,FALSE,TRUE,FALSE,'original')}
|
||||||
{foreach from=$vidthumbs item=vid_thumb}
|
{foreach from=$vidthumbs item=vid_thumb}
|
||||||
|
@ -24,20 +40,8 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/foreach}
|
{/foreach}
|
||||||
<!-- <div align="left" style=" width:100%; margin:auto; margin-top:10px;"> -->
|
|
||||||
|
|
||||||
<fieldset class="fieldset">
|
|
||||||
<h3>Upload New Thumb</h3>
|
|
||||||
<div id="thumb_fileds" style="margin:10px">
|
|
||||||
<input name="vid_thumb[]" type="file" accept="image/*"/>
|
|
||||||
<label for="thumb_file"></label>
|
|
||||||
<br />
|
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
<hr>
|
||||||
<input class="btn btn-primary" type="submit" name="upload_thumbs" value="Upload Thumb(s)" class="button"/>
|
|
||||||
<!-- </div> -->
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{foreach from=$video_fields item=field_group}
|
{foreach from=$video_fields item=field_group}
|
||||||
<div class="clearfix">
|
<div class="clearfix">
|
||||||
<h3>{$field_group.group_name}</h3>
|
<h3>{$field_group.group_name}</h3>
|
||||||
|
@ -107,4 +111,4 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
Loading…
Add table
Reference in a new issue