Revision: 6561 http://care2002.svn.sourceforge.net/care2002/?rev=6561&view=rev Author: mizuko Date: 2010-07-14 12:14:30 +0000 (Wed, 14 Jul 2010)
Log Message: ----------- see #60 - move imgcreator to includes Modified Paths: -------------- care2x/branches/gettext/include/imgcreator/barcode-etik.php care2x/branches/gettext/include/imgcreator/barcode-labels.php care2x/branches/gettext/include/imgcreator/barcode-wristbands.php care2x/branches/gettext/include/imgcreator/barcode_img_wristbands.php care2x/branches/gettext/include/imgcreator/barcode_label_single_large.php care2x/branches/gettext/include/imgcreator/datachart.php care2x/branches/gettext/include/imgcreator/inc_label_single_large.php Modified: care2x/branches/gettext/include/imgcreator/barcode-etik.php =================================================================== --- care2x/branches/gettext/include/imgcreator/barcode-etik.php 2010-07-14 12:13:55 UTC (rev 6560) +++ care2x/branches/gettext/include/imgcreator/barcode-etik.php 2010-07-14 12:14:30 UTC (rev 6561) @@ -88,5 +88,5 @@ $result['encounter_class']=$LDStationary; } -include($root_path.'include/imgcreator/inc_etik.php'); +include('inc_etik.php'); ?> Modified: care2x/branches/gettext/include/imgcreator/barcode-labels.php =================================================================== --- care2x/branches/gettext/include/imgcreator/barcode-labels.php 2010-07-14 12:13:55 UTC (rev 6560) +++ care2x/branches/gettext/include/imgcreator/barcode-labels.php 2010-07-14 12:14:30 UTC (rev 6561) @@ -22,7 +22,7 @@ </head> <body onLoad="if(window.focus) window.focus()"> <?php if(file_exists($root_path."cache/barcodes/en_".$_SESSION['sess_full_en'].".png")) : ?> -<a href="javascript:window.print()"><img src="./imgcreator/barcode-etik.php<?php echo URL_REDIRECT_APPEND ?>&en=<?php echo $_SESSION['sess_en'] ?>" border=0 alt="<?php echo $LDClick2echo ?>"></a> +<a href="javascript:window.print()"><img src="barcode-etik.php<?php echo URL_REDIRECT_APPEND ?>&en=<?php echo $_SESSION['sess_en'] ?>" border=0 alt="<?php echo $LDClick2echo ?>"></a> <?php else : ?> <a href="javascript:window.print()"><img src="<?php echo $root_path; ?>classes/barcode/image.php<?php echo URL_REDIRECT_APPEND."&code=".$_SESSION['sess_full_en']."&style=68&type=I25&width=180&height=50&xres=2&font=5&pn=".$_SESSION['sess_full_en']."&label=1&form_file=en"; ?>" border=0 alt="<?php echo $LDClick2echo ?>"></a> <?php endif ?> Modified: care2x/branches/gettext/include/imgcreator/barcode-wristbands.php =================================================================== --- care2x/branches/gettext/include/imgcreator/barcode-wristbands.php 2010-07-14 12:13:55 UTC (rev 6560) +++ care2x/branches/gettext/include/imgcreator/barcode-wristbands.php 2010-07-14 12:14:30 UTC (rev 6561) @@ -20,7 +20,7 @@ </head> <body onLoad="if(window.focus) window.focus()"> <?php if(file_exists($root_path."cache/barcodes/en_".$full_en.".png")) : ?> -<a href="javascript:window.print()" title="<?php echo $LDClickImgToPrint ?>"><img src="./imgcreator/barcode_img_wristbands.php<?php echo URL_REDIRECT_APPEND."&en=$en" ?>" border=0 alt="<?php echo $LDClickImgToPrint ?>"></a> +<a href="javascript:window.print()" title="<?php echo $LDClickImgToPrint ?>"><img src="barcode_img_wristbands.php<?php echo URL_REDIRECT_APPEND."&en=$en" ?>" border=0 alt="<?php echo $LDClickImgToPrint ?>"></a> <?php else : ?> <a href="javascript:window.print()" title="<?php echo $LDClickImgToPrint ?>"><img src="<?php echo $root_path ?>classes/barcode/image.php?<?php echo URL_REDIRECT_APPEND."&code=$full_en&style=68&type=I25&width=180&height=50&xres=2&font=5&pn=$full_en&label=1&form_file=en" ?>" border=0 alt="<?php echo $LDClickImgToPrint ?>"></a> <?php endif ?> Modified: care2x/branches/gettext/include/imgcreator/barcode_img_wristbands.php =================================================================== --- care2x/branches/gettext/include/imgcreator/barcode_img_wristbands.php 2010-07-14 12:13:55 UTC (rev 6560) +++ care2x/branches/gettext/include/imgcreator/barcode_img_wristbands.php 2010-07-14 12:14:30 UTC (rev 6561) @@ -76,5 +76,5 @@ $full_en=$en; # Load the image generator according to the language version - include($root_path.'include/imgcreator/inc_wristband.php'); + include('inc_wristband.php'); ?> Modified: care2x/branches/gettext/include/imgcreator/barcode_label_single_large.php =================================================================== --- care2x/branches/gettext/include/imgcreator/barcode_label_single_large.php 2010-07-14 12:13:55 UTC (rev 6560) +++ care2x/branches/gettext/include/imgcreator/barcode_label_single_large.php 2010-07-14 12:14:30 UTC (rev 6561) @@ -96,5 +96,5 @@ # Load the image generation script based on the language -include ($root_path . 'include/imgcreator/inc_label_single_large.php'); +include ('inc_label_single_large.php'); ?> Modified: care2x/branches/gettext/include/imgcreator/datachart.php =================================================================== --- care2x/branches/gettext/include/imgcreator/datachart.php 2010-07-14 12:13:55 UTC (rev 6560) +++ care2x/branches/gettext/include/imgcreator/datachart.php 2010-07-14 12:14:30 UTC (rev 6561) @@ -80,7 +80,7 @@ header ('Content-type: image/PNG'); -$...@imagecreatefrompng($root_path.'include/imgcreator/datachart.png'); // Loads the ready made image (makes this routine faster) +$...@imagecreatefrompng($root_path.'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/include/imgcreator/inc_label_single_large.php =================================================================== --- care2x/branches/gettext/include/imgcreator/inc_label_single_large.php 2010-07-14 12:13:55 UTC (rev 6560) +++ care2x/branches/gettext/include/imgcreator/inc_label_single_large.php 2010-07-14 12:14:30 UTC (rev 6561) @@ -117,7 +117,7 @@ } else { - if(file_exists($root_path.'include/imgcreator/gd_test_request_'.$subtarget.'.php')) include_once($root_path.'include/imgcreator/gd_test_request_'.$subtarget.'.php'); + if(file_exists('gd_test_request_'.$subtarget.'.php')) include_once($root_path.'include/imgcreator/gd_test_request_'.$subtarget.'.php'); else Imagepng($label); /* Imagepng($label);*/ 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