FIX CSS
Conflicts: htdocs/core/tpl/extrafields_list_search_input.tpl.php
This commit is contained in:
parent
d0d884742f
commit
d2881eb85b
@ -1557,7 +1557,7 @@ class ExtraFields
|
|||||||
{
|
{
|
||||||
$param_list=array_keys($param['options']); // $param_list='ObjectName:classPath'
|
$param_list=array_keys($param['options']); // $param_list='ObjectName:classPath'
|
||||||
$showempty=(($required && $default != '')?0:1);
|
$showempty=(($required && $default != '')?0:1);
|
||||||
$out=$form->selectForForms($param_list[0], $keyprefix.$key.$keysuffix, $value, $showempty);
|
$out=$form->selectForForms($param_list[0], $keyprefix.$key.$keysuffix, $value, $showempty, '', '', $morecss);
|
||||||
}
|
}
|
||||||
elseif ($type == 'password')
|
elseif ($type == 'password')
|
||||||
{
|
{
|
||||||
|
|||||||
@ -36,7 +36,7 @@ if (! empty($extrafieldsobjectkey)) // $extrafieldsobject is the $object->table_
|
|||||||
{
|
{
|
||||||
// for the type as 'checkbox', 'chkbxlst', 'sellist' we should use code instead of id (example: I declare a 'chkbxlst' to have a link with dictionnairy, I have to extend it with the 'code' instead 'rowid')
|
// for the type as 'checkbox', 'chkbxlst', 'sellist' we should use code instead of id (example: I declare a 'chkbxlst' to have a link with dictionnairy, I have to extend it with the 'code' instead 'rowid')
|
||||||
$morecss='';
|
$morecss='';
|
||||||
if ($typeofextrafield == 'sellist') $morecss='maxwidth200';
|
if (in_array($typeofextrafield, array('link', 'sellist'))) $morecss='maxwidth200';
|
||||||
echo $extrafields->showInputField($key, $search_array_options[$search_options_pattern.$tmpkey], '', '', $search_options_pattern, $morecss);
|
echo $extrafields->showInputField($key, $search_array_options[$search_options_pattern.$tmpkey], '', '', $search_options_pattern, $morecss);
|
||||||
}
|
}
|
||||||
elseif (in_array($typeofextrafield, array('datetime','timestamp')))
|
elseif (in_array($typeofextrafield, array('datetime','timestamp')))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user