mirror of https://gitlab.com/bashrc2/epicyon
Fewer lines
parent
de56a843cb
commit
48240a38bb
|
@ -1096,22 +1096,19 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str,
|
||||||
if mediaInstance:
|
if mediaInstance:
|
||||||
if mediaInstance is True:
|
if mediaInstance is True:
|
||||||
mediaInstanceStr = 'checked'
|
mediaInstanceStr = 'checked'
|
||||||
blogsInstanceStr = ''
|
blogsInstanceStr = newsInstanceStr = ''
|
||||||
newsInstanceStr = ''
|
|
||||||
|
|
||||||
newsInstance = getConfigParam(baseDir, "newsInstance")
|
newsInstance = getConfigParam(baseDir, "newsInstance")
|
||||||
if newsInstance:
|
if newsInstance:
|
||||||
if newsInstance is True:
|
if newsInstance is True:
|
||||||
newsInstanceStr = 'checked'
|
newsInstanceStr = 'checked'
|
||||||
blogsInstanceStr = ''
|
blogsInstanceStr = mediaInstanceStr = ''
|
||||||
mediaInstanceStr = ''
|
|
||||||
|
|
||||||
blogsInstance = getConfigParam(baseDir, "blogsInstance")
|
blogsInstance = getConfigParam(baseDir, "blogsInstance")
|
||||||
if blogsInstance:
|
if blogsInstance:
|
||||||
if blogsInstance is True:
|
if blogsInstance is True:
|
||||||
blogsInstanceStr = 'checked'
|
blogsInstanceStr = 'checked'
|
||||||
mediaInstanceStr = ''
|
mediaInstanceStr = newsInstanceStr = ''
|
||||||
newsInstanceStr = ''
|
|
||||||
|
|
||||||
filterStr = ''
|
filterStr = ''
|
||||||
filterFilename = \
|
filterFilename = \
|
||||||
|
|
Loading…
Reference in New Issue