AngelTypes_view: use mailto and tel links
This commit is contained in:
parent
ddcc9aee7a
commit
2c8fcbf506
|
@ -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']),
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue