530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
|
case 'tel':
return '<a href="tel:' . rawurlencode($v) . '">' . htmlspecialchars($v) . '</a>';
case 'url':
return '<a href="' . htmlspecialchars($v) . '">' . htmlspecialchars($v) . '</a>';
case 'country':
return Utils::getCountryName($v);
case 'date':
return Utils::date_fr($v);
case 'multiple':
// Useful for search results, if a value is not a number
if (!is_numeric($v)) {
return htmlspecialchars($v);
}
$out = [];
|
>
>
|
|
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
|
case 'tel':
return '<a href="tel:' . rawurlencode($v) . '">' . htmlspecialchars($v) . '</a>';
case 'url':
return '<a href="' . htmlspecialchars($v) . '">' . htmlspecialchars($v) . '</a>';
case 'country':
return Utils::getCountryName($v);
case 'date':
return Utils::date_fr($v, 'd/m/Y');
case 'datetime':
return Utils::date_fr($v, 'd/m/Y à H:i');
case 'multiple':
// Useful for search results, if a value is not a number
if (!is_numeric($v)) {
return htmlspecialchars($v);
}
$out = [];
|