chat; if ( str_contains($uri, '?join') ) { $action = $lang->muc; } elseif ( str_contains($uri, '?register;') ) { $action = $lang->register; if ( str_contains($uri, "@") ) { $action = $lang->register_name; } } $parsed = parse_url($uri); $name = explode("@", $parsed['path'])[0]; $server = explode("@", $parsed['path'])[1] ?? $name; function t($template) { GLOBAL $name; GLOBAL $os; GLOBAL $server; $template = str_replace('{{name}}', $name, $template); $template = str_replace('{{Name}}', ucfirst($name), $template); $template = str_replace('{{os}}', $os, $template); $template = str_replace('{{server}}', $server, $template); return $template; } ?> <?= t($action->title) ?>

heading) ?>

button)?>

clients; ?>

recommend); ?>

checkfulllist ?>

xmppis ?>