|
|
4c79b5 |
<form id="user_overview" method="post" action="{U_ACTION}">
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<fieldset>
|
|
|
4c79b5 |
<legend>{L_ACP_USER_OVERVIEW}</legend>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<label for="user">{L_USERNAME}:</label> {L_NAME_CHARS_EXPLAIN}
|
|
|
4c79b5 |
<input type="text" id="user" name="user" value="{USER}" />
|
|
|
4c79b5 |
[ {L_USE_PERMISSIONS} ]
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<label>{L_USER_IS_INACTIVE}:</label>
|
|
|
4c79b5 |
{USER_INACTIVE_REASON}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<label>{L_REGISTERED}:</label>
|
|
|
4c79b5 |
{USER_REGISTERED}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<label>{L_REGISTERED_IP}:</label>
|
|
|
4c79b5 |
{REGISTERED_IP}
|
|
|
4c79b5 |
[ {L_WHOIS} ]
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<label>{L_LAST_ACTIVE}:</label>
|
|
|
4c79b5 |
{USER_LASTACTIVE}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<label>{L_POSTS}:</label>
|
|
|
4c79b5 |
{USER_POSTS} ({L_POSTS_IN_QUEUE}) ({L_POSTS_IN_QUEUE})
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<label>{L_WARNINGS}:</label>
|
|
|
4c79b5 |
{USER_WARNINGS}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<label for="user_founder">{L_FOUNDER}:</label> {L_FOUNDER_EXPLAIN}
|
|
|
4c79b5 |
<label><input type="radio" class="radio" name="user_founder" value="1"<!-- IF S_USER_FOUNDER --> id="user_founder" checked="checked" disabled="disabled" /> {L_YES}</label>
|
|
|
4c79b5 |
<label><input type="radio" class="radio" name="user_founder" value="0"<!-- IF not S_USER_FOUNDER --> id="user_founder" checked="checked" disabled="disabled" /> {L_NO}</label>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<label for="user_email">{L_EMAIL}:</label>
|
|
|
4c79b5 |
<input class="text medium" type="text" id="user_email" name="user_email" value="{USER_EMAIL}" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<label for="email_confirm">{L_CONFIRM_EMAIL}:</label> {L_CONFIRM_EMAIL_EXPLAIN}
|
|
|
4c79b5 |
<input class="text medium" type="text" id="email_confirm" name="email_confirm" value="" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<label for="new_password">{L_NEW_PASSWORD}:</label> {L_CHANGE_PASSWORD_EXPLAIN}
|
|
|
4c79b5 |
<input type="password" id="new_password" name="new_password" value="" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<label for="password_confirm">{L_CONFIRM_PASSWORD}:</label> {L_CONFIRM_PASSWORD_EXPLAIN}
|
|
|
4c79b5 |
<input type="password" id="password_confirm" name="password_confirm" value="" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
|
|
|
4c79b5 |
<input type="hidden" name="action" value="" />
|
|
|
4c79b5 |
{S_FORM_TOKEN}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
</fieldset>
|
|
|
4c79b5 |
</form>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<script type="text/javascript">
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
function display_reason(option)
|
|
|
4c79b5 |
{
|
|
|
4c79b5 |
if (option != 'banuser' && option != 'banemail' && option != 'banip')
|
|
|
4c79b5 |
{
|
|
|
4c79b5 |
dE('reasons', -1);
|
|
|
4c79b5 |
return;
|
|
|
4c79b5 |
}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
dE('reasons', 1);
|
|
|
4c79b5 |
|
|
|
4c79b5 |
element = document.getElementById('user_quick_tools').ban_reason;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if (element.value && element.value != '{LA_USER_ADMIN_BAN_NAME_REASON}' && element.value != '{LA_USER_ADMIN_BAN_EMAIL_REASON}' && element.value != '{LA_USER_ADMIN_BAN_IP_REASON}')
|
|
|
4c79b5 |
{
|
|
|
4c79b5 |
return;
|
|
|
4c79b5 |
}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if (option == 'banuser')
|
|
|
4c79b5 |
{
|
|
|
4c79b5 |
element.value = '{LA_USER_ADMIN_BAN_NAME_REASON}';
|
|
|
4c79b5 |
}
|
|
|
4c79b5 |
else if (option == 'banemail')
|
|
|
4c79b5 |
{
|
|
|
4c79b5 |
element.value = '{LA_USER_ADMIN_BAN_EMAIL_REASON}';
|
|
|
4c79b5 |
}
|
|
|
4c79b5 |
else if (option == 'banip')
|
|
|
4c79b5 |
{
|
|
|
4c79b5 |
element.value = '{LA_USER_ADMIN_BAN_IP_REASON}';
|
|
|
4c79b5 |
}
|
|
|
4c79b5 |
}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
</script>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<form id="user_quick_tools" method="post" action="{U_ACTION}">
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<fieldset>
|
|
|
4c79b5 |
<legend>{L_USER_TOOLS}</legend>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<label for="quicktools">{L_QUICK_TOOLS}:</label>
|
|
|
4c79b5 |
<select id="quicktools" name="action" onchange="display_reason(this.options[this.selectedIndex].value);">{S_ACTION_OPTIONS}</select>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<label for="ban_reason">{L_BAN_REASON}:</label>
|
|
|
4c79b5 |
<input name="ban_reason" type="text" class="text medium" maxlength="3000" id="ban_reason" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<label for="ban_give_reason">{L_BAN_GIVE_REASON}:</label>
|
|
|
4c79b5 |
<input name="ban_give_reason" type="text" class="text medium" maxlength="3000" id="ban_give_reason" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<label for="delete_user">{L_DELETE_USER}:</label> {L_DELETE_USER_EXPLAIN}
|
|
|
4c79b5 |
<input type="checkbox" class="radio" name="delete" value="1" />
|
|
|
4c79b5 |
<select id="delete_user" name="delete_type"><option value="retain">{L_RETAIN_POSTS}</option><option value="remove">{L_DELETE_POSTS}</option></select>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
|
|
|
4c79b5 |
{S_FORM_TOKEN}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
</fieldset>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
</form>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|