From 6a4ab8c41121afa61373dc1fb0c3b9d8b60cf712 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 27 Mar 2020 14:32:27 +0000 Subject: [PATCH] Relative paths --- webinterface.py | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/webinterface.py b/webinterface.py index 90ebf8fa..bb7df330 100644 --- a/webinterface.py +++ b/webinterface.py @@ -3536,6 +3536,7 @@ def htmlTimeline(defaultTimeline: str, \ if ':' not in domain: fullDomain=domain+':'+str(port) actor=httpPrefix+'://'+fullDomain+'/users/'+nickname + usersPath='/users/'+nickname showIndividualPostIcons=True @@ -3618,70 +3619,70 @@ def htmlTimeline(defaultTimeline: str, \ # first button if defaultTimeline=='tlmedia': tlStr+= \ - ' ' elif defaultTimeline=='tlblogs': tlStr+= \ - ' ' else: tlStr+= \ - ' ' tlStr+= \ - ' ' tlStr+= \ - ' ' # typically the media button if defaultTimeline!='tlmedia': tlStr+= \ - ' ' else: tlStr+= \ - ' ' # typically the blogs button if defaultTimeline!='tlblogs': tlStr+= \ - ' ' else: tlStr+= \ - ' ' tlStr+= \ - ' ' tlStr+= \ sharesButtonStr+bookmarksButtonStr+moderationButtonStr+newPostButtonStr tlStr+= \ - ' '+ \
         translate['Search and follow']+'' tlStr+= \ - ' '+translate['Calendar']+'' tlStr+= \ - ' '+translate['Refresh']+'' @@ -3741,25 +3742,25 @@ def htmlTimeline(defaultTimeline: str, \ if todaysEventsCheck(baseDir,nickname,domain): now=datetime.now() tlStr+= \ - '
' if thisWeeksEventsCheck(baseDir,nickname,domain): tlStr+= \ - '' tlStr+='
' else: if thisWeeksEventsCheck(baseDir,nickname,domain): tlStr+= \ - '
' # page up arrow if pageNumber>1: tlStr+= \ - '