clipbucket/upload/styles/cbv2new/layout/edit_video.html
Arslan Hassan 17ec491b41 Added : proper video thumbs custom functions
Added : proper video files custom functions
Fixed : HTML in phrases
Fixed : Slashes in email templates
Updated : Search Engine
Added : Count only option in get contacts
Updated : Related videos
Fixed : Description New lines
Fixed : Install lock
Fixed : RSS
Fixed : Category based search
Fixed : Edit video
Fixed : Friend Request
2010-06-24 07:05:52 +00:00

130 lines
No EOL
4.1 KiB
HTML

<div>
{include file="$style_dir/blocks/manage/account_left.html"}
<div class="account_box">
{include file="$style_dir/blocks/manage/account_head.html" user=$user}
<!-- EDITING {$v.title} -->
<h2>Edit Video</h2>
{* Loading Form Fields *}
{assign var='requiredFields' value=$Upload->loadRequiredFields($v)}
{assign var='optionFields' value=$Upload->loadOptionFields($v)}
{assign var='locationFields' value=$Upload->loadLocationFields($v)}
{assign var='custom_fields' value=$Upload->load_custom_upload_fields($data,TRUE)}
{assign var='custom_form_fields' value=$Upload->load_custom_form_fields($v,TRUE)}
<div class="account_form">
<form method="post" name="edit_video">
{* GETTING THUMBS INFO *}
<fieldset class="fieldset">
<legend>Thumbs</legend>
{assign var=vidthumbs value=func->get_thumb($v,1,TRUE,false,true,false)}
{foreach from=$vidthumbs item=vid_thumb}
<div style="width:140px; float:left" align="center">
<label for="{$vid_thumb|getname}"><img src="{$vid_thumb}" border="1" style="margin:4px" /><br />
<input type="radio" value="{$vid_thumb|getname}.{$vid_thumb|getext}" id="{$vid_thumb|getname}" name="default_thumb" {if $v.default_thumb==$vid_thumb|get_thumb_num} checked="checked"{/if} />{lang code='default'}</label><br />
</div>
{/foreach}
</fieldset>
{* VIDEO THUMB ENDS *}
{* Video Information Starts *}
<fieldset class="fieldset">
<legend>{lang code='video_info_all_fields_req'}</legend>
{foreach from=$requiredFields item=field}
<div class="account_field_block">
<div class="account_field_label" align="right"><strong><label for="{$field.id}">{$field.title}</label></strong></div>
<div class="account_field">{$field.hint_1}{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}{ANCHOR place=$field.anchor_after}
<br>
{$field.hint_2}</div>
<div class="clearfix"></div>
</div>
{/foreach}
</fieldset>
{* Video Information Ends *}
{* Sharig Information Starts *}
<fieldset class="fieldset">
<legend>{lang code='vdo_share_opt'}</legend>
{foreach from=$optionFields item=field}
<div class="account_field_block">
<div class="account_field_label" align="right"><strong><label for="{$field.id}">{$field.title}</label></strong></div>
<div class="account_field">{$field.hint_1}{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}{ANCHOR place=$field.anchor_after}
<br>
{$field.hint_2}</div>
<div class="clearfix"></div>
</div>
{/foreach}
</fieldset>
{* Sharing Information Ends *}
{* Location Fields *}
<fieldset class="fieldset">
<legend>{lang code='date_recorded_location'}</legend>
{foreach from=$locationFields item=field}
<div class="account_field_block">
<div class="account_field_label" align="right"><strong><label for="{$field.id}">{$field.title}</label></strong></div>
<div class="account_field">{$field.hint_1}{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}{ANCHOR place=$field.anchor_after}
<br>
{$field.hint_2}</div>
<div class="clearfix"></div>
</div>
{/foreach}
</fieldset>
{* Location Fields Ends *}
{* Loading Custom Fields *}
{if count($custom_form_fields)>0}
<fieldset class="fieldset">
<legend>{lang code='more_options'}</legend>
{foreach from=$custom_fields item=field}
<div class="account_field_block">
<div class="account_field_label" align="right"><strong><label for="{$field.id}">{$field.title}</label></strong></div>
<div class="account_field">{$field.hint_1}{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}
<br>
{$field.hint_2}</div>
<div class="clearfix"></div>
</div>
{/foreach}
</fieldset>
{/if}
{* Custom Fields ENDS *}
<div align="right"><button name="update_video" id="button" value="submit" class="cb_button">{lang code='update_video'}</button></div>
</form>
</div>
<!-- ENDING EDITING {$v.title} -->
</div>
<div class="clearfix"></div>
</div>