Revision: 6412 http://care2002.svn.sourceforge.net/care2002/?rev=6412&view=rev Author: mizuko Date: 2010-06-29 18:52:45 +0000 (Tue, 29 Jun 2010)
Log Message: ----------- see #54 Added Paths: ----------- care2x/branches/gettext/modules/op_document/op-docu-pass.php Removed Paths: ------------- care2x/branches/gettext/modules/op_document/op-doku-pass.php Copied: care2x/branches/gettext/modules/op_document/op-docu-pass.php (from rev 6411, care2x/branches/gettext/modules/op_document/op-doku-pass.php) =================================================================== --- care2x/branches/gettext/modules/op_document/op-docu-pass.php (rev 0) +++ care2x/branches/gettext/modules/op_document/op-docu-pass.php 2010-06-29 18:52:45 UTC (rev 6412) @@ -0,0 +1,76 @@ +<?php +error_reporting(E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR); +require('./roots.php'); +require($root_path.'include/helpers/inc_environment_global.php'); +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['op_docs']; + +$thisfile=basename(__FILE__); + +switch($target) +{ + case 'search':$fileforward.="op-doku-search.php?sid=$sid&lang=$lang&target=search"; + $lognote="search"; + break; + case 'archiv':$fileforward.="op-docu-archive.php?sid=$sid&lang=$lang&target=archiv"; + $lognote="archive"; + break; + default:$fileforward.="op-doku-start.php?sid=$sid&lang=$lang&target=entry"; + $target="entry"; +} + +$lognote="OP docs $lognote ok"; + +$breakfile=$root_path.'main/op-doku.php'.URL_APPEND; + +$userck='ck_opdoku_user'; + +//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,""); + +require($root_path.'include/helpers/inc_passcheck_internchk.php'); +if ($pass=='check') + include($root_path.'include/helpers/inc_passcheck.php'); + +$errbuf="OP docs $target"; + +require($root_path.'include/helpers/inc_passcheck_head.php'); +?> +<BODY onLoad="document.passwindow.userid.focus();" bgcolor=<?php echo $cfg['body_bgcolor']; ?> +<?php if (!$cfg['dhtml']){ echo ' link='.$cfg['idx_txtcolor'].' alink='.$cfg['body_alink'].' vlink='.$cfg['idx_txtcolor']; } ?>> + +<FONT SIZE=-1 FACE="Arial"> + +<P> + +<img <?php echo createComIcon($root_path,'swimring.gif','0','top') ?>> +<FONT COLOR="<?php echo $cfg[top_txtcolor] ?>" SIZE=6 FACE="verdana"> <b><?php echo $LDOrDocu ?></b></font> + +<table width=100% border=0 cellpadding="0" cellspacing="0"> +<tr> + +<td colspan=3><?php if($target=="entry") echo '<img '.createLDImgSrc($root_path,'newdata-b.gif','0').'>'; + else echo'<a href="op-docu-pass.php?sid='.$sid.'&lang='.$lang.'&target=entry"><img '.createLDImgSrc($root_path,'newdata-gray.gif','0').'></a>'; + if($target=="search") echo '<img '.createLDImgSrc($root_path,'such-b.gif','0').'>'; + else echo '<a href="op-docu-pass.php?sid='.$sid.'&lang='.$lang.'&target=search"><img '.createLDImgSrc($root_path,'such-gray.gif','0').'></a>'; + if($target=="archiv") echo '<img '.createLDImgSrc($root_path,'arch-blu.gif','0').'>'; + else echo '<a href="op-docu-pass.php?sid='.$sid.'&lang='.$lang.'&target=archiv"><img '.createLDImgSrc($root_path,'arch-gray.gif','0').'></a>'; + ?></td> +</tr> + +<?php require($root_path.'include/helpers/inc_passcheck_mask.php') ?> +<?php +require($root_path.'include/helpers/inc_load_copyrite.php'); +?> + +</FONT> + + +</BODY> +</HTML> Deleted: care2x/branches/gettext/modules/op_document/op-doku-pass.php =================================================================== --- care2x/branches/gettext/modules/op_document/op-doku-pass.php 2010-06-29 18:52:12 UTC (rev 6411) +++ care2x/branches/gettext/modules/op_document/op-doku-pass.php 2010-06-29 18:52:45 UTC (rev 6412) @@ -1,76 +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'); -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['op_docs']; - -$thisfile=basename(__FILE__); - -switch($target) -{ - case 'search':$fileforward.="op-doku-search.php?sid=$sid&lang=$lang&target=search"; - $lognote="search"; - break; - case 'archiv':$fileforward.="op-docu-archive.php?sid=$sid&lang=$lang&target=archiv"; - $lognote="archive"; - break; - default:$fileforward.="op-doku-start.php?sid=$sid&lang=$lang&target=entry"; - $target="entry"; -} - -$lognote="OP docs $lognote ok"; - -$breakfile=$root_path.'main/op-doku.php'.URL_APPEND; - -$userck='ck_opdoku_user'; - -//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,""); - -require($root_path.'include/helpers/inc_passcheck_internchk.php'); -if ($pass=='check') - include($root_path.'include/helpers/inc_passcheck.php'); - -$errbuf="OP docs $target"; - -require($root_path.'include/helpers/inc_passcheck_head.php'); -?> -<BODY onLoad="document.passwindow.userid.focus();" bgcolor=<?php echo $cfg['body_bgcolor']; ?> -<?php if (!$cfg['dhtml']){ echo ' link='.$cfg['idx_txtcolor'].' alink='.$cfg['body_alink'].' vlink='.$cfg['idx_txtcolor']; } ?>> - -<FONT SIZE=-1 FACE="Arial"> - -<P> - -<img <?php echo createComIcon($root_path,'swimring.gif','0','top') ?>> -<FONT COLOR="<?php echo $cfg[top_txtcolor] ?>" SIZE=6 FACE="verdana"> <b><?php echo $LDOrDocu ?></b></font> - -<table width=100% border=0 cellpadding="0" cellspacing="0"> -<tr> - -<td colspan=3><?php if($target=="entry") echo '<img '.createLDImgSrc($root_path,'newdata-b.gif','0').'>'; - else echo'<a href="op-docu-pass.php?sid='.$sid.'&lang='.$lang.'&target=entry"><img '.createLDImgSrc($root_path,'newdata-gray.gif','0').'></a>'; - if($target=="search") echo '<img '.createLDImgSrc($root_path,'such-b.gif','0').'>'; - else echo '<a href="op-docu-pass.php?sid='.$sid.'&lang='.$lang.'&target=search"><img '.createLDImgSrc($root_path,'such-gray.gif','0').'></a>'; - if($target=="archiv") echo '<img '.createLDImgSrc($root_path,'arch-blu.gif','0').'>'; - else echo '<a href="op-docu-pass.php?sid='.$sid.'&lang='.$lang.'&target=archiv"><img '.createLDImgSrc($root_path,'arch-gray.gif','0').'></a>'; - ?></td> -</tr> - -<?php require($root_path.'include/helpers/inc_passcheck_mask.php') ?> -<?php -require($root_path.'include/helpers/inc_load_copyrite.php'); -?> - -</FONT> - - -</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