From e3cd6392d8bada55dde706c60133dc023c18da6b Mon Sep 17 00:00:00 2001 From: gravel Date: Tue, 14 Mar 2023 12:42:51 +0000 Subject: [PATCH] Tagging and links --- sites/+components/page-head.php | 3 +- sites/+components/tbl_communities.php | 25 +++++++++-------- sites/index.php | 40 ++++++++++++++++++++++++--- sites/instructions.php | 25 ++++++++++++----- 4 files changed, 69 insertions(+), 24 deletions(-) diff --git a/sites/+components/page-head.php b/sites/+components/page-head.php index 730c42f..ddf69b3 100644 --- a/sites/+components/page-head.php +++ b/sites/+components/page-head.php @@ -1,3 +1,4 @@ - \ No newline at end of file + + \ No newline at end of file diff --git a/sites/+components/tbl_communities.php b/sites/+components/tbl_communities.php index 42f6bec..6963f9f 100644 --- a/sites/+components/tbl_communities.php +++ b/sites/+components/tbl_communities.php @@ -6,7 +6,7 @@ // Join URL contents are not guaranteed to have visible text. return $id != "qr" && $id != "preview" && $id != "join_url"; } - + function sort_onclick($colno) { global $TABLE_COLUMNS; $column = $TABLE_COLUMNS[$colno]; @@ -14,7 +14,7 @@ $name = $column['name']; return " onclick='sortTable($colno)' title='Click to sort by $name'"; } - + $TABLE_COLUMNS = [ ['id' => "identifier", 'name' => "Identifier"], ['id' => "language", 'name' => "L"], @@ -54,15 +54,15 @@ $hostname = explode("/", $hostname)[0]; ?> - - + + language?> - name?> - name?> + description?> active_users?> - - + + preview_link, 'http://')): ?> HTTP @@ -72,16 +72,17 @@ - Pictogram of a QR code -
@@ -91,7 +92,7 @@
join_link, 32)?> - Copy link
diff --git a/sites/index.php b/sites/index.php index 240e572..a54074c 100644 --- a/sites/index.php +++ b/sites/index.php @@ -13,6 +13,7 @@ + Self-updating list of active Session communities @@ -21,6 +22,16 @@ Copy these Communities into the Session app and talk anonymously about Privacy, Security, or Cryptocurrency. "> + "> + + + + + +
@@ -29,6 +40,8 @@ Instructions
@@ -55,10 +68,16 @@

This site is not affiliated with - Oxen Privacy Tech Foundation. + Oxen Privacy Tech Foundation.
Communities shown are fetched automatically from - various sources. + various sources.
We make an attempt to hide communities containing objectionable or illegal content, but @@ -93,17 +112,30 @@ Host Your Own Community Session Terms Of Service + +

diff --git a/sites/instructions.php b/sites/instructions.php index 7ff46ba..fb4275d 100644 --- a/sites/instructions.php +++ b/sites/instructions.php @@ -1,17 +1,18 @@ +