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; } } elseif ( str_contains($parsed['query'], 'ibr=y') ) { $action = $lang->ibr; } $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 ?>