forked from indymedia/epicyon
Delete post screen style
parent
9da512c879
commit
a2ec26c7d4
|
@ -1681,15 +1681,14 @@ def htmlDeletePost(session,baseDir: str,messageId: str, \
|
||||||
if not os.path.isfile(baseDir+'/accounts/delete-background.png'):
|
if not os.path.isfile(baseDir+'/accounts/delete-background.png'):
|
||||||
copyfile(baseDir+'/img/delete-background.png',baseDir+'/accounts/delete-background.png')
|
copyfile(baseDir+'/img/delete-background.png',baseDir+'/accounts/delete-background.png')
|
||||||
|
|
||||||
with open(baseDir+'/epicyon-follow.css', 'r') as cssFile:
|
with open(baseDir+'/epicyon-profile.css', 'r') as cssFile:
|
||||||
profileStyle = cssFile.read()
|
profileStyle = cssFile.read()
|
||||||
deletePostStr=htmlHeader(profileStyle)
|
deletePostStr=htmlHeader(profileStyle)
|
||||||
|
deletePostStr='<script>'+contentWarningScript()+'</script>'
|
||||||
deletePostStr+= \
|
deletePostStr+= \
|
||||||
individualPostAsHtml(baseDir,session,wfRequest,personCache, \
|
individualPostAsHtml(baseDir,session,wfRequest,personCache, \
|
||||||
nickname,domain,port,postJsonObject, \
|
nickname,domain,port,postJsonObject,None,True,False, \
|
||||||
None,True,False, \
|
httpPrefix,projectVersion,False,False)
|
||||||
httpPrefix,projectVersion, \
|
|
||||||
False,False)
|
|
||||||
deletePostStr+='<center>'
|
deletePostStr+='<center>'
|
||||||
deletePostStr+=' <p class="followText">Delete this post?</p>'
|
deletePostStr+=' <p class="followText">Delete this post?</p>'
|
||||||
deletePostStr+= \
|
deletePostStr+= \
|
||||||
|
|
Loading…
Reference in New Issue