Base setup for displaying groups and listing members

This commit is contained in:
th.guenther committed 2024-03-23 00:37:20 +01:00
1 parent c85d93e06f
commit abc3a2a0a0
16 files changed
+363 -17

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
<?php
function kompass_print_telephone_link(string $telephonnumber)
{
$numberInternational = $telephonnumber;
if (str_starts_with($numberInternational, '0')) {
$numberInternational = '+49' . substr($numberInternational,1);
}
echo '<a href="tel:' . $numberInternational . '">' . $telephonnumber . '</a>';
}