diff --git a/files/__main__.py b/files/__main__.py
index de8ff43f9..4dce46db0 100644
--- a/files/__main__.py
+++ b/files/__main__.py
@@ -125,7 +125,7 @@ def after_request(response):
response.headers.add("Strict-Transport-Security", "max-age=31536000")
response.headers.add("X-Frame-Options", "deny")
- response.headers.add("Content-Security-Policy", "script-src 'self' 'unsafe-inline' 'unsafe-eval'; connect-src 'self' tls-use1.fpapi.io api.fpjs.io 02ddcc80-b8db-42be-9022-44c546b4dce6.pushnotifications.pusher.com; object-src 'none';")
+ response.headers.add("Content-Security-Policy", "script-src 'self'; connect-src 'self' tls-use1.fpapi.io api.fpjs.io 02ddcc80-b8db-42be-9022-44c546b4dce6.pushnotifications.pusher.com; object-src 'none';")
return response
from files.routes import *
\ No newline at end of file
diff --git a/files/templates/comments.html b/files/templates/comments.html
index 28b296911..39da7efe5 100644
--- a/files/templates/comments.html
+++ b/files/templates/comments.html
@@ -198,7 +198,11 @@
{% if c.active_flags %}{{c.active_flags}} Reports{% endif %}
{% if c.over_18 %}{% endif %}
{% if v and v.admin_level > 1 and c.author.shadowbanned %}{% endif %}
- {% if c.is_pinned %}{% endif %}
+ {% if c.is_pinned and c.is_pinned.startswith('t:') %}
+
+ {% elif c.is_pinned %}
+
+ {% endif %}
{% if c.distinguish_level %}{% endif %}
{% if c.is_op %}{% endif %}
{% if c.is_bot %}{% endif %}
@@ -761,36 +765,7 @@
{% include "expanded_image_modal.html" %}
-
-
-
+
{% if offset %}
{% if p %}
diff --git a/files/templates/submission.html b/files/templates/submission.html
index 09cb432c8..ebef13191 100644
--- a/files/templates/submission.html
+++ b/files/templates/submission.html
@@ -14,7 +14,7 @@
{% block title %}
{% if v and (v.id == p.author_id or v.admin_level > 1 and v.admin_level > 2) %}
-
+
{% endif %}
@@ -357,7 +357,13 @@
{% endfor %}
{% endif %}
{% if v and v.admin_level > 1 and p.author.shadowbanned %}{% endif %}
- {% if p.stickied %}{% endif %}
+
+ {% if p.stickied and p.stickied.startswith('t:') %}
+
+ {% elif p.stickied %}
+
+ {% endif %}
+
{% if p.is_pinned %}{% endif %}
{% if p.distinguish_level %} {% endif %}
{% if p.is_bot %} {% endif %}
@@ -827,30 +833,6 @@
-
-
{% if v and v.id==p.author_id %}
{% include "delete_post_modal.html" %}
{% endif %}
@@ -873,7 +855,7 @@
{% include "ban_modal.html" %}
{% endif %}
{% endif %}
-
+
{% include "expanded_image_modal.html" %}
{% endif %}
diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html
index 62cd0547a..41789c54b 100644
--- a/files/templates/submission_listing.html
+++ b/files/templates/submission_listing.html
@@ -57,23 +57,6 @@
-
-
{% set ups=p.upvotes %}
{% set downs=p.downvotes %}
{% set score=ups-downs %}
@@ -176,7 +159,13 @@
{% endfor %}
{% endif %}
{% if v and v.admin_level > 1 and p.author.shadowbanned %}{% endif %}
- {% if p.stickied %}{% endif %}
+
+ {% if p.stickied and p.stickied.startswith('t:') %}
+
+ {% elif p.stickied %}
+
+ {% endif %}
+
{% if p.distinguish_level %}{% endif %}
{% if p.is_pinned and request.path.startswith('/@') %}{% endif %}
{% if p.over_18 %}{% endif %}
@@ -662,4 +651,4 @@
-
\ No newline at end of file
+
\ No newline at end of file