Revision: 6534
          http://care2002.svn.sourceforge.net/care2002/?rev=6534&view=rev
Author:   mizuko
Date:     2010-07-06 11:32:30 +0000 (Tue, 06 Jul 2010)

Log Message:
-----------
fixes #547 - diagnostic files to nursing module

Modified Paths:
--------------
    care2x/branches/gettext/modules/nursing/nursing-ward-patientdaten.php

Added Paths:
-----------
    care2x/branches/gettext/modules/nursing/diagnostics-report-head.php
    care2x/branches/gettext/modules/nursing/diagnostics-report-index.php
    care2x/branches/gettext/modules/nursing/diagnostics-report-start.php

Removed Paths:
-------------
    care2x/branches/gettext/main/diagnostics-report-head.php
    care2x/branches/gettext/main/diagnostics-report-index.php
    care2x/branches/gettext/main/diagnostics-report-start.php

Deleted: care2x/branches/gettext/main/diagnostics-report-head.php
===================================================================
--- care2x/branches/gettext/main/diagnostics-report-head.php    2010-07-04 
09:48:34 UTC (rev 6533)
+++ care2x/branches/gettext/main/diagnostics-report-head.php    2010-07-06 
11:32:30 UTC (rev 6534)
@@ -1,56 +0,0 @@
-<?php
-error_reporting(E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR);
-require('./roots.php');
-require($root_path.'include/helpers/inc_environment_global.php');
-/**
-* CARE2X Integrated Hospital Information System Deployment 2.1 - 2004-10-02
-* GNU General Public License
-* Copyright 2002,2003,2004,2005 Elpidio Latorilla
-* elpi...@care2x.org, 
-*
-* See the file "copy_notice.txt" for the licence notice
-*/
-define('LANG_FILE','nursing.php');
-$local_user='ck_pflege_user';
-require_once($root_path.'include/helpers/inc_front_chain_lang.php');
-//if($edit&&!$_COOKIE[$local_user.$sid]) 
{header("Location:../language/".$lang."/lang_".$lang."_invalid-access-warning.php");
 exit;}; 
-require_once($root_path.'include/helpers/inc_config_color.php'); // load color 
preferences
-
-$thisfile=basename(__FILE__);
-$breakfile=$root_path."modules/nursing/nursing-ward-patientdata.php".URL_APPEND."&station=$station&pn=$pn&edit=$edit";
-
-$bgc1='#fefefe'; 
-
-# Start Smarty templating here
- /**
- * LOAD Smarty
- */
- # Note: it is advisable to load this after the inc_front_chain_lang.php so
- # that the smarty script can use the user configured template theme
- 
- # We set the 3rd parameter to FALSE to prevent initiliazing the copyright 
footer
-
- require_once($root_path.'gui/smarty_template/smarty_care.class.php');
- $smarty = new smarty_care('nursing',TRUE,FALSE);
-
-# Title in toolbar
- $smarty->assign('sToolbarTitle',"$LDReports [ ".ucwords($header)." ]");
-
- # hide return button
- $smarty->assign('pbBack',FALSE);
-
- # href for help button
- 
$smarty->assign('pbHelp',"javascript:gethelp('diagnostic_report.php','$LDReports','','$station','$LDReports')");
-
- # href for close button
- $smarty->assign('breakfile',$breakfile);
-
- # target for close button
- $smarty->assign('sCloseTarget','target="_top"');
-
- /**
- * show Template
- */
- $smarty->display('common/mainframe.tpl');
-
-?>

