From 3a82baec9d793edf81ac2b151b0f4d4159641375 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Mon, 1 Apr 2024 11:09:25 -0400 Subject: login and register, liking on homepage --- src/web/helper/lang.php | 77 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 src/web/helper/lang.php (limited to 'src/web/helper/lang.php') diff --git a/src/web/helper/lang.php b/src/web/helper/lang.php new file mode 100644 index 0000000..48acba9 --- /dev/null +++ b/src/web/helper/lang.php @@ -0,0 +1,77 @@ + $attr) { + echo $key . '="' . $attr . '" '; + } + echo '> '; + if ($icon) { + echo ''; + if ($content) { + echo $content; + } + echo ''; + } + if ($text) { + echo '' . $text . ''; + } + if ($click || $button) { + echo ''; + } else { + echo ''; + } +} -- cgit v1.2.3-freya