diff options
author | Nils Adermann <naderman@naderman.de> | 2010-08-20 22:55:25 +0200 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2010-08-20 22:55:25 +0200 |
commit | c69936d2209c5d6b1215eeef7f2d0e813851e841 (patch) | |
tree | e3e024ba906b60de9f3c4a853bb033939ce375ee /phpBB/styles/subsilver2/template/memberlist_search.html | |
parent | df111373a6b6614857c6729b5fcc23985e0b0278 (diff) | |
download | forums-c69936d2209c5d6b1215eeef7f2d0e813851e841.tar forums-c69936d2209c5d6b1215eeef7f2d0e813851e841.tar.gz forums-c69936d2209c5d6b1215eeef7f2d0e813851e841.tar.bz2 forums-c69936d2209c5d6b1215eeef7f2d0e813851e841.tar.xz forums-c69936d2209c5d6b1215eeef7f2d0e813851e841.zip |
[task/restore-subsilver2] Revert removing subsilver2 for Ascraeus development.
This reverts commit ac2b5430aa2e4e75ed7b9372ae39024c22dac915.
PHPBB3-9783
Diffstat (limited to 'phpBB/styles/subsilver2/template/memberlist_search.html')
-rw-r--r-- | phpBB/styles/subsilver2/template/memberlist_search.html | 143 |
1 files changed, 143 insertions, 0 deletions
diff --git a/phpBB/styles/subsilver2/template/memberlist_search.html b/phpBB/styles/subsilver2/template/memberlist_search.html new file mode 100644 index 0000000000..96ffad00d6 --- /dev/null +++ b/phpBB/styles/subsilver2/template/memberlist_search.html @@ -0,0 +1,143 @@ +<!-- You should retain this javascript in your own template! --> + +<!-- IF S_IN_SEARCH_POPUP --> + <script type="text/javascript"> + // <![CDATA[ + function insert_user(user) + { + 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; + } + + function insert_marked(users) + { + if (typeof(users.length) == "undefined") + { + if (users.checked) + { + insert_user(users.value); + } + } + else if (users.length > 0) + { + for (i = 0; i < users.length; i++) + { + if (users[i].checked) + { + insert_user(users[i].value); + } + } + } + + self.close(); + } + + function insert_single(user) + { + opener.document.forms['{S_FORM_NAME}'].{S_FIELD_NAME}.value = user; + self.close(); + } + + /** + * Mark/unmark checklist + * id = ID of parent container, name = name prefix, state = state [true/false] + */ + function marklist(id, name, state) + { + var parent = document.getElementById(id); + if (!parent) + { + eval('parent = document.' + id); + } + + if (!parent) + { + return; + } + + var rb = parent.getElementsByTagName('input'); + + for (var r = 0; r < rb.length; r++) + { + if (rb[r].name.substr(0, name.length) == name) + { + rb[r].checked = state; + } + } + } + // ]]> + </script> +<!-- ENDIF --> + +<form method="post" action="{S_MODE_ACTION}" name="search"> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th colspan="4">{L_FIND_USERNAME}</th> +</tr> +<tr> + <td class="row3" colspan="4"><span class="gensmall">{L_FIND_USERNAME_EXPLAIN}</span></td> +</tr> +<tr> + <td class="row1"><b class="genmed">{L_USERNAME}:</b></td> + <td class="row2"><input class="post" type="text" name="username" value="{USERNAME}" /></td> + <td class="row1"><b class="genmed">{L_ICQ}:</b></td> + <td class="row2"><input class="post" type="text" name="icq" value="{ICQ}" /></td> +</tr> +<tr> +<!-- IF S_EMAIL_SEARCH_ALLOWED --> + <td class="row1"><b class="genmed">{L_EMAIL}:</b></td> + <td class="row2"><input class="post" type="text" name="email" value="{EMAIL}" /></td> +<!-- ELSE --> + <td colspan="2" class="row1"> </td> +<!-- ENDIF --> + <td class="row1"><b class="genmed">{L_AIM}:</b></td> + <td class="row2"><input class="post" type="text" name="aim" value="{AIM}" /></td> +</tr> +<tr> + <td class="row1"><b class="genmed">{L_JOINED}:</b></td> + <td class="row2"><select name="joined_select">{S_JOINED_TIME_OPTIONS}</select> <input class="post" type="text" name="joined" value="{JOINED}" /></td> + <td class="row1"><b class="genmed">{L_YIM}:</b></td> + <td class="row2"><input class="post" type="text" name="yahoo" value="{YAHOO}" /></td> +</tr> +<tr> +<!-- IF S_VIEWONLINE --> + <td class="row1"><b class="genmed">{L_LAST_ACTIVE}:</b></td> + <td class="row2"><select name="active_select">{S_ACTIVE_TIME_OPTIONS}</select> <input class="post" type="text" name="active" value="{ACTIVE}" /></td> +<!-- ELSE --> + <td colspan="2" class="row1"> </td> +<!-- ENDIF --> + <td class="row1"><b class="genmed">{L_MSNM}:</b></td> + <td class="row2"><input class="post" type="text" name="msn" value="{MSNM}" /></td> +</tr> +<tr> + <td class="row1"><b class="genmed">{L_POSTS}:</b></td> + <td class="row2"><select name="count_select">{S_COUNT_OPTIONS}</select> <input class="post" type="text" name="count" value="{COUNT}" /></td> + <td class="row1"><b class="genmed">{L_JABBER}:</b></td> + <td class="row2"><input class="post" type="text" name="jabber" value="{JABBER}" /></td> +</tr> +<tr> + <td class="row1"><b class="genmed">{L_SORT_BY}:</b></td> + <td class="row2" nowrap="nowrap"><select name="sk">{S_SORT_OPTIONS}</select> <select name="sd">{S_ORDER_SELECT}</select> </td> +<!-- IF S_IP_SEARCH_ALLOWED --> + <td class="row1"><b class="genmed">{L_POST_IP}:</b></td> + <td class="row2"><input class="post" type="text" name="ip" value="{IP}" /></td> +</tr> +<tr> + <td class="row1"><b class="genmed">{L_GROUP}:</b></td> + <td class="row2" nowrap="nowrap"><select name="search_group_id">{S_GROUP_SELECT}</select></td> + <td class="row1"> </td> + <td class="row2"> </td> +</tr> +<!-- ELSE --> + <td class="row1"><b class="genmed">{L_GROUP}:</b></td> + <td class="row2" nowrap="nowrap"><select name="search_group_id">{S_GROUP_SELECT}</select></td> +</tr> +<!-- ENDIF --> +<tr> + <td class="cat" colspan="4" align="center"><input class="btnmain" type="submit" name="submit" value="{L_SEARCH}" /> <input class="btnlite" type="reset" value="{L_RESET}" /></td> +</tr> +</table> +{S_FORM_TOKEN} +</form> + +<br clear="all" /> |