X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/36e4e3e4b457c992317212738d10693c269a4f6e..61efd9d023ae34c1290ef2e1ae25829c509caaee:/mobile/user_edit.php diff --git a/mobile/user_edit.php b/mobile/user_edit.php index 4f3b9aaa..06cfdf95 100644 --- a/mobile/user_edit.php +++ b/mobile/user_edit.php @@ -137,13 +137,13 @@ class RateCellRenderer extends DefaultCellRenderer { global $assigned_projects; $field = new FloatField('rate_'.$table->getValueAtName($row,'id')); $field->setFormName($table->getFormName()); - $field->setLocalization($GLOBALS['I18N']); + $field->localize($GLOBALS['I18N']); $field->setSize(5); $field->setFormat('.2'); foreach ($assigned_projects as $p) { if ($p['id'] == $table->getValueAtName($row,'id')) $field->setValue($p['rate']); } - $this->setValue($field->toStringControl()); + $this->setValue($field->getHtml()); return $this->toString(); } }