forked from indymedia/epicyon
Don't allow scheduling of replies
parent
667aea1830
commit
84d7145922
|
@ -1118,7 +1118,10 @@ def htmlNewPost(mediaInstance: bool,translate: {}, \
|
|||
dateAndLocation=''
|
||||
if endpoint!='newshare' and endpoint!='newreport' and endpoint!='newquestion':
|
||||
dateAndLocation='<div class="container">'
|
||||
|
||||
if not inReplyTo:
|
||||
dateAndLocation+='<p><input type="checkbox" class="profilecheckbox" name="schedulePost"><label class="labels">'+translate['This is a scheduled post.']+'</label></p>'
|
||||
|
||||
dateAndLocation+='<p><img loading="lazy" alt="" title="" class="emojicalendar" src="/'+iconsDir+'/calendar.png"/>'
|
||||
dateAndLocation+='<label class="labels">'+translate['Date']+': </label>'
|
||||
dateAndLocation+='<input type="date" name="eventDate">'
|
||||
|
|
Loading…
Reference in New Issue