Revision: 6553 http://care2002.svn.sourceforge.net/care2002/?rev=6553&view=rev Author: mizuko Date: 2010-07-10 15:02:23 +0000 (Sat, 10 Jul 2010)
Log Message: ----------- see #49 Removed Paths: ------------- care2x/branches/gettext/main/editor-pass.php care2x/branches/gettext/main/edv.php Deleted: care2x/branches/gettext/main/editor-pass.php =================================================================== --- care2x/branches/gettext/main/editor-pass.php 2010-07-10 14:50:38 UTC (rev 6552) +++ care2x/branches/gettext/main/editor-pass.php 2010-07-10 15:02:23 UTC (rev 6553) @@ -1,114 +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.'include/helpers/inc_config_color.php'); - -require_once($root_path.'global_conf/areas_allow.php'); - -$allowedarea=&$allow_area['news']; - -$append="?sid=$sid&lang=$lang&target=$target&user_origin=$user_origin&title=".strtr($title," ","+"); - -$default_forward='editor-4plus1-select-art.php'.$append; - -$breakfile='newscolumns.php'.$append; - -$fileforward=$default_forward; -$lognote="$title+editor"; -$userck="ck_editor_user"; - - -/** -* This is the traffic controller -* All redirections must be coded here -*/ -switch($target) -{ - case "headline": $allowedarea[]='headline'; - $fileforward='headline-edit-select-art.php'.$append; - $breakfile=$root_path.'main/startframe.php'.URL_APPEND; - break; - case "cafenews": $allowedarea[]='cafenews'; - $fileforward='cafenews-edit-select.php'.$append; - $userck="ck_cafenews_user"; - $breakfile="cafenews.php?sid=".$sid."&lang=".$lang; - break; - case "management": $allowedarea[]="management"; - $breakfile="startframe.php?sid=$sid&lang=$lang&title=".strtr($title," ","+"); - break; - case "healthtips": $allowedarea[]="healthtip"; - break; - case "physiotherapy": $allowedarea[]="physiotherapy"; - break; - case "adv_studies": $allowedarea[]="advstudies"; - break; - case "prof_training": $allowedarea[]="proftraining"; - break; - case "events": $allowedarea[]="events"; - break; - case "patient_admission": $allowedarea[]="events"; - break; -} - - -$thisfile="editor-pass.php"; - -$passtag=0; - -//reset cookie; -// reset all 2nd level lock cookies -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=strtr($lognote,"+"," "); - -require($root_path.'include/helpers/inc_passcheck_head.php'); -?> -<?php echo setCharSet(); ?> -<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']; } ?>> -<P> - -<FONT COLOR=<?php echo $cfg[top_txtcolor] ?> SIZE=6 FACE="verdana"> <b><?php echo $title ?></b></font> - -<table width=100% border=0 cellpadding="0" cellspacing="0"> - -<?php require($root_path.'include/helpers/inc_passcheck_mask.php') ?> - -<p><br> - -</center> - -</td> -<td bgcolor=#333399><font size=1> </td> -</tr> - -<tr > -<td bgcolor="#333399" colspan=3><font size=1> - -</td> -</tr> -</table> -<FONT SIZE=2 FACE="Arial"> - -<p> -<HR> -<?php - // get a page into an array and echo it out -require("../language/".$lang."/".$lang."_copyrite.php"); - ?> - -</FONT> - - -</BODY> -</HTML> Deleted: care2x/branches/gettext/main/edv.php =================================================================== --- care2x/branches/gettext/main/edv.php 2010-07-10 14:50:38 UTC (rev 6552) +++ care2x/branches/gettext/main/edv.php 2010-07-10 15:02:23 UTC (rev 6553) @@ -1,9 +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'); - -require_once($root_path.'include/helpers/inc_environment_global.php'); -header('Location:'.$root_path.'modules/system_admin/admin.php?sid='.$sid.'&lang='.$lang); -exit; -?> 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