Deleted: care2x/branches/gettext/main/diagnostics-report-index.php
===================================================================
--- care2x/branches/gettext/main/diagnostics-report-index.php   2010-07-04 
09:48:34 UTC (rev 6533)
+++ care2x/branches/gettext/main/diagnostics-report-index.php   2010-07-06 
11:32:30 UTC (rev 6534)
@@ -1,131 +0,0 @@
-<?php
-error_reporting(E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR);
-require('./roots.php');
-require($root_path.'include/helpers/inc_environment_global.php');
-/**
-* CARE2X Integrated Hospital Information System Deployment 2.1 - 2004-10-02
-* GNU General Public License
-* Copyright 2002,2003,2004,2005 Elpidio Latorilla
-* elpi...@care2x.org, 
-*
-* See the file "copy_notice.txt" for the licence notice
-*/
-define('LANG_FILE','nursing.php');
-if($user_origin=='lab')
-{
-  $local_user='ck_lab_user';
-  $breakfile='labor.php?sid='.$sid.'&lang='.$lang; 
-}
-else
-{
-  $local_user='ck_pflege_user';
-  $breakfile='pflege-station-patientdaten.php'.$rel_url;
-}
-require_once($root_path.'include/helpers/inc_front_chain_lang.php');
-if($edit&&!$_COOKIE[$local_user.$sid]) 
{header("Location:".$root_path."language/".$lang."/lang_".$lang."_invalid-access-warning.php");
 exit;}; 
