summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2013-04-04 21:22:57 +0200
committerDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2013-04-04 21:22:57 +0200
commitc8a125a7a86ea5621cb14ac6c1a6b6c2135d3a8b (patch)
treed5d3deb068710f4e6a414fbfe55ea99f30f78757 /pages
parent08becd23c6d7175f8bb0eb59b4348ee6eccf22be (diff)
downloadvdr-plugin-live-c8a125a7a86ea5621cb14ac6c1a6b6c2135d3a8b.tar.gz
vdr-plugin-live-c8a125a7a86ea5621cb14ac6c1a6b6c2135d3a8b.tar.bz2
Integrated themes directories usage suggested by e-tobi in bug entry #1305
Diffstat (limited to 'pages')
-rw-r--r--pages/setup.ecpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/pages/setup.ecpp b/pages/setup.ecpp
index edb88a7..9bb2261 100644
--- a/pages/setup.ecpp
+++ b/pages/setup.ecpp
@@ -265,7 +265,11 @@ if (!cUser::CurrentUserHasRightTo(UR_EDITSETUP))
<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("..");