mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-01 02:15:12 +00:00
Showing blocked user agents
This commit is contained in:
1 parent
cc6ce5ee2b
commit
ffeaf52cc1
1 file changed
+4
-2
+4
-2
@@ -1582,8 +1582,10 @@ def _htmlEditProfileFiltering(baseDir: str, nickname: str, domain: str,
|
||||
allowedInstancesStr + '</textarea>\n'
|
||||
|
||||
userAgentsBlockedStr = ''
|
||||
if userAgentsBlocked:
|
||||
userAgentsBlockedStr = userAgentsBlocked.replace(',', '\n')
|
||||
for ua in userAgentsBlocked:
|
||||
if userAgentsBlockedStr:
|
||||
userAgentsBlockedStr += '\n'
|
||||
userAgentsBlockedStr += ua
|
||||
editProfileForm += \
|
||||
' <br><b><label class="labels">' + \
|
||||
translate['Blocked User Agents'] + '</label></b>\n'
|
||||
|
||||
Reference in new issue
Block a user