forked from indymedia/epicyon
Return to calendar
parent
dd83fa664b
commit
7d5800fd1b
|
@ -1536,7 +1536,14 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self.server.baseDir,self.path, \
|
self.server.baseDir,self.path, \
|
||||||
self.server.httpPrefix, \
|
self.server.httpPrefix, \
|
||||||
self.server.domainFull,
|
self.server.domainFull,
|
||||||
postId,postTime).encode()
|
postId,postTime)
|
||||||
|
if not msg:
|
||||||
|
actor= \
|
||||||
|
self.server.httpPrefix+'://'+self.server.domainFull+ \
|
||||||
|
self.path.split('/eventdelete')[0]
|
||||||
|
self._redirect_headers(actor+'/calendar',cookie)
|
||||||
|
return
|
||||||
|
msg=msg.encode()
|
||||||
self._set_headers('text/html',len(msg),cookie)
|
self._set_headers('text/html',len(msg),cookie)
|
||||||
self._write(msg)
|
self._write(msg)
|
||||||
self.server.GETbusy=False
|
self.server.GETbusy=False
|
||||||
|
|
|
@ -3402,7 +3402,7 @@ def htmlCalendarDeleteConfirm(translate: {},baseDir: str, \
|
||||||
deletePostStr+=' <input type="hidden" name="pageNumber" value="1">'
|
deletePostStr+=' <input type="hidden" name="pageNumber" value="1">'
|
||||||
deletePostStr+=' <input type="hidden" name="messageId" value="'+messageId+'">'
|
deletePostStr+=' <input type="hidden" name="messageId" value="'+messageId+'">'
|
||||||
deletePostStr+=' <button type="submit" class="button" name="submitYes">'+translate['Yes']+'</button>'
|
deletePostStr+=' <button type="submit" class="button" name="submitYes">'+translate['Yes']+'</button>'
|
||||||
deletePostStr+=' <a href="'+actor+'/inbox'+'"><button class="button">'+translate['No']+'</button></a>'
|
deletePostStr+=' <a href="'+actor+'/calendar'+'"><button class="button">'+translate['No']+'</button></a>'
|
||||||
deletePostStr+=' </form>'
|
deletePostStr+=' </form>'
|
||||||
deletePostStr+='</center>'
|
deletePostStr+='</center>'
|
||||||
deletePostStr+=htmlFooter()
|
deletePostStr+=htmlFooter()
|
||||||
|
|
Loading…
Reference in New Issue