mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
missing date/time customfield type
This commit is contained in:
parent
83e4306bce
commit
c60811c353
@ -46,6 +46,8 @@
|
||||
'select' => 'Selectbox',
|
||||
'radio' => 'Radiobutton',
|
||||
'checkbox' => 'Checkbox',
|
||||
'date' => 'Date',
|
||||
'date-time'=> 'Date+Time',
|
||||
'link-entry' => 'Select entry',
|
||||
);
|
||||
/**
|
||||
|
@ -136,6 +136,12 @@
|
||||
));
|
||||
}
|
||||
break;
|
||||
case 'date':
|
||||
case 'date-time':
|
||||
$input = &$tpl->new_cell($n,$field['type'],'',$this->prefix.$name,array(
|
||||
'size' => $field['len'] ? $field['len'] : ($field['type'] == 'date' ? 'Y-m-d' : 'Y-m-d H:i:s'),
|
||||
));
|
||||
break;
|
||||
case 'link-entry':
|
||||
default : // link-entry to given app
|
||||
$input = &$tpl->new_cell($n,'link-entry','',$this->prefix.$name,array(
|
||||
|
@ -29,6 +29,8 @@ class uicustomfields
|
||||
'select' => 'Selectbox',
|
||||
'radio' => 'Radiobutton',
|
||||
'checkbox' => 'Checkbox',
|
||||
'date' => 'Date',
|
||||
'date-time'=> 'Date+Time',
|
||||
'link-entry' => 'Select entry',
|
||||
);
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user