mirror of https://gitlab.com/bashrc2/epicyon
Citations before submit
parent
4a6c2dee03
commit
6c8e533c31
|
@ -2989,13 +2989,11 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {},
|
||||||
newPostForm += ' </div>\n'
|
newPostForm += ' </div>\n'
|
||||||
|
|
||||||
newPostForm += ' <div class="containerSubmitNewPost"><center>\n'
|
newPostForm += ' <div class="containerSubmitNewPost"><center>\n'
|
||||||
|
|
||||||
# newPostForm += \
|
# newPostForm += \
|
||||||
# ' <a href="' + pathBase + \
|
# ' <a href="' + pathBase + \
|
||||||
# '/inbox"><button class="cancelbtn">' + \
|
# '/inbox"><button class="cancelbtn">' + \
|
||||||
# translate['Go Back'] + '</button></a>\n'
|
# 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
|
# for a new blog if newswire items exist then add a citations button
|
||||||
if newswire and path.endswith('/newblog'):
|
if newswire and path.endswith('/newblog'):
|
||||||
|
@ -3003,6 +3001,10 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {},
|
||||||
' <input type="submit" name="submitCitations" value="' + \
|
' <input type="submit" name="submitCitations" value="' + \
|
||||||
translate['Citations'] + '">\n'
|
translate['Citations'] + '">\n'
|
||||||
|
|
||||||
|
newPostForm += \
|
||||||
|
' <input type="submit" name="submitPost" value="' + \
|
||||||
|
translate['Submit'] + '">\n'
|
||||||
|
|
||||||
newPostForm += ' </center></div>\n'
|
newPostForm += ' </center></div>\n'
|
||||||
|
|
||||||
newPostForm += replyStr
|
newPostForm += replyStr
|
||||||
|
|
Loading…
Reference in New Issue