Skip to Content.
Sympa Menu

comanage-dev - Re: [comanage-dev] r228 - registry/trunk/app/View/CoNsfDemographics

Subject: COmanage Developers List

List archive

Re: [comanage-dev] r228 - registry/trunk/app/View/CoNsfDemographics


Chronological Thread 
  • From: Benn Oshrin <>
  • To:
  • Subject: Re: [comanage-dev] r228 - registry/trunk/app/View/CoNsfDemographics
  • Date: Thu, 16 Feb 2012 20:23:18 -0500

Sorry about this... this was probably copy and paste errors when I was reformatting all the selects.

On 2/16/12 3:26 PM,

wrote:
Author: marie
Date: 2012-02-16 15:26:13 -0500 (Thu, 16 Feb 2012)
New Revision: 228

Modified:
registry/trunk/app/View/CoNsfDemographics/fields.inc
Log:
co-243

Modified: registry/trunk/app/View/CoNsfDemographics/fields.inc
===================================================================
--- registry/trunk/app/View/CoNsfDemographics/fields.inc 2012-02-16
19:45:38 UTC (rev 227)
+++ registry/trunk/app/View/CoNsfDemographics/fields.inc 2012-02-16
20:26:13 UTC (rev 228)
@@ -119,19 +119,19 @@
</td>
<td>
<?php
- $attrs['value'] = (isset($co_nsf_demographics) ?
$co_nsf_demographics[0]['CoNsfDemographic']['citizenship'] : '');
+ $attrs['value'] = (isset($co_nsf_demographics) ?
$co_nsf_demographics[0]['CoNsfDemographic']['citizen'] : '');
$attrs['empty'] = false;

if($e) {
print $this->Form->select('citizenship',
- $cm_texts[ $cm_lang
]['en.nsf.citizenship'],
+ $cm_texts[ $cm_lang
]['en.nsf.citizen'],
$attrs);

if($this->Form->isFieldError('citizenship')) {
print $this->Form->error('citizenship');
}
} else {
- print _txt('en.nsf.citizenship', null,
$CoNsfDemographics[0]['CoNsfDemographic']['citizenship']);
+ print _txt('en.nsf.citizen', null,
$CoNsfDemographics[0]['CoNsfDemographic']['citizenship']);
}
?>
</td>
@@ -147,14 +147,14 @@

if($e) {
print $this->Form->select('ethnicity',
- $cm_texts[ $cm_lang
]['en.nsf.ethnicity'],
+ $cm_texts[ $cm_lang ]['en.nsf.ethnic'],
$attrs);

if($this->Form->isFieldError('ethnicity')) {
print $this->Form->error('ethnicity');
}
} else {
- print _txt('en.nsf.ethnicity', null,
$CoNsfDemographics[0]['CoNsfDemographic']['ethnicity']);
+ print _txt('en.nsf.ethnic', null,
$CoNsfDemographics[0]['CoNsfDemographic']['ethnicity']);
}
?>
</td>





Archive powered by MHonArc 2.6.16.

Top of Page