503 lines
21 KiB
Smarty
503 lines
21 KiB
Smarty
{include file='header.tpl'}{literal}<style>
|
||
.needsattention img{width:100px;}
|
||
.needsattention div, .pendingreview div, .deleted div{position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width:100px; height:auto;}
|
||
.needsattention{position: absolute;
|
||
top: 50%;
|
||
left: 50%;
|
||
transform: translate(-50%, -50%);
|
||
width: 100%;
|
||
height: 100%;
|
||
background: #d4a411;
|
||
opacity: 60%;}
|
||
.pendingreview img{width:100px;}
|
||
.pendingreview{position: absolute;
|
||
top: 50%;
|
||
left: 50%;
|
||
transform: translate(-50%, -50%);
|
||
width: 100%;
|
||
height: 100%;
|
||
background: #009529;
|
||
opacity: 60%;}
|
||
.deleted img{width:100px;}
|
||
.deleted{position: absolute;
|
||
top: 50%;
|
||
left: 50%;
|
||
transform: translate(-50%, -50%);
|
||
width: 100%;
|
||
height: 100%;
|
||
background: #ff0000;
|
||
opacity: 60%;}
|
||
.frmSearch {border: 1px solid #a8d4b1;background-color: #c6f7d0;margin: 2px 0px;padding:40px;border-radius:4px;}
|
||
#country-list{float:left;list-style:none;margin-top:-3px;padding:0;width:190px;position: absolute;}
|
||
#country-list li{padding: 10px; background: #fa3200; border-bottom: #fa3200 1px solid;}
|
||
#country-list li:hover{background:#000000;cursor: pointer;}
|
||
</style>{/literal}
|
||
{* $Id: user_video.tpl 148 2009-03-30 23:58:01Z john $ *}
|
||
|
||
<!--<img src='./images/icons/video_video48.gif' border='0' class='icon_big' />-->
|
||
<div class='page_header'><span style="font-size:20pt; font-weight:bold; text-transform:uppercase;">Edit Video Album: <a href="https://bateworld.com/videoalbum.php?user={$user->user_info.user_username}&album_id={$album_id}">{$album_info.album_title}</a></span></div>
|
||
<div>{lang_sprintf id=5500103 1=$videos_total}</div><br>
|
||
<br>
|
||
|
||
<div>
|
||
<div class="button" style="float: left;">
|
||
<a href="user_videoalbum.php">Back to Albums</a>
|
||
</div>{if $album_id>0}
|
||
<div class="button" style="float: left; padding-left: 20px;">
|
||
<a href="user_video_upload.php?task=create&album_id={$album_id}">Add New Videos</a>
|
||
</div>
|
||
<div class="button" style="float: left; padding-left: 20px;">
|
||
<a href="video_album_edit.php?album_id={$album_id}">Edit Album Info</a>
|
||
</div>{/if}
|
||
<div style="clear: both; height: 0px;"></div>
|
||
</div>
|
||
{if $user->usersetting_info.numvideos==-1}
|
||
|
||
{* if $videos_total < $user->level_info.level_video_maxnum *}
|
||
<div style='margin-top: 20px;'>
|
||
|
||
{* No youtube *}
|
||
{if $user->level_info.level_youtube_allow && FALSE}
|
||
<div class='button' style='float:left;'>
|
||
<a href='user_video_upload.php?task=youtube'><!--<img src='./images/icons/youtube.gif' border='0' class='button' />-->{lang_print id=5500186}</a>
|
||
</div>
|
||
{/if}
|
||
<div style='clear: both; height: 0px;'></div>
|
||
</div>
|
||
{* /if *}
|
||
{else}
|
||
{* UPLOAD NEW VIDEO BUTTON *}
|
||
{if $task1=="resize"}<h2>Thank you, your video will be resized</h2>{/if}
|
||
|
||
{if $user->usersetting_info.numvideos==0}
|
||
{if $videos_total < $user->level_info.level_video_maxnum}
|
||
<div style='margin-top: 20px;'>
|
||
|
||
{* No youtube *}
|
||
{if $user->level_info.level_youtube_allow && FALSE}
|
||
<div class='button' style='float:left;'>
|
||
<a href='user_video_upload.php?task=youtube'><!--<img src='./images/icons/youtube.gif' border='0' class='button' />-->{lang_print id=5500186}</a>
|
||
</div>
|
||
{/if}
|
||
<div style='clear: both; height: 0px;'></div>
|
||
</div>
|
||
{/if}
|
||
|
||
{else}
|
||
|
||
|
||
{if $user->usersetting_info.numvideos >= $videos_total}
|
||
<div style='margin-top: 20px;'>
|
||
|
||
{* No youtube *}
|
||
{if $user->level_info.level_youtube_allow && FALSE}
|
||
<div class='button' style='float:left;'>
|
||
<a href='user_video_upload.php?task=youtube'><!--<img src='./images/icons/youtube.gif' border='0' class='button' />-->{lang_print id=5500186}</a>
|
||
</div>
|
||
{/if}
|
||
<div style='clear: both; height: 0px;'></div>
|
||
</div>
|
||
{/if}
|
||
{/if}
|
||
{/if}
|
||
<br />
|
||
|
||
{* LOOP THROUGH VIDEOS *}
|
||
{section name=video_loop loop=$videos}
|
||
|
||
{* ENSURE VIDEO TITLE ISN'T BLANK *}
|
||
{if $videos[video_loop].video_title == ""}{capture assign="video_title"}{lang_print id=589}{/capture}{else}{assign var="video_title" value=$videos[video_loop].video_title}{/if}
|
||
|
||
<div class='album'>
|
||
<table cellpadding='0' cellspacing='0'>
|
||
<tr>
|
||
<td valign='top' style="width:151px;">
|
||
<div class='album_photo' style="width: 140px; text-align:center; position:relative; height:140px;{if $videos[video_loop].video_admin_approved==1}background:none;{/if}">
|
||
{if $videos[video_loop].approved!=3}<a href='{$url->url_create("video", $user->user_info.user_username, $videos[video_loop].video_id)}'>
|
||
{if $videos[video_loop].video_admin_approved==1}<img src='{if $videos[video_loop].custom_thumbnail==1}{if $videos[video_loop].cloud==1}{$imagecdn1}{else}{$imagecdn}{/if}{$videos[video_loop].video_dir|replace:'./':''}{$videos[video_loop].video_id}_custom.jpg{else}{if $videos[video_loop].cloud==1}{$imagecdn1}{else}{$imagecdn}{/if}{$videos[video_loop].video_dir}{$videos[video_loop].video_id}_thumb.jpg{/if}' onerror="this.src='{$imagecdn}images/video_placeholder.gif'" border='0' style="width: 100%; height:100%; object-fit:contain;" />{/if}
|
||
</a>{/if}
|
||
{if $videos[video_loop].approved==0||$videos[video_loop].approved==4}<div class="pendingreview"><div><i class="fa-solid fa-circle-ellipsis mediastatus"></i></div></div>{elseif $videos[video_loop].approved==2}<div class="needsattention"><div>
|
||
<i class="fa-solid fa-circle-exclamation mediastatus"></i>
|
||
</div></div>{elseif $videos[video_loop].approved==3}<div class="deleted"><div style="padding-top:10px;"><i class="fa-solid fa-film-slash mediastatus" style="font-size:80px;"></i></div></div>{/if}
|
||
</div>
|
||
{if $videos[video_loop].approved==0||$videos[video_loop].approved==4}<div style="font-size: 8px;color: #009529; text-align:right;font-weight:bold;">Pending Review</div></div>{elseif $videos[video_loop].approved==2}<div style="font-size: 8px;color: #ffff00; text-align:right; font-weight:bold;">Needs Attention</div>{elseif $videos[video_loop].approved==3}<div style="font-size: 8px;color: #ff0000; text-align:right; font-weight:bold;">Removed</div>{elseif $videos[video_loop].approved==1}<div style="font-size: 8px;color: #00ff00; text-align:right;font-weight:bold;">Approved</div>{/if}
|
||
{if $videos[video_loop].approved==0||$videos[video_loop].approved==4}
|
||
|
||
{elseif $videos[video_loop].approved==2}<br>
|
||
<br><div style="font-size: 8px; line-height:20px; border:1px solid #d4a411;padding: 4px;">Before we can publish this image, you’ll need to tag other visible users.<br><a href="https://support.bateworld.com/support/solutions/articles/154000135904-how-do-i-tag-a-buddy-in-my-video-" target="_blank">Need help with tagging users?</a>
|
||
</div>{elseif $videos[video_loop].approved==3}<br>
|
||
<br><div style="font-size: 8px; line-height:20px;border:1px solid #ff0000; padding: 4px;">"{$videos[video_loop].filename}" was removed because it violated BateWorld’s TOS. <br>
|
||
<a href="/contact" target="_blank">Think we made a mistake?</a>
|
||
</div>{/if}
|
||
</td>
|
||
<td valign='top' style='padding-left: 7px;'>
|
||
<div class='video_title'><a href='{$url->url_create("video", $user->user_info.user_username, $videos[video_loop].video_id)}'>{$video_title|truncate:30:'...':true}</a></div>
|
||
|
||
{* VIDEO HAD A PROBLEM ENCODING *}
|
||
{if $videos[video_loop].video_is_converted == -1}
|
||
<div style="padding-top:2px;padding-left:15px;font-weight:bold;color:#ee3333;">{lang_print id=5500203}</div>
|
||
|
||
{* VIDEO HAD A PROBLEM UPLOADING *}
|
||
{elseif !$videos[video_loop].video_uploaded}
|
||
<div style="padding-top:2px;padding-left:15px;font-weight:bold;color:#ee3333;">{lang_print id=5500204}</div>
|
||
|
||
{* VIDEO IS WAITING TO BE ENCODED *}
|
||
{elseif !$videos[video_loop].video_is_converted}
|
||
<div style="padding-top:2px;padding-left:15px;font-weight:bold;">{lang_print id=5500202}</div>
|
||
|
||
{* VIDEO IS PROPERLY ENCODED *}
|
||
{else}
|
||
<div style="padding-top:2px;">
|
||
|
||
{$videos[video_loop].video_views} view{if $videos[video_loop].video_views!=1}s{/if}, {$videos[video_loop].total_comments} comment{if $videos[video_loop].total_comments!=1}s{/if}
|
||
-
|
||
{section name=full_loop start=0 loop=$videos[video_loop].video_rating_full}<!--<img src='./images/icons/video_rating_full_small.gif' border='0' />-->{/section}
|
||
{if $videos[video_loop].video_rating_part}<!--<img src='./images/icons/video_rating_part_small.gif' border='0' />-->{/if}
|
||
{section name=none_loop start=0 loop=$videos[video_loop].video_rating_none}<!--<img src='./images/icons/video_rating_none_small.gif' border='0' />-->{/section}
|
||
</div>
|
||
{/if}
|
||
<br>
|
||
|
||
|
||
{if $videos[video_loop].rights==1}You have given permission for BateWorld to use this video.
|
||
<input type="button" onclick="revokeconsent({$videos[video_loop].video_id});" value="Revoke">
|
||
{elseif $videos[video_loop].consenttaken==0}
|
||
OPTIONAL: Give permission for BateWorld to use this image for promotional purposes, in marketing materials, on social media, and elsewhere on this website, and can provide 2257 documentation upon request. <input type="button" onclick="giveconsent({$videos[video_loop].video_id});" value="Grant Permission">
|
||
{/if}<br>
|
||
|
||
|
||
<div class='video_options'>
|
||
{* EDIT VIDEO *}{if $videos[video_loop].approved!=3}
|
||
{if $videos[video_loop].video_is_converted == 1 && $videos[video_loop].video_uploaded}
|
||
<div style='float: left; padding-right: 15px;'>
|
||
<!-- <a href='javascript:void(0);' onClick="editVideo('{$videos[video_loop].video_id}', '{$videos[video_loop].video_title|replace:"'":"\'"}', '{$videos[video_loop].video_desc|replace:"'":"\'"}', '{$videos[video_loop].video_search}', '{$videos[video_loop].video_privacy}', '{$videos[video_loop].video_comments}', '{$videos[video_loop].media_tags}', '{$videos[video_loop].jff}');" data-toggle="modal" data-target="#myModal">-->
|
||
<a href='user_videoalbum_update1.php?album_id={$album_id}&media_id={$videos[video_loop].video_id}&task=edit' data-toggle="modal" data-target="#myModal">
|
||
<!--<img src='./images/icons/video_edit16.gif' border='0' class='button' />-->{lang_print id=5500107}</a>
|
||
</div>{/if}
|
||
{* if $videos[video_loop].approved==1}
|
||
<div style='float: left; padding-right: 15px;'>
|
||
<a href='user_videoalbum_update.php?album_id={$album_id}&file={$dir}{$videos[video_loop].video_id}.mp4'>Download Video</a>
|
||
</div>
|
||
{/if *}
|
||
{if $videos[video_loop].approved==1}
|
||
{if $album_info.album_cover!=$videos[video_loop].video_id}
|
||
<div style='float: left; padding-right: 15px;'>
|
||
<a href='user_videoalbum_update.php?album_id={$album_id}&video_id={$videos[video_loop].video_id}&task=album_cover'>Set as Album Cover</a>
|
||
</div>
|
||
{/if}{/if}
|
||
{/if}
|
||
|
||
{* RETRY UPLOAD *}
|
||
{if $videos[video_loop].video_is_converted == -1 || !$videos[video_loop].video_uploaded}
|
||
<div style='float: left; padding-right: 15px;'>
|
||
<a href='user_video_upload.php?task=upload&video_id={$videos[video_loop].video_id}'><!--<img src='./images/icons/back16.gif' border='0' class='button' />-->Retry Upload</a>
|
||
</div>
|
||
{/if}
|
||
|
||
<div style='float: left; padding-right: 15px;'>
|
||
{*<a href='video_thumb_upload.php?album_id={$album_id}&video_id={$videos[video_loop].video_id}&type=video' data-toggle="modal" data-target="#myModal">Change Thumbnail</a>*}
|
||
<a href="javascript:opendivmodaliframe('video_thumb_upload.php?album_id={$album_id}&video_id={$videos[video_loop].video_id}&type=video');"><!--<img src='./images/icons/group_addimages16.gif' border='0' class='button' style='float: left;'>-->Change Thumbnail</a>
|
||
</div>
|
||
{if $videos[video_loop].approved==1}
|
||
{if $user->user_info.introvid!=$videos[video_loop].video_id}
|
||
<div style='float: left; padding-right: 15px;'>
|
||
<a href='user_videoalbum_update.php?album_id={$album_id}&video_id={$videos[video_loop].video_id}&task=makeintro'>Set as Intro Video</a>
|
||
</div>
|
||
{/if}{/if}
|
||
{* DELETE VIDEO *}
|
||
{if !$videos[video_loop].video_uploaded || $videos[video_loop].video_is_converted!=0}
|
||
<div style='float: left; padding-right: 15px;'>
|
||
<a href='javascript:void(0);' onClick="confirmDelete('{$videos[video_loop].video_id}');"><!--<img src='./images/icons/video_delete16.gif' border='0' class='button' />-->{lang_print id=5500108}</a>
|
||
</div>
|
||
{/if}
|
||
|
||
|
||
|
||
<div style='clear: both; height: 0px;'></div>
|
||
|
||
{if $videos[video_loop].video_is_converted==1}{*
|
||
<div style='float: left; padding-right: 15px;'>
|
||
<a href='user_videoalbum_update.php?album_id={$album_id}&task=resize&resize=1&video_id={$videos[video_loop].video_id}' onClick="return confirm('Are you sure you want to resize this video horizontally?');"><!--<img src='./images/icons/video_delete16.gif' border='0' class='button' />-->Resize Video Horizontally</a>
|
||
</div>
|
||
<div style='float: left; padding-right: 15px;'>
|
||
<a href='user_videoalbum_update.php?album_id={$album_id}&task=resize&resize=2&video_id={$videos[video_loop].video_id}' onClick="return confirm('Are you sure you want to resize this video vertically?');"><!--<img src='./images/icons/video_delete16.gif' border='0' class='button' />-->Resize Video Vertically</a>
|
||
</div>
|
||
<div style='clear: both; height: 0px;'></div>
|
||
*}
|
||
{/if}
|
||
|
||
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
|
||
{cycle values=",<div style='clear: both; height: 0px;'></div>"}
|
||
|
||
{/section}
|
||
<div style='clear: both; height: 0px;'></div>
|
||
|
||
|
||
{* IF NO VIDEOS, SHOW NOTE *}
|
||
{if $videos_total == 0}
|
||
<table cellpadding='0' cellspacing='0'>
|
||
<tr><td class='result'>
|
||
<!--<img src='./images/icons/bulb16.gif' border='0' class='icon' />-->{lang_print id=5500109}</div>
|
||
</td></tr>
|
||
</table>
|
||
{/if}
|
||
|
||
|
||
{* JAVASCRIPT FOR CONFIRMING DELETION *}
|
||
{literal}
|
||
<script type="text/javascript">
|
||
<!--
|
||
function revokeconsent(id)
|
||
{
|
||
if(confirm("Are you sure you want to revoke BateWorld's rights to use this video? This will prevent BateWorld from using your video for new media, but existing media will not be affected."))
|
||
{
|
||
window.location.href="user_videoalbum_update.php?album_id={$album_id}&task=revokerights&video_id="+id;
|
||
}
|
||
}
|
||
function giveconsent(id)
|
||
{
|
||
|
||
window.location.href="user_videoalbum_update.php?album_id={$album_id}&task=giverights&video_id="+id;
|
||
|
||
}
|
||
|
||
var video_id = 0;
|
||
function confirmDelete(id)
|
||
{
|
||
video_id = id;
|
||
opendivmodal('confirmdelete');
|
||
}
|
||
|
||
function deleteVideo()
|
||
{
|
||
var request = new Request({
|
||
'url' : 'user_videoalbum_update.php',
|
||
'method' : 'post',
|
||
'data' : {
|
||
'task' : 'delete',
|
||
'video_id' : video_id,
|
||
'album_id':{/literal}{$album_id}{literal}
|
||
},
|
||
onComplete : function()
|
||
{
|
||
window.location = 'user_videoalbum_update.php?album_id={/literal}{$album_id}{literal}';
|
||
}
|
||
}).send();
|
||
}
|
||
|
||
|
||
function editVideo(id, title, desc, search, privacy, comments, tags, jff)
|
||
{
|
||
content=jQuery("#editvideo").html();
|
||
jQuery("#myModal").html(content);
|
||
jQuery("#tag").val("");
|
||
jQuery("#tags").val("");
|
||
jQuery(".modal-content").css("background", "black")
|
||
|
||
jQuery('form input').keydown(function (e) {
|
||
if (e.keyCode == 13) {
|
||
selectUsertotag(jQuery(".usersuggestions").val());
|
||
|
||
|
||
|
||
|
||
e.preventDefault();
|
||
return false;
|
||
}
|
||
});
|
||
|
||
jQuery(".tag").keyup(function(){
|
||
jQuery.ajax({
|
||
type: "POST",
|
||
url: "misc_js.php?task=find_users_to_tag&input="+jQuery(this).val(),
|
||
data:'input='+jQuery(this).val(),
|
||
beforeSend: function(){
|
||
//jQuery("#usersuggestions").css("background","#FFF url(LoaderIcon.gif) no-repeat 165px");
|
||
},
|
||
success: function(data){
|
||
//alert(jQuery(this).parent(".tagscontainer").);
|
||
|
||
jQuery(".usersuggestions").show();
|
||
jQuery(".usersuggestions").html(data);
|
||
//jQuery("tag").css("background","#FFF");
|
||
}
|
||
});
|
||
});
|
||
|
||
$('video_id').value = id;
|
||
$('video_title').defaultValue = title;
|
||
$('video_title').value = title;
|
||
$('video_desc').defaultValue = desc;
|
||
$('video_desc').value = desc;
|
||
jQuery('.toshowusers').html(tags);
|
||
|
||
if( $('video_search_'+search) )
|
||
{
|
||
$('video_search_'+search).checked = true;
|
||
$('video_search_'+search).defaultChecked = true;
|
||
}
|
||
if( $('jff_'+jff) )
|
||
{
|
||
$('jff_'+jff).checked = true;
|
||
$('jff_'+jff).defaultChecked = true;
|
||
}
|
||
if( $('privacy_'+privacy) )
|
||
{
|
||
$('privacy_'+privacy).checked = true;
|
||
$('privacy_'+privacy).defaultChecked = true;
|
||
}
|
||
if( $('comments_'+comments) )
|
||
{
|
||
$('comments_'+comments).checked = true;
|
||
$('comments_'+comments).defaultChecked = true;
|
||
}
|
||
// opendivmodal('editvideo');
|
||
}
|
||
|
||
function selectUsertotag(val) {
|
||
|
||
who=jQuery(".tags").val();
|
||
|
||
whoarray=who.split(",");
|
||
alreadyin=0;
|
||
for(var i = 0; i < whoarray.length; i++){
|
||
if(val==whoarray[i]){alreadyin=1;}
|
||
}
|
||
|
||
if(alreadyin==0){
|
||
if(who==""){
|
||
jQuery(".tags").val(val);
|
||
}else{
|
||
|
||
|
||
jQuery(".tags").val(who+","+val);
|
||
}
|
||
jQuery(".toshowusers").append(val+"<br>");
|
||
}
|
||
who=jQuery(".tags").val();
|
||
whoarray1=who.split(",");
|
||
|
||
|
||
jQuery(".usersuggestions").hide();
|
||
|
||
|
||
jQuery(".tag").val("");
|
||
|
||
}
|
||
//-->
|
||
</script>
|
||
{/literal}
|
||
|
||
{* HIDDEN DIV TO DISPLAY CONFIRMATION MESSAGE *}
|
||
<div style='display: none;' id='confirmdelete'>
|
||
<div style='margin-top: 10px;'>
|
||
{lang_print id=5500146}
|
||
</div>
|
||
<br>
|
||
<input type='button' class='button' value='{lang_print id=175}' onClick='parent.deleteVideo();closemodal();'> <input type='button' class='button' value='{lang_print id=39}' onClick='closemodal();'>
|
||
</div>
|
||
|
||
|
||
{* HIDDEN DIV TO DISPLAY EDIT VIDEO *}
|
||
<div style='display: none;' id='editvideo'>
|
||
<div class="modal-dialog"><button type="button" class="close main-bg-color alt-text-color orangebg" data-dismiss="modal" aria-hidden="true"><i class="fa fa-times"></i></button><div class="modal-content" style="text-align:left;">
|
||
<form action='user_videoalbum_update.php' name='editForm' method='post' target='_parent' autocomplete="off">
|
||
<input type="hidden" name="album_id" value="{$album_id}">
|
||
<div style='margin-top: 10px;'>{lang_print id=5500082}</div>
|
||
<br />
|
||
|
||
<b>{lang_print id=5500078}</b><br>
|
||
<input name='video_title' id='video_title' type='text' class='text' maxlength='50' size='30' value=''>
|
||
<br />
|
||
<br />
|
||
|
||
<b>{lang_print id=5500079}</b><br>
|
||
<textarea name='video_desc' id='video_desc' rows='6' cols='50'></textarea>
|
||
<br /><br>
|
||
<strong>Move To</strong><br>
|
||
|
||
<select name='media_album_id' ><option value='{$album_id}'></option>
|
||
{section name=album_loop loop=$albums}
|
||
<option value='{$albums[album_loop].album_id}'>{$albums[album_loop].album_title|truncate:28:"...":true}</option>
|
||
{/section}</select>
|
||
<br />
|
||
<br>
|
||
|
||
<div class="tagscontainer">
|
||
<div class="toshowusers"></div>
|
||
|
||
<div class="tagcontainer">Tag other members appearing in this video:</div><div><input type="text" name="tag" id="tag" class="tag"><div class="usersuggestions"></div>
|
||
</div>
|
||
|
||
<input type='hidden' name='tags' id='tags' class="tags" value=''>
|
||
<br>
|
||
|
||
|
||
{* SHOW SEARCH PRIVACY OPTIONS IF ALLOWED BY ADMIN *}
|
||
{if $user->level_info.level_video_search == 1}
|
||
<br>
|
||
<b>{lang_print id=5500014}</b><br>
|
||
<table cellpadding='0' cellspacing='0'>
|
||
<tr><td><label><input type='radio' name='video_search' id='video_search_1' value='1' /> {lang_print id=5500015}</label></td></tr>
|
||
<tr><td><label><input type='radio' name='video_search' id='video_search_0' value='0' /> {lang_print id=5500016}</label></td></tr>
|
||
</table>
|
||
{/if}
|
||
|
||
{* SHOW PRIVACY OPTIONS IF ALLOWED BY ADMIN *}
|
||
{if $privacy_options|@count > 1}
|
||
<br />
|
||
<b>{lang_print id=5500017}</b><br>
|
||
<table cellpadding='0' cellspacing='0'>
|
||
{foreach from=$privacy_options name=privacy_loop key=k item=v}
|
||
<tr>
|
||
<td><label><input type='radio' name='video_privacy' id='privacy_{$k}' value='{$k}' /> {lang_print id=$v}</label></td>
|
||
</tr>
|
||
{/foreach}
|
||
</table>
|
||
{/if}
|
||
|
||
{* SHOW COMMENT OPTIONS IF ALLOWED BY ADMIN *}
|
||
{if $comment_options|@count > 1}
|
||
<br />
|
||
<b>{lang_print id=5500018}</b><br>
|
||
<table cellpadding='0' cellspacing='0'>
|
||
{foreach from=$comment_options name=comment_loop key=k item=v}
|
||
<tr>
|
||
<td><label><input type='radio' name='video_comments' id='comments_{$k}' value='{$k}' /> {lang_print id=$v}</label></td>
|
||
</tr>
|
||
{/foreach}
|
||
</table>
|
||
{/if}
|
||
|
||
{if $user->profile_info.profilevalue_34!="" && $user->user_info.user_level_id==2}
|
||
<br>
|
||
<b>Show Justforfans link?</b><br>
|
||
|
||
<table cellpadding="0" cellspacing="0">
|
||
<tbody><tr>
|
||
<td><label><input type="radio" name="jff" id="jff_1" value="1"> Yes</label></td>
|
||
</tr>
|
||
<tr>
|
||
<td><label><input type="radio" name="jff" id="jff_0" value="0"> No</label></td>
|
||
</tr>
|
||
</tbody></table>
|
||
|
||
{/if}
|
||
|
||
<br>
|
||
<input type='submit' class='button' value='{lang_print id=173}' />
|
||
<input type='button' class='button' value='{lang_print id=39}' onClick='closemodal();' />
|
||
<input type='hidden' name='task' value='edit' />
|
||
<input type='hidden' name='video_id' id='video_id' value='0' />
|
||
</form>
|
||
<br />
|
||
<br />
|
||
</div></div></div></div>
|
||
|
||
{include file='footer.tpl'} |