diff --git a/webinterface.py b/webinterface.py
index b12b9183..694eec97 100644
--- a/webinterface.py
+++ b/webinterface.py
@@ -5773,7 +5773,8 @@ def getRightColumnContent(baseDir: str, nickname: str, domainFull: str,
domain = domain.split(':')
if authorized:
- # only show the publish button if logged in
+ # only show the publish button if logged in, otherwise replace it with
+ # a login button
publishButtonStr = \
' \n'
+ # show publish button at the top if needed
if publishButtonAtTop:
htmlStr += '
' + publishButtonStr + '
'
+ # show a column header image, eg. title of the theme or newswire banner
editImageClass = ''
if showHeaderImage:
rightColumnImageFilename = \
@@ -5821,6 +5824,8 @@ def getRightColumnContent(baseDir: str, nickname: str, domainFull: str,
if editImageClass == 'rightColEdit':
htmlStr += '\n