diff options
| author | louis <louis.braun@gmx.de> | 2015-05-30 16:43:59 +0200 |
|---|---|---|
| committer | louis <louis.braun@gmx.de> | 2015-05-30 16:43:59 +0200 |
| commit | 17871b8811baa9478b2b3247e340aa21bb64e06e (patch) | |
| tree | c3c2139244bbb11d4f0cf3d32e02c1137e29a1c2 /libtemplate/xmlparser.c | |
| parent | 0936766c7be02661f1cd678fdd1b6fb22b5d122c (diff) | |
| download | vdr-plugin-skindesigner-17871b8811baa9478b2b3247e340aa21bb64e06e.tar.gz vdr-plugin-skindesigner-17871b8811baa9478b2b3247e340aa21bb64e06e.tar.bz2 | |
implemented Skin Repositories
Diffstat (limited to 'libtemplate/xmlparser.c')
| -rw-r--r-- | libtemplate/xmlparser.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libtemplate/xmlparser.c b/libtemplate/xmlparser.c index 4aa0a81..4db7ce5 100644 --- a/libtemplate/xmlparser.c +++ b/libtemplate/xmlparser.c @@ -320,13 +320,13 @@ string cXmlParser::GetPath(string xmlFile) { string activeTheme = Setup.OSDTheme; string path = ""; if (!xmlFile.compare("globals.xml")) { - path = *cString::sprintf("%s%s/%s", *config.skinPath, activeSkin.c_str(), xmlFile.c_str()); + path = *cString::sprintf("%s%s/%s", *config.GetSkinPath(activeSkin), activeSkin.c_str(), xmlFile.c_str()); } else if (!xmlFile.compare("theme.xml")) { - path = *cString::sprintf("%s%s/themes/%s/%s", *config.skinPath, activeSkin.c_str(), activeTheme.c_str(), xmlFile.c_str()); + path = *cString::sprintf("%s%s/themes/%s/%s", *config.GetSkinPath(activeSkin), activeSkin.c_str(), activeTheme.c_str(), xmlFile.c_str()); } else if (!xmlFile.compare("setup.xml")) { - path = *cString::sprintf("%s%s/%s", *config.skinPath, activeSkin.c_str(), xmlFile.c_str()); + path = *cString::sprintf("%s%s/%s", *config.GetSkinPath(activeSkin), activeSkin.c_str(), xmlFile.c_str()); } else { - path = *cString::sprintf("%s%s/xmlfiles/%s", *config.skinPath, activeSkin.c_str(), xmlFile.c_str()); + path = *cString::sprintf("%s%s/xmlfiles/%s", *config.GetSkinPath(activeSkin), activeSkin.c_str(), xmlFile.c_str()); } return path; } |
