diff --git a/webinterface.py b/webinterface.py index b4435852c..ae27d4f7a 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2386,6 +2386,9 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {}, showPublicOnDropdown = True messageBoxHeight = 400 + # filename of the banner shown at the top + bannerFile, bannerFilename = getBannerFile(baseDir, nickname, domain) + if not path.endswith('/newshare'): if not path.endswith('/newreport'): if not inReplyTo or path.endswith('/newreminder'): @@ -2738,6 +2741,13 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {}, newPostForm = htmlHeader(cssFilename, newPostCSS) + newPostForm += \ + '\n' + newPostForm += '\n' + # only show the share option if this is not a reply shareOptionOnDropdown = '' questionOptionOnDropdown = '' @@ -2901,24 +2911,32 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {}, newPostForm += '
\n' newPostForm += ' \n' newPostForm += '\n' + newPostForm += \ ' \n' + + newPostForm += \ + ' \n' + newPostForm += ' \n' newPostForm += '
' + dropDownContent + '' + \
         translate['Search for emoji'] + '
\n' newPostForm += '
\n' + newPostForm += '
\n' - newPostForm += \ - ' \n' + # newPostForm += \ + # ' \n' newPostForm += \ ' \n' newPostForm += '
\n' + newPostForm += replyStr if mediaInstance and not replyStr: newPostForm += newPostImageSection