2010-02-10 05:54:08 +00:00
|
|
|
{lang code='vdo_upload_step2' assign='vdo_upload_step'}
|
2009-12-04 21:03:27 +00:00
|
|
|
<div class="upload_left">
|
|
|
|
|
|
|
|
<!-- STEP 1 - UPLOADING VIDEO DETAILS -->
|
|
|
|
|
|
|
|
{if $step =='1'}
|
2010-12-14 14:39:16 +00:00
|
|
|
|
2011-01-01 13:25:21 +00:00
|
|
|
{assign var='no_upload' value='yes'}
|
2010-12-14 14:39:16 +00:00
|
|
|
{assign var=opt_list value=$Upload->load_upload_options()}
|
|
|
|
<ul class="upload_opts clearfix">
|
|
|
|
{foreach from=$opt_list item=opt key=divid}
|
2011-01-01 13:25:21 +00:00
|
|
|
|
|
|
|
{* Checking weather to show uploadin option to user or not *}
|
|
|
|
{assign var=uploadOptId value=$opt.load_func}
|
|
|
|
{if $Cbucket->configs.$uploadOptId=='yes'}
|
|
|
|
{assign var='no_upload' value='no'}
|
|
|
|
<li class="upload_opt_head moveL {$divid}" onclick="show_menu('{$divid}',false)">{$opt.title}</li>
|
|
|
|
{/if}
|
2010-12-14 14:39:16 +00:00
|
|
|
{/foreach}
|
|
|
|
</ul>
|
2011-01-01 13:25:21 +00:00
|
|
|
<div class="clear"></div>
|
|
|
|
<div class="uploadFormContent">
|
|
|
|
{foreach from=$opt_list item=opt key=divid}
|
|
|
|
{* Checking weather to show uploadin option to user or not *}
|
|
|
|
{assign var=uploadOptId value=$opt.load_func}
|
|
|
|
{if $Cbucket->configs.$uploadOptId=='yes'}
|
2010-12-29 09:41:11 +00:00
|
|
|
<div class="upload_opt" id="{$divid}" style="display:none">
|
2010-12-24 14:22:47 +00:00
|
|
|
{load_form name=$opt.load_func button_class='cb_button_2' class='upload_form'}
|
|
|
|
</div>
|
2011-01-01 13:25:21 +00:00
|
|
|
{/if}
|
2010-12-14 14:39:16 +00:00
|
|
|
{/foreach}
|
|
|
|
|
2011-01-01 13:25:21 +00:00
|
|
|
{if $no_upload=='yes'}
|
|
|
|
<div style="background-color:#FFEAEB; font-size:13pt; padding:5px">
|
|
|
|
{lang code='no_upload_opt'}
|
|
|
|
</div>
|
|
|
|
{/if}
|
|
|
|
</div>
|
|
|
|
{literal}
|
|
|
|
<script>
|
|
|
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
var formToLoad = $('.uploadFormContent .upload_opt:first-child').attr('id');
|
|
|
|
show_menu(formToLoad,true) })
|
|
|
|
</script>
|
|
|
|
{/literal}
|
2009-12-04 21:03:27 +00:00
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
<!-- STEP 1 ENDS HERE -->
|
|
|
|
|
|
|
|
<!-- STEP 3 - VIEWING SUCCESSFULL PAGE -->
|
2009-12-01 11:51:31 +00:00
|
|
|
{if $step==3}
|
2009-12-04 21:03:27 +00:00
|
|
|
<div class="upload_info">
|
2010-02-10 05:54:08 +00:00
|
|
|
{lang code='video_complete_msg' assign='video_complete_msg'}
|
|
|
|
{link name='upload' assign='uploadlink'}
|
|
|
|
{link name='my_videos' assign='myvidslink'}
|
|
|
|
{$video_complete_msg|sprintf:$myvidslink:$uploadlink:$myvidslink}
|
2009-12-04 21:03:27 +00:00
|
|
|
</div>
|
2009-12-01 11:51:31 +00:00
|
|
|
{/if}
|
2009-12-04 21:03:27 +00:00
|
|
|
<!-- STEP 3 ENDS HERE -->
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="upload_right">
|
2010-02-10 05:54:08 +00:00
|
|
|
<div class="instructions">
|
|
|
|
{lang code='upload_right_guide'}
|
|
|
|
</div>
|
|
|
|
<div style="height:10px"></div>
|
|
|
|
{AD place='ad_300x250'}
|
2009-12-04 21:03:27 +00:00
|
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|