diff --git a/webapp_moderation.py b/webapp_moderation.py index 63889536b..46c5ba634 100644 --- a/webapp_moderation.py +++ b/webapp_moderation.py @@ -185,6 +185,22 @@ def htmlModerationInfo(cssCache: {}, translate: {}, blockedStr + '' infoForm += '' infoShown = True + + filtersFilename = baseDir + '/accounts/filters.txt' + if os.path.isfile(filtersFilename): + with open(filtersFilename, "r") as f: + filteredStr = f.read() + infoForm += '
' + infoForm += \ + '
' + \ + translate['Filtered words'] + '' + infoForm += \ + ' ' + infoForm += '
' + infoShown = True + if not infoShown: infoForm += \ '

' + \