FIX css in search of extrafields
This commit is contained in:
parent
2f1ab1a003
commit
697b7d812c
@ -29,9 +29,9 @@ if (!empty($extrafieldsobjectkey)) { // $extrafieldsobject is the $object->table
|
|||||||
|
|
||||||
print '<td class="liste_titre'.($cssclass ? ' '.$cssclass : '').'">';
|
print '<td class="liste_titre'.($cssclass ? ' '.$cssclass : '').'">';
|
||||||
$tmpkey = preg_replace('/'.$search_options_pattern.'/', '', $key);
|
$tmpkey = preg_replace('/'.$search_options_pattern.'/', '', $key);
|
||||||
if (in_array($typeofextrafield, array('varchar', 'int', 'double')) && empty($extrafields->attributes[$extrafieldsobjectkey]['computed'][$key])) {
|
if (in_array($typeofextrafield, array('varchar', 'mail', 'ip', 'url', 'int', 'double')) && empty($extrafields->attributes[$extrafieldsobjectkey]['computed'][$key])) {
|
||||||
$searchclass = '';
|
$searchclass = '';
|
||||||
if (in_array($typeofextrafield, array('varchar'))) {
|
if (in_array($typeofextrafield, array('varchar', 'mail', 'ip', 'url'))) {
|
||||||
$searchclass = 'searchstring';
|
$searchclass = 'searchstring';
|
||||||
}
|
}
|
||||||
if (in_array($typeofextrafield, array('int', 'double'))) {
|
if (in_array($typeofextrafield, array('int', 'double'))) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user