source: branches/posledni/forum/adm/style/acp_users_overview.html

Last change on this file was 702, checked in by george, 15 years ago
  • Upraveno: Aktualizace fóra.
File size: 5.2 KB
Line 
1<form id="user_overview" method="post" action="{U_ACTION}">
2
3<fieldset>
4 <legend>{L_ACP_USER_OVERVIEW}</legend>
5<dl>
6 <dt><label for="user">{L_USERNAME}:</label><br /><span>{L_NAME_CHARS_EXPLAIN}</span></dt>
7 <dd><input type="text" id="user" name="user" value="{USER}" /></dd>
8 <!-- IF U_SWITCH_PERMISSIONS --><dd>[ <a href="{U_SWITCH_PERMISSIONS}">{L_USE_PERMISSIONS}</a> ]</dd><!-- ENDIF -->
9</dl>
10<!-- IF S_USER_INACTIVE -->
11<dl>
12 <dt><label>{L_USER_IS_INACTIVE}:</label></dt>
13 <dd><strong>{USER_INACTIVE_REASON}</strong></dd>
14</dl>
15<!-- ENDIF -->
16<dl>
17 <dt><label>{L_REGISTERED}:</label></dt>
18 <dd><strong>{USER_REGISTERED}</strong></dd>
19</dl>
20<!-- IF S_USER_IP -->
21<dl>
22 <dt><label>{L_REGISTERED_IP}:</label></dt>
23 <dd><a href="{U_SHOW_IP}">{REGISTERED_IP}</a></dd>
24 <dd>[ <a href="{U_WHOIS}" onclick="popup(this.href, 700, 500, '_whois'); return false;">{L_WHOIS}</a> ]</dd>
25</dl>
26<!-- ENDIF -->
27<dl>
28 <dt><label>{L_LAST_ACTIVE}:</label></dt>
29 <dd><strong>{USER_LASTACTIVE}</strong></dd>
30</dl>
31<dl>
32 <dt><label>{L_POSTS}:</label></dt>
33 <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>
34</dl>
35<dl>
36 <dt><label>{L_WARNINGS}:</label></dt>
37 <dd><strong>{USER_WARNINGS}</strong></dd>
38</dl>
39<dl>
40 <dt><label for="user_founder">{L_FOUNDER}:</label><br /><span>{L_FOUNDER_EXPLAIN}</span></dt>
41 <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>
42 <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>
43</dl>
44<dl>
45 <dt><label for="user_email">{L_EMAIL}:</label></dt>
46 <dd><input class="text medium" type="text" id="user_email" name="user_email" value="{USER_EMAIL}" /></dd>
47</dl>
48<dl>
49 <dt><label for="email_confirm">{L_CONFIRM_EMAIL}:</label><br /><span>{L_CONFIRM_EMAIL_EXPLAIN}</span></dt>
50 <dd><input class="text medium" type="text" id="email_confirm" name="email_confirm" value="" /></dd>
51</dl>
52<dl>
53 <dt><label for="new_password">{L_NEW_PASSWORD}:</label><br /><span>{L_CHANGE_PASSWORD_EXPLAIN}</span></dt>
54 <dd><input type="password" id="new_password" name="new_password" value="" /></dd>
55</dl>
56<dl>
57 <dt><label for="password_confirm">{L_CONFIRM_PASSWORD}:</label><br /><span>{L_CONFIRM_PASSWORD_EXPLAIN}</span></dt>
58 <dd><input type="password" id="password_confirm" name="password_confirm" value="" /></dd>
59</dl>
60
61<p class="quick">
62 <input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
63 <input type="hidden" name="action" value="" />
64 {S_FORM_TOKEN}
65</p>
66
67</fieldset>
68</form>
69
70<!-- IF not S_USER_FOUNDER or S_FOUNDER -->
71
72 <script type="text/javascript">
73 // <![CDATA[
74
75 function display_reason(option)
76 {
77 if (option != 'banuser' && option != 'banemail' && option != 'banip')
78 {
79 dE('reasons', -1);
80 return;
81 }
82
83 dE('reasons', 1);
84
85 element = document.getElementById('user_quick_tools').ban_reason;
86
87 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}')
88 {
89 return;
90 }
91
92 if (option == 'banuser')
93 {
94 element.value = '{LA_USER_ADMIN_BAN_NAME_REASON}';
95 }
96 else if (option == 'banemail')
97 {
98 element.value = '{LA_USER_ADMIN_BAN_EMAIL_REASON}';
99 }
100 else if (option == 'banip')
101 {
102 element.value = '{LA_USER_ADMIN_BAN_IP_REASON}';
103 }
104 }
105
106 // ]]>
107 </script>
108
109 <form id="user_quick_tools" method="post" action="{U_ACTION}">
110
111 <fieldset>
112 <legend>{L_USER_TOOLS}</legend>
113 <dl>
114 <dt><label for="quicktools">{L_QUICK_TOOLS}:</label></dt>
115 <dd><select id="quicktools" name="action" onchange="display_reason(this.options[this.selectedIndex].value);">{S_ACTION_OPTIONS}</select></dd>
116 </dl>
117 <div style="display: none;" id="reasons">
118 <dl>
119 <dt><label for="ban_reason">{L_BAN_REASON}:</label></dt>
120 <dd><input name="ban_reason" type="text" class="text medium" maxlength="3000" id="ban_reason" /></dd>
121 </dl>
122 <dl>
123 <dt><label for="ban_give_reason">{L_BAN_GIVE_REASON}:</label></dt>
124 <dd><input name="ban_give_reason" type="text" class="text medium" maxlength="3000" id="ban_give_reason" /></dd>
125 </dl>
126 </div>
127
128 <p class="quick">
129 <input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
130 {S_FORM_TOKEN}
131 </p>
132
133 </fieldset>
134
135 </form>
136
137 <!-- IF not S_OWN_ACCOUNT -->
138 <form id="user_delete" method="post" action="{U_ACTION}">
139 <fieldset>
140 <legend>{L_DELETE_USER}</legend>
141 <dl>
142 <dt><label for="delete_type">{L_DELETE_USER}:</label><br /><span>{L_DELETE_USER_EXPLAIN}</span></dt>
143 <dd><select id="delete_type" name="delete_type"><option value="retain">{L_RETAIN_POSTS}</option><option value="remove">{L_DELETE_POSTS}</option></select></dd>
144 </dl>
145 <p class="quick">
146 <input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
147 <input type="hidden" name="delete" value="1" />
148 {S_FORM_TOKEN}
149 </p>
150 </fieldset>
151 <!-- ENDIF -->
152 </form>
153<!-- ENDIF -->
Note: See TracBrowser for help on using the repository browser.