Revision: 6472
http://care2002.svn.sourceforge.net/care2002/?rev=6472&view=rev
Author: mizuko
Date: 2010-06-30 11:36:47 +0000 (Wed, 30 Jun 2010)
Log Message:
-----------
see #54
Modified Paths:
--------------
care2x/branches/gettext/modules/pharmacy/apotheke-pass.php
Added Paths:
-----------
care2x/branches/gettext/modules/pharmacy/pharmacy-orderbot-pass.php
Removed Paths:
-------------
care2x/branches/gettext/modules/pharmacy/apotheke-bestellbot-pass.php
Deleted: care2x/branches/gettext/modules/pharmacy/apotheke-bestellbot-pass.php
===================================================================
--- care2x/branches/gettext/modules/pharmacy/apotheke-bestellbot-pass.php
2010-06-30 11:35:34 UTC (rev 6471)
+++ care2x/branches/gettext/modules/pharmacy/apotheke-bestellbot-pass.php
2010-06-30 11:36:47 UTC (rev 6472)
@@ -1,62 +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
-* [email protected],
-*
-* See the file "copy_notice.txt" for the licence notice
-*/
-define('LANG_FILE','stdpass.php');
-define('NO_2LEVEL_CHK',1);
-require_once($root_path.'include/helpers/inc_front_chain_lang.php');
-
-require_once($root_path.'global_conf/areas_allow.php');
-
-$allowedarea=&$allow_area['pharma'];
-
-if($user_origin=='pharmabot') $userck='ck_pharmabot_user';
- else $userck='ck_apo_user';
-
-$breakfile='pharmacy.php?sid='.$sid.'&lang='.$lang;
-$fileforward="pharmacy.php".URL_REDIRECT_APPEND."&stb=1&userck=$userck";
-$title=$LDPharmaOrderBot;
-$thisfile='apotheke-bestellbot-pass.php';
-$lognote="$title ok";
-//reset cookie;
-// reset all 2nd level lock cookies
-setcookie($userck.$sid,'');
-require($root_path.'include/helpers/inc_2level_reset.php');
-setcookie('ck_2level_sid'.$sid,'',0,'/');
-
-require($root_path.'include/helpers/inc_passcheck_internchk.php');
-if ($pass=='check')
- include($root_path.'include/helpers/inc_passcheck.php');
-
-$errbuf=$title;
-
-$minimal=1;
-require($root_path.'include/helpers/inc_passcheck_head.php');
-?>
-
-<BODY <?php if (!$nofocus) echo
'onLoad="document.passwindow.userid.focus()"'; echo '
bgcolor='.$cfg['body_bgcolor'];
- if (!$cfg['dhtml']){ echo ' link='.$cfg['body_txtcolor'].'
alink='.$cfg['body_alink'].' vlink='.$cfg['body_txtcolor']; }
-?>>
-
-<P>
-<img src="../../gui/img/common/default/lampboard.gif" border=0 align="middle">
-<FONT COLOR="<?php echo $cfg[top_txtcolor] ?>" SIZE=5 FACE="verdana"> <b>
<?php echo $title; ?></b></font>
-<p>
-<table width=100% border=0 cellpadding="0" cellspacing="0">
-
-<?php require($root_path.'include/helpers/inc_passcheck_mask.php') ?>
-
-<?php
-require($root_path.'include/helpers/inc_load_copyrite.php');
-?>
-
-</BODY>
-</HTML>
Modified: care2x/branches/gettext/modules/pharmacy/apotheke-pass.php
===================================================================
--- care2x/branches/gettext/modules/pharmacy/apotheke-pass.php 2010-06-30
11:35:34 UTC (rev 6471)
+++ care2x/branches/gettext/modules/pharmacy/apotheke-pass.php 2010-06-30
11:36:47 UTC (rev 6472)
@@ -48,7 +48,7 @@
$allowedarea[] =
'_a_1_pharmadbadmin';
$src="medibotpass";
$userck="ck_prod_bot_user";
-
$fileforward=$root_path."modules/pharmacy/apotheke-bestellbot-pass.php".URL_APPEND."&mode=bot&user_origin=pharmabot";
+
$fileforward=$root_path."modules/pharmacy/pharmacy-orderbot-pass.php".URL_APPEND."&mode=bot&user_origin=pharmabot";
break;
default:
{header("Location:".$root_path."language/".$lang."/lang_".$lang."_invalid-access-warning.php");
exit;};
}
Copied: care2x/branches/gettext/modules/pharmacy/pharmacy-orderbot-pass.php
(from rev 6471,
care2x/branches/gettext/modules/pharmacy/apotheke-bestellbot-pass.php)
===================================================================
--- care2x/branches/gettext/modules/pharmacy/pharmacy-orderbot-pass.php
(rev 0)
+++ care2x/branches/gettext/modules/pharmacy/pharmacy-orderbot-pass.php
2010-06-30 11:36:47 UTC (rev 6472)
@@ -0,0 +1,62 @@
+<?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
+* [email protected],
+*
+* See the file "copy_notice.txt" for the licence notice
+*/
+define('LANG_FILE','stdpass.php');
+define('NO_2LEVEL_CHK',1);
+require_once($root_path.'include/helpers/inc_front_chain_lang.php');
+
+require_once($root_path.'global_conf/areas_allow.php');
+
+$allowedarea=&$allow_area['pharma'];
+
+if($user_origin=='pharmabot') $userck='ck_pharmabot_user';
+ else $userck='ck_apo_user';
+
+$breakfile='pharmacy.php?sid='.$sid.'&lang='.$lang;
+$fileforward="pharmacy.php".URL_REDIRECT_APPEND."&stb=1&userck=$userck";
+$title=$LDPharmaOrderBot;
+$thisfile='pharmacy-orderbot-pass.php';
+$lognote="$title ok";
+//reset cookie;
+// reset all 2nd level lock cookies
+setcookie($userck.$sid,'');
+require($root_path.'include/helpers/inc_2level_reset.php');
+setcookie('ck_2level_sid'.$sid,'',0,'/');
+
+require($root_path.'include/helpers/inc_passcheck_internchk.php');
+if ($pass=='check')
+ include($root_path.'include/helpers/inc_passcheck.php');
+
+$errbuf=$title;
+
+$minimal=1;
+require($root_path.'include/helpers/inc_passcheck_head.php');
+?>
+
+<BODY <?php if (!$nofocus) echo
'onLoad="document.passwindow.userid.focus()"'; echo '
bgcolor='.$cfg['body_bgcolor'];
+ if (!$cfg['dhtml']){ echo ' link='.$cfg['body_txtcolor'].'
alink='.$cfg['body_alink'].' vlink='.$cfg['body_txtcolor']; }
+?>>
+
+<P>
+<img src="../../gui/img/common/default/lampboard.gif" border=0 align="middle">
+<FONT COLOR="<?php echo $cfg[top_txtcolor] ?>" SIZE=5 FACE="verdana"> <b>
<?php echo $title; ?></b></font>
+<p>
+<table width=100% border=0 cellpadding="0" cellspacing="0">
+
+<?php require($root_path.'include/helpers/inc_passcheck_mask.php') ?>
+
+<?php
+require($root_path.'include/helpers/inc_load_copyrite.php');
+?>
+
+</BODY>
+</HTML>
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