Revision: 6423
http://care2002.svn.sourceforge.net/care2002/?rev=6423&view=rev
Author: mizuko
Date: 2010-06-30 08:19:06 +0000 (Wed, 30 Jun 2010)
Log Message:
-----------
see #54
Modified Paths:
--------------
care2x/branches/gettext/main/imgcreator/datachart.php
care2x/branches/gettext/modules/laboratory/labor-data-makegraph.php
care2x/branches/gettext/modules/nursing/nursing-station-patientdaten-kurve.php
Modified: care2x/branches/gettext/main/imgcreator/datachart.php
===================================================================
--- care2x/branches/gettext/main/imgcreator/datachart.php 2010-06-30
08:17:30 UTC (rev 6422)
+++ care2x/branches/gettext/main/imgcreator/datachart.php 2010-06-30
08:19:06 UTC (rev 6423)
@@ -80,7 +80,7 @@
header ('Content-type: image/PNG');
-$...@imagecreatefrompng($root_path.'main/imgcreator/datacurve.png'); // Loads
the ready made image (makes this routine faster)
+$...@imagecreatefrompng($root_path.'main/imgcreator/datachart.png'); // Loads
the ready made image (makes this routine faster)
/**
* The next set of codes create the graph chart on-the-fly
Modified: care2x/branches/gettext/modules/laboratory/labor-data-makegraph.php
===================================================================
--- care2x/branches/gettext/modules/laboratory/labor-data-makegraph.php
2010-06-30 08:17:30 UTC (rev 6422)
+++ care2x/branches/gettext/modules/laboratory/labor-data-makegraph.php
2010-06-30 08:19:06 UTC (rev 6423)
@@ -82,19 +82,19 @@
$diff = dateDiff("-", date("Y-m-d"), $patient['date_birth']);
switch ($diff) {
case ( ($diff >= 1) and ($diff <= 30 ) ) :
- echo $txt.'<img
src="'.$root_path.'main/imgcreator/labor-datacurve.php?sid='.$sid.'&lang='.$lang.'&cols='.$cols.'&lo='.$pName['lo_bound_n'].'&hi='.$pName['hi_bound_n'].'&d='.$valueBuff.'"
border=0>';
+ echo $txt.'<img
src="'.$root_path.'main/imgcreator/labor-datachart.php?sid='.$sid.'&lang='.$lang.'&cols='.$cols.'&lo='.$pName['lo_bound_n'].'&hi='.$pName['hi_bound_n'].'&d='.$valueBuff.'"
border=0>';
break;
case ( ($diff >= 31) and ($diff <= 360 ) ) :
- echo $txt.'<img
src="'.$root_path.'main/imgcreator/labor-datacurve.php?sid='.$sid.'&lang='.$lang.'&cols='.$cols.'&lo='.$pName['lo_bound_y'].'&hi='.$pName['hi_bound_y'].'&d='.$valueBuff.'"
border=0>';
+ echo $txt.'<img
src="'.$root_path.'main/imgcreator/labor-datachart.php?sid='.$sid.'&lang='.$lang.'&cols='.$cols.'&lo='.$pName['lo_bound_y'].'&hi='.$pName['hi_bound_y'].'&d='.$valueBuff.'"
border=0>';
break;
case ( $diff >= 361) and ($diff <= 5040 ) :
- echo $txt.'<img
src="'.$root_path.'main/imgcreator/labor-datacurve.php?sid='.$sid.'&lang='.$lang.'&cols='.$cols.'&lo='.$pName['lo_bound_c'].'&hi='.$pName['hi_bound_c'].'&d='.$valueBuff.'"
border=0>';
+ echo $txt.'<img
src="'.$root_path.'main/imgcreator/labor-datachart.php?sid='.$sid.'&lang='.$lang.'&cols='.$cols.'&lo='.$pName['lo_bound_c'].'&hi='.$pName['hi_bound_c'].'&d='.$valueBuff.'"
border=0>';
break;
case $diff > 5040 :
if($patient['sex']=='m')
- echo $txt.'<img
src="'.$root_path.'main/imgcreator/labor-datacurve.php?sid='.$sid.'&lang='.$lang.'&cols='.$cols.'&lo='.$pName['lo_bound'].'&hi='.$pName['hi_bound'].'&d='.$valueBuff.'"
border=0>';
+ echo $txt.'<img
src="'.$root_path.'main/imgcreator/labor-datachart.php?sid='.$sid.'&lang='.$lang.'&cols='.$cols.'&lo='.$pName['lo_bound'].'&hi='.$pName['hi_bound'].'&d='.$valueBuff.'"
border=0>';
elseif($patient['sex']=='f')
- echo $txt.'<img
src="'.$root_path.'main/imgcreator/labor-datacurve.php?sid='.$sid.'&lang='.$lang.'&cols='.$cols.'&lo='.$pName['lo_bound_f'].'&hi='.$pName['hi_bound_f'].'&d='.$valueBuff.'"
border=0>';
+ echo $txt.'<img
src="'.$root_path.'main/imgcreator/labor-datachart.php?sid='.$sid.'&lang='.$lang.'&cols='.$cols.'&lo='.$pName['lo_bound_f'].'&hi='.$pName['hi_bound_f'].'&d='.$valueBuff.'"
border=0>';
break;
}
return $txt;
Modified:
care2x/branches/gettext/modules/nursing/nursing-station-patientdaten-kurve.php
===================================================================
---
care2x/branches/gettext/modules/nursing/nursing-station-patientdaten-kurve.php
2010-06-30 08:17:30 UTC (rev 6422)
+++
care2x/branches/gettext/modules/nursing/nursing-station-patientdaten-kurve.php
2010-06-30 08:19:06 UTC (rev 6423)
@@ -509,7 +509,7 @@
echo '
<img';
if($edit) echo ' ismap usemap="#FrontPageMap"';
-echo '
src="'.$root_path.'main/imgcreator/datacurve.php'.URL_APPEND.'&pn='.$pn.'&max=15&yr='.$jahr.'&mo='.$kmonat.'&dy='.$tag.'"
height=135 width=700 border=0 >
+echo '
src="'.$root_path.'main/imgcreator/datachart.php'.URL_APPEND.'&pn='.$pn.'&max=15&yr='.$jahr.'&mo='.$kmonat.'&dy='.$tag.'"
height=135 width=700 border=0 >
</td>
</tr>
<tr valign="top" >
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/care2002-developers