]> git.vanrenterghem.biz Git - www.vanrenterghem.biz.git/blob - phpBB2/templates/subSilver/admin/userlist_body.tpl
8a953d47499211a5ba8009d1bdca677fbddeb9c2
[www.vanrenterghem.biz.git] / phpBB2 / templates / subSilver / admin / userlist_body.tpl
1 <script language="javascript" type="text/javascript">\r
2 <!--\r
3 \r
4 function handleClick(id) {\r
5         var obj = "";   \r
6 \r
7                 // Check browser compatibility\r
8                 if(document.getElementById)\r
9                         obj = document.getElementById(id);\r
10                 else if(document.all)\r
11                         obj = document.all[id];\r
12                 else if(document.layers)\r
13                         obj = document.layers[id];\r
14                 else\r
15                         return 1;\r
16 \r
17                 if (!obj) {\r
18                         return 1;\r
19                 }\r
20                 else if (obj.style) \r
21                 {                       \r
22                         obj.style.display = ( obj.style.display != "none" ) ? "none" : "";\r
23                 }\r
24                 else \r
25                 { \r
26                         obj.visibility = "show"; \r
27                 }\r
28 }\r
29 //-->\r
30 </script>\r
31 \r
32 <h1>{L_TITLE}</h1>\r
33 \r
34 <p>{L_DESCRIPTION}</p>\r
35 \r
36 <form action="{S_ACTION}" method="post">\r
37 <table width="100%" cellpadding="3" cellspacing="1" border="0">\r
38         <tr>\r
39                 <td width="100%">&nbsp;</td>\r
40                 <td align="right" nowrap="nowrap"><span class="gen">{L_SORT_BY}</td>\r
41                 <td nowrap="nowrap"><select name="sort" class="post">\r
42                         <option value="user_id">{L_USER_ID}</option>\r
43                         <option value="user_active">{L_ACTIVE}</option>\r
44                         <option value="username">{L_USERNAME}</option>\r
45                         <option value="user_regdate">{L_JOINED}</option>\r
46                         <option value="user_session_time">{L_ACTIVTY}</option>\r
47                         <option value="user_level">{L_USER_LEVEL}</option>\r
48                         <option value="user_posts">{L_POSTS}</option>\r
49                         <option value="user_rank">{L_RANK}</option>\r
50                         <option value="user_email">{L_EMAIL}</option>\r
51                 </select></td>\r
52                 <td nowrap="nowrap"><select name="order" class="post">\r
53                         <option value="ASC">{L_ASCENDING}</option>\r
54                         <option value="DESC">{L_DESCENDING}</option>\r
55                 </select></td>\r
56                 <td nowrap="nowrap"><span class="gen">{L_SHOW}</span></td>\r
57                 <td nowrap="nowrap"><input type="text" size="5" value="{S_SHOW}" name="show"></td>\r
58                 <td nowrap="nowrap">{S_HIDDEN_FIELDS}<input type="submit" value="{S_SORT}" name="change_sort" class="liteoption"></td>\r
59         </tr>\r
60 </table>\r
61 </form>\r
62 \r
63 <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center"> \r
64         <tr> \r
65                 <!-- BEGIN alphanumsearch --> \r
66                 <td align="left" width="{alphanumsearch.SEARCH_SIZE}"><span class="genmed"> \r
67                         <a href="{alphanumsearch.SEARCH_LINK}" class="genmed">{alphanumsearch.SEARCH_TERM}</a> \r
68                 </span></td> \r
69                 <!-- END alphanumsearch --> \r
70         </tr> \r
71 </table>\r
72 \r
73 <form action="{S_ACTION}" method="post">\r
74 <table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">\r
75         <tr>\r
76                 <th width="13%">&nbsp;</th>\r
77                 <th width="22%">{L_USERNAME}</th>\r
78                 <th width="22%">{L_ACTIVE}</th>\r
79                 <th width="22%">{L_JOINED}</th>\r
80                 <th width="22%">{L_ACTIVTY}</th>\r
81         </tr>\r
82         <!-- BEGIN user_row -->\r
83         <tr>\r
84                 <td class="{user_row.ROW_CLASS}" nowrap="nowrap"><input type="checkbox" name="{S_USER_VARIABLE}[]" value="{user_row.USER_ID}">&nbsp;&nbsp;&nbsp;<a href="javascript:handleClick('user{user_row.USER_ID}');">{L_OPEN_CLOSE}</a></td>\r
85                 <td class="{user_row.ROW_CLASS}"><span class="gen" {user_row.STYLE_COLOR}><b><a href="{user_row.U_PROFILE}" class="gen" target="_blank" {user_row.STYLE_COLOR}>{user_row.USERNAME}</a></b></span></td>\r
86                 <td class="{user_row.ROW_CLASS}"><span class="gen">{user_row.ACTIVE}</span></td>\r
87                 <td class="{user_row.ROW_CLASS}"><span class="gen">{user_row.JOINED}</span></td>\r
88                 <td class="{user_row.ROW_CLASS}"><span class="gen">{user_row.LAST_ACTIVITY}</span></td>\r
89         </tr>\r
90         <tr id="user{user_row.USER_ID}" style="display: none">\r
91                 <td class="{user_row.ROW_CLASS}" width="13%">&nbsp;</td>\r
92                 <td class="{user_row.ROW_CLASS}" colspan="4" width="100%">\r
93                         <table  width="100%" cellpadding="3" cellspacing="1" border="0">\r
94                                 <tr>\r
95                                         <td class="{user_row.ROW_CLASS}" width="33%"><span class="gen"><b>{L_RANK}:</b> {user_row.RANK} &nbsp; {user_row.I_RANK}</td>\r
96                                         <td class="{user_row.ROW_CLASS}" width="34%"><span class="gen"><b>{L_GROUP}:</b>\r
97                                                 <!-- BEGIN group_row -->\r
98                                                 <a href="{user_row.group_row.U_GROUP}" class="gen" target="_blank">{user_row.group_row.GROUP_NAME}</a> ({user_row.group_row.GROUP_STATUS})<br />\r
99                                                 <!-- END group_row -->\r
100                                                 <!-- BEGIN no_group_row -->\r
101                                                 {user_row.no_group_row.L_NONE}<br />\r
102                                                 <!-- END no_group_row -->\r
103                                         </span></td>\r
104                                         <td class="{user_row.ROW_CLASS}" width="33%"><span class="gen"><b>{L_POSTS}:</b> {user_row.POSTS} &nbsp; <a href="{user_row.U_SEARCH}" class="gen" target="_blank">{L_FIND_ALL_POSTS}</a></span></td>\r
105                                 </tr>\r
106                                 <tr>\r
107                                         <td class="{user_row.ROW_CLASS}" colspan="3"><span class="gen"><b>{L_WEBSITE}:</b> <a href="{user_row.U_WEBSITE}" class="gen" target="_blank">{user_row.U_WEBSITE}</a></span></td>\r
108                                 </tr>\r
109                                 <tr>\r
110                                         <td class="{user_row.ROW_CLASS}"><span class="gen">\r
111                                                 <a href="{user_row.U_MANAGE}" class="gen">{L_MANAGE}</a><br /> \r
112                                                 <a href="{user_row.U_PERMISSIONS}" class="gen">{L_PERMISSIONS}</a><br /> \r
113                                                 <a href="mailto:{user_row.EMAIL}" class="gen">{L_EMAIL} [ {user_row.EMAIL} ]</a><br />\r
114                                                 <a href="{user_row.U_PM}" class="gen">{L_PM}</a>\r
115                                         </span></td>\r
116                                         <td colspan="2" class="{user_row.ROW_CLASS}">{user_row.I_AVATAR}</td>\r
117                                 </tr>\r
118                         </table>\r
119                 </td>\r
120         </tr>\r
121         <!-- END user_row -->\r
122         <tr>\r
123                 <td class="catbottom" colspan="8">\r
124                         <select name="mode" class="post">\r
125                                 <option value="">{L_SELECT}</option>\r
126                                 <option value="delete">{L_DELETE}</option>\r
127                                 <option value="ban">{L_BAN}</option>\r
128                                 <option value="activate">{L_ACTIVATE_DEACTIVATE}</option>\r
129                                 <option value="group">{L_ADD_GROUP}</option>\r
130                         </select>\r
131                         <input type="submit" name="go" value="{L_GO}" class="mainoption">\r
132                 </td>\r
133         </tr>\r
134 </table>\r
135 \r
136 <table width="100%" cellpadding="3" cellspacing="1" border="0">\r
137         <tr>\r
138                 <td align="left" width="50%"><span class="gen">{PAGE_NUMBER}</span></td>\r
139                 <td align="right" width="50%"><span class="gen">{PAGINATION}</span></td>\r
140         </tr>\r
141 </table>\r
142 </form>\r
143 \r
144 <br clear="all" />