forked from indymedia/epicyon
Base directory parameter
parent
cfd346083a
commit
c0f6b2bc73
2
theme.py
2
theme.py
|
@ -1398,7 +1398,7 @@ def setTheme(baseDir: str, name: str, domain: str) -> bool:
|
||||||
|
|
||||||
prevThemeName = getTheme(baseDir)
|
prevThemeName = getTheme(baseDir)
|
||||||
|
|
||||||
themes = getThemesList()
|
themes = getThemesList(baseDir)
|
||||||
for themeName in themes:
|
for themeName in themes:
|
||||||
themeNameLower = themeName.lower()
|
themeNameLower = themeName.lower()
|
||||||
if name == themeNameLower:
|
if name == themeNameLower:
|
||||||
|
|
|
@ -1114,7 +1114,7 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str,
|
||||||
'style="height:200px">' + editors + '</textarea>'
|
'style="height:200px">' + editors + '</textarea>'
|
||||||
editorsStr += '</div>'
|
editorsStr += '</div>'
|
||||||
|
|
||||||
themes = getThemesList()
|
themes = getThemesList(baseDir)
|
||||||
themesDropdown = '<div class="container">'
|
themesDropdown = '<div class="container">'
|
||||||
themesDropdown += ' <b>' + translate['Theme'] + '</b><br>'
|
themesDropdown += ' <b>' + translate['Theme'] + '</b><br>'
|
||||||
grayscaleFilename = \
|
grayscaleFilename = \
|
||||||
|
|
Loading…
Reference in New Issue