Base setup for displaying groups and listing members

This commit is contained in:
2024-03-23 00:37:20 +01:00
parent c85d93e06f
commit abc3a2a0a0
16 changed files with 363 additions and 17 deletions

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>';
}