mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-14 09:58:16 +01:00
dont try to translate text from textfields when in listview
This commit is contained in:
parent
a5342d2eb1
commit
e4ef70dd02
@ -324,6 +324,7 @@ class customfields_widget
|
|||||||
$tmparray=array(
|
$tmparray=array(
|
||||||
'size' => intval($shown > 0 ? $shown : $max).','.intval($max),
|
'size' => intval($shown > 0 ? $shown : $max).','.intval($max),
|
||||||
'maxlength'=>intval($max),
|
'maxlength'=>intval($max),
|
||||||
|
'no_lang' => True,
|
||||||
);
|
);
|
||||||
if (is_array($field['values']))
|
if (is_array($field['values']))
|
||||||
{
|
{
|
||||||
@ -337,7 +338,8 @@ class customfields_widget
|
|||||||
else
|
else
|
||||||
{//textarea
|
{//textarea
|
||||||
$tmparray=array(
|
$tmparray=array(
|
||||||
'size' => $field['rows'].($field['len'] >0 ? ','.(int)$field['len'] : '')
|
'size' => $field['rows'].($field['len'] >0 ? ','.(int)$field['len'] : ''),
|
||||||
|
'no_lang' => True,
|
||||||
);
|
);
|
||||||
if (is_array($field['values']) && array_key_exists('readonly',$field['values']))
|
if (is_array($field['values']) && array_key_exists('readonly',$field['values']))
|
||||||
{
|
{
|
||||||
@ -348,7 +350,7 @@ class customfields_widget
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$input =& etemplate::empty_cell('label',$this->prefix.$lname);
|
$input =& etemplate::empty_cell('label',$this->prefix.$lname,array('no_lang' => True));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'date':
|
case 'date':
|
||||||
|
Loading…
Reference in New Issue
Block a user