' + \
+ translate['Graphic Design'] + '
\n'
+ graphicsStr += ''
+
+ # Themes section
+ themes = getThemesList(baseDir)
+ themesDropdown += '
\n'
+ grayscaleFilename = \
+ baseDir + '/accounts/.grayscale'
+ grayscale = ''
+ if os.path.isfile(grayscaleFilename):
+ grayscale = 'checked'
+ themesDropdown += \
+ ' ' + translate['Grayscale'] + '
'
+ themesDropdown += '
'
+ if os.path.isfile(baseDir + '/fonts/custom.woff') or \
+ os.path.isfile(baseDir + '/fonts/custom.woff2') or \
+ os.path.isfile(baseDir + '/fonts/custom.otf') or \
+ os.path.isfile(baseDir + '/fonts/custom.ttf'):
+ themesDropdown += \
+ ' ' + \
+ translate['Remove the custom font'] + '
'
+ themeName = getConfigParam(baseDir, 'theme')
+ themesDropdown = \
+ themesDropdown.replace('
\n'
+
if adminNickname:
if path.startswith('/users/' + adminNickname + '/'):
# Instance details section
@@ -1346,40 +1390,6 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str,
'