]> scripts.mit.edu Git - autoinstalls/phpBB.git/blob - templates/subSilver/search_username.tpl
phpBB 2.0.19
[autoinstalls/phpBB.git] / templates / subSilver / search_username.tpl
1
2 <script language="javascript" type="text/javascript">
3 <!--
4 function refresh_username(selected_username)
5 {
6         opener.document.forms['post'].username.value = selected_username;
7         opener.focus();
8         window.close();
9 }
10 //-->
11 </script>
12
13 <form method="post" name="search" action="{S_SEARCH_ACTION}">
14 <table width="100%" border="0" cellspacing="0" cellpadding="10">
15         <tr>
16                 <td><table width="100%" class="forumline" cellpadding="4" cellspacing="1" border="0">
17                         <tr> 
18                                 <th class="thHead" height="25">{L_SEARCH_USERNAME}</th>
19                         </tr>
20                         <tr> 
21                                 <td valign="top" class="row1"><span class="genmed"><br /><input type="text" name="search_username" value="{USERNAME}" class="post" />&nbsp; <input type="submit" name="search" value="{L_SEARCH}" class="liteoption" /></span><br /><span class="gensmall">{L_SEARCH_EXPLAIN}</span><br />
22                                 <!-- BEGIN switch_select_name -->
23                                 <span class="genmed">{L_UPDATE_USERNAME}<br /><select name="username_list">{S_USERNAME_OPTIONS}</select>&nbsp; <input type="submit" class="liteoption" onClick="refresh_username(this.form.username_list.options[this.form.username_list.selectedIndex].value);return false;" name="use" value="{L_SELECT}" /></span><br />
24                                 <!-- END switch_select_name -->
25                                 <br /><span class="genmed"><a href="javascript:window.close();" class="genmed">{L_CLOSE_WINDOW}</a></span></td>
26                         </tr>
27                 </table></td>
28         </tr>
29 </table>
30 </form>