Citations before submit

merge-requests/8/head
Bob Mottram 2020-11-04 15:30:25 +00:00
parent 4a6c2dee03
commit 6c8e533c31
1 changed files with 5 additions and 3 deletions

View File

@ -2989,13 +2989,11 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {},
newPostForm += ' </div>\n'
newPostForm += ' <div class="containerSubmitNewPost"><center>\n'
# newPostForm += \
# ' <a href="' + pathBase + \
# '/inbox"><button class="cancelbtn">' + \
# translate['Go Back'] + '</button></a>\n'
newPostForm += \
' <input type="submit" name="submitPost" value="' + \
translate['Submit'] + '">\n'
# for a new blog if newswire items exist then add a citations button
if newswire and path.endswith('/newblog'):
@ -3003,6 +3001,10 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {},
' <input type="submit" name="submitCitations" value="' + \
translate['Citations'] + '">\n'
newPostForm += \
' <input type="submit" name="submitPost" value="' + \
translate['Submit'] + '">\n'
newPostForm += ' </center></div>\n'
newPostForm += replyStr