Revision: 6559
          http://care2002.svn.sourceforge.net/care2002/?rev=6559&view=rev
Author:   mizuko
Date:     2010-07-14 12:11:05 +0000 (Wed, 14 Jul 2010)

Log Message:
-----------
see #60 - move imgcreator to includes

Modified Paths:
--------------
    care2x/branches/gettext/main/imgcreator/inc_js_barcode_wristband_popwin.php

Added Paths:
-----------
    care2x/branches/gettext/main/imgcreator/barcode-labels.php
    care2x/branches/gettext/main/imgcreator/barcode-wristbands.php

Removed Paths:
-------------
    care2x/branches/gettext/main/barcode-labels.php
    care2x/branches/gettext/main/barcode-wristbands.php

Deleted: care2x/branches/gettext/main/barcode-labels.php
===================================================================
--- care2x/branches/gettext/main/barcode-labels.php     2010-07-14 09:48:00 UTC 
(rev 6558)
+++ care2x/branches/gettext/main/barcode-labels.php     2010-07-14 12:11:05 UTC 
(rev 6559)
@@ -1,30 +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 Information System  for Hospitals and Health Care 
Organizations and Services
-Deployment 2.1 - 2004-10-02
-Copyright (C) 2002,2003,2004,2005  Elpidio Latorilla
-
-GNU GPL. For details read file "copy_notice.txt".
-*/
-define('LANG_FILE','aufnahme.php');
-define('NO_2LEVEL_CHK',1);
-require_once($root_path.'include/helpers/inc_front_chain_lang.php');
-
-
-?>
-<?php html_rtl($lang); ?>
-<head>
-<?php echo setCharSet(); ?>
-<title>Barcode Labels Patient nr. <?php echo $_SESSION['sess_full_en'] 
?></title>
-</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>
-<?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 ?>
-</body>
-</html>

Deleted: care2x/branches/gettext/main/barcode-wristbands.php
===================================================================
--- care2x/branches/gettext/main/barcode-wristbands.php 2010-07-14 09:48:00 UTC 
(rev 6558)
+++ care2x/branches/gettext/main/barcode-wristbands.php 2010-07-14 12:11:05 UTC 
(rev 6559)
@@ -1,28 +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 Information System  for Hospitals and Health Care 
Organizations and Services 
-Deployment 2.1 - 2004-10-02
-Copyright (C) 2002,2003,2004,2005  Elpidio Latorilla & Intellin.org    
-
-GNU GPL. For details read file "copy_notice.txt".
-*/
-define('LANG_FILE','aufnahme.php');
-define('NO_2LEVEL_CHK',1);
-require_once($root_path.'include/helpers/inc_front_chain_lang.php');
-?>
-<?php html_rtl($lang); ?>
-<head>
-<?php echo setCharSet(); ?>
-<title>Barcode Labels Patient nr. <?php echo $full_en ?></title>
-</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>
-<?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 ?>
-</body>
-</html>

Copied: care2x/branches/gettext/main/imgcreator/barcode-labels.php (from rev 
6558, care2x/branches/gettext/main/barcode-labels.php)
===================================================================
--- care2x/branches/gettext/main/imgcreator/barcode-labels.php                  
        (rev 0)
+++ care2x/branches/gettext/main/imgcreator/barcode-labels.php  2010-07-14 
12:11:05 UTC (rev 6559)
@@ -0,0 +1,30 @@
+<?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 Information System  for Hospitals and Health Care 
Organizations and Services
+Deployment 2.1 - 2004-10-02
+Copyright (C) 2002,2003,2004,2005  Elpidio Latorilla
+
+GNU GPL. For details read file "copy_notice.txt".
+*/
+define('LANG_FILE','aufnahme.php');
+define('NO_2LEVEL_CHK',1);
+require_once($root_path.'include/helpers/inc_front_chain_lang.php');
+
+
+?>
+<?php html_rtl($lang); ?>
+<head>
+<?php echo setCharSet(); ?>
+<title>Barcode Labels Patient nr. <?php echo $_SESSION['sess_full_en'] 
?></title>
+</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>
+<?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 ?>
+</body>
+</html>

Copied: care2x/branches/gettext/main/imgcreator/barcode-wristbands.php (from 
rev 6558, care2x/branches/gettext/main/barcode-wristbands.php)
===================================================================
--- care2x/branches/gettext/main/imgcreator/barcode-wristbands.php              
                (rev 0)
+++ care2x/branches/gettext/main/imgcreator/barcode-wristbands.php      
2010-07-14 12:11:05 UTC (rev 6559)
@@ -0,0 +1,28 @@
+<?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 Information System  for Hospitals and Health Care 
Organizations and Services 
+Deployment 2.1 - 2004-10-02
+Copyright (C) 2002,2003,2004,2005  Elpidio Latorilla & Intellin.org    
+
+GNU GPL. For details read file "copy_notice.txt".
+*/
+define('LANG_FILE','aufnahme.php');
+define('NO_2LEVEL_CHK',1);
+require_once($root_path.'include/helpers/inc_front_chain_lang.php');
+?>
+<?php html_rtl($lang); ?>
+<head>
+<?php echo setCharSet(); ?>
+<title>Barcode Labels Patient nr. <?php echo $full_en ?></title>
+</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>
+<?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 ?>
+</body>
+</html>

Modified: 
care2x/branches/gettext/main/imgcreator/inc_js_barcode_wristband_popwin.php
===================================================================
--- care2x/branches/gettext/main/imgcreator/inc_js_barcode_wristband_popwin.php 
2010-07-14 09:48:00 UTC (rev 6558)
+++ care2x/branches/gettext/main/imgcreator/inc_js_barcode_wristband_popwin.php 
2010-07-14 12:11:05 UTC (rev 6559)
@@ -2,13 +2,13 @@
 <!-- 
 function makeBarcodeLabel(en)
 {
-       urlholder="<?php echo $root_path; ?>main/barcode-labels.php<?php echo 
URL_REDIRECT_APPEND."&full_en=".$_SESSION['sess_full_en']; ?>&en="+en;
+       urlholder="barcode-labels.php<?php echo 
URL_REDIRECT_APPEND."&full_en=".$_SESSION['sess_full_en']; ?>&en="+en;
        
bclabel=window.open(urlholder,"bclabel","menubar=no,resizable=yes,scrollbars=yes");
 }
 
 function makeWristBands(en)
 {
-       urlholder="<?php echo $root_path; ?>main/barcode-wristbands.php<?php 
echo URL_REDIRECT_APPEND."&full_en=".$_SESSION['sess_full_en']; ?>&en="+en;
+       urlholder="barcode-wristbands.php<?php echo 
URL_REDIRECT_APPEND."&full_en=".$_SESSION['sess_full_en']; ?>&en="+en;
        wclabel<?php echo $sid ?>=window.open(urlholder,"wblabel<?php echo $sid 
?>","menubar=no,resizable=yes,scrollbars=yes");
 }
 -->


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