From 556b5fa554b200b1c85321e52bce2e5471d83e27 Mon Sep 17 00:00:00 2001 From: Dieter Hametner Date: Wed, 6 Jun 2007 15:44:57 +0000 Subject: - Use GetConfigDir instead of USRDIR define. - Unification of table markup (still needs some tweaking). - Adaption of styles.css to new table CSS classes. --- pages/content.ecpp | 2 +- pages/edit_searchtimer.ecpp | 157 +++++++++++++++++++------------------------- pages/edit_timer.ecpp | 75 ++++++++------------- pages/schedule.ecpp | 44 +++++-------- pages/searchepg.ecpp | 50 +++++++------- pages/searchresults.ecpp | 39 +++++------ pages/searchtimers.ecpp | 41 +++++------- pages/setup.ecpp | 54 +++++++-------- pages/timers.ecpp | 46 ++++++------- pages/whats_on.ecpp | 55 +++++++--------- 10 files changed, 235 insertions(+), 328 deletions(-) (limited to 'pages') diff --git a/pages/content.ecpp b/pages/content.ecpp index 8f3cbbb..1438790 100644 --- a/pages/content.ecpp +++ b/pages/content.ecpp @@ -26,7 +26,7 @@ reply.setContentType(mime); // FileCache::ptr_type f = LiveFileCache().get("/tmp/live/" + request.getPathInfo()); string path(request.getPathInfo()); -FileCache::ptr_type f = LiveFileCache().get(USRDIR "/" + path); +FileCache::ptr_type f = LiveFileCache().get(Plugin::GetConfigDirectory() + "/" + path); if (f.get() == 0) { return DECLINED; } diff --git a/pages/edit_searchtimer.ecpp b/pages/edit_searchtimer.ecpp index 5d6fa9d..12fb250 100644 --- a/pages/edit_searchtimer.ecpp +++ b/pages/edit_searchtimer.ecpp @@ -457,24 +457,21 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
- - - +
<$ editsearchtimer ? tr("Edit search timer") : tr("New search timer") $>
+ + - - - - + + - - - + - - - - - + + - - - + - % if (extEPGInfos.size() > 0) { - - - +
<$ editsearchtimer ? tr("Edit search timer") : tr("New search timer") $>
<$ tr("Search term") $>:
<$ tr("Search term") $>:
<$ tr("Search mode" ) $>: +
<$ tr("Search mode" ) $>:
<$ tr("Match case") $>: id="matchcase"/>
<$ tr("Match case") $>:
id="matchcase"/>
<$ tr("Search in") $>: +
<$ tr("Search in") $>:
/> @@ -519,26 +512,22 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
<$ tr("Use extended EPG info" ) $>: +
<$ tr("Use extended EPG info" ) $>:
onclick="changeduseextepginfo(this)" id="useextepginfo"/>