From e46dedd2afcfec4282f5d8590b91bfdeb50d35ef Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 30 Oct 2020 18:33:33 +0000 Subject: [PATCH] Extra parameter --- daemon.py | 3 ++- webinterface.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/daemon.py b/daemon.py index 30dadca0..1eedc9b7 100644 --- a/daemon.py +++ b/daemon.py @@ -9548,7 +9548,8 @@ class PubServer(BaseHTTPRequestHandler): self.server.domainFull, self.server.httpPrefix, self.server.translate, - timelinePath).encode('utf-8') + timelinePath, + authorized).encode('utf-8') self._set_headers('text/html', len(msg), cookie, callingDomain) self._write(msg) self.server.GETbusy = False diff --git a/webinterface.py b/webinterface.py index 7e02237b..5953e240 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5928,7 +5928,7 @@ def getRightColumnContent(baseDir: str, nickname: str, domainFull: str, def htmlLinksMobile(cssCache: {}, baseDir: str, nickname: str, domainFull: str, httpPrefix: str, translate, - timelinePath: str) -> str: + timelinePath: str, authorized: bool) -> str: """Show the left column links within mobile view """ htmlStr = ''