summaryrefslogtreecommitdiff
path: root/skins/deltab/program.tmpl
diff options
context:
space:
mode:
authorAndreas Brachold <vdr07@deltab.de>2008-01-20 12:31:09 +0000
committerAndreas Brachold <vdr07@deltab.de>2008-01-20 12:31:09 +0000
commit5f9ba6df6db7856102e987648d1a8eaef1b25bb6 (patch)
tree27b0910f092c15d2c0630985c7dbeadc5dc677a0 /skins/deltab/program.tmpl
parent35fadb3a6f3b3c7463abc8b68178a96216cda921 (diff)
downloadxxv-5f9ba6df6db7856102e987648d1a8eaef1b25bb6.tar.gz
xxv-5f9ba6df6db7856102e987648d1a8eaef1b25bb6.tar.bz2
* EPG/TIMERS/RECORDS : SQL-Query improve
Diffstat (limited to 'skins/deltab/program.tmpl')
-rw-r--r--skins/deltab/program.tmpl16
1 files changed, 9 insertions, 7 deletions
diff --git a/skins/deltab/program.tmpl b/skins/deltab/program.tmpl
index 1978892..b5da892 100644
--- a/skins/deltab/program.tmpl
+++ b/skins/deltab/program.tmpl
@@ -14,10 +14,10 @@
<?% ######################################################################## %?>
<?% BLOCK SetState %?>
<?% state = '' %?>
- <?% IF param.runningTimer.exists(id) %?>
+ <?% IF running %?>
<?% state = "running" %?>
- <?% ELSIF param.timers.exists(id) %?>
- <?% UNLESS param.timers.${id}.activ %?>
+ <?% ELSIF timerid %?>
+ <?% UNLESS recording %?>
<?% state = "deactive" %?>
<?% ELSE %?>
<?% state = "active" %?>
@@ -45,8 +45,8 @@
<a href="?cmd=search&amp;data=<?% url( title ) %?>">
<img src="images/find.<?% global.imagetyp %?>" alt="" title="<?% gettext("Search for repeats") %?>" />
</a>
- <?% IF param.timers.${id} && allow('tedit') %?>
- <a href="?cmd=tedit&amp;data=<?% param.timers.${id}.id %?>">
+ <?% IF timerid && allow('tedit') %?>
+ <a href="?cmd=tedit&amp;data=<?% timerid %?>">
<img src="images/onoff.<?% global.imagetyp %?>" alt="" title="<?% gettext("Edit this timer") %?>" />
</a>
<?% ELSIF allow('tnew') %?>
@@ -78,8 +78,10 @@
<?% FOREACH zeile = data %?>
<?% IF debug;"<!-- Item: ";FOREACH x = zeile;loop.count - 1;":";x.replace("-"," ");"|";END;"-->";END %?>
- <?% id=zeile.0;title=zeile.1;subtitle=zeile.2;start=zeile.3;stop=zeile.4;description=zeile.6;video=zeile.7;audio=zeile.8;pdc=zeile.9 %?>
- <?% day = date.format(zeile.5, "%A, %x", locale) %?>
+ <?% id=zeile.0;title=zeile.1;subtitle=zeile.2;start=zeile.3;stop=zeile.4;
+ description=zeile.6;video=zeile.7;audio=zeile.8;pdc=zeile.9;
+ timerid=zeile.10;recording=zeile.11;running=zeile.12;
+ day = date.format(zeile.5, "%A, %x", locale) %?>
<?% IF old.defined && day != old %?>
<tr>
<td colspan="12" align="left">