diff --git a/daemon.py b/daemon.py index d20f5ae73..7d661b16f 100644 --- a/daemon.py +++ b/daemon.py @@ -8347,7 +8347,8 @@ class PubServer(BaseHTTPRequestHandler): self.server.iconsAsButtons, self.server.rssIconAtTop, self.server.publishButtonAtTop, - authorized, moderationActionStr) + authorized, moderationActionStr, + self.server.themeName) msg = msg.encode('utf-8') self._set_headers('text/html', len(msg), cookie, callingDomain) diff --git a/webapp_moderation.py b/webapp_moderation.py index 51e38e3dd..6dad2b3a4 100644 --- a/webapp_moderation.py +++ b/webapp_moderation.py @@ -36,7 +36,8 @@ def htmlModeration(cssCache: {}, defaultTimeline: str, iconsAsButtons: bool, rssIconAtTop: bool, publishButtonAtTop: bool, - authorized: bool, moderationActionStr: str) -> str: + authorized: bool, moderationActionStr: str, + theme: str) -> str: """Show the moderation feed as html This is what you see when selecting the "mod" timeline """ @@ -50,7 +51,7 @@ def htmlModeration(cssCache: {}, defaultTimeline: str, newswire, False, False, positiveVoting, showPublishAsIcon, fullWidthTimelineButtonHeader, iconsAsButtons, rssIconAtTop, publishButtonAtTop, - authorized, moderationActionStr) + authorized, moderationActionStr, theme) def htmlAccountInfo(cssCache: {}, translate: {},