source: trunk/forum/styles/prosilver/template/memberlist_search.html

Last change on this file was 400, checked in by george, 16 years ago
  • Přidáno: Nové forum phpBB 3.
File size: 3.8 KB
Line 
1<!-- IF S_IN_SEARCH_POPUP -->
2<!-- You should retain this javascript in your own template! -->
3<script type="text/javascript">
4// <![CDATA[
5function insert_user(user)
6{
7 opener.document.forms['{S_FORM_NAME}'].{S_FIELD_NAME}.value = ( opener.document.forms['{S_FORM_NAME}'].{S_FIELD_NAME}.value.length && opener.document.forms['{S_FORM_NAME}'].{S_FIELD_NAME}.type == "textarea" ) ? opener.document.forms['{S_FORM_NAME}'].{S_FIELD_NAME}.value + "\n" + user : user;
8}
9
10function insert_marked(users)
11{
12 if (typeof(users.length) == "undefined")
13 {
14 if (users.checked)
15 {
16 insert_user(users.value);
17 }
18 }
19 else if (users.length > 0)
20 {
21 for (i = 0; i < users.length; i++)
22 {
23 if (users[i].checked)
24 {
25 insert_user(users[i].value);
26 }
27 }
28 }
29
30 self.close();
31}
32
33function insert_single(user)
34{
35 opener.document.forms['{S_FORM_NAME}'].{S_FIELD_NAME}.value = user;
36 self.close();
37}
38// ]]>
39</script>
40<script type="text/javascript" src="{T_TEMPLATE_PATH}/forum_fn.js"></script>
41<!-- ENDIF -->
42
43<h2 class="solo">{L_FIND_USERNAME}</h2>
44
45<form method="post" action="{S_MODE_ACTION}" id="search_memberlist">
46<div class="panel">
47 <div class="inner"><span class="corners-top"><span></span></span>
48
49 <p>{L_FIND_USERNAME_EXPLAIN}</p>
50
51 <fieldset class="fields1 column1">
52 <dl>
53 <dt><label for="username">{L_USERNAME}:</label></dt>
54 <dd><input type="text" name="username" id="username" value="{USERNAME}" class="inputbox" /></dd>
55 </dl>
56<!-- IF S_EMAIL_SEARCH_ALLOWED -->
57 <dl>
58 <dt><label for="email">{L_EMAIL}:</label></dt>
59 <dd><input type="text" name="email" id="email" value="{EMAIL}" class="inputbox" /></dd>
60 </dl>
61<!-- ENDIF -->
62 <dl>
63 <dt><label for="icq">{L_ICQ}:</label></dt>
64 <dd><input type="text" name="icq" id="icq" value="{ICQ}" class="inputbox" /></dd>
65 </dl>
66 <dl>
67 <dt><label for="aim">{L_AIM}:</label></dt>
68 <dd><input type="text" name="aim" id="aim" value="{AIM}" class="inputbox" /></dd>
69 </dl>
70 <dl>
71 <dt><label for="yahoo">{L_YIM}:</label></dt>
72 <dd><input type="text" name="yahoo" id="yahoo" value="{YAHOO}" class="inputbox" /></dd>
73 </dl>
74 <dl>
75 <dt><label for="msn">{L_MSNM}:</label></dt>
76 <dd><input type="text" name="msn" id="msn" value="{MSNM}" class="inputbox" /></dd>
77 </dl>
78 </fieldset>
79
80 <fieldset class="fields1 column2">
81 <dl>
82 <dt><label for="joined">{L_JOINED}:</label></dt>
83 <dd><select name="joined_select">{S_JOINED_TIME_OPTIONS}</select> <input class="inputbox medium" type="text" name="joined" id="joined" value="{JOINED}" /></dd>
84 </dl>
85<!-- IF S_VIEWONLINE -->
86 <dl>
87 <dt><label for="active">{L_LAST_ACTIVE}:</label></dt>
88 <dd><select name="active_select">{S_ACTIVE_TIME_OPTIONS}</select> <input class="inputbox medium" type="text" name="active" id="active" value="{ACTIVE}" /></dd>
89 </dl>
90<!-- ENDIF -->
91 <dl>
92 <dt><label for="count">{L_POSTS}:</label></dt>
93 <dd><select name="count_select">{S_COUNT_OPTIONS}</select> <input class="inputbox medium" type="text" name="count" id="count" value="{COUNT}" /></dd>
94 </dl>
95<!-- IF S_IP_SEARCH_ALLOWED -->
96 <dl>
97 <dt><label for="ip">{L_POST_IP}:</label></dt>
98 <dd><input class="inputbox medium" type="text" name="ip" id="ip" value="{IP}" /></dd>
99 </dl>
100<!-- ENDIF -->
101 <dl>
102 <dt><label for="search_group_id">{L_GROUP}:</label></dt>
103 <dd><select name="search_group_id" id="search_group_id">{S_GROUP_SELECT}</select></dd>
104 </dl>
105 <dl>
106 <dt><label for="sk" class="label3">{L_SORT_BY}:</label></dt>
107 <dd><select name="sk" id="sk">{S_SORT_OPTIONS}</select> <select name="sd">{S_ORDER_SELECT}</select></dd>
108 </dl>
109 </fieldset>
110
111 <div class="clear"></div>
112
113 <hr />
114
115 <fieldset class="submit-buttons">
116 <input type="reset" value="{L_RESET}" name="reset" class="button2" />&nbsp;
117 <input type="submit" name="submit" value="{L_SEARCH}" class="button1" />
118 {S_FORM_TOKEN}
119 </fieldset>
120
121 <span class="corners-bottom"><span></span></span></div>
122</div>
123
124</form>
Note: See TracBrowser for help on using the repository browser.