diff --git a/webinterface.py b/webinterface.py index e610ad6f..00ddb31c 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1678,14 +1678,7 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str, moderatorsStr = '' themesDropdown = '' - - # top banner - instanceStr = \ - '\n' - instanceStr += '\n' + instanceStr = ''; adminNickname = getConfigParam(baseDir, 'admin') if adminNickname: @@ -1803,6 +1796,15 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str, '" selected>') editProfileForm = htmlHeader(cssFilename, editProfileCSS) + + # top banner + editProfileForm += \ + '\n' + editProfileForm += '\n' + editProfileForm += \ '