forked from indymedia/epicyon
Set publish icon state after theme change
parent
36666db02d
commit
b2dd7e890b
|
@ -3476,6 +3476,9 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
setTheme(baseDir,
|
setTheme(baseDir,
|
||||||
fields['themeDropdown'],
|
fields['themeDropdown'],
|
||||||
domain)
|
domain)
|
||||||
|
self.server.showPublishAsIcon = \
|
||||||
|
getConfigParam(self.server.baseDir,
|
||||||
|
'showPublishAsIcon')
|
||||||
setNewsAvatar(baseDir,
|
setNewsAvatar(baseDir,
|
||||||
fields['themeDropdown'],
|
fields['themeDropdown'],
|
||||||
httpPrefix,
|
httpPrefix,
|
||||||
|
@ -3820,6 +3823,9 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
currTheme = getTheme(baseDir)
|
currTheme = getTheme(baseDir)
|
||||||
if currTheme:
|
if currTheme:
|
||||||
setTheme(baseDir, currTheme, domain)
|
setTheme(baseDir, currTheme, domain)
|
||||||
|
self.server.showPublishAsIcon = \
|
||||||
|
getConfigParam(self.server.baseDir,
|
||||||
|
'showPublishAsIcon')
|
||||||
|
|
||||||
# only receive DMs from accounts you follow
|
# only receive DMs from accounts you follow
|
||||||
followDMsFilename = \
|
followDMsFilename = \
|
||||||
|
|
Loading…
Reference in New Issue