X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/e1703495130c8ed88fe210f50a2a6b453b3c566b..cd5e077ecb497431decde4835138b877d63b261c:/WEB-INF/lib/form/DateField.class.php diff --git a/WEB-INF/lib/form/DateField.class.php b/WEB-INF/lib/form/DateField.class.php index 3906db6c..ecfdaf92 100644 --- a/WEB-INF/lib/form/DateField.class.php +++ b/WEB-INF/lib/form/DateField.class.php @@ -33,15 +33,14 @@ class DateField extends TextField { var $mWeekStartDay = 0; var $mDateFormat = "d/m/Y"; var $lToday = "Today"; - var $mDateObj; - var $class = 'DateField'; var $lCalendarButtons = array('today'=>'Today', 'close'=>'Close'); function __construct($name) { - $this->name = $name; - $this->mDateObj = new DateAndTime(); + $this->class = 'DateField'; + $this->name = $name; + $this->mDateObj = new DateAndTime(); if (isset($GLOBALS["I18N"])) { $this->localize($GLOBALS["I18N"]);