add type to data form record loop

This commit is contained in:
Graham Knop 2007-09-13 19:49:19 +00:00
parent ad914d3a7e
commit a1e1d93360
4 changed files with 9 additions and 2 deletions

View file

@ -411,7 +411,8 @@ sub getListTemplateVars {
"record.data.name"=>$data->{name},
"record.data.label"=>$data->{label},
"record.data.value"=>$value,
"record.data.isMailField"=>$data->{isMailField}
"record.data.isMailField"=>$data->{isMailField},
"record_data_type" => $field->{type},
});
}
$dloop->finish;

View file

@ -172,7 +172,8 @@ our $HELP = {
{ 'name' => 'record.data.name' },
{ 'name' => 'record.data.label' },
{ 'name' => 'record.data.value' },
{ 'name' => 'record.data.isMailField' }
{ 'name' => 'record.data.isMailField' },
{ 'name' => 'record_data_type' },
]
}
]

View file

@ -726,6 +726,10 @@ below to see which template variables may be used inside this loop.|,
lastUpdated => 1149392138,
},
'record_data_type' => {
message => q|The data type associated with this field.|,
lastUpdated => 1189713018,
},
'24' => {
message => q|Possible Values|,
lastUpdated => 1031514049