266
267
268
269
270
271
272
273
274
275
276
277
278
279
|
return '<a href="mailto:' . rawurlencode($v) . '">' . htmlspecialchars($v) . '</a>';
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 'multiple':
$out = [];
foreach ($config->options as $b => $name)
{
if ($v & (0x01 << $b))
$out[] = $name;
|
>
>
|
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
|
return '<a href="mailto:' . rawurlencode($v) . '">' . htmlspecialchars($v) . '</a>';
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::sqliteDateToFrench($v);
case 'multiple':
$out = [];
foreach ($config->options as $b => $name)
{
if ($v & (0x01 << $b))
$out[] = $name;
|