-require_once($root_path.'include/helpers/inc_config_color.php'); // load color 
preferences
-
-$thisfile='diagnostics-report-index.php';
-$breakfile="pflege-station-patientdaten.php?sid=$sid&lang=$lang&station=$station&pn=$pn&edit=$edit";
-
-$bgc1='#fefefe'; 
-
-$abtname=get_meta_tags($root_path."global_conf/$lang/konsil_tag_dept.pid");
-
-/* Establish db connection */
-if(!isset($db)||!$db) 
include($root_path.'include/helpers/inc_db_makelink.php');
-if($dblink_ok)
-{      
-       
-       
include_once($root_path.'include/helpers/inc_date_format_functions.php');
-
-               $dbtable='care_encounter_diagnostics_report';
-               
-               $sql="SELECT * FROM $dbtable WHERE encounter_nr='$pn' ORDER BY  
modify_time  DESC";
-               //$sql="SELECT * FROM $dbtable WHERE patnum='$pn' ORDER BY  
item_nr DESC";
-               
-               if($ergebnis=$db->Execute($sql))
-                       {
-                               $rows=$ergebnis->RecordCount();
-                               if($rows) $report=$ergebnis->FetchRow();
-                                 else 
$report['script_call']='diagnostics-report-none.php?pn='.$pn; // If no report 
is available, load the non-availability page
-                       }
-                       else{echo "<p>$sql$LDDbNoRead";}
-       }
-       else 
-               { echo "$LDDbNoLink<br>$sql<br>"; }
-
-?>
-
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN" "html.dtd">
-<?php html_rtl($lang); ?>
-<HEAD>
-<?php echo setCharSet(); ?>
- <TITLE><?php echo $LDReports ?></TITLE>
-<?php
-require($root_path.'include/helpers/inc_js_gethelp.php');
-require($root_path.'include/helpers/inc_css_a_hilitebu.php');
-
-?>
-
-
-
-<script language="javascript">
-<!-- Script Begin
-function showInitPage() {
-
-   window.parent.DIAGNOSTICS_REPORT_MAIN_<?php echo $sid.'_'.$pn 
?>.location.replace('<?php echo 
$root_path.'modules/laboratory/'.$report['script_call']; ?>&sid=<?php echo $sid 
?>&lang=<?php echo $lang ?>&edit=<?php echo $edit ?>&user_origin=<?php echo 
$user_origin ?>&show_print_button=1');
-
-}
-//  Script End -->
-</script>
-
-</HEAD>
-
-<BODY bgcolor="<?php echo $cfg['top_bgcolor']; ?>" topmargin=0 leftmargin=0 
marginwidth=0 marginheight=0 onLoad="showInitPage()" 
-<?php if (!$cfg['dhtml']){ echo 'link='.$cfg['idx_txtcolor'].' 
alink='.$cfg['body_alink'].' vlink='.$cfg['idx_txtcolor']; } ?>>
-<font face="verdana,arial" size=2>
-<?php 
-
-
-/* The following routine creates the list of pending diagnostics reports */
-
-if($rows)
-{ 
-
-   //mysql_data_seek($ergebnis,0);  //reset the array to the first element
-
-  do{
-  //echo $tracker."<br>";
-
-    if($report['report_date']!=$report_date)
-    {
-       echo "<FONT size=2 
color=\"#990000\"><b>".formatDate2Local($report['report_date'],$date_format)."</b></font><br>";
-          $report_date=$report['report_date'];
-    } 
-
-    if($report['status']=='pending')
-   {
-        echo "&nbsp;<img 
".createComIcon($root_path,'r_arrowgrnsm.gif','0','absmiddle')."> ";
-   }
-   else
-   {
-        echo "&nbsp;<img src=\"../gui/img/common/default/pixel.gif\" border=0 
width=4 height=7> ";
-   }  
-  
-   echo " <a 
href=\"".$root_path."modules/laboratory/".$report['script_call']."&sid=".$sid."&lang=".$lang."&user_origin=".$user_origin."&show_print_button=1\"
 
target=\"DIAGNOSTICS_REPORT_MAIN_".$sid."_".$pn."\">".$report['reporting_dept']."<br>".$report['report_nr']."</a><hr>";
-
-               
-   
-    /* Check for the barcode png image, if nonexistent create it in the cache 
*/
-/*    
if(!file_exists($root_path.'cache/barcodes/pn_'.$report['encounter_nr'].'.png'))
-    {
-          echo "<img 
src='".$root_path."classes/barcode/image.php?code=".$report['encounter_nr']."&style=68&type=I25&width=145&height=50&xres=2&font=5&label=2'
 border=0 width=0 height=0>";
-       }
-*/  
-       } while($report=$ergebnis->FetchRow());
-}
-?>       
-</font>
-</BODY>
-</HTML>

Deleted: care2x/branches/gettext/main/diagnostics-report-start.php
===================================================================
--- care2x/branches/gettext/main/diagnostics-report-start.php   2010-07-04 
09:48:34 UTC (rev 6533)
+++ care2x/branches/gettext/main/diagnostics-report-start.php   2010-07-06 
11:32:30 UTC (rev 6534)
@@ -1,71 +0,0 @@
-<?php
-error_reporting(E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR);
-require('./roots.php');
-require($root_path.'include/helpers/inc_environment_global.php');
-define('LANG_FILE','konsil.php');
-
-/* Globalize the variables */
-
-
-$rel_url="?sid=$sid&lang=$lang&edit=$edit&station=$station&pn=$pn&header=$header&user_origin=$user_origin";
-
-/* We need to differentiate from where the user is coming: 
-*  $user_origin != lab ;  from patient charts folder
-*  $user_origin == lab ;  from the laboratory
-*  and set the user cookie name and break or return filename
-*/
-
-
-if($user_origin=='lab')
-{
-  $local_user='ck_lab_user';
-  $breakfile='labor.php?sid='.$sid.'&lang='.$lang; 
-}
-else
-{
-  $local_user='ck_pflege_user';
-  
$breakfile=$root_path.'modules/nursing/nursing-ward-patientdata.php'.$rel_url;
-}
-//echo $_COOKIE[$local_user.$sid]; exit;
-require_once($root_path.'include/helpers/inc_front_chain_lang.php');
-//require_once($root_path.'include/helpers/inc_config_color.php'); // load 
color preferences
-
-?>
-<?php html_rtl($lang); ?>
-<head>
-<title></title>
-</head>
-<?php
-if($lang=='ar'||$lang=='fa'){
-?>
-<frameset rows="35,*" border=0>
-  <frame name="DIAGNOSTICS_REPORT_HEAD_<?php echo $sid.'_'.$pn ?>" 
src="diagnostics-report-head.php<?php echo $rel_url ?>" marginwidth=0 
marginheight=0>
-  <frameset cols="*,16%" border=0>
-    <frame name="DIAGNOSTICS_REPORT_MAIN_<?php echo $sid.'_'.$pn ?>" 
src="blank.htm" >
-    <frame name="DIAGNOSTICS_REPORT_INDEX_<?php echo $sid.'_'.$pn ?>" 
src="diagnostics-report-index.php<?php echo $rel_url ?>" marginwidth=0 
marginheight=0 border=0>
-  </frameset>
-<noframes>
-<body>
-</body>
-</noframes>
-</frameset>
-<?php
-}else{
-?>
-<frameset rows="35,*" border=0>
-  <frame name="DIAGNOSTICS_REPORT_HEAD_<?php echo $sid.'_'.$pn ?>" 
src="diagnostics-report-head.php<?php echo $rel_url ?>" marginwidth=0 
marginheight=0>
-  <frameset cols="16%,*" border=0>
-    <frame name="DIAGNOSTICS_REPORT_INDEX_<?php echo $sid.'_'.$pn ?>" 
src="diagnostics-report-index.php<?php echo $rel_url ?>" marginwidth=0 
marginheight=0 border=0>
-    <frame name="DIAGNOSTICS_REPORT_MAIN_<?php echo $sid.'_'.$pn ?>" 
src="blank.htm" >
-  </frameset>
-<noframes>
-<body>
-</body>
-</noframes>
-</frameset>
-<?php
-}
-?>
-
-
-</html>

Added: care2x/branches/gettext/modules/nursing/diagnostics-report-head.php
===================================================================
--- care2x/branches/gettext/modules/nursing/diagnostics-report-head.php         
                (rev 0)
+++ care2x/branches/gettext/modules/nursing/diagnostics-report-head.php 
2010-07-06 11:32:30 UTC (rev 6534)
@@ -0,0 +1,56 @@
+<?php
+error_reporting(E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR);
+require('./roots.php');
+require($root_path.'include/helpers/inc_environment_global.php');
+/**
+* CARE2X Integrated Hospital Information System Deployment 2.1 - 2004-10-02
+* GNU General Public License
+* Copyright 2002,2003,2004,2005 Elpidio Latorilla
+* elpi...@care2x.org, 
+*
+* See the file "copy_notice.txt" for the licence notice
+*/
+define('LANG_FILE','nursing.php');
+$local_user='ck_pflege_user';
+require_once($root_path.'include/helpers/inc_front_chain_lang.php');
+//if($edit&&!$_COOKIE[$local_user.$sid]) 
{header("Location:../language/".$lang."/lang_".$lang."_invalid-access-warning.php");
 exit;}; 
+require_once($root_path.'include/helpers/inc_config_color.php'); // load color 
preferences
+
+$thisfile=basename(__FILE__);
+$breakfile=$root_path."modules/nursing/nursing-ward-patientdata.php".URL_APPEND."&station=$station&pn=$pn&edit=$edit";
+
+$bgc1='#fefefe'; 
+
+# Start Smarty templating here
+ /**
+ * LOAD Smarty
+ */
+ # Note: it is advisable to load this after the inc_front_chain_lang.php so
+ # that the smarty script can use the user configured template theme
+ 
+ # We set the 3rd parameter to FALSE to prevent initiliazing the copyright 
footer
+
+ require_once($root_path.'gui/smarty_template/smarty_care.class.php');
+ $smarty = new smarty_care('nursing',TRUE,FALSE);
+
+# Title in toolbar
+ $smarty->assign('sToolbarTitle',"$LDReports [ ".ucwords($header)." ]");
+
+ # hide return button
+ $smarty->assign('pbBack',FALSE);
+
+ # href for help button
+ 
$smarty->assign('pbHelp',"javascript:gethelp('diagnostic_report.php','$LDReports','','$station','$LDReports')");
+
+ # href for close button
+ $smarty->assign('breakfile',$breakfile);
+
+ # target for close button
+ $smarty->assign('sCloseTarget','target="_top"');
+
+ /**
+ * show Template
+ */
+ $smarty->display('common/mainframe.tpl');
+
+?>

Added: care2x/branches/gettext/modules/nursing/diagnostics-report-index.php
===================================================================
--- care2x/branches/gettext/modules/nursing/diagnostics-report-index.php        
                        (rev 0)
+++ care2x/branches/gettext/modules/nursing/diagnostics-report-index.php        
2010-07-06 11:32:30 UTC (rev 6534)
@@ -0,0 +1,131 @@
+<?php
+error_reporting(E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR);
+require('./roots.php');
+require($root_path.'include/helpers/inc_environment_global.php');
+/**
+* CARE2X Integrated Hospital Information System Deployment 2.1 - 2004-10-02
+* GNU General Public License
+* Copyright 2002,2003,2004,2005 Elpidio Latorilla
+* elpi...@care2x.org, 
+*
+* See the file "copy_notice.txt" for the licence notice
+*/
+define('LANG_FILE','nursing.php');
+if($user_origin=='lab')
+{
+  $local_user='ck_lab_user';
+  $breakfile='labor.php?sid='.$sid.'&lang='.$lang; 
+}
+else
+{
+  $local_user='ck_pflege_user';
+  $breakfile='pflege-station-patientdaten.php'.$rel_url;
+}
+require_once($root_path.'include/helpers/inc_front_chain_lang.php');
+if($edit&&!$_COOKIE[$local_user.$sid]) 
{header("Location:".$root_path."language/".$lang."/lang_".$lang."_invalid-access-warning.php");
 exit;}; 
+require_once($root_path.'include/helpers/inc_config_color.php'); // load color 
preferences
+
+$thisfile='diagnostics-report-index.php';
+$breakfile="pflege-station-patientdaten.php?sid=$sid&lang=$lang&station=$station&pn=$pn&edit=$edit";
+
+$bgc1='#fefefe'; 
+
+$abtname=get_meta_tags($root_path."global_conf/$lang/konsil_tag_dept.pid");
+
+/* Establish db connection */
+if(!isset($db)||!$db) 
include($root_path.'include/helpers/inc_db_makelink.php');
+if($dblink_ok)
+{      
+       
+       
include_once($root_path.'include/helpers/inc_date_format_functions.php');
+
+               $dbtable='care_encounter_diagnostics_report';
+               
+               $sql="SELECT * FROM $dbtable WHERE encounter_nr='$pn' ORDER BY  
modify_time  DESC";
+               //$sql="SELECT * FROM $dbtable WHERE patnum='$pn' ORDER BY  
item_nr DESC";
+               
+               if($ergebnis=$db->Execute($sql))
+                       {
+                               $rows=$ergebnis->RecordCount();
+                               if($rows) $report=$ergebnis->FetchRow();
+                                 else 
$report['script_call']='diagnostics-report-none.php?pn='.$pn; // If no report 
is available, load the non-availability page
+                       }
+                       else{echo "<p>$sql$LDDbNoRead";}
+       }
+       else 
+               { echo "$LDDbNoLink<br>$sql<br>"; }
+
+?>
+
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN" "html.dtd">
+<?php html_rtl($lang); ?>
+<HEAD>
+<?php echo setCharSet(); ?>
+ <TITLE><?php echo $LDReports ?></TITLE>
+<?php
+require($root_path.'include/helpers/inc_js_gethelp.php');
+require($root_path.'include/helpers/inc_css_a_hilitebu.php');
+
+?>
+
+
+
+<script language="javascript">
+<!-- Script Begin
+function showInitPage() {
+
+   window.parent.DIAGNOSTICS_REPORT_MAIN_<?php echo $sid.'_'.$pn 
?>.location.replace('<?php echo 
$root_path.'modules/laboratory/'.$report['script_call']; ?>&sid=<?php echo $sid 
?>&lang=<?php echo $lang ?>&edit=<?php echo $edit ?>&user_origin=<?php echo 
$user_origin ?>&show_print_button=1');
+
+}
+//  Script End -->
+</script>
+
+</HEAD>
+
+<BODY bgcolor="<?php echo $cfg['top_bgcolor']; ?>" topmargin=0 leftmargin=0 
marginwidth=0 marginheight=0 onLoad="showInitPage()" 
+<?php if (!$cfg['dhtml']){ echo 'link='.$cfg['idx_txtcolor'].' 
alink='.$cfg['body_alink'].' vlink='.$cfg['idx_txtcolor']; } ?>>
+<font face="verdana,arial" size=2>
+<?php 
+
+
+/* The following routine creates the list of pending diagnostics reports */
+
+if($rows)
+{ 
+
+   //mysql_data_seek($ergebnis,0);  //reset the array to the first element
+
+  do{
+  //echo $tracker."<br>";
+
+    if($report['report_date']!=$report_date)
+    {
+       echo "<FONT size=2 
color=\"#990000\"><b>".formatDate2Local($report['report_date'],$date_format)."</b></font><br>";
+          $report_date=$report['report_date'];
+    } 
+
+    if($report['status']=='pending')
+   {
+        echo "&nbsp;<img 
".createComIcon($root_path,'r_arrowgrnsm.gif','0','absmiddle')."> ";
+   }
+   else
+   {
+        echo "&nbsp;<img src=\"../gui/img/common/default/pixel.gif\" border=0 
width=4 height=7> ";
+   }  
+  
+   echo " <a 
href=\"".$root_path."modules/laboratory/".$report['script_call']."&sid=".$sid."&lang=".$lang."&user_origin=".$user_origin."&show_print_button=1\"
 
target=\"DIAGNOSTICS_REPORT_MAIN_".$sid."_".$pn."\">".$report['reporting_dept']."<br>".$report['report_nr']."</a><hr>";
+
+               
+   
+    /* Check for the barcode png image, if nonexistent create it in the cache 
*/
+/*    
if(!file_exists($root_path.'cache/barcodes/pn_'.$report['encounter_nr'].'.png'))
+    {
+          echo "<img 
src='".$root_path."classes/barcode/image.php?code=".$report['encounter_nr']."&style=68&type=I25&width=145&height=50&xres=2&font=5&label=2'
 border=0 width=0 height=0>";
+       }
+*/  
+       } while($report=$ergebnis->FetchRow());
+}
+?>       
+</font>
+</BODY>
+</HTML>

Added: care2x/branches/gettext/modules/nursing/diagnostics-report-start.php
===================================================================
--- care2x/branches/gettext/modules/nursing/diagnostics-report-start.php        
                        (rev 0)
+++ care2x/branches/gettext/modules/nursing/diagnostics-report-start.php        
2010-07-06 11:32:30 UTC (rev 6534)
@@ -0,0 +1,71 @@
+<?php
+error_reporting(E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR);
+require('./roots.php');
+require($root_path.'include/helpers/inc_environment_global.php');
+define('LANG_FILE','konsil.php');
+
+/* Globalize the variables */
+
+
+$rel_url="?sid=$sid&lang=$lang&edit=$edit&station=$station&pn=$pn&header=$header&user_origin=$user_origin";
+
+/* We need to differentiate from where the user is coming: 
+*  $user_origin != lab ;  from patient charts folder
+*  $user_origin == lab ;  from the laboratory
+*  and set the user cookie name and break or return filename
+*/
+
+
+if($user_origin=='lab')
+{
+  $local_user='ck_lab_user';
+  $breakfile='labor.php?sid='.$sid.'&lang='.$lang; 
+}
+else
+{
+  $local_user='ck_pflege_user';
+  
$breakfile=$root_path.'modules/nursing/nursing-ward-patientdata.php'.$rel_url;
+}
+//echo $_COOKIE[$local_user.$sid]; exit;
+require_once($root_path.'include/helpers/inc_front_chain_lang.php');
+//require_once($root_path.'include/helpers/inc_config_color.php'); // load 
color preferences
+
+?>
+<?php html_rtl($lang); ?>
+<head>
+<title></title>
+</head>
+<?php
+if($lang=='ar'||$lang=='fa'){
+?>
+<frameset rows="35,*" border=0>
+  <frame name="DIAGNOSTICS_REPORT_HEAD_<?php echo $sid.'_'.$pn ?>" 
src="diagnostics-report-head.php<?php echo $rel_url ?>" marginwidth=0 
marginheight=0>
+  <frameset cols="*,16%" border=0>
+    <frame name="DIAGNOSTICS_REPORT_MAIN_<?php echo $sid.'_'.$pn ?>" 
src="blank.htm" >
+    <frame name="DIAGNOSTICS_REPORT_INDEX_<?php echo $sid.'_'.$pn ?>" 
src="diagnostics-report-index.php<?php echo $rel_url ?>" marginwidth=0 
marginheight=0 border=0>
+  </frameset>
+<noframes>
+<body>
+</body>
+</noframes>
+</frameset>
+<?php
+}else{
+?>
+<frameset rows="35,*" border=0>
+  <frame name="DIAGNOSTICS_REPORT_HEAD_<?php echo $sid.'_'.$pn ?>" 
src="diagnostics-report-head.php<?php echo $rel_url ?>" marginwidth=0 
marginheight=0>
+  <frameset cols="16%,*" border=0>
+    <frame name="DIAGNOSTICS_REPORT_INDEX_<?php echo $sid.'_'.$pn ?>" 
src="diagnostics-report-index.php<?php echo $rel_url ?>" marginwidth=0 
marginheight=0 border=0>
+    <frame name="DIAGNOSTICS_REPORT_MAIN_<?php echo $sid.'_'.$pn ?>" 
src="blank.htm" >
+  </frameset>
+<noframes>
+<body>
+</body>
+</noframes>
+</frameset>
+<?php
+}
+?>
+
+
+</html>

Modified: care2x/branches/gettext/modules/nursing/nursing-ward-patientdaten.php
===================================================================
--- care2x/branches/gettext/modules/nursing/nursing-ward-patientdaten.php       
2010-07-04 09:48:34 UTC (rev 6533)
+++ care2x/branches/gettext/modules/nursing/nursing-ward-patientdaten.php       
2010-07-06 11:32:30 UTC (rev 6534)
@@ -495,7 +495,7 @@
                <tr><td>
                <table cellpadding=3><tr>
                <td><input type="button" 
onClick="javascript:enlargewin();window.location.href=\'nursing-ward-patientdata-pbericht.php'.URL_REDIRECT_APPEND.'&station='.$station.'&pn='.$pn.'&edit='.$edit.'\'"
 value="'.$LDNursingReport.'"></td>
-               <td><input type="button" 
onClick="javascript:enlargewin();window.location.href=\''.$root_path.'main/diagnostics-report-start.php'.URL_REDIRECT_APPEND.'&station='.$station.'&pn='.$pn.'&edit='.$edit.'&header='.$result['name_last'].',+'.$result['name_first'].'+'.formatDate2Local($result['date_birth'],$date_format).'\'"
 value="'.$LDReports.'"></td>
+               <td><input type="button" 
onClick="javascript:enlargewin();window.location.href=\'diagnostics-report-start.php'.URL_REDIRECT_APPEND.'&station='.$station.'&pn='.$pn.'&edit='.$edit.'&header='.$result['name_last'].',+'.$result['name_first'].'+'.formatDate2Local($result['date_birth'],$date_format).'\'"
 value="'.$LDReports.'"></td>
                ';
                echo '<td><input type="button" 
onClick="javascript:window.location.href=\''.$root_path.'modules/laboratory/labor_datalist_noedit.php'.URL_REDIRECT_APPEND.'&station='.$station.'&pn='.$pn.'&user_origin='.$user_origin.'&edit='.$edit.'\'"
 value="'.$LDLabReports.'"></td>';
                


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Care2002-developers mailing list
Care2002-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/care2002-developers

Reply via email to