Bug #1305 ยป themes-directory.patch
vdr-plugin-live/pages/setup.ecpp 2013-03-20 23:53:54.000000000 +0100 | ||
---|---|---|
<td class="rightcol"><select name="theme" size="1" id="theme">
|
||
<%cpp>
|
||
{
|
||
#if APIVERSNUM > 10729
|
||
const string dirPath(Plugin::GetResourceDirectory() + "/themes");
|
||
#else
|
||
const string dirPath(Plugin::GetConfigDirectory() + "/themes");
|
||
#endif
|
||
cReadDir d(dirPath.c_str());
|
||
struct dirent* e;
|
||
string parent("..");
|