Revision: 6431 http://care2002.svn.sourceforge.net/care2002/?rev=6431&view=rev Author: mizuko Date: 2010-06-30 08:51:37 +0000 (Wed, 30 Jun 2010)
Log Message: ----------- see #54 Added Paths: ----------- care2x/branches/gettext/modules/med_depot/medstock-orderbot-pass.php Removed Paths: ------------- care2x/branches/gettext/modules/med_depot/medlager-bestellbot-pass.php Deleted: care2x/branches/gettext/modules/med_depot/medlager-bestellbot-pass.php =================================================================== --- care2x/branches/gettext/modules/med_depot/medlager-bestellbot-pass.php 2010-06-30 08:50:58 UTC (rev 6430) +++ care2x/branches/gettext/modules/med_depot/medlager-bestellbot-pass.php 2010-06-30 08:51:37 UTC (rev 6431) @@ -1,63 +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','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'); -//gjergji -//$allowedarea=&$allow_area['depot']; -$userck="ck_medlager_user"; -$breakfile="medstock.php ".URL_APPEND."&userck=$userck"; -$fileforward="medstock.php ".URL_REDIRECT_APPEND."&userck=$userck&stb=1"; -$title=$LDMediBotActivate; -$thisfile="medstock-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'); -//gjergji -unset($allowedarea); -$allowedarea[] = '_a_2_meddepotreception'; -if ($pass=='check') include($root_path.'include/helpers/inc_passcheck.php'); -//end gjergji - -$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/box_arrow.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> Copied: care2x/branches/gettext/modules/med_depot/medstock-orderbot-pass.php (from rev 6430, care2x/branches/gettext/modules/med_depot/medlager-bestellbot-pass.php) =================================================================== --- care2x/branches/gettext/modules/med_depot/medstock-orderbot-pass.php (rev 0) +++ care2x/branches/gettext/modules/med_depot/medstock-orderbot-pass.php 2010-06-30 08:51:37 UTC (rev 6431) @@ -0,0 +1,63 @@ +<?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','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'); +//gjergji +//$allowedarea=&$allow_area['depot']; +$userck="ck_medlager_user"; +$breakfile="medstock.php ".URL_APPEND."&userck=$userck"; +$fileforward="medstock.php ".URL_REDIRECT_APPEND."&userck=$userck&stb=1"; +$title=$LDMediBotActivate; +$thisfile="medstock-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'); +//gjergji +unset($allowedarea); +$allowedarea[] = '_a_2_meddepotreception'; +if ($pass=='check') include($root_path.'include/helpers/inc_passcheck.php'); +//end gjergji + +$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/box_arrow.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 Care2002-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/care2002-developers