Quote position

main2
Bob Mottram 2019-11-06 11:55:22 +00:00
parent 057251ae6f
commit 5388c6d70a
2 changed files with 5 additions and 5 deletions

View File

@ -4049,9 +4049,9 @@ class PubServer(BaseHTTPRequestHandler):
self.server.POSTbusy=False
return
if '&submitSnooze=' in optionsConfirmParams:
if self.server.debug:
print('Snoozing '+optionsActor)
thisActor=self.path.split('/personoptions')[0]
if self.server.debug:
print('Snoozing '+optionsActor+' '+thisActor)
if '/users/' in thisActor:
nickname=thisActor.split('/users/')[1]
personSnooze(self.server.baseDir,nickname,self.server.domain,optionsActor)
@ -4059,9 +4059,9 @@ class PubServer(BaseHTTPRequestHandler):
'/inbox?page='+str(pageNumber),cookie)
self.server.POSTbusy=False
if '&submitUnSnooze=' in optionsConfirmParams:
if self.server.debug:
print('Unsnoozing '+optionsActor)
thisActor=self.path.split('/personoptions')[0]
if self.server.debug:
print('Unsnoozing '+optionsActor+' '+thisActor)
if '/users/' in thisActor:
nickname=thisActor.split('/users/')[1]
personUnsnooze(self.server.baseDir,nickname,self.server.domain,optionsActor)

View File

@ -2893,7 +2893,7 @@ def htmlPersonOptions(translate: {},baseDir: str, \
' <button type="submit" class="button" name="submit'+followStr+'">'+translate[followStr]+'</button>' \
' <button type="submit" class="button" name="submit'+blockStr+'">'+translate[blockStr]+'</button>' \
' <button type="submit" class="button" name="submitDM">'+translate['DM']+'</button>'+ \
' <button type="submit" class="button" name="submit"'+snoozeButtonStr+'>'+translate[snoozeButtonStr]+'</button>' \
' <button type="submit" class="button" name="submit'+snoozeButtonStr+'">'+translate[snoozeButtonStr]+'</button>' \
' <button type="submit" class="button" name="submitReport">'+translate['Report']+'</button>' \
' </form>'
optionsStr+='</center>'