mirror of https://gitlab.com/bashrc2/epicyon
Extra argument
parent
27276b332b
commit
f9a511984c
|
@ -2333,6 +2333,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
msg=htmlNewPost(self.server.mediaInstance, \
|
msg=htmlNewPost(self.server.mediaInstance, \
|
||||||
self.server.translate, \
|
self.server.translate, \
|
||||||
self.server.baseDir, \
|
self.server.baseDir, \
|
||||||
|
self.server.httpPrefix, \
|
||||||
self.path,inReplyToUrl, \
|
self.path,inReplyToUrl, \
|
||||||
replyToList, \
|
replyToList, \
|
||||||
shareDescription, \
|
shareDescription, \
|
||||||
|
@ -5121,6 +5122,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
reportPath=self.path.replace('/personoptions','')+'/newdm'
|
reportPath=self.path.replace('/personoptions','')+'/newdm'
|
||||||
msg=htmlNewPost(False,self.server.translate, \
|
msg=htmlNewPost(False,self.server.translate, \
|
||||||
self.server.baseDir, \
|
self.server.baseDir, \
|
||||||
|
self.server.httpPrefix, \
|
||||||
reportPath,None, \
|
reportPath,None, \
|
||||||
[optionsActor],None, \
|
[optionsActor],None, \
|
||||||
pageNumber).encode()
|
pageNumber).encode()
|
||||||
|
@ -5162,6 +5164,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
reportPath=self.path.replace('/personoptions','')+'/newreport'
|
reportPath=self.path.replace('/personoptions','')+'/newreport'
|
||||||
msg=htmlNewPost(False,self.server.translate, \
|
msg=htmlNewPost(False,self.server.translate, \
|
||||||
self.server.baseDir, \
|
self.server.baseDir, \
|
||||||
|
self.server.httpPrefix, \
|
||||||
reportPath,None,[], \
|
reportPath,None,[], \
|
||||||
postUrl,pageNumber).encode()
|
postUrl,pageNumber).encode()
|
||||||
self._set_headers('text/html',len(msg),cookie)
|
self._set_headers('text/html',len(msg),cookie)
|
||||||
|
|
|
@ -930,7 +930,8 @@ def htmlSuspended(baseDir: str) -> str:
|
||||||
suspendedForm+=htmlFooter()
|
suspendedForm+=htmlFooter()
|
||||||
return suspendedForm
|
return suspendedForm
|
||||||
|
|
||||||
def htmlNewPost(mediaInstance: bool,translate: {},baseDir: str, \
|
def htmlNewPost(mediaInstance: bool,translate: {}, \
|
||||||
|
baseDir: str,httpPrefix: str, \
|
||||||
path: str,inReplyTo: str, \
|
path: str,inReplyTo: str, \
|
||||||
mentions: [], \
|
mentions: [], \
|
||||||
reportUrl: str,pageNumber: int) -> str:
|
reportUrl: str,pageNumber: int) -> str:
|
||||||
|
|
Loading…
Reference in New Issue