From 37ebdbb66df76415b75526580024a513d891b6c3 Mon Sep 17 00:00:00 2001 From: Daniel Winzen Date: Sun, 8 Oct 2023 18:05:54 +0200 Subject: [PATCH] Add terms of service --- www/index.php | 3 +-- www/register.php | 13 +++++++------ www/terms.php | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+), 8 deletions(-) create mode 100644 www/terms.php diff --git a/www/index.php b/www/index.php index a283a34..e33526c 100644 --- a/www/index.php +++ b/www/index.php @@ -16,7 +16,7 @@ global $language, $dir, $locale; - +

| | | | |

@@ -25,7 +25,6 @@ global $language, $dir, $locale;

'.htmlspecialchars(_('contact me')).'', CLEARNET_SERVER); ?>

'.htmlspecialchars(_('download GnuPG')).'', ''.htmlspecialchars(_('add it to your account')).''); ?>

'.htmlspecialchars(_('SquirrelMail')).'', ''.htmlspecialchars(_('SnappyMail')).''); ?>

-


diff --git a/www/register.php b/www/register.php index b20dd66..1e3d340 100644 --- a/www/register.php +++ b/www/register.php @@ -95,12 +95,10 @@ if ( isset( $_POST[ 'user' ] ) ) {

| | | | |

$msg

"; ?> -
+
-
+
@@ -111,9 +109,12 @@ if ( isset( $_POST[ 'user' ] ) ) {
-
-
+
+
+
+
+
diff --git a/www/terms.php b/www/terms.php new file mode 100644 index 0000000..e415803 --- /dev/null +++ b/www/terms.php @@ -0,0 +1,36 @@ + + +<?php echo htmlspecialchars(_('E-Mail and XMPP - Terms of Service')); ?> + + + + + + + + + + + + + + +
+

| | | | |

+
    +
  1. +
  2. +
  3. +
  4. +
  5. +
  6. +
  7. '.htmlspecialchars(_('contact me')).''); ?>
  8. +
  9. +
  10. +
  11. +
+
+