Browse Source

Update footer disclaimer

biotorrents 4 years ago
parent
commit
e4475e3e2a

+ 8
- 14
design/privatefooter.php View File

@@ -3,27 +3,21 @@ declare(strict_types=1);
3 3
 
4 4
 $ENV = ENV::go();
5 5
 $Sep = ' ';
6
-#$Sep = ' · ';
7 6
 
8 7
 # End <div#content>, begin <footer>
9 8
 # This needs to be <main>, in each page
10 9
 echo $HTML = '</div></main><footer>';
11 10
 
12
-/*
13 11
 # Disclaimer
14
-if (!empty($Options['disclaimer'])) {
12
+#if (!empty($Options['disclaimer'])) {
15 13
     echo $HTML = <<<HTML
16
-    <div id="disclaimer_container">
17
-      None of the files shown here are actually hosted on this server.
18
-      The links are provided solely by this site's users.
19
-      These BitTorrent files are meant for the distribution of backup files.
20
-      By downloading the BitTorrent file, you are claiming that you own the original file.
21
-      The administrator of this site ($ENV->SITE_DOMAIN) holds <em>no responsibility</em>
22
-      if these files are misused in any way and cannot be held responsible for what its users post.
14
+    <div id="disclaimer">
15
+      No data are hosted on $ENV->SITE_NAME's servers.
16
+      All torrents are user-generated content.
17
+      Torrents without a specified license may be protected by copyright.
23 18
     </div>
24 19
 HTML;
25
-}
26
-*/
20
+#}
27 21
 
28 22
 # Sessions
29 23
 if (count($UserSessions) > 1) {
@@ -104,9 +98,9 @@ echo $HTML = <<<HTML
104 98
 </p>
105 99
 HTML;
106 100
 
101
+# Start debug
107 102
 if (DEBUG_MODE || check_perms('site_debug')) {
108 103
     echo $HTML = <<<HTML
109
-<!-- Begin Debugging -->
110 104
 <div id="site_debug">
111 105
 HTML;
112 106
 
@@ -121,9 +115,9 @@ HTML;
121 115
 
122 116
     echo $HTML = <<<HTML
123 117
 </div>
124
-<!-- End Debugging -->
125 118
 HTML;
126 119
 }
120
+# End debug
127 121
 
128 122
 global $NotificationSpans;
129 123
 if (!empty($NotificationSpans)) {

+ 0
- 7
static/styles/bookish/scss/fonts.scss View File

@@ -195,13 +195,6 @@ ul.poll li {
195 195
     margin-bottom: 1rem;
196 196
 }
197 197
 
198
-/* Disclaimer */
199
-#disclaimer_container {
200
-    color: rgba(0, 0, 0, 0.5);
201
-    max-width: 50%;
202
-    margin: auto;
203
-}
204
-
205 198
 /* Alerts, Toolbox, etc. */
206 199
 .alertbar {
207 200
     a {

+ 7
- 0
static/styles/global/scss/fonts.scss View File

@@ -129,3 +129,10 @@ ol li ol li:before {
129 129
 ol li span {
130 130
     margin: 0 5px 0 -25px;
131 131
 }
132
+
133
+/* Disclaimer */
134
+#disclaimer {
135
+    max-width: 50%;
136
+    margin: auto;
137
+    text-align: center;
138
+}

+ 2
- 0
static/styles/postmod/scss/postmod.scss View File

@@ -304,10 +304,12 @@ ul.thin li {
304 304
     content: url($images + "gazelle.png");
305 305
 }
306 306
 
307
+/* 2021-02-11
307 308
 #disclaimer_container {
308 309
     font-size: 7pt;
309 310
     color: #ccc;
310 311
 }
312
+*/
311 313
 
312 314
 /* 2021-01-16
313 315
 #logo {

Loading…
Cancel
Save