AngelTypes_view: use mailto and tel links

This commit is contained in:
Xu 2021-03-28 16:16:59 +02:00 committed by Igor Scheller
parent ddcc9aee7a
commit 2c8fcbf506
1 changed files with 2 additions and 2 deletions

View File

@ -478,8 +478,8 @@ function AngelTypes_render_contact_info($angeltype)
{
return heading(__('Contact'), 3) . description([
__('Name') => $angeltype['contact_name'],
__('DECT') => $angeltype['contact_dect'],
__('E-Mail') => $angeltype['contact_email']
__('DECT') => sprintf('<a href="tel:%s">%1$s</a>', $angeltype['contact_dect']),
__('E-Mail') => sprintf('<a href="mailto:%s">%1$s</a>', $angeltype['contact_email']),
]);
}