projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A bit of cleanup in localization files.
[timetracker.git]
/
WEB-INF
/
lib
/
form
/
FloatField.class.php
diff --git
a/WEB-INF/lib/form/FloatField.class.php
b/WEB-INF/lib/form/FloatField.class.php
index
c4e9d9e
..
b11f4a1
100644
(file)
--- a/
WEB-INF/lib/form/FloatField.class.php
+++ b/
WEB-INF/lib/form/FloatField.class.php
@@
-29,17
+29,15
@@
import('form.TextField');
class FloatField extends TextField {
import('form.TextField');
class FloatField extends TextField {
-
var $mDelimiter = '.';
var $mFFormat;
var $mDelimiter = '.';
var $mFFormat;
- var $class = 'FloatField';
-
+
function __construct($name) {
function __construct($name) {
+ $this->class = 'FloatField';
$this->name = $name;
}
$this->name = $name;
}
- function setLocalization($i18n) {
- FormElement::setLocalization($i18n);
+ function localize($i18n) {
global $user;
$this->mDelimiter = $user->decimal_mark;
}
global $user;
$this->mDelimiter = $user->decimal_mark;
}