1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 21:02:09 +02:00

More cleanup

This commit is contained in:
CaMer0n
2012-06-01 08:09:14 +00:00
parent e886feef49
commit ef3a390732
13 changed files with 47 additions and 346 deletions

View File

@@ -1353,7 +1353,16 @@ class mailoutAdminClass extends e107MailManager
'name' => $calName,
'value' => (($calVal == '') ? '' : date($dispString,$calVal))
);
return $this->_cal->make_input_field($calOptions, $calAttrib);
list($dformat,$tformat) = explode(" ",$dateString);
$options['type'] = 'datetime';
$options['dateFormat'] = $dformat;
$options['timeFormat'] = $tformat;
return e107::getForm()->datepicker($calName,$calVal,$options);
// return $this->_cal->make_input_field($calOptions, $calAttrib);
}