mirror of https://gitlab.com/bashrc2/epicyon
Return to news timeline
parent
889d165aa6
commit
ea85cf4a9e
|
@ -2966,7 +2966,8 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
print('WARN: nickname not found in ' + actorStr)
|
print('WARN: nickname not found in ' + actorStr)
|
||||||
else:
|
else:
|
||||||
print('WARN: nickname is not an editor' + actorStr)
|
print('WARN: nickname is not an editor' + actorStr)
|
||||||
self._redirect_headers(actorStr, cookie, callingDomain)
|
self._redirect_headers(actorStr + '/tlnews',
|
||||||
|
cookie, callingDomain)
|
||||||
self.server.POSTbusy = False
|
self.server.POSTbusy = False
|
||||||
return
|
return
|
||||||
|
|
||||||
|
@ -2983,7 +2984,8 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
actorStr = \
|
actorStr = \
|
||||||
'http://' + i2pDomain + usersPath
|
'http://' + i2pDomain + usersPath
|
||||||
print('Maximum news data length exceeded ' + str(length))
|
print('Maximum news data length exceeded ' + str(length))
|
||||||
self._redirect_headers(actorStr, cookie, callingDomain)
|
self._redirect_headers(actorStr + 'tlnews',
|
||||||
|
cookie, callingDomain)
|
||||||
self.server.POSTbusy = False
|
self.server.POSTbusy = False
|
||||||
return
|
return
|
||||||
|
|
||||||
|
@ -3075,7 +3077,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
i2pDomain):
|
i2pDomain):
|
||||||
actorStr = \
|
actorStr = \
|
||||||
'http://' + i2pDomain + usersPath
|
'http://' + i2pDomain + usersPath
|
||||||
self._redirect_headers(actorStr + '/' + defaultTimeline,
|
self._redirect_headers(actorStr + '/tlnews',
|
||||||
cookie, callingDomain)
|
cookie, callingDomain)
|
||||||
self.server.POSTbusy = False
|
self.server.POSTbusy = False
|
||||||
|
|
||||||
|
|
|
@ -1399,7 +1399,7 @@ def htmlEditNewsPost(translate: {}, baseDir: str, path: str,
|
||||||
editNewsPostForm += \
|
editNewsPostForm += \
|
||||||
' <div class="container">\n'
|
' <div class="container">\n'
|
||||||
editNewsPostForm += \
|
editNewsPostForm += \
|
||||||
' <a href="' + pathOriginal + '"><button class="cancelbtn">' + \
|
' <a href="' + pathOriginal + '/tlnews"><button class="cancelbtn">' + \
|
||||||
translate['Go Back'] + '</button></a>\n'
|
translate['Go Back'] + '</button></a>\n'
|
||||||
editNewsPostForm += \
|
editNewsPostForm += \
|
||||||
' <input type="submit" name="submitEditedNewsPost" value="' + \
|
' <input type="submit" name="submitEditedNewsPost" value="' + \
|
||||||
|
|
Loading…
Reference in New Issue