144 lines
No EOL
5.9 KiB
HTML
144 lines
No EOL
5.9 KiB
HTML
{assign var='requiredFields' value=$Upload->loadRequiredFields()}
|
|
{assign var='optionFields' value=$Upload->loadOptionFields()}
|
|
{assign var='locationFields' value=$Upload->loadLocationFields()}
|
|
{assign var='cust_fields' value=$Upload->custom_form_fields}
|
|
|
|
|
|
|
|
<div class="upload_left">
|
|
|
|
<!-- STEP 1 - UPLOADING VIDEO DETAILS -->
|
|
|
|
{if $step =='1'}
|
|
<div class="upload_info">
|
|
<h2>Video Upload Step 1 of 1</h2>
|
|
<form name="upload_form" class="upload_form" method="post" action="">
|
|
|
|
<!-- Required Fields -->
|
|
<fieldset>
|
|
<span class="form_head">required fields</span>
|
|
{foreach from=$requiredFields item=field}
|
|
<div class="field">
|
|
<label for="{$field.id}" class="label">{$field.title}</label>
|
|
{if $field.hint_1}<div class="hint">{$field.hint_1}</div><br>{/if}{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}
|
|
{if $field.hint_2}<br>
|
|
<div class="hint">{$field.hint_2}</div>{/if}
|
|
</div>
|
|
{/foreach}
|
|
|
|
</fieldset>
|
|
<!-- Required Fields -->
|
|
|
|
<div id="more_fields" style="display:none">
|
|
<!-- Location Fields -->
|
|
<fieldset>
|
|
<span class="form_head">{lang code='vdo_date_loc'}</span>
|
|
{foreach from=$locationFields item=field}
|
|
<div class="field">
|
|
<label for="{$field.id}" class="label">{$field.title}</label>
|
|
{if $field.hint_1}<div class="hint">{$field.hint_1}</div><br>{/if}{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}
|
|
{if $field.hint_2}<br>
|
|
<div class="hint">{$field.hint_2}</div>{/if}
|
|
</div>
|
|
{/foreach}
|
|
|
|
</fieldset>
|
|
<!-- Location Fields -->
|
|
|
|
|
|
<!-- Sharing Fields -->
|
|
<fieldset>
|
|
<span class="form_head">{lang code='vdo_share_opt'}</span>
|
|
{foreach from=$optionFields item=field}
|
|
<div class="field">
|
|
<label for="{$field.id}" class="label">{$field.title}</label>
|
|
{if $field.hint_1}<div class="hint">{$field.hint_1}</div><br>{/if}{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}
|
|
{if $field.hint_2}<br>
|
|
<div class="hint">{$field.hint_2}</div>{/if}
|
|
</div>
|
|
{/foreach}
|
|
|
|
</fieldset>
|
|
<!-- Sharing Fields -->
|
|
|
|
{if $cust_fields}
|
|
<!-- Other Custom Fields -->
|
|
<fieldset>
|
|
<span class="form_head">{lang code='Custom Fields'}</span>
|
|
{foreach from=$cust_fields item=field}
|
|
<div class="field">
|
|
<label for="{$field.id}" class="label">{$field.title}</label>
|
|
{if $field.hint_1}<div class="hint">{$field.hint_1}</div><br>{/if}{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}
|
|
{if $field.hint_2}<br>
|
|
<div class="hint">{$field.hint_2}</div>{/if}
|
|
</div>
|
|
{/foreach}
|
|
|
|
</fieldset>
|
|
<!-- Other Custom Fields -->
|
|
{/if}
|
|
|
|
</div>
|
|
|
|
<span class="more_button"><a href="javascript:void()" onClick="$('#more_fields').slideToggle();$('.more_button').toggleClass('more_button_up');">More Options</a></span>
|
|
|
|
|
|
<div align="right" style="margin-top:10px"><input type="submit" name="submit_data" class="cb_button_2" value="{lang code='vdo_continue_upload'}"></div>
|
|
</form>
|
|
</div>
|
|
{/if}
|
|
|
|
|
|
<!-- STEP 1 ENDS HERE -->
|
|
|
|
|
|
|
|
<!-- STEP 2 - UPLOADING VIDEO FILES -->
|
|
{if $step =="2"}
|
|
<h2>Video Upload - Step 2 of 2</h2>
|
|
|
|
<form action="{$upload_link}" method="post" enctype="multipart/form-data" name="{$upload_form_name}" id="{$upload_form_name}" >
|
|
{$Upload->load_post_fields()}
|
|
<input name="file_name" type="hidden" value="{$file_name}">
|
|
{assign var=opt_list value=$Upload->load_upload_options()}
|
|
|
|
{foreach from=$opt_list item=opt key=divid}
|
|
<div class="upload_opt" id="{$divid}">
|
|
<span class="upload_opt_head"><a href="javascript:void(0)" onClick="$('#upload_form_div').slideToggle();">{$opt.title}</a></span>
|
|
{load_form name=$opt.load_func button_class='cb_button_2' class='upload_form'}
|
|
</div>
|
|
{/foreach}
|
|
</form>
|
|
{/if}
|
|
<!-- STEP 2 ENDS HERE -->
|
|
|
|
<!-- STEP 3 - VIEWING SUCCESSFULL PAGE -->
|
|
{if $step==3}
|
|
<div class="upload_info">
|
|
<h2>{lang code='vdo_video_upload_complete'}</h2>
|
|
<span class="header1">{$LANG.vdo_thanks_you_upload_complete_1}.</span><br>
|
|
<span class="tips">{$LANG.vdo_thanks_you_upload_complete_2} <a href="{$manage_videos}"><strong>{$LANG.com_my_videos}</strong></a> {$LANG.vdo_after_it_has_process} </span><span class="header1"><br>
|
|
</span>
|
|
|
|
<div class="upload_link_button" align="center">
|
|
<ul>
|
|
<li><a href="{$upload_link}" >{$LANG.vdo_upload_another_video}</a></li>
|
|
<li><a href="{$manage_videos}" >{$LANG.vdo_goto_my_videos}</a></li>
|
|
</ul>
|
|
<div class='clearfix'></div>
|
|
</div>
|
|
|
|
</div>
|
|
{/if}
|
|
<!-- STEP 3 ENDS HERE -->
|
|
|
|
</div>
|
|
|
|
<div class="upload_right">
|
|
<div class="instructions">
|
|
<p><strong><strong>Important:</strong> Do not upload any TV shows, music videos, music concerts, or commercials without permission unless they consist entirely of content you created yourself.</strong></p>
|
|
<p>The <a href="#">Copyright Tips page</a> and the <a href="#">Community Guidelines</a> can help you determine whether your video infringes someone else's copyright.</p>
|
|
<p>By clicking "Upload Video", you are representing that this video does not violate {$title}'s <a id="terms-of-use-link" href="#">Terms of Use</a> and that you own all copyrights in this video or have authorization to upload it.</p>
|
|
</div>
|
|
</div>
|
|
<div class="clearfix"></div> |