Revision: 6638
http://care2002.svn.sourceforge.net/care2002/?rev=6638&view=rev
Author: mizuko
Date: 2010-07-26 10:56:46 +0000 (Mon, 26 Jul 2010)
Log Message:
-----------
fixed missing translations in admin ui
Modified Paths:
--------------
care2x/branches/gettext/include/helpers/inc_front_chain_lang.php
care2x/branches/gettext/language/en/lang_en_departments.php
care2x/branches/gettext/language/en/lang_en_edp.php
care2x/branches/gettext/modules/system_admin/admin_user_access_edit.php
Modified: care2x/branches/gettext/include/helpers/inc_front_chain_lang.php
===================================================================
--- care2x/branches/gettext/include/helpers/inc_front_chain_lang.php
2010-07-23 09:03:14 UTC (rev 6637)
+++ care2x/branches/gettext/include/helpers/inc_front_chain_lang.php
2010-07-26 10:56:46 UTC (rev 6638)
@@ -102,8 +102,14 @@
$dec_2level = new Crypt_HCEMD5($key_2level, '');
$clear_2sid =
$dec_2level->DecodeMimeSelfRand($_COOKIE[('ck_2level_sid'.$sid)]);
-
if(!$sid||($sid!=$clear_ck_sid)||($sid!=$clear_2sid)||!isset($_COOKIE[$local_user.$sid])||empty($_COOKIE[$local_user.$sid]))
$no_valid=1;
-
+ if( !$sid ||(
+ $sid!=$clear_ck_sid)||
+ ($sid!=$clear_2sid)||
+ !isset($_COOKIE[$local_user.$sid])||
+ empty($_COOKIE[$local_user.$sid])
+ ) {
+ $no_valid=1;
+ }
}elseif (!$sid||($sid!=$clear_ck_sid)){
$no_valid=1;
}else{
@@ -111,16 +117,13 @@
$_SESSION['sess_tos']=$tnow;
}
-
if ($no_valid) {
if(getLang('invalid-access-warning.php')) {
-
- header('Location:'.CARE_BASE
.'language/'.$lang.'/lang_'.$lang.'_invalid-access-warning.php');
+ header('Location:'.CARE_GUI
.'language/'.$lang.'/lang_'.$lang.'_invalid-access-warning.php');
}
else {
-
- header('Location:'.CARE_BASE
.'language/'.LANG_DEFAULT.'/lang_'.LANG_DEFAULT.'_invalid-access-warning.php');
+ header('Location:'.CARE_GUI
.'language/'.LANG_DEFAULT.'/lang_'.LANG_DEFAULT.'_invalid-access-warning.php');
}
exit;
Modified: care2x/branches/gettext/language/en/lang_en_departments.php
===================================================================
--- care2x/branches/gettext/language/en/lang_en_departments.php 2010-07-23
09:03:14 UTC (rev 6637)
+++ care2x/branches/gettext/language/en/lang_en_departments.php 2010-07-26
10:56:46 UTC (rev 6638)
@@ -8,7 +8,7 @@
$LDAdmission='Admission';
$LDNursing='Nursing';
/* 2003-04-27 EL */
-$LDMedical='MEdical';
+$LDMedical='Medical';
$LDSupport='Support';
$LDNews='News';
$LDDepartment='Department';
@@ -25,6 +25,9 @@
$LDPlsDeptID='Please write the Department ID';
$LDPlsSelectType='Please select the type';
+$LDIsPharmacy='Is Pharmacy ?';
+$LDPharmacy='Select the Pharmacy this department will use.';
+
$LDClose = 'Close';
$LDBack = 'Back';
$LDHelp = 'Help';
Modified: care2x/branches/gettext/language/en/lang_en_edp.php
===================================================================
--- care2x/branches/gettext/language/en/lang_en_edp.php 2010-07-23 09:03:14 UTC
(rev 6637)
+++ care2x/branches/gettext/language/en/lang_en_edp.php 2010-07-26 10:56:46 UTC
(rev 6638)
@@ -357,6 +357,8 @@
$LDCreateEditRoles='Create Role';
$LDWelcome='Wellcome';
$LDNursingManage='Wards administration';
+$LDRole = 'Role';
+$LDNewRole='New Role';
$LDClose = 'Close';
$LDBack = 'Back';
Modified:
care2x/branches/gettext/modules/system_admin/admin_user_access_edit.php
===================================================================
--- care2x/branches/gettext/modules/system_admin/admin_user_access_edit.php
2010-07-23 09:03:14 UTC (rev 6637)
+++ care2x/branches/gettext/modules/system_admin/admin_user_access_edit.php
2010-07-26 10:56:46 UTC (rev 6638)
@@ -308,7 +308,7 @@
<td>
<?php
if ($erroruser) {
- echo "<font color=red > <b>$LDUserId</b>" ;
+ echo "<font color=red > <b> $LDUserId</b>" ;
} else {
echo $LDUserId ;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
Care2002-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/care2002-developers