- modules/fotolab updated imagej to current version & some cod fixes to make it work
[care2x.git] / Care2007 / include / inc_searchmask.php
blob84be310313d3e76832979b2531dc038a82979969
1 <?php
2 if(!$searchform_count)
4 ?>
6 <script language="javascript">
7 <!--
8 function chkSearch(d)
10 if((d.searchkey.value=="") || (d.searchkey.value==" "))
12 d.searchkey.focus();
13 return false;
15 else
17 return true;
20 // -->
21 </script>
22 <?php
26 <table border=0 cellspacing=5 cellpadding=5>
27 <tr bgcolor="<?php if($searchmask_bgcolor) echo $searchmask_bgcolor; else echo "#ffffff"; ?>">
28 <td>
30 <form method="post"
31 name="searchform<?php if($searchform_count) echo "_".$searchform_count; ?>"
32 onSubmit="return chkSearch(this)"
33 <?php if(isset($search_script) && $search_script!='') echo 'action="'.$search_script.'"'; ?>
35 &nbsp;<br>
37 <FONT SIZE=2 FACE="Arial"><?php echo $searchprompt ?>:<br>
39 <input type="text" name="searchkey" size=40 maxlength=40><p>
40 <input type="image" <?php echo createLDImgSrc($root_path,'searchlamp.gif','0','absmiddle') ?>>
41 <input type="hidden" name="sid" value="<?php echo $sid; ?>">
42 <input type="hidden" name="lang" value="<?php echo $lang; ?>">
43 <input type="hidden" name="noresize" value="<?php echo $noresize; ?>">
44 <input type="hidden" name="target" value="<?php echo $target; ?>">
45 <input type="hidden" name="user_origin" value="<?php echo $user_origin; ?>">
46 <input type="hidden" name="retpath" value="<?php echo $retpath; ?>">
47 <input type="hidden" name="ipath" value="<?php echo $ipath; ?>">
48 <input type="hidden" name="mode" value="search">
49 </form>
50 </td>
51 </tr>
52 </table>