From 668a3993ae28c12d99b60e281a192d0b8826fa29 Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Mon, 6 Jun 2022 16:28:40 +0000 Subject: recommend text: Put OS name inline. --- index.php | 7 +++++-- lang/en.json | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index 4a126df..b8a2b5b 100644 --- a/index.php +++ b/index.php @@ -23,7 +23,10 @@ $name = ucfirst(explode("@", substr($uri, 5))[0]); function t($template) { GLOBAL $name; - return str_replace('{{name}}', $name, $template); + GLOBAL $os; + $template = str_replace('{{name}}', $name, $template); + $template = str_replace('{{os}}', $os, $template); + return $template; } ?> @@ -52,7 +55,7 @@

clients; ?>

-

recommend; ?>

+

recommend); ?>

full list of XMPP clients for other platforms and devices.", "xmppis": "XMPP is a provider independent form of instant messaging. You can pick from many different clients and have a free choice of server operators to participate.", "":"" -- cgit 1.4.1