diff --git a/epicyon.py b/epicyon.py
index 0b890c1d5..35680c59e 100644
--- a/epicyon.py
+++ b/epicyon.py
@@ -1916,7 +1916,7 @@ if minimumvotes:
votingtime = getConfigParam(baseDir, 'votingtime')
if votingtime:
args.votingtime = votingtime
-
+
YTDomain = getConfigParam(baseDir, 'youtubedomain')
if YTDomain:
if '://' in YTDomain:
diff --git a/webinterface.py b/webinterface.py
index e5e55d31c..def0b0255 100644
--- a/webinterface.py
+++ b/webinterface.py
@@ -1543,104 +1543,105 @@ def htmlEditProfile(translate: {}, baseDir: str, path: str,
moderatorsStr = ''
themesDropdown = ''
adminNickname = getConfigParam(baseDir, 'admin')
- if path.startswith('/users/' + adminNickname + '/'):
- instanceDescription = \
- getConfigParam(baseDir, 'instanceDescription')
- instanceDescriptionShort = \
- getConfigParam(baseDir, 'instanceDescriptionShort')
- instanceTitle = \
- getConfigParam(baseDir, 'instanceTitle')
- instanceStr = '
'
- moderators = ''
- moderatorsFile = baseDir + '/accounts/moderators.txt'
- if os.path.isfile(moderatorsFile):
- with open(moderatorsFile, "r") as f:
- moderators = f.read()
- moderatorsStr = ''
- moderatorsStr += ' ' + translate['Moderators'] + '
'
- moderatorsStr += ' ' + \
- translate['A list of moderator nicknames. One per line.']
- moderatorsStr += \
- ' '
- moderatorsStr += '
'
+ moderators = ''
+ moderatorsFile = baseDir + '/accounts/moderators.txt'
+ if os.path.isfile(moderatorsFile):
+ with open(moderatorsFile, "r") as f:
+ moderators = f.read()
+ moderatorsStr = ''
+ moderatorsStr += ' ' + translate['Moderators'] + '
'
+ moderatorsStr += ' ' + \
+ translate['A list of moderator nicknames. One per line.']
+ moderatorsStr += \
+ ' '
+ moderatorsStr += '
'
- themes = getThemesList()
- themesDropdown = ''
+ themeName = getConfigParam(baseDir, 'theme')
+ themesDropdown = \
+ themesDropdown.replace('