- modules/fotolab updated imagej to current version & some cod fixes to make it work
[care2x.git] / Care2007 / include / inc_patient_searchmask.php
blob0d6a48ee6362b3661dda533fe2e02f8a4c779894
1 <?php
2 if(!isset($searchform_count) || !$searchform_count){
3 ?>
5 <script language="javascript">
6 <!--
7 function chkSearch(d){
8 if((d.searchkey.value=="") || (d.searchkey.value==" ")){
9 d.searchkey.focus();
10 return false;
11 }else {
12 return true;
15 // -->
16 </script>
18 <?php
22 <table border=0 cellspacing=5 cellpadding=5>
23 <tr bgcolor="<?php if($searchmask_bgcolor) echo $searchmask_bgcolor; else echo "#ffffff"; ?>">
24 <td>
26 <form method="post" name="searchform<?php if($searchform_count) echo "_".$searchform_count; ?>" onSubmit="return chkSearch(this)"
27 <?php if(isset($search_script) && $search_script!='') echo 'action="'.$search_script.'"'; ?>
29 &nbsp;
30 <br>
31 <?php echo $searchprompt ?>:
32 <br>
33 <input type="text" name="searchkey" size=40 maxlength=80><p>
34 <?php
35 if(defined('SHOW_FIRSTNAME_CONTROLLER')&&SHOW_FIRSTNAME_CONTROLLER){
37 <input type="checkbox" name="firstname_too" <?php if(isset($firstname_too)&&$firstname_too) echo 'checked'; ?>> <?php echo $LDIncludeFirstName; ?><p>
38 <?php
41 <input type="image" <?php echo createLDImgSrc($root_path,'searchlamp.gif','0','absmiddle') ?>>
42 <input type="hidden" name="sid" value="<?php echo $sid; ?>">
43 <input type="hidden" name="lang" value="<?php echo $lang; ?>">
44 <input type="hidden" name="noresize" value="<?php echo $noresize; ?>">
45 <input type="hidden" name="target" value="<?php echo $target; ?>">
46 <input type="hidden" name="user_origin" value="<?php echo $user_origin; ?>">
47 <input type="hidden" name="retpath" value="<?php echo $retpath; ?>">
48 <input type="hidden" name="aux1" value="<?php echo $aux1; ?>">
49 <input type="hidden" name="ipath" value="<?php echo $ipath; ?>">
50 <input type="hidden" name="mode" value="search">
51 </form>
53 </td>
54 </tr>
55 </table>