mirror of https://gitlab.com/bashrc2/epicyon
Quote position
parent
057251ae6f
commit
5388c6d70a
|
@ -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)
|
||||
|
|
|
@ -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>'
|
||||
|
|
Loading…
Reference in New Issue