]> git.vanrenterghem.biz Git - www.vanrenterghem.biz.git/blob - phpBB2/cache/tpl_subSilver.search_username.php
Baseline
[www.vanrenterghem.biz.git] / phpBB2 / cache / tpl_subSilver.search_username.php
1 <?php
3 // eXtreme Styles mod cache. Generated on Wed, 29 Jun 2005 09:01:07 -0400 (time=1120050067)
5 ?>
6 <script language="javascript" type="text/javascript">
7 <!--
8 function refresh_username(selected_username)
9 {
10         opener.document.forms['post'].username.value = selected_username;
11         opener.focus();
12         window.close();
13 }
14 //-->
15 </script>
17 <form method="post" name="search" action="<?php echo isset($this->vars['S_SEARCH_ACTION']) ? $this->vars['S_SEARCH_ACTION'] : $this->lang('S_SEARCH_ACTION'); ?>">
18 <table width="100%" border="0" cellspacing="0" cellpadding="10">
19         <tr>
20                 <td><table width="100%" class="forumline" cellpadding="4" cellspacing="1" border="0">
21                         <tr> 
22                                 <th class="thHead" height="25"><?php echo isset($this->vars['L_SEARCH_USERNAME']) ? $this->vars['L_SEARCH_USERNAME'] : $this->lang('L_SEARCH_USERNAME'); ?></th>
23                         </tr>
24                         <tr> 
25                                 <td valign="top" class="row1"><span class="genmed"><br /><input type="text" name="search_username" value="<?php echo isset($this->vars['USERNAME']) ? $this->vars['USERNAME'] : $this->lang('USERNAME'); ?>" class="post" />&nbsp; <input type="submit" name="search" value="<?php echo isset($this->vars['L_SEARCH']) ? $this->vars['L_SEARCH'] : $this->lang('L_SEARCH'); ?>" class="liteoption" /></span><br /><span class="gensmall"><?php echo isset($this->vars['L_SEARCH_EXPLAIN']) ? $this->vars['L_SEARCH_EXPLAIN'] : $this->lang('L_SEARCH_EXPLAIN'); ?></span><br />
26                                 <?php
28 $switch_select_name_count = ( isset($this->_tpldata['switch_select_name.']) ) ?  sizeof($this->_tpldata['switch_select_name.']) : 0;
29 for ($switch_select_name_i = 0; $switch_select_name_i < $switch_select_name_count; $switch_select_name_i++)
30 {
31  $switch_select_name_item = &$this->_tpldata['switch_select_name.'][$switch_select_name_i];
32  $switch_select_name_item['S_ROW_COUNT'] = $switch_select_name_i;
33  $switch_select_name_item['S_NUM_ROWS'] = $switch_select_name_count;
35 ?>
36                                 <span class="genmed"><?php echo isset($this->vars['L_UPDATE_USERNAME']) ? $this->vars['L_UPDATE_USERNAME'] : $this->lang('L_UPDATE_USERNAME'); ?><br /><select name="username_list"><?php echo isset($this->vars['S_USERNAME_OPTIONS']) ? $this->vars['S_USERNAME_OPTIONS'] : $this->lang('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="<?php echo isset($this->vars['L_SELECT']) ? $this->vars['L_SELECT'] : $this->lang('L_SELECT'); ?>" /></span><br />
37                                 <?php
39 } // END switch_select_name
41 if(isset($switch_select_name_item)) { unset($switch_select_name_item); } 
43 ?>
44                                 <br /><span class="genmed"><a href="javascript:window.close();" class="genmed"><?php echo isset($this->vars['L_CLOSE_WINDOW']) ? $this->vars['L_CLOSE_WINDOW'] : $this->lang('L_CLOSE_WINDOW'); ?></a></span></td>
45                         </tr>
46                 </table></td>
47         </tr>
48 </table>
49 </form>