908 lines
48 KiB
Smarty
908 lines
48 KiB
Smarty
{include file='header.tpl'}
|
|
{literal}<style>
|
|
.newtitlesize{
|
|
font-size:20pt; font-weight:bold;text-transform:uppercase;font-family: "Trebuchet MS",arial,verdana,serif;
|
|
}
|
|
.tenpxfont{font-weight:normal; font-size:10px; line-height:120%;}
|
|
.indentcheckboxes{margin-left:30px;}
|
|
.vert-nav-tabs>li.active>a, .vert-nav-tabs>li.active>a:focus, .vert-nav-tabs>li.active>a:hover {
|
|
background: #0a0a0a;
|
|
color: #fa3200;
|
|
border: 0 solid #ddd;}
|
|
|
|
.vert-nav-tabs>li>a {
|
|
margin-right: 2px;
|
|
/*line-height: 150%;*/
|
|
border: 1px solid transparent;
|
|
border-radius: 10px 10px 10px 10px;
|
|
padding: 15px 15px 15px 15px;
|
|
}
|
|
.vert-nav-tabs>li>a {
|
|
background: #fa3200;
|
|
color: #fff;
|
|
border: 0 solid #ddd;
|
|
}
|
|
.middlecolumn .tab-pane{background:none!important;}
|
|
|
|
.accountfields{margin-top:5px; margin-bottom:10px;}
|
|
|
|
@keyframes shake {
|
|
0% {
|
|
margin-left: 0rem;
|
|
}
|
|
25% {
|
|
margin-left: 0.5rem;
|
|
}
|
|
75% {
|
|
margin-left: -0.5rem;
|
|
}
|
|
100% {
|
|
margin-left: 0rem;
|
|
}
|
|
}
|
|
|
|
.errorsettings {
|
|
animation: shake 0.2s ease-in-out 0s 2;
|
|
|
|
}
|
|
</style>
|
|
|
|
<script type="text/javascript">
|
|
|
|
var elementIdToScroll = window.location.hash;
|
|
|
|
function checkdeactivate()
|
|
{
|
|
val=jQuery("#deactivatemyaccount").val();
|
|
|
|
if(val.toLowerCase()=="deactivate"){parent.SocialEngine.Viewer.userDeleteConfirm("{/literal}{$delete_token}{literal}");}
|
|
}
|
|
function checkdelete()
|
|
{
|
|
val=jQuery("#deletemyaccount").val();
|
|
|
|
if(val.toLowerCase()=="delete"){
|
|
parent.SocialEngine.Viewer.userDeleteProfile("{/literal}{$delete_token}{literal}");}
|
|
}
|
|
|
|
function showerrorpremium()
|
|
{
|
|
jQuery("#premiumonlydeletetable").hide();
|
|
jQuery("#premiumonlydeletetable1").hide();
|
|
jQuery("#premiumonlydelete").css("display", "block");
|
|
jQuery("#premiumonlydelete1").css("display", "block");
|
|
}
|
|
jQuery(document).ready(function () {
|
|
|
|
if(elementIdToScroll!=""){
|
|
jQuery(".tab-content div").removeClass("active in");
|
|
jQuery(".vert-nav-tabs li").removeClass("active");
|
|
jQuery(elementIdToScroll).addClass("active in");
|
|
jQuery(elementIdToScroll+"b").addClass("active");
|
|
|
|
jQuery("#tabselector").val(elementIdToScroll.replace('#',''));
|
|
|
|
|
|
}
|
|
jQuery(".tabdropdown").hover(
|
|
function(){ jQuery(this).addClass('open') },
|
|
function(){ jQuery(this).removeClass('open') }
|
|
);
|
|
});
|
|
function changetab(value){
|
|
jQuery(".tab-content div").removeClass("active in");
|
|
jQuery(".vert-nav-tabs li").removeClass("active");
|
|
jQuery("#"+value).addClass("active in");
|
|
jQuery("#"+value+"b").addClass("active");
|
|
|
|
|
|
}
|
|
</script>
|
|
|
|
{/literal}
|
|
{* $Id: user_account.tpl 8 2009-01-11 06:02:53Z john $ *}
|
|
<div class="col-sm-3 homeleft"><div class="newtitlesize">
|
|
SETTINGS
|
|
<div class="portal_spacer"></div>
|
|
</div></div><div class="clearfix"></div>
|
|
<div class="col-sm-3 homeleft">
|
|
<ul class="nav vert-nav-tabs hidden-xs hidden-sm visible-md visible-lg form-tabsnav-pills nav-stacked">
|
|
<li class="active" role="presentation" id="a01b"><a href="/settings.php#a01" class="jquerycss" aria-controls="a01" role="tab" data-toggle="tab" aria-expanded="false">Settings</a></li>
|
|
<li role="presentation" id="a05b"><a href="/settings.php#a05" class="jquerycss" aria-controls="a05" role="tab" data-toggle="tab" aria-expanded="false">Notifications</a></li>
|
|
<li role="presentation" id="a02b"><a href="/settings.php#a02" class="jquerycss" aria-controls="a02" role="tab" data-toggle="tab" aria-expanded="false">Privacy</a></li>
|
|
<li role="presentation" id="a06b"><a href="/settings.php#a06" class="jquerycss" aria-controls="a06" role="tab" data-toggle="tab" aria-expanded="false">Block List</a></li>
|
|
<li role="presentation" id="a03b"><a href="/settings.php#a03" class="jquerycss" aria-controls="a03" role="tab" data-toggle="tab" aria-expanded="false">Change Password</a></li>
|
|
<li role="presentation" id="a04b"><a href="/settings.php#a04" class="jquerycss" aria-controls="a04" role="tab" data-toggle="tab" aria-expanded="false" onclick="jQuery('#tabselector').value='a04'">Deactivate Account</a></li>
|
|
<li role="presentation" id="a07b"><a href="/settings.php#a07" class="jquerycss" aria-controls="a04" role="tab" data-toggle="tab" aria-expanded="false" onclick="jQuery('#tabselector').value='a07'">Delete Profile</a></li>
|
|
|
|
|
|
|
|
</ul>
|
|
<div class="visible-xs visible-sm hidden-md hidden-lg"><a href="javascript:void(0);" onclick="jQuery('.form-tabsnav-pills li a').eq('a02').tab('show');">Select Tab:</a><br>
|
|
<select id="tabselector" class="mb10 form-control form-custom visible-xs visible-sm hidden-md hidden-lg tabdropdown" id="tab_selector" onchange="changetab(jQuery(this).val());">
|
|
<option value="a01">Settings</option>
|
|
<option value="a05">Notifications</option>
|
|
<option value="a02">Privacy</option>
|
|
<option value="a06">Block List</option>
|
|
<option value="a03">Change Password</option>
|
|
<option value="a04">Deactivate Account</option>
|
|
<option value="a07">Delete Profile</option>
|
|
</select>
|
|
</div>
|
|
</div><div class="col-sm-6 middlecolumn tab-content">
|
|
|
|
|
|
<div id="a02" class="tab-pane fade tabpadding" role="tabpanel">
|
|
{* SHOW SUCCESS MESSAGES *}
|
|
{if $result != 0}
|
|
<table cellpadding='0' cellspacing='0'><tr><td class='success red' style="color:red;">
|
|
Your changes have been saved
|
|
</td></tr></table>
|
|
{/if}
|
|
|
|
|
|
{* JAVASCRIPT FOR CREATING SUGGESTION BOX *}
|
|
{literal}
|
|
<script type="text/javascript">
|
|
<!--
|
|
window.addEvent('domready', function(){
|
|
|
|
|
|
jQuery("#block_user").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");
|
|
}
|
|
});
|
|
});
|
|
});
|
|
|
|
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("<div style='margin-left:5px;'><input type='hidden' name='user_blocklist[]' value='"+val+"' /><a href='profile.php?user="+val+"'>"+val+"</a></div>");
|
|
}
|
|
who=jQuery(".tags").val();
|
|
whoarray1=who.split(",");
|
|
|
|
|
|
jQuery(".usersuggestions").hide();
|
|
|
|
|
|
jQuery("#block_user").val("");
|
|
|
|
}
|
|
//-->
|
|
</script>
|
|
{/literal}
|
|
|
|
<form action='settings.php#a02' method='post' name='info'>
|
|
|
|
<strong>Profile Privacy</strong><br>
|
|
<div class="tenpxfont" style="margin-top:5px;">
|
|
Choose who can view your profile. Private profiles require a friend request before they can be viewed by others, although your profile image will still be displayed. This can make it challenging to make new friends.*</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div style="margin-top:5px;"><label><input type="radio" name="privacy_profile" id="privacy_31" value="31" {if $user->user_info.user_privacy == 31||($user->user_info.user_level_id!=2 && $user->user_info.user_level_id!=7)} checked='checked'{/if} {if $user->user_info.user_level_id!=2 && $user->user_info.user_level_id!=7}disabled{/if}>
|
|
Everyone on BateWorld</label></div>
|
|
<div><label><input type="radio" name="privacy_profile" id="privacy_3" value="3" {if $user->user_info.user_privacy == 3&&($user->user_info.user_level_id==2||$user->user_info.user_level_id==7)} checked='checked'{/if} {if $user->user_info.user_level_id!=2 && $user->user_info.user_level_id!=7}disabled{/if}>
|
|
Only My Friends</label></div>
|
|
|
|
|
|
|
|
|
|
<div class="portal_spacer"></div>
|
|
|
|
|
|
{* if $user->level_info.level_profile_invisible == 1}
|
|
<div>{lang_print id=1058}:</div>
|
|
<div>
|
|
<table cellpadding='0' cellspacing='0'>
|
|
<tr>
|
|
<td><input type='checkbox' name='user_invisible' id='invisible' value='1' {if $user->user_info.user_invisible == 1} checked='checked'{/if}> </td>
|
|
<td><label for='invisible'>{lang_print id=1059}</label></td>
|
|
</tr>
|
|
</table>
|
|
</div><br>
|
|
|
|
{/if *}
|
|
|
|
{* if $user->user_info.user_level_id==2}
|
|
<div>
|
|
<div id="field_options_22">
|
|
|
|
|
|
<div>
|
|
|
|
<input type="checkbox" onclick="ShowHideDeps('22', '1', '6');" style="" name="field_22[]" id="label_22_1" value="1" checked="">
|
|
|
|
<label for="label_22_1">Make me invisible</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<div class="form_desc">You will not be displayed in the "Online Users" listing.</div>
|
|
</div>
|
|
{/if *}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div><label><input type='checkbox' name='user_invisible' id='invisible' value='1' {if $user->profile_info.profilevalue_22==1 && ($user->user_info.user_level_id == 2 || $user->user_info.user_level_id == 7)} checked='checked'{/if} {if $user->user_info.user_level_id != 2 && $user->user_info.user_level_id != 7}disabled{/if}> Make me invisible*</label><br>
|
|
<span class="tenpxfont">You will not be displayed in the "Online Users" listing.</span>
|
|
</div>
|
|
|
|
|
|
<div class="portal_spacer"></div>
|
|
|
|
|
|
|
|
|
|
<div><label><input type='checkbox' name='wh_privacy' id='wh_privacy' value='Y' {if $user->user_info.user_wh_privacy == "Y"} checked='checked'{/if}> Exclude me from Photo/Video of the Day</label><br>
|
|
<span class="tenpxfont">You will not be displayed in randomly selected photo and video of the day on the Home page.</span>
|
|
|
|
</div>
|
|
|
|
<div class="portal_spacer"></div>
|
|
|
|
<div>
|
|
<label><input type='checkbox' name='chatbar' id='chatbar' value='1'{if $user->user_info.hidechat == 1} checked='checked'{/if}> Disable Chat</label>
|
|
<br>
|
|
<span class="tenpxfont">BateWorld's Chat feature will be hidden, sitewide.</span>
|
|
</div>
|
|
<div class="portal_spacer"></div><div class="portal_spacer"></div>
|
|
|
|
|
|
|
|
|
|
{if $user->level_info.level_profile_views == 1}
|
|
<strong>Profile Views</strong>
|
|
<div>
|
|
|
|
|
|
{* SHOW NUMBER OF TIMES PROFILE HAS BEEN VIEWED *}<div>{$profile_views} Total Views of Your Profile
|
|
<br>
|
|
{if $profile_views !=0}<a href='settings.php?task=resetviews' onclick="return confirm('Are you sure?');">[Reset this Counter]</a>{/if}<br/>{* WHO VIEWED MY PROFILE LINK *}{if $user->user_info.user_saveviews==1}{if $profile_viewers|@count !=0}<div style='margin-top: 10px;'> <a href='javascript:void(0);' onClick="$('profile_viewers').style.display='block';this.style.display='none';">{lang_print id=1064}</a> <div id='profile_viewers' style='display: none; max-height: 400px; overflow: auto;'>{lang_print id=1182}<br/>{section name=viewer_loop loop=$profile_viewers}<a href='{$url->url_create("profile", $profile_viewers[viewer_loop]->user_info.user_username)}'>{$profile_viewers[viewer_loop]->user_displayname}</a>{if $smarty.section.viewer_loop.last !==TRUE}, {/if}{/section}</div></div>{else}{lang_print id=1063}{/if}{/if}</div><br>
|
|
|
|
|
|
|
|
|
|
<div class='form_desc'>{lang_print id=1062}</div>
|
|
</div><br>
|
|
|
|
{/if}
|
|
{* SHOW INVISIBILITY SETTING *}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{* SHOW PROFILE COMMENT OPTIONS *}
|
|
{if $comment_options|@count > 1}
|
|
<div>{lang_print id=969}:</div>
|
|
<div>
|
|
<div style='padding: 3px 0px 5px 0px;'>{lang_print id=970}</div>
|
|
<table cellpadding='0' cellspacing='0'>
|
|
{* LIST COMMENT OPTIONS *}
|
|
{foreach from=$comment_options key=k item=v}
|
|
<tr>
|
|
<td><input type='radio' name='comments_profile' id='comments_{$k}' value='{$k}'{if $user->user_info.user_comments == $k} checked='checked'{/if}></td>
|
|
<td><label for='comments_{$k}'>{lang_print id=$v}</label></td>
|
|
</tr>
|
|
{/foreach}
|
|
</table>
|
|
</div><br>
|
|
|
|
{/if}
|
|
|
|
{* SHOW PROFILE SEARCH OPTIONS *}
|
|
{if $user->level_info.level_profile_search == 1}
|
|
<div>{lang_print id=971}:</div>
|
|
<div>
|
|
<div style='padding: 3px 0px 5px 0px;'>{lang_print id=972}</div>
|
|
<table cellpadding='0' cellspacing='0'>
|
|
<tr><td><input type='radio' name='search_profile' id='search_profile1' value='1'{if $user->user_info.user_search == 1} checked='checked'{/if}></td><td><label for='search_profile1'>{lang_print id=973}</label></td></tr>
|
|
<tr><td><input type='radio' name='search_profile' id='search_profile0' value='0'{if $user->user_info.user_search == 0} checked='checked'{/if}></td><td><label for='search_profile0'>{lang_print id=974}</label></td></tr>
|
|
</table>
|
|
</div><br>
|
|
|
|
{/if}
|
|
|
|
<div class="portal_spacer"></div>
|
|
|
|
<strong>Recent Activity Feed Privacy</strong><br>
|
|
<span class="tenpxfont">You can choose which of your activities appear in the Recent Activity Feed on the Home page.</span>
|
|
<div class="portal_spacer"></div>
|
|
Media and Profile
|
|
<div class="portal_spacer"></div>
|
|
|
|
<div class="indentcheckboxes">
|
|
<label><input type="checkbox" name="actiontype[]" id="actiontype_id_3" value="3" {if !'3'|in_array:$actiontypes_disallowed}checked='checked'{/if} > Profile edits</label><br>
|
|
<label><input type="checkbox" name="actiontype[]" id="actiontype_id_7" value="7" {if !'7'|in_array:$actiontypes_disallowed} checked='checked'{/if}> Status updates</label><br>
|
|
{* <label><input type="checkbox" name="actiontype[]" id="actiontype_id_2" value="2" {if !'2'|in_array:$actiontypes_disallowed} checked='checked'{/if}> Changes to profile photo</label><br>*}
|
|
<label><input type="checkbox" name="actiontype[]" id="actiontype_id_11" value="11" {if !'11'|in_array:$actiontypes_disallowed} checked='checked'{/if}> Creating a photo album</label><br>
|
|
<label><input type="checkbox" name="actiontype[]" id="actiontype_id_12" value="12" {if !'12'|in_array:$actiontypes_disallowed} checked='checked'{/if}> Adding photos to an album</label><br>
|
|
<label><input type="checkbox" name="actiontype[]" id="actiontype_id_38" value="38" {if !'38'|in_array:$actiontypes_disallowed} checked='checked'{/if}> Creating a blog post</label><br>
|
|
<label><input type="checkbox" name="actiontype[]" id="actiontype_id_23" value="23" {if !'23'|in_array:$actiontypes_disallowed} checked='checked'{/if}> Adding a Song</label><br>
|
|
|
|
<label><input type="checkbox" name="actiontype[]" id="actiontype_id_24" value="24" {if !'24'|in_array:$actiontypes_disallowed} checked='checked'{/if}> Adding a Video</label>
|
|
|
|
|
|
</div>
|
|
|
|
<div class="portal_spacer"></div>
|
|
Comments
|
|
<div class="portal_spacer"></div><div class="indentcheckboxes">
|
|
<label><input type="checkbox" name="actiontype[]" id="actiontype_id_13" value="13" {if !'13'|in_array:$actiontypes_disallowed} checked='checked'{/if}> Commenting on a photo</label><br>
|
|
<label><input type="checkbox" name="actiontype[]" id="actiontype_id_26" value="26" {if !'26'|in_array:$actiontypes_disallowed} checked='checked'{/if}> Commenting on a video</label><br>
|
|
<label><input type="checkbox" name="actiontype[]" id="actiontype_id_4" value="4" {if !'4'|in_array:$actiontypes_disallowed} checked='checked'{/if}> Commenting on a profile</label><br>
|
|
<label><input type="checkbox" name="actiontype[]" id="actiontype_id_19" value="19" {if !'19'|in_array:$actiontypes_disallowed} checked='checked'{/if}> Commenting on an Event</label><br>
|
|
<label><input type="checkbox" name="actiontype[]" id="actiontype_id_20" value="20" {if !'20'|in_array:$actiontypes_disallowed} checked='checked'{/if}> Commenting on an Event photo</label><br>
|
|
<label><input type="checkbox" name="actiontype[]" id="actiontype_id_32" value="32" {if !'32'|in_array:$actiontypes_disallowed} checked='checked'{/if}> Commenting on a Group</label><br>
|
|
<label><input type="checkbox" name="actiontype[]" id="actiontype_id_33" value="33" {if !'33'|in_array:$actiontypes_disallowed} checked='checked'{/if}> Commenting on a Group photo</label><br>
|
|
<label><input type="checkbox" name="actiontype[]" id="actiontype_id_10" value="10" {if !'10'|in_array:$actiontypes_disallowed} checked='checked'{/if}> Commenting on a poll</label><br>
|
|
<label><input type="checkbox" name="actiontype[]" id="actiontype_id_39" value="39" {if !'39'|in_array:$actiontypes_disallowed} checked='checked'{/if}> Commenting on a blog</label></div>
|
|
<div class="portal_spacer"></div>
|
|
Events
|
|
<div class="portal_spacer"></div><div class="indentcheckboxes">
|
|
<label><input type="checkbox" name="actiontype[]" id="actiontype_id_15" value="15" {if !'15'|in_array:$actiontypes_disallowed} checked='checked'{/if}> Creating a new Event</label><br>
|
|
<label><input type="checkbox" name="actiontype[]" id="actiontype_id_44" value="44" {if !'44'|in_array:$actiontypes_disallowed} checked='checked'{/if}> Editing an Event</label><br>
|
|
<label><input type="checkbox" name="actiontype[]" id="actiontype_id_16" value="16" {if !'16'|in_array:$actiontypes_disallowed} checked='checked'{/if}> Joining an Event</label><br>
|
|
<label><input type="checkbox" name="actiontype[]" id="actiontype_id_18" value="18" {if !'18'|in_array:$actiontypes_disallowed} checked='checked'{/if}> Attending an Event</label><br>
|
|
<label><input type="checkbox" name="actiontype[]" id="actiontype_id_21" value="21" {if !'21'|in_array:$actiontypes_disallowed} checked='checked'{/if}> Posting a photo to an Event</label></div>
|
|
<div class="portal_spacer"></div>
|
|
Groups
|
|
<div class="portal_spacer"></div><div class="indentcheckboxes">
|
|
<label><input type="checkbox" name="actiontype[]" id="actiontype_id_29" value="29" {if !'29'|in_array:$actiontypes_disallowed} checked='checked'{/if}> Creating a new Group</label><br>
|
|
<label><input type="checkbox" name="actiontype[]" id="actiontype_id_30" value="30" {if !'30'|in_array:$actiontypes_disallowed} checked='checked'{/if}> Joining a Group</label><br>
|
|
<label><input type="checkbox" name="actiontype[]" id="actiontype_id_34" value="34" {if !'34'|in_array:$actiontypes_disallowed} checked='checked'{/if}> Uploading a photo to a group</label><br>
|
|
<label><input type="checkbox" name="actiontype[]" id="actiontype_id_36" value="36" {if !'36'|in_array:$actiontypes_disallowed} checked='checked'{/if}> Starting a Group discussion topic</label><br>
|
|
<label><input type="checkbox" name="actiontype[]" id="actiontype_id_37" value="37" {if !'37'|in_array:$actiontypes_disallowed} checked='checked'{/if}> Replying to a Group discussion topic</label></div>
|
|
|
|
<div class="portal_spacer"></div>
|
|
Polls
|
|
<div class="portal_spacer"></div><div class="indentcheckboxes">
|
|
<label><input type="checkbox" name="actiontype[]" id="actiontype_id_8" value="8" {if !'8'|in_array:$actiontypes_disallowed} checked='checked'{/if}>Creating a Poll</label><br>
|
|
<label><input type="checkbox" name="actiontype[]" id="actiontype_id_9" value="9" {if !'9'|in_array:$actiontypes_disallowed} checked='checked'{/if}> Voting on a Poll</label></div>
|
|
<div class="portal_spacer"></div>
|
|
Forums
|
|
|
|
<div class="portal_spacer"></div><div class="indentcheckboxes">
|
|
<label><input type="checkbox" name="actiontype[]" id="actiontype_id_40" value="40" {if !'40'|in_array:$actiontypes_disallowed} checked='checked'{/if}> Creating a new Forum topic</label><br>
|
|
<label><input type="checkbox" name="actiontype[]" id="actiontype_id_41" value="41"
|
|
{if !'41'|in_array:$actiontypes_disallowed} checked='checked'{/if}> Replying to a Forum topic</label></div>
|
|
|
|
|
|
|
|
|
|
<div class="portal_spacer"></div><div class="portal_spacer"></div>
|
|
|
|
|
|
<input type='submit' class='button' value='{lang_print id=173}'>
|
|
|
|
<input type='hidden' name='task' value='dosaveprivacy'>
|
|
</form>
|
|
|
|
<br>
|
|
<br>
|
|
*Premium members only
|
|
|
|
|
|
|
|
</div>
|
|
<div id="a03" class="tab-pane fade tabpadding" role="tabpanel">
|
|
|
|
|
|
|
|
|
|
{* SHOW SUCCESS OR ERROR MESSAGE *}
|
|
{if $result != 0}
|
|
<div class='success'><img src='./images/success.gif' border='0' class='icon'> {lang_print id=191}</div><br>
|
|
{elseif $is_error != 0}{if $is_error != 701 && $is_error != 702 && $is_error != 703}
|
|
<div class='error'><img src='./images/error.gif' border='0' class='icon'> {lang_print id=$is_error}</div><br>{$is_error}
|
|
{/if}{/if}
|
|
|
|
<form action='settings.php#a03' method='POST'>
|
|
<strong>Update your password</strong><br>
|
|
Enter your current BateWorld password in order to set a new one. If you can't remember your password, you can <a href="/lostpass.php" target="_blank">request a password reset</a>.<br>
|
|
<br>
|
|
|
|
|
|
<div><strong>Current Password</strong></div><div><input type='password' name='password_old' class='accountfields form-control' size='30' maxlength='50' required>
|
|
{if $is_error==701}<div style="margin-bottom:5px; color:white;" class="errorsettings"><strong>{lang_print id=$is_error}</strong></div>{/if}
|
|
|
|
</div><br>
|
|
<div><strong>{lang_print id=46}</strong></div>
|
|
<div><input type='password' name='password_new' class='accountfields form-control' size='30' maxlength='50' required></div>
|
|
<span class="tenpxfont">Use at least 8 characters. Don't use a password from another site, or something obvious like a birthday or pet.</span><br>
|
|
{if $is_error==703}<div style="margin-bottom:5px; color:white;" class="errorsettings"><strong>{lang_print id=$is_error}</strong></div>{/if}
|
|
<br>
|
|
<div><strong>{lang_print id=47}</strong></div>
|
|
<div><input type='password' name='password_new2' class='accountfields form-control' size='30' maxlength='50'></div>
|
|
|
|
{if $is_error==702}<div style="margin-bottom:5px; color:white;" class="errorsettings"><strong>{lang_print id=$is_error}</strong></div>{/if}
|
|
<br>
|
|
<input type='submit' class='button' value='{lang_print id=173}'>
|
|
<input type='hidden' name='task' value='dosavepassword'>
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|
|
<div id="a04" class="tab-pane fade tabpadding" role="tabpanel">
|
|
<Strong>Deactivate Account</strong>
|
|
<div>Accounts can be temporarily deactivated for up to 1 year. After 1 year of deactivation your account may no longer be recoverable. To reactivate your account, simply log back in with your email and password.<br>
|
|
<br>
|
|
|
|
Deactivating your account means your BateWorld profile will no longer appear in search or in friends lists.
|
|
</div>
|
|
<br />
|
|
<div style="display:none;" id="premiumonlydelete">Hold on!<br>
|
|
<br>
|
|
Please note that as a Premium BateWorld member, deactivating your account will not pause or stop your Premium subscription. Please follow the <a href="https://support.bateworld.com/support/solutions/articles/154000136976-how-do-i-change-or-cancel-my-premium-subscription-" target="_blank">instructions in the FAQ</a> to change or cancel your subscription.
|
|
<br>
|
|
<br>
|
|
Are you sure you want to deactivate your account?
|
|
<form autocomplete="off" onsubmit="return false;">
|
|
<input class="form-control" type="text" placeholder="Type DEACTIVATE to confirm" name="deactivatemyaccount" id="deactivatemyaccount" value="" autocomplete="off"><input type="button" value="Deactivate My Account" onclick="checkdeactivate();">
|
|
</form>
|
|
</div>
|
|
{* else}
|
|
<div style="display:none;" id="premiumonlydelete">Hold on! As a Premium BateWorld member, you'll need to cancel your subscription in order to deactivate your account. Please follow the <a href="https://support.bateworld.com/support/solutions/articles/154000136976-how-do-i-change-or-cancel-my-premium-subscription-" target="_blank">instructions in the FAQ</a> to change or cancel your subscription.</div>
|
|
{/if *}
|
|
<div id="premiumonlydeletetable">
|
|
|
|
|
|
<input type='submit' class='button' value='Deactivate My Account' onClick='{if $user->user_info.user_level_id==2}showerrorpremium();{else}SocialEngine.Viewer.userDelete();{/if}' />
|
|
</div>
|
|
|
|
|
|
{* HIDDEN DIV TO DISPLAY CONFIRMATION MESSAGE *}
|
|
{lang_javascript id=759}
|
|
<div style='display: none;' id='confirmdelete'>
|
|
<div style='margin-top: 10px;'>
|
|
{lang_print id=1146}
|
|
</div>
|
|
<br>
|
|
<input type='button' class='button' value='Deactivate' onClick='parent.SocialEngine.Viewer.userDeleteConfirm("{$delete_token}");closemodal();' />
|
|
<input type='button' class='button' value='{lang_print id=39}' onClick='closemodal();' />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div id="a07" class="tab-pane fade tabpadding" role="tabpanel">
|
|
<Strong>Delete Profile</strong>
|
|
<div>
|
|
Deleting removes your profile permanently from BateWorld. This means your friends list, activities, and media (photos and videos) will be permanently deleted and cannot be recovered. <br>
|
|
<br>
|
|
|
|
|
|
If you aren't sure whether you're ready to delete, consider <a href="javascript: void(0);" onclick="changetab('a04');">deactivating as a temporary alternative</a>. Once you hit delete your account will be deactivated, sign in again if you want to cancel deactivation/deletion.
|
|
</div>
|
|
<br />
|
|
|
|
|
|
<div style="display:none;" id="premiumonlydelete1">Hold on!<br>
|
|
<br>
|
|
Please note that as a Premium BateWorld member, deleting your profile will not pause or stop your Premium subscription. Please follow the <a href="https://support.bateworld.com/support/solutions/articles/154000136976-how-do-i-change-or-cancel-my-premium-subscription-" target="_blank">instructions in the FAQ</a> to change or cancel your subscription. <br>
|
|
<br>
|
|
|
|
|
|
Are you sure you want to permanently delete your profile?
|
|
<form autocomplete="off" onsubmit="return false;">
|
|
<input class="form-control" type="text" placeholder="Type DELETE to confirm" name="deletemyaccount" id="deletemyaccount" value="" autocomplete="off"><input type="button" value="Delete My Profile" onclick="checkdelete();">
|
|
</form>
|
|
</div>
|
|
{* else}
|
|
<div style="display:none;" id="premiumonlydelete1">Hold on! As a Premium BateWorld member, you'll need to cancel your subscription in order to deactivate your account. Please follow the <a href="https://support.bateworld.com/support/solutions/articles/154000136976-how-do-i-change-or-cancel-my-premium-subscription-" target="_blank">instructions in the FAQ</a> to change or cancel your subscription.</div>
|
|
{/if *}
|
|
<div id="premiumonlydeletetable1">
|
|
|
|
|
|
<input type='submit' class='button' value='Delete My Profile' onClick='{if $user->user_info.user_level_id==2}showerrorpremium();{else}parent.SocialEngine.Viewer.userDeleteProfile("{$delete_token}");{literal} jQuery("#myModal").on("hidden.bs.modal", function () { window.location.href="/login.php";});{/literal}{/if}' />
|
|
</div>
|
|
|
|
|
|
{* HIDDEN DIV TO DISPLAY CONFIRMATION MESSAGE *}
|
|
{lang_javascript id=759}
|
|
<div style='display: none;' id='confirmdeleteprofile'>
|
|
<div style='margin-top: 10px;'>
|
|
Got it. <br>
|
|
<br>
|
|
You will receive an email confirmation shortly. Please click the link in that email to confirm the permanent deletion of your profile. </div>
|
|
<br>
|
|
<input type='button' class='button' value='Okay' onClick='closemodal();' />
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div id="a05" class="tab-pane fade tabpadding" role="tabpanel">
|
|
<form action='settings.php#a05' method='post' name='info'>
|
|
{* SHOW NOTIFICATION SETTINGS *}
|
|
{if $notifytypes|@count != 0}
|
|
<div><strong>Email Notifications:</strong></div>
|
|
<span class="tenpxfont">Choose the notifications you would like to receive by email.</span>
|
|
<div class="portal_spacer"></div>
|
|
Messaging and Profile
|
|
<div class="portal_spacer"></div><div class="indentcheckboxes">
|
|
<label><input type="checkbox" name="notifications[friendrequest]" id="usersetting_notify_friendrequest" value="1" {if $user->usersetting_info.usersetting_notify_friendrequest == 1} checked='checked'{/if}> New Friend requests</label><br>
|
|
<label><input type="checkbox" name="notifications[friendacceptsrequest]" id="usersetting_notify_friendacceptsrequest" value="1" {if $user->usersetting_info.usersetting_notify_friendacceptsrequest == 1} checked='checked'{/if}> Friend request accepted</label><br>
|
|
|
|
<label><input type="checkbox" name="notifications[message]" id="usersetting_notify_message" value="1" {if $user->usersetting_info.usersetting_notify_message == 1} checked='checked'{/if}> New message received</label><br>
|
|
<label><input type="checkbox" name="notifications[profilecomment]" id="usersetting_notify_profilecomment" value="1" {if $user->usersetting_info.usersetting_notify_profilecomment == 1} checked='checked'{/if}> New profile comments</label><br>
|
|
<label><input type="checkbox" name="notifications[pollcomment]" id="usersetting_notify_pollcomment" value="1" {if $user->usersetting_info.usersetting_notify_pollcomment == 1} checked='checked'{/if}> New poll comments</label><br>
|
|
<label><input type="checkbox" name="notifications[mediacomment]" id="usersetting_notify_mediacomment" value="1" {if $user->usersetting_info.usersetting_notify_mediacomment == 1} checked='checked'{/if}> New photo comments</label><br>
|
|
<label><input type="checkbox" name="notifications[videocomment]" id="usersetting_notify_videocomment" value="1" {if $user->usersetting_info.usersetting_notify_videocomment == 1} checked='checked'{/if}> New video comments</label>
|
|
|
|
|
|
</div>
|
|
<div class="portal_spacer"></div>
|
|
Events
|
|
<div class="portal_spacer"></div>
|
|
<div class="indentcheckboxes">
|
|
<label><input type="checkbox" name="notifications[eventcomment]" id="usersetting_notify_eventcomment" value="1" {if $user->usersetting_info.usersetting_notify_eventcomment == 1} checked='checked'{/if}> New comments on an event I created</label><br>
|
|
<label><input type="checkbox" name="notifications[eventmediacomment]" id="usersetting_notify_eventmediacomment" value="1" {if $user->usersetting_info.usersetting_notify_eventmediacomment == 1} checked='checked'{/if}> New photo comments on an event I created</label><br>
|
|
<label><input type="checkbox" name="notifications[eventinvite]" id="usersetting_notify_eventinvite" value="1"{if $user->usersetting_info.usersetting_notify_eventinvite == 1} checked='checked'{/if}> New event invitations</label><br>
|
|
<label><input type="checkbox" name="notifications[eventmemberrequest]" id="usersetting_notify_eventmemberrequest" value="1" {if $user->usersetting_info.usersetting_notify_eventmemberrequest == 1} checked='checked'{/if}> New invitation requests for an event I created</label>
|
|
|
|
</div>
|
|
<div class="portal_spacer"></div>
|
|
Groups
|
|
<div class="portal_spacer"></div>
|
|
<div class="indentcheckboxes">
|
|
<label><input type="checkbox" name="notifications[groupcomment]" id="usersetting_notify_groupcomment" value="1" {if $user->usersetting_info.usersetting_notify_groupcomment == 1} checked='checked'{/if}> New comments on a group I lead</label><br>
|
|
<label><input type="checkbox" name="notifications[groupmediacomment]" id="usersetting_notify_groupmediacomment" value="1" {if $user->usersetting_info.usersetting_notify_groupmediacomment == 1} checked='checked'{/if}> New photo comments in a group I lead</label><br>
|
|
<label><input type="checkbox" name="notifications[groupinvite]" id="usersetting_notify_groupinvite" value="1" {if $user->usersetting_info.usersetting_notify_groupinvite == 1} checked='checked'{/if}> New group invitations</label><br>
|
|
<label><input type="checkbox" name="notifications[groupmemberrequest]" id="usersetting_notify_groupmemberrequest" value="1" {if $user->usersetting_info.usersetting_notify_groupmemberrequest == 1} checked='checked'{/if}> New invitation requests for a group I lead</label><br>
|
|
<label><input type="checkbox" name="notifications[grouppost]" id="usersetting_notify_grouppost" value="1" {if $user->usersetting_info.usersetting_notify_grouppost == 1} checked='checked'{/if}> New posts in a discussion topic in a group I lead</label><br>
|
|
<label></label><br>
|
|
<label></label><br>
|
|
<label></label><br>
|
|
|
|
</div>
|
|
|
|
<div class="portal_spacer"></div>
|
|
Blogs
|
|
<div class="portal_spacer"></div>
|
|
<div class="indentcheckboxes">
|
|
<label><input type="checkbox" name="notifications[blogcomment]" id="usersetting_notify_blogcomment" value="1" {if $user->usersetting_info.usersetting_notify_blogcomment == 1} checked='checked'{/if}> New comments on one of my blog entries</label><br>
|
|
<label><input type="checkbox" name="notifications[newblogsubscriptionentry]" id="usersetting_notify_newblogsubscriptionentry" value="1" {if $user->usersetting_info.usersetting_notify_newblogsubscriptionentry == 1} checked='checked'{/if}> New posts in a blog I have subscribed to</label>
|
|
|
|
</div>
|
|
|
|
<div class="portal_spacer"></div>
|
|
Forums
|
|
<div class="portal_spacer"></div>
|
|
<div class="indentcheckboxes">
|
|
<label><input type="checkbox" name="notifications[forumreply]" id="usersetting_notify_forumreply" value="1" {if $user->usersetting_info.usersetting_notify_forumreply == 1} checked='checked'{/if}>New Posts in a forum topic I created</label>
|
|
|
|
</div>
|
|
<input type='hidden' name='notifications[birthday]' id='birthdayemail' value='1'>
|
|
<input type='hidden' name='notifications[7daynotice]' id='premium7' value='1'>
|
|
<input type='hidden' name='notifications[2daynotice]' id='premium2' value='1'>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="portal_spacer"></div>
|
|
|
|
<div class="portal_spacer"></div>
|
|
<strong>Website Notifications:</strong><br>
|
|
<span class="tenpxfont">Choose the notifications you would like to see in the Updates bar.</span>
|
|
<div class="portal_spacer"></div>
|
|
Messaging and Profile
|
|
<div class="portal_spacer"></div>
|
|
<div class="indentcheckboxes">
|
|
<label><input type='checkbox' name='notifys[notify_friendrequest]' id='notify_friendrequest' value='1' {if $user->usersetting_info.notify_friendrequest == 1} checked='checked'{/if}> New Friend requests</label><br>
|
|
<label><input type='checkbox' name='notifys[notify_message]' id='notify_message' value='1' {if $user->usersetting_info.notify_message == 1} checked='checked'{/if}> New message received</label><br>
|
|
<label><input type='checkbox' name='notifys[notify_profilecomment]' id='notify_profilecomment' value='1' {if $user->usersetting_info.notify_profilecomment == 1} checked='checked'{/if}> New profile comments</label><br>
|
|
<label><input type='checkbox' name='notifys[notify_pollcomment]' id='notify_pollcomment' value='1' {if $user->usersetting_info.notify_pollcomment == 1} checked='checked'{/if}> New poll comments</label><br>
|
|
<label><input type='checkbox' name='notifys[notify_mediacomment]' id='notify_mediacomment' value='1' {if $user->usersetting_info.notify_mediacomment == 1} checked='checked'{/if}> New photo comments</label><br>
|
|
<label><input type='checkbox' name='notifys[notify_videocomment]' id='notify_videocomment' value='1' {if $user->usersetting_info.notify_videocomment == 1} checked='checked'{/if}> New video comments</label><br>
|
|
<label><input type='checkbox' name='notifys[notify_likedmedia]' id='notify_likedmedia' value='1' {if $user->usersetting_info.notify_likedmedia == 1} checked='checked'{/if}> New photo likes</label><br>
|
|
<label><input type='checkbox' name='notifys[notify_likedvideo]' id='notify_likedvideo' value='1' {if $user->usersetting_info.notify_likedvideo == 1} checked='checked'{/if}> New video likes</label>
|
|
|
|
</div>
|
|
<div class="portal_spacer"></div>
|
|
Tagging
|
|
<div class="portal_spacer"></div>
|
|
<div class="indentcheckboxes">
|
|
<label><input type='checkbox' name='notifys[notify_phototag]' id='notify_phototag' value='1' {if $user->usersetting_info.notify_phototag == 1} checked='checked'{/if}> When I'm tagged in a photo</label><br>
|
|
<label><input type='checkbox' name='notifys[notify_groupphototag]' id='notify_groupphototag' value='1' {if $user->usersetting_info.notify_groupphototag == 1} checked='checked'{/if}> When I'm tagged in a Group photo</label><br>
|
|
<label><input type='checkbox' name='notifys[notify_eventphototag]' id='notify_eventphototag' value='1' {if $user->usersetting_info.notify_eventphototag == 1} checked='checked'{/if}> When I'm tagged in an Event Photo</label><br>
|
|
<label><input type='checkbox' name='notifys[notify_videotag]' id='notify_videotag' value='1' {if $user->usersetting_info.notify_videotag == 1} checked='checked'{/if}> When I'm tagged in a video</label><br>
|
|
<label><input type='checkbox' name='notifys[notify_groupvideotag]' id='notify_groupvideotag' value='1' {if $user->usersetting_info.notify_groupvideotag == 1} checked='checked'{/if}> When I'm tagged in a Group video</label>
|
|
|
|
</div>
|
|
<div class="portal_spacer"></div>
|
|
Events
|
|
<div class="portal_spacer"></div>
|
|
<div class="indentcheckboxes">
|
|
<label><input type='checkbox' name='notifys[notify_eventcomment]' id='notify_eventcomment' value='1' {if $user->usersetting_info.notify_eventcomment == 1} checked='checked'{/if}> New comments on an event I created</label><br>
|
|
<label><input type='checkbox' name='notifys[notify_eventmediacomment]' id='notify_eventmediacomment' value='1' {if $user->usersetting_info.notify_eventmediacomment == 1} checked='checked'{/if}> New photo comments on an event I created</label><br>
|
|
<label><input type='checkbox' name='notifys[notify_eventinvite]' id='notify_eventinvite' value='1' {if $user->usersetting_info.notify_eventinvite == 1} checked='checked'{/if}> New event invitations</label><br>
|
|
<label><input type='checkbox' name='notifys[notify_eventmemberrequest]' id='notify_eventmemberrequest' value='1' {if $user->usersetting_info.notify_eventmemberrequest == 1} checked='checked'{/if}> New invitation requests for an event I created</label>
|
|
|
|
</div>
|
|
<div class="portal_spacer"></div>
|
|
Groups
|
|
<div class="portal_spacer"></div>
|
|
<div class="indentcheckboxes">
|
|
<label><input type='checkbox' name='notifys[notify_groupcomment]' id='notify_groupcomment' value='1' {if $user->usersetting_info.notify_groupcomment == 1} checked='checked'{/if}> New comments on a group I lead</label><br>
|
|
<label><input type='checkbox' name='notifys[notify_groupmediacomment]' id='notify_groupmediacomment' value='1' {if $user->usersetting_info.notify_groupmediacomment == 1} checked='checked'{/if}> New photo comments in a group I lead</label><br>
|
|
<label><input type='checkbox' name='notifys[notify_groupinvite]' id='notify_groupinvite' value='1' {if $user->usersetting_info.notify_groupinvite == 1} checked='checked'{/if}> New group invitations</label><br>
|
|
<label><input type='checkbox' name='notifys[notify_groupmemberrequest]' id='notify_groupmemberrequest' value='1' {if $user->usersetting_info.notify_groupmemberrequest == 1} checked='checked'{/if}> New invitation requests for a group I lead</label><br>
|
|
<label><input type='checkbox' name='notifys[notify_grouppost]' id='notify_grouppost' value='1' {if $user->usersetting_info.notify_grouppost == 1} checked='checked'{/if}> New posts in a discussion topic in a group I lead</label>
|
|
</div>
|
|
<div class="portal_spacer"></div>
|
|
Blogs
|
|
<div class="portal_spacer"></div>
|
|
<div class="indentcheckboxes">
|
|
<label><input type='checkbox' name='notifys[notify_blogcomment]' id='notify_blogcomment' value='1' {if $user->usersetting_info.notify_blogcomment == 1} checked='checked'{/if}> New comments on one of my blog entries</label><br>
|
|
<label><input type='checkbox' name='notifys[notify_newblogsubscriptionentry]' id='notify_newblogsubscriptionentry' value='1' {if $user->usersetting_info.notify_newblogsubscriptionentry == 1} checked='checked'{/if}> New posts in a blog I have subscribed to</label>
|
|
|
|
</div>
|
|
<div class="portal_spacer"></div>
|
|
Forums
|
|
<div class="portal_spacer"></div>
|
|
<div class="indentcheckboxes">
|
|
<label><input type='checkbox' name='notifys[notify_forumreply]' id='notify_forumreply' value='1' {if $user->usersetting_info.notify_forumreply == 1} checked='checked'{/if}> New Posts in a forum topic I created</label>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{/if}
|
|
|
|
{*<div>Music: </div>
|
|
<div>
|
|
<div><b>{lang_print id=4000059}</b></div>
|
|
<table cellpadding='0' cellspacing='0'>
|
|
<tr>
|
|
<td><input type='radio' name='site_autoplay' id='site_autoplay1' value='1' {if $site_autoplay}checked{/if}></td>
|
|
<td><label for='site_autoplay1'>{lang_print id=4000060}</label></td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type='radio' name='site_autoplay' id='site_autoplay0' value='0' {if !$site_autoplay}checked{/if}></td>
|
|
<td><label for='site_autoplay0'>{lang_print id=4000061}</label></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<br>*}
|
|
|
|
|
|
<br>
|
|
<br>
|
|
<input type='submit' class='button' value='{lang_print id=173}'>
|
|
|
|
|
|
|
|
<input type='hidden' name='task' value='dosavenotifications'>
|
|
</form>
|
|
|
|
|
|
</div>
|
|
|
|
<div id="a06" class="tab-pane fade tabpadding" role="tabpanel">
|
|
{* SHOW BLOCKLIST *}
|
|
{if $user->level_info.level_profile_block != 0}
|
|
<form action='settings.php#a06' method='post' name='info'>
|
|
<div><strong>{lang_print id=813}:</strong></div>
|
|
<div id="blocks">
|
|
<div style='padding: 3px 0px 5px 0px;'>{lang_print id=814}</div>
|
|
{section name=block_loop loop=$blocked_users}
|
|
<div id='block_{$blocked_users[block_loop]->user_info.user_id}'>
|
|
<div style='float: left;'><img src='./images/icons/action_delete2.gif' class='icon' style='cursor: pointer; margin-left: 5px;' onClick="$('block_{$blocked_users[block_loop]->user_info.user_id}').getParent().removeChild($('block_{$blocked_users[block_loop]->user_info.user_id}'))" border='0'><input type='hidden' name='user_blocklist[]' value='{$blocked_users[block_loop]->user_info.user_id}' /></div>
|
|
<div><a href='{$url->url_create('profile', $blocked_users[block_loop]->user_info.user_username)}'>{$blocked_users[block_loop]->user_displayname}</a> <a href="javascript:void(0);" onclick="jQuery('#block_{$blocked_users[block_loop]->user_info.user_id}').remove();">X</a></div>
|
|
<div style='clear: both;'></div>
|
|
</div>
|
|
{/section}
|
|
<br>
|
|
|
|
<div id='block_user_link' style='padding: 5px 0px 0px 2px; font-weight: bold;'><a href='javascript:void(0);' onClick="$('block_user_link').style.display='none';$('block_user').style.display='block';$('block_user_div').style.display='block';$('block_user').focus();">{lang_print id=815}</a></div>
|
|
|
|
<div id="block_user_div" style="display:none;">Enter a name and then select the user you wish to block</div>
|
|
<div class="toshowusers"></div>
|
|
<input type='text' class='text accountfields form-control' id='block_user' size='30' maxlength='50' value='' style='margin-top: 3px; display: none;' autocomplete=off />
|
|
<div class="usersuggestions"></div>
|
|
|
|
<div class="tagscontainer">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<input type='hidden' name='tags' id='tags' class="tags" value=''>
|
|
|
|
</div><br>
|
|
<input type='hidden' name='task' value='dosaveblockedlist'>
|
|
|
|
<input type='submit' class='button' value='{lang_print id=173}'>
|
|
</form>
|
|
{/if}
|
|
</div><div id="a01" class="tab-pane fade active in tabpadding" role="tabpanel">
|
|
|
|
|
|
{* SHOW ERROR OR SUCCESS MESSAGES *}
|
|
{if $result != 0}
|
|
<table cellpadding='0' cellspacing='0'><tr><td class='success red' style="color:red;">
|
|
{capture assign="old_subnet_name"}{lang_print id=$old_subnet_name}{/capture}
|
|
{capture assign="new_subnet_name"}{lang_print id=$new_subnet_name}{/capture}
|
|
<img src='./images/success.gif' border='0' class='icon'>{* lang_sprintf id=$result 1=$old_subnet_name 2=$new_subnet_name *}
|
|
</td></tr></table>
|
|
{elseif $is_error != 0}{if $is_error != 701 && $is_error != 702 && $is_error != 703}
|
|
<table cellpadding='0' cellspacing='0'>
|
|
<tr><td class='error'><img src='./images/error.gif' border='0' class='icon'>{lang_print id=$is_error}</td></tr>
|
|
</table>
|
|
{/if}{/if}
|
|
|
|
<form action='settings.php#a01' method='post' name='info'>
|
|
|
|
<tr>
|
|
<div><strong>{lang_print id=616}:</strong></div>
|
|
<div>
|
|
<td class='form2'>{* $emailaddress* }{$user->user_info.user_email} <a href="javascript:void(0);" onclick="jQuery('#hiddenemail').removeClass('hidden');">[Update]</a>
|
|
<div class="hidden" id="hiddenemail"><input name='user_email' type='text' class='text accountfields form-control' size='40' maxlength='70' value=''>
|
|
|
|
<span style="font-weight:normal; font-size:10px;">Your email address is also your login, and how BateWorld will communicate with you about your account.</span></div>
|
|
{if $user->user_info.user_email != $user->user_info.user_newemail && $user->user_info.user_newemail != "" && $setting.setting_signup_verify != 0}<div class='form_desc'>{lang_sprintf id=818 1=$user->user_info.user_newemail}</div>{/if}
|
|
|
|
</div><br>
|
|
|
|
|
|
{if $user->level_info.level_profile_change != 0 && $setting.setting_username}
|
|
|
|
<div><strong>{lang_print id=28}:</strong></div>
|
|
<div>
|
|
<input name='user_username' type='text' class='form-control accountfields' size='40' maxlength='50' value='{$user->user_info.user_username}'>
|
|
{capture assign=tip}{lang_print id=809}{/capture}
|
|
<!--<img src='./images/icons/tip.gif' border='0' class='Tips1' title='{$tip|replace:"'":"'"}'>-->
|
|
<div class='form_desc'>{lang_print id=810}</div>
|
|
</div><br>
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
{if $cats|@count > 1}
|
|
<div>{lang_print id=709}:</div>
|
|
<div>
|
|
<select name='user_profilecat_id'>
|
|
{section name=cat_loop loop=$cats}
|
|
<option value='{$cats[cat_loop].cat_id}'{if $user->user_info.user_profilecat_id == $cats[cat_loop].cat_id} selected='selected'{/if}>{lang_print id=$cats[cat_loop].cat_title}</option>
|
|
{/section}
|
|
</select>
|
|
<div class='form_desc'>{lang_print id=1014}</div>
|
|
</div><br>
|
|
|
|
{/if}
|
|
|
|
<div><strong>{lang_print id=206}:</strong></div>
|
|
<div>
|
|
<select name='user_timezone' class="form-control accountfields">
|
|
<option value='-8'{if $user->user_info.user_timezone == "-8"} SELECTED{/if}>Pacific Time (US & Canada)</option>
|
|
<option value='-7'{if $user->user_info.user_timezone == "-7"} SELECTED{/if}>Mountain Time (US & Canada)</option>
|
|
<option value='-6'{if $user->user_info.user_timezone == "-6"} SELECTED{/if}>Central Time (US & Canada)</option>
|
|
<option value='-5'{if $user->user_info.user_timezone == "-5"} SELECTED{/if}>Eastern Time (US & Canada)</option>
|
|
<option value='-4'{if $user->user_info.user_timezone == "-4"} SELECTED{/if}>Atlantic Time (Canada)</option>
|
|
<option value='-9'{if $user->user_info.user_timezone == "-9"} SELECTED{/if}>Alaska (US & Canada)</option>
|
|
<option value='-10'{if $user->user_info.user_timezone == "-10"} SELECTED{/if}>Hawaii (US)</option>
|
|
<option value='-11'{if $user->user_info.user_timezone == "-11"} SELECTED{/if}>Midway Island, Samoa</option>
|
|
<option value='-12'{if $user->user_info.user_timezone == "-12"} SELECTED{/if}>Eniwetok, Kwajalein</option>
|
|
<option value='-3.3'{if $user->user_info.user_timezone == "-3.3"} SELECTED{/if}>Newfoundland</option>
|
|
<option value='-3'{if $user->user_info.user_timezone == "-3"} SELECTED{/if}>Brasilia, Buenos Aires, Georgetown</option>
|
|
<option value='-2'{if $user->user_info.user_timezone == "-2"} SELECTED{/if}>Mid-Atlantic</option>
|
|
<option value='-1'{if $user->user_info.user_timezone == "-1"} SELECTED{/if}>Azores, Cape Verde Is.</option>
|
|
<option value='0'{if $user->user_info.user_timezone == "0"} SELECTED{/if}>Greenwich Mean Time (Lisbon, London)</option>
|
|
<option value='1'{if $user->user_info.user_timezone == "1"} SELECTED{/if}>Amsterdam, Berlin, Paris, Rome, Madrid</option>
|
|
<option value='2'{if $user->user_info.user_timezone == "2"} SELECTED{/if}>Athens, Helsinki, Istanbul, Cairo, E. Europe</option>
|
|
<option value='3'{if $user->user_info.user_timezone == "3"} SELECTED{/if}>Baghdad, Kuwait, Nairobi, Moscow</option>
|
|
<option value='3.3'{if $user->user_info.user_timezone == "3.3"} SELECTED{/if}>Tehran</option>
|
|
<option value='4'{if $user->user_info.user_timezone == "4"} SELECTED{/if}>Abu Dhabi, Kazan, Muscat</option>
|
|
<option value='4.3'{if $user->user_info.user_timezone == "4.3"} SELECTED{/if}>Kabul</option>
|
|
<option value='5'{if $user->user_info.user_timezone == "5"} SELECTED{/if}>Islamabad, Karachi, Tashkent</option>
|
|
<option value='5.5'{if $user->user_info.user_timezone == "5.5"} SELECTED{/if}>Bombay, Calcutta, New Delhi</option>
|
|
<option value='6'{if $user->user_info.user_timezone == "6"} SELECTED{/if}>Almaty, Dhaka</option>
|
|
<option value='7'{if $user->user_info.user_timezone == "7"} SELECTED{/if}>Bangkok, Jakarta, Hanoi</option>
|
|
<option value='8'{if $user->user_info.user_timezone == "8"} SELECTED{/if}>Beijing, Hong Kong, Singapore, Taipei</option>
|
|
<option value='9'{if $user->user_info.user_timezone == "9"} SELECTED{/if}>Tokyo, Osaka, Sapporto, Seoul, Yakutsk</option>
|
|
<option value='9.3'{if $user->user_info.user_timezone == "9.3"} SELECTED{/if}>Adelaide, Darwin</option>
|
|
<option value='10'{if $user->user_info.user_timezone == "10"} SELECTED{/if}>Brisbane, Melbourne, Sydney, Guam</option>
|
|
<option value='11'{if $user->user_info.user_timezone == "11"} SELECTED{/if}>Magadan, Soloman Is., New Caledonia</option>
|
|
<option value='12'{if $user->user_info.user_timezone == "12"} SELECTED{/if}>Fiji, Kamchatka, Marshall Is., Wellington</option>
|
|
</select>
|
|
</div>
|
|
|
|
|
|
<br>
|
|
|
|
|
|
<input type='submit' class='button' value='{lang_print id=173}'>
|
|
|
|
|
|
|
|
<input type='hidden' name='task' value='dosaveaccount'>
|
|
</form>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div><div class="clearfix clear"></div>
|
|
|
|
{include file='footer.tpl'} |