1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/adm/style/acp_users_overview.html Wed Mar 07 16:41:10 2012 +0400
1.3 @@ -0,0 +1,153 @@
1.4 +<form id="user_overview" method="post" action="{U_ACTION}">
1.5 +
1.6 +<fieldset>
1.7 + <legend>{L_ACP_USER_OVERVIEW}</legend>
1.8 +<dl>
1.9 + <dt><label for="user">{L_USERNAME}:</label><br /><span>{L_NAME_CHARS_EXPLAIN}</span></dt>
1.10 + <dd><input type="text" id="user" name="user" value="{USER}" /></dd>
1.11 + <!-- IF U_SWITCH_PERMISSIONS --><dd>[ <a href="{U_SWITCH_PERMISSIONS}">{L_USE_PERMISSIONS}</a> ]</dd><!-- ENDIF -->
1.12 +</dl>
1.13 +<!-- IF S_USER_INACTIVE -->
1.14 +<dl>
1.15 + <dt><label>{L_USER_IS_INACTIVE}:</label></dt>
1.16 + <dd><strong>{USER_INACTIVE_REASON}</strong></dd>
1.17 +</dl>
1.18 +<!-- ENDIF -->
1.19 +<dl>
1.20 + <dt><label>{L_REGISTERED}:</label></dt>
1.21 + <dd><strong>{USER_REGISTERED}</strong></dd>
1.22 +</dl>
1.23 +<!-- IF S_USER_IP -->
1.24 +<dl>
1.25 + <dt><label>{L_REGISTERED_IP}:</label></dt>
1.26 + <dd><a href="{U_SHOW_IP}">{REGISTERED_IP}</a></dd>
1.27 + <dd>[ <a href="{U_WHOIS}" onclick="popup(this.href, 700, 500, '_whois'); return false;">{L_WHOIS}</a> ]</dd>
1.28 +</dl>
1.29 +<!-- ENDIF -->
1.30 +<dl>
1.31 + <dt><label>{L_LAST_ACTIVE}:</label></dt>
1.32 + <dd><strong>{USER_LASTACTIVE}</strong></dd>
1.33 +</dl>
1.34 +<dl>
1.35 + <dt><label>{L_POSTS}:</label></dt>
1.36 + <dd><strong>{USER_POSTS}</strong><!-- IF POSTS_IN_QUEUE and U_MCP_QUEUE --> (<a href="{U_MCP_QUEUE}">{L_POSTS_IN_QUEUE}</a>)<!-- ELSEIF POSTS_IN_QUEUE --> ({L_POSTS_IN_QUEUE})<!-- ENDIF --></dd>
1.37 +</dl>
1.38 +<dl>
1.39 + <dt><label>{L_WARNINGS}:</label></dt>
1.40 + <dd><strong>{USER_WARNINGS}</strong></dd>
1.41 +</dl>
1.42 +<dl>
1.43 + <dt><label for="user_founder">{L_FOUNDER}:</label><br /><span>{L_FOUNDER_EXPLAIN}</span></dt>
1.44 + <dd><label><input type="radio" class="radio" name="user_founder" value="1"<!-- IF S_USER_FOUNDER --> id="user_founder" checked="checked"<!-- ENDIF --><!-- IF not S_FOUNDER --> disabled="disabled"<!-- ENDIF --> /> {L_YES}</label>
1.45 + <label><input type="radio" class="radio" name="user_founder" value="0"<!-- IF not S_USER_FOUNDER --> id="user_founder" checked="checked"<!-- ENDIF --><!-- IF not S_FOUNDER --> disabled="disabled"<!-- ENDIF --> /> {L_NO}</label></dd>
1.46 +</dl>
1.47 +<dl>
1.48 + <dt><label for="user_email">{L_EMAIL}:</label></dt>
1.49 + <dd><input class="text medium" type="text" id="user_email" name="user_email" value="{USER_EMAIL}" autocomplete="off" /></dd>
1.50 +</dl>
1.51 +<dl>
1.52 + <dt><label for="email_confirm">{L_CONFIRM_EMAIL}:</label><br /><span>{L_CONFIRM_EMAIL_EXPLAIN}</span></dt>
1.53 + <dd><input class="text medium" type="text" id="email_confirm" name="email_confirm" value="" autocomplete="off" /></dd>
1.54 +</dl>
1.55 +<dl>
1.56 + <dt><label for="new_password">{L_NEW_PASSWORD}:</label><br /><span>{L_CHANGE_PASSWORD_EXPLAIN}</span></dt>
1.57 + <dd><input type="password" id="new_password" name="new_password" value="" autocomplete="off" /></dd>
1.58 +</dl>
1.59 +<dl>
1.60 + <dt><label for="password_confirm">{L_CONFIRM_PASSWORD}:</label><br /><span>{L_CONFIRM_PASSWORD_EXPLAIN}</span></dt>
1.61 + <dd><input type="password" id="password_confirm" name="password_confirm" value="" autocomplete="off" /></dd>
1.62 +</dl>
1.63 +
1.64 +<p class="quick">
1.65 + <input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
1.66 + <input type="hidden" name="action" value="" />
1.67 + {S_FORM_TOKEN}
1.68 +</p>
1.69 +
1.70 +</fieldset>
1.71 +</form>
1.72 +
1.73 +<!-- IF not S_USER_FOUNDER or S_FOUNDER -->
1.74 +
1.75 + <script type="text/javascript">
1.76 + // <![CDATA[
1.77 +
1.78 + function display_reason(option)
1.79 + {
1.80 + if (option != 'banuser' && option != 'banemail' && option != 'banip')
1.81 + {
1.82 + dE('reasons', -1);
1.83 + return;
1.84 + }
1.85 +
1.86 + dE('reasons', 1);
1.87 +
1.88 + element = document.getElementById('user_quick_tools').ban_reason;
1.89 +
1.90 + 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}')
1.91 + {
1.92 + return;
1.93 + }
1.94 +
1.95 + if (option == 'banuser')
1.96 + {
1.97 + element.value = '{LA_USER_ADMIN_BAN_NAME_REASON}';
1.98 + }
1.99 + else if (option == 'banemail')
1.100 + {
1.101 + element.value = '{LA_USER_ADMIN_BAN_EMAIL_REASON}';
1.102 + }
1.103 + else if (option == 'banip')
1.104 + {
1.105 + element.value = '{LA_USER_ADMIN_BAN_IP_REASON}';
1.106 + }
1.107 + }
1.108 +
1.109 + // ]]>
1.110 + </script>
1.111 +
1.112 + <form id="user_quick_tools" method="post" action="{U_ACTION}">
1.113 +
1.114 + <fieldset>
1.115 + <legend>{L_USER_TOOLS}</legend>
1.116 + <dl>
1.117 + <dt><label for="quicktools">{L_QUICK_TOOLS}:</label></dt>
1.118 + <dd><select id="quicktools" name="action" onchange="display_reason(this.options[this.selectedIndex].value);">{S_ACTION_OPTIONS}</select></dd>
1.119 + </dl>
1.120 + <div style="display: none;" id="reasons">
1.121 + <dl>
1.122 + <dt><label for="ban_reason">{L_BAN_REASON}:</label></dt>
1.123 + <dd><input name="ban_reason" type="text" class="text medium" maxlength="3000" id="ban_reason" /></dd>
1.124 + </dl>
1.125 + <dl>
1.126 + <dt><label for="ban_give_reason">{L_BAN_GIVE_REASON}:</label></dt>
1.127 + <dd><input name="ban_give_reason" type="text" class="text medium" maxlength="3000" id="ban_give_reason" /></dd>
1.128 + </dl>
1.129 + </div>
1.130 +
1.131 + <p class="quick">
1.132 + <input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
1.133 + {S_FORM_TOKEN}
1.134 + </p>
1.135 +
1.136 + </fieldset>
1.137 +
1.138 + </form>
1.139 +
1.140 + <!-- IF not S_OWN_ACCOUNT -->
1.141 + <form id="user_delete" method="post" action="{U_ACTION}">
1.142 + <fieldset>
1.143 + <legend>{L_DELETE_USER}</legend>
1.144 + <dl>
1.145 + <dt><label for="delete_type">{L_DELETE_USER}:</label><br /><span>{L_DELETE_USER_EXPLAIN}</span></dt>
1.146 + <dd><select id="delete_type" name="delete_type"><option class="sep" value="">{L_SELECT_OPTION}</option><option value="retain">{L_RETAIN_POSTS}</option><option value="remove">{L_DELETE_POSTS}</option></select></dd>
1.147 + </dl>
1.148 + <p class="quick">
1.149 + <input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
1.150 + <input type="hidden" name="delete" value="1" />
1.151 + {S_FORM_TOKEN}
1.152 + </p>
1.153 + </fieldset>
1.154 + </form>
1.155 + <!-- ENDIF -->
1.156 +<!-- ENDIF -->