Separate string rather then placeholder

main
Bob Mottram 2019-11-27 10:45:38 +00:00
parent 1506d1f519
commit 598e1b3d90
1 changed files with 2 additions and 1 deletions

View File

@ -2638,7 +2638,8 @@ def htmlTimeline(recentPostsCache: {},maxRecentPosts: int,
if moderator and boxName=='moderation':
tlStr+='<form method="POST" action="/users/'+nickname+'/moderationaction">'
tlStr+='<div class="container">\n'
tlStr+=' <input type="text" placeholder="'+translate['Nickname or URL. Block using *@domain or nickname@domain']+'" name="moderationAction" value="" autofocus>'
tlStr+=' <p>'+translate['Nickname or URL. Block using *@domain or nickname@domain']+'</p>\n'
tlStr+=' <input type="text" placeholder="" name="moderationAction" value="" autofocus>'
tlStr+=' <input type="submit" title="'+translate['Remove the above item']+'" name="submitRemove" value="'+translate['Remove']+'">'
tlStr+=' <input type="submit" title="'+translate['Suspend the above account nickname']+'" name="submitSuspend" value="'+translate['Suspend']+'">'
tlStr+=' <input type="submit" title="'+translate['Remove a suspension for an account nickname']+'" name="submitUnsuspend" value="'+translate['Unsuspend']+'">'