Revision: 6480
          http://care2002.svn.sourceforge.net/care2002/?rev=6480&view=rev
Author:   mizuko
Date:     2010-06-30 12:13:49 +0000 (Wed, 30 Jun 2010)

Log Message:
-----------
see #54

Modified Paths:
--------------
    care2x/branches/gettext/modules/products/products-bestellung.php

Added Paths:
-----------
    care2x/branches/gettext/modules/products/products-order-header.php

Removed Paths:
-------------
    care2x/branches/gettext/modules/products/products-bestell-hf.php

Deleted: care2x/branches/gettext/modules/products/products-bestell-hf.php
===================================================================
--- care2x/branches/gettext/modules/products/products-bestell-hf.php    
2010-06-30 12:09:27 UTC (rev 6479)
+++ care2x/branches/gettext/modules/products/products-bestell-hf.php    
2010-06-30 12:13:49 UTC (rev 6480)
@@ -1,59 +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','products.php');
-$local_user='ck_prod_order_user';
-require_once($root_path.'include/helpers/inc_front_chain_lang.php');
-switch($cat)
-{
-       case "pharma": 
$breakfile=$root_path."modules/pharmacy/pharmacy.php".URL_APPEND;
-                              break;
-    case "medstock": $breakfile=$root_path."modules/medstock/medstock.php 
".URL_APPEND;
-                              break;
-}
-
-/**
- * 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
-
- require_once($root_path.'gui/smarty_template/smarty_care.class.php');
- $smarty = new smarty_care('common',TRUE,FALSE);
- 
- # Hide title bar
- $smarty->assign('bHideTitleBar',TRUE);
-
- # href for help button
- 
$smarty->assign('pbHelp',"javascript:gethelp('products.php','head','main','$cat')");
-
- # href for close button
- $smarty->assign('breakfile',$breakfile);
-
- # Window bar title
- $smarty->assign('sWindowTitle','');
-
-  $smarty->assign('LDCatalog',$LDCatalog);
- $smarty->assign('LDBasket',$LDBasket);
-/*
-$smarty->assign('$LDBasket ?></b></td>
-    <td align=center valign=top class="prompt"><?php echo $LDCatalog ?></td>
-        <td align=right valign=top><nobr><a 
href="javascript:gethelp('products.php','head','main','<?php echo $cat 
?>')"><img <?php echo createLDImgSrc($root_path,'hilfe-r.gif','0') ?>  <?php 
if($cfg['dhtml'])echo'class="fadeOut" >';?></a><a href="<?php echo $breakfile; 
?>" target=_parent><img <?php echo createLDImgSrc($root_path,'close2.gif','0') 
?>
-       <?php if($cfg['dhtml'])echo'class="fadeOut" >';?></a></nobr></td>
-  </font></tr>
-</table>
-*/
-$smarty->assign('sMainBlockIncludeFile','products/ordering_header.tpl');
-
-$smarty->display('common/mainframe.tpl');
-?>

Modified: care2x/branches/gettext/modules/products/products-bestellung.php
===================================================================
--- care2x/branches/gettext/modules/products/products-bestellung.php    
2010-06-30 12:09:27 UTC (rev 6479)
+++ care2x/branches/gettext/modules/products/products-bestellung.php    
2010-06-30 12:13:49 UTC (rev 6480)
@@ -42,7 +42,7 @@
 
 // Assign frameset source file
 
-$smarty->assign ( 'sHeaderSource', 
"src=\"products-bestell-hf.php?sid=$sid&lang=$lang&cat=$cat&userck=$userck\"" );
+$smarty->assign ( 'sHeaderSource', 
"src=\"products-order-header.php?sid=$sid&lang=$lang&cat=$cat&userck=$userck\"" 
);
 $smarty->assign ( 'sBasketSource', 
"src=\"products-bestellkorb.php?sid=$sid&lang=$lang&dept_nr=$dept_nr&order_nr=$order_nr&itwassent=$itwassent&cat=$cat&userck=$userck\""
 );
 $smarty->assign ( 'sCatalogSource', 
"src=\"products-bestellkatalog.php?sid=$sid&lang=$lang&dept_nr=$dept_nr&order_nr=$order_nr&cat=$cat&userck=$userck\""
 );
 

Copied: care2x/branches/gettext/modules/products/products-order-header.php 
(from rev 6471, 
care2x/branches/gettext/modules/products/products-bestell-hf.php)
===================================================================
--- care2x/branches/gettext/modules/products/products-order-header.php          
                (rev 0)
+++ care2x/branches/gettext/modules/products/products-order-header.php  
2010-06-30 12:13:49 UTC (rev 6480)
@@ -0,0 +1,59 @@
+<?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','products.php');
+$local_user='ck_prod_order_user';
+require_once($root_path.'include/helpers/inc_front_chain_lang.php');
+switch($cat)
+{
+       case "pharma": 
$breakfile=$root_path."modules/pharmacy/pharmacy.php".URL_APPEND;
+                              break;
+    case "medstock": $breakfile=$root_path."modules/medstock/medstock.php 
".URL_APPEND;
+                              break;
+}
+
+/**
+ * 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
+
+ require_once($root_path.'gui/smarty_template/smarty_care.class.php');
+ $smarty = new smarty_care('common',TRUE,FALSE);
+ 
+ # Hide title bar
+ $smarty->assign('bHideTitleBar',TRUE);
+
+ # href for help button
+ 
$smarty->assign('pbHelp',"javascript:gethelp('products.php','head','main','$cat')");
+
+ # href for close button
+ $smarty->assign('breakfile',$breakfile);
+
+ # Window bar title
+ $smarty->assign('sWindowTitle','');
+
+  $smarty->assign('LDCatalog',$LDCatalog);
+ $smarty->assign('LDBasket',$LDBasket);
+/*
+$smarty->assign('$LDBasket ?></b></td>
+    <td align=center valign=top class="prompt"><?php echo $LDCatalog ?></td>
+        <td align=right valign=top><nobr><a 
href="javascript:gethelp('products.php','head','main','<?php echo $cat 
?>')"><img <?php echo createLDImgSrc($root_path,'hilfe-r.gif','0') ?>  <?php 
if($cfg['dhtml'])echo'class="fadeOut" >';?></a><a href="<?php echo $breakfile; 
?>" target=_parent><img <?php echo createLDImgSrc($root_path,'close2.gif','0') 
?>
+       <?php if($cfg['dhtml'])echo'class="fadeOut" >';?></a></nobr></td>
+  </font></tr>
+</table>
+*/
+$smarty->assign('sMainBlockIncludeFile','products/ordering_header.tpl');
+
+$smarty->display('common/mainframe.tpl');
+?>


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