From 8b2355c14356c968b5841a47bd29cbecfa26a7a5 Mon Sep 17 00:00:00 2001 From: Daisuke Date: Sat, 27 Nov 2021 15:31:52 -0600 Subject: [PATCH] 271121 Visibility Icon --- css/color.css | 4 +++- css/style.css | 2 +- index.php | 1 - modules/timeline.php | 4 ++-- themes/1994/css/color.css | 4 ++++ themes/ancientbird/css/color.css | 4 ++++ themes/bythebook/css/color.css | 4 ++++ themes/chicago/css/color.css | 4 ++++ themes/cuatro/css/color.css | 4 ++++ themes/custom/css/color.php | 4 ++++ themes/hitech/css/color.css | 4 ++++ themes/longhorn/css/color.css | 4 ++++ themes/mammoth/css/color.css | 4 ++++ themes/monad/css/color.css | 4 ++++ themes/phubbub/css/color.css | 4 ++++ themes/wetcat/css/color.css | 4 ++++ themes/whistler/css/color.css | 4 ++++ 17 files changed, 58 insertions(+), 5 deletions(-) diff --git a/css/color.css b/css/color.css index ced10e8..0097155 100644 --- a/css/color.css +++ b/css/color.css @@ -286,7 +286,9 @@ input[type="submit"] { content: ''; } - +.sensitive::after { + content: ''; +} .post_buttons { color: #404040; diff --git a/css/style.css b/css/style.css index 1f9b1a5..bb48f41 100644 --- a/css/style.css +++ b/css/style.css @@ -563,7 +563,7 @@ aside { border-radius: 3px; } -.postAge,.public:after,.unlisted:after,.private:after,.direct:after { +.postAge,.public:after,.unlisted:after,.private:after,.direct:after,.sensitive:after { font-size:12px; } diff --git a/index.php b/index.php index 722deb6..ff2e0f2 100644 --- a/index.php +++ b/index.php @@ -36,7 +36,6 @@ so grateful ini_set('display_errors', 1); ini_set("log_errors", 1); error_reporting(1); -ini_set("error_log", "php-error.log"); include "settings.php"; # the general settings of the FE include "include/init.php"; # initializes the page load with some variables and cookies diff --git a/modules/timeline.php b/modules/timeline.php index 7efa817..4e1ae97 100644 --- a/modules/timeline.php +++ b/modules/timeline.php @@ -235,7 +235,7 @@ if ((!isset($thread[0]['id']) && !empty($thread)) || !is_array($thread)) { foreach ($urls as $url) { parse_str(parse_url($url, PHP_URL_QUERY) , $my_array_of_vars); if (isset($my_array_of_vars['v'])) { - $post['media'] = ""; + $post['media'] = ""; } } } @@ -304,7 +304,7 @@ if ((!isset($thread[0]['id']) && !empty($thread)) || !is_array($thread)) { /* the code of the post footer (date, visibility and like/reblog buttons */ $post['footer'] = "
- " .time_elapsed_string($elem['created_at']) . " - + " .time_elapsed_string($elem['created_at']) . " -
" . ($logedin ? "" : "") . " diff --git a/themes/1994/css/color.css b/themes/1994/css/color.css index 7ac4a16..c19f39b 100644 --- a/themes/1994/css/color.css +++ b/themes/1994/css/color.css @@ -363,6 +363,10 @@ input[type="checkbox"]:checked+label { content: ''; } +.sensitive::after { + content: ''; +} + .notif .post_buttons { color: black; background-color:#efd7f3; diff --git a/themes/ancientbird/css/color.css b/themes/ancientbird/css/color.css index 09be391..8e7faf4 100644 --- a/themes/ancientbird/css/color.css +++ b/themes/ancientbird/css/color.css @@ -301,6 +301,10 @@ input[type="submit"] { content: ''; } +.sensitive::after { + content: ''; +} + .post_buttons { color: #0b82d2; } diff --git a/themes/bythebook/css/color.css b/themes/bythebook/css/color.css index 280009e..57a0615 100644 --- a/themes/bythebook/css/color.css +++ b/themes/bythebook/css/color.css @@ -285,6 +285,10 @@ input[type="submit"] { content: ''; } +.sensitive::after { + content: ''; +} + .post_buttons { color: #425f99; } diff --git a/themes/chicago/css/color.css b/themes/chicago/css/color.css index 1e27a9b..dd8bae3 100644 --- a/themes/chicago/css/color.css +++ b/themes/chicago/css/color.css @@ -390,6 +390,10 @@ input[type="submit"] { background-repeat:no-repeat; } +.sensitive::after { + content: ''; +} + .notif .post_buttons { color: black; background-color:#b8b8b8; diff --git a/themes/cuatro/css/color.css b/themes/cuatro/css/color.css index 8267a9c..6e47809 100644 --- a/themes/cuatro/css/color.css +++ b/themes/cuatro/css/color.css @@ -275,6 +275,10 @@ input[type="submit"] { content: ''; } +.sensitive::after { + content: ''; +} + .post_buttons { color: #425f99; } diff --git a/themes/custom/css/color.php b/themes/custom/css/color.php index 6dff70b..06a491e 100644 --- a/themes/custom/css/color.php +++ b/themes/custom/css/color.php @@ -323,6 +323,10 @@ input[type="submit"] { content: ''; } +.sensitive::after { + content: ''; +} + .post_buttons { color: #404040; } diff --git a/themes/hitech/css/color.css b/themes/hitech/css/color.css index 713fa4d..d833630 100644 --- a/themes/hitech/css/color.css +++ b/themes/hitech/css/color.css @@ -339,6 +339,10 @@ input[type="submit"]:hover { content: ''; } +.sensitive::after { + content: ''; +} + .post_buttons { color: #425f99; } diff --git a/themes/longhorn/css/color.css b/themes/longhorn/css/color.css index 25c05e5..bc7f111 100644 --- a/themes/longhorn/css/color.css +++ b/themes/longhorn/css/color.css @@ -392,6 +392,10 @@ button,.postform input[type="submit"],.reply input[type="submit"] { content: ''; } +.sensitive::after { + content: ''; +} + .post .post_buttons a{ color:white; } diff --git a/themes/mammoth/css/color.css b/themes/mammoth/css/color.css index 9f10d6d..b223473 100644 --- a/themes/mammoth/css/color.css +++ b/themes/mammoth/css/color.css @@ -106,6 +106,10 @@ input[type="text"]{ content: ''; } +.sensitive::after { + content: ''; +} + .unlisted::after { content: ''; } diff --git a/themes/monad/css/color.css b/themes/monad/css/color.css index 44020f9..045745c 100644 --- a/themes/monad/css/color.css +++ b/themes/monad/css/color.css @@ -119,6 +119,10 @@ input[type="checkbox"]:checked+label { content: ''; } +.sensitive::after { + content: ''; +} + .side_element li:hover { background-color: rgba(255, 255, 255, 0.25); } diff --git a/themes/phubbub/css/color.css b/themes/phubbub/css/color.css index 3a2db94..2b6254e 100644 --- a/themes/phubbub/css/color.css +++ b/themes/phubbub/css/color.css @@ -247,6 +247,10 @@ textarea,input[type="text"]{ content: ''; } +.sensitive::after { + content: ''; +} + .polloption{ display:block; margin:5px; diff --git a/themes/wetcat/css/color.css b/themes/wetcat/css/color.css index 5c80681..b42065b 100644 --- a/themes/wetcat/css/color.css +++ b/themes/wetcat/css/color.css @@ -406,6 +406,10 @@ button,.postform input[type="submit"],.reply input[type="submit"] { content: ''; } +.sensitive::after { + content: ''; +} + .notif .post_buttons { background-color:white; border: 1px solid #999999 !important; diff --git a/themes/whistler/css/color.css b/themes/whistler/css/color.css index 8324758..1d6a25a 100644 --- a/themes/whistler/css/color.css +++ b/themes/whistler/css/color.css @@ -399,6 +399,10 @@ input[type="submit"] { content: ''; } +.sensitive::after { + content: ''; +} + .post_footer .post_buttons a, .post_footer span{ color: #042eb8; }