From e4ef70dd02d4bdf3dde70e30d1001ce220b96c7a Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Mon, 4 Oct 2010 11:50:37 +0000 Subject: [PATCH] dont try to translate text from textfields when in listview --- etemplate/inc/class.customfields_widget.inc.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/etemplate/inc/class.customfields_widget.inc.php b/etemplate/inc/class.customfields_widget.inc.php index 996f89600a..b5408947ae 100644 --- a/etemplate/inc/class.customfields_widget.inc.php +++ b/etemplate/inc/class.customfields_widget.inc.php @@ -324,6 +324,7 @@ class customfields_widget $tmparray=array( 'size' => intval($shown > 0 ? $shown : $max).','.intval($max), 'maxlength'=>intval($max), + 'no_lang' => True, ); if (is_array($field['values'])) { @@ -337,7 +338,8 @@ class customfields_widget else {//textarea $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'])) { @@ -348,7 +350,7 @@ class customfields_widget } else { - $input =& etemplate::empty_cell('label',$this->prefix.$lname); + $input =& etemplate::empty_cell('label',$this->prefix.$lname,array('no_lang' => True)); } break; case 'date':