summaryrefslogtreecommitdiff
path: root/skins/stone_flat/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/stone_flat/program.tmpl
parent35fadb3a6f3b3c7463abc8b68178a96216cda921 (diff)
downloadxxv-5f9ba6df6db7856102e987648d1a8eaef1b25bb6.tar.gz
xxv-5f9ba6df6db7856102e987648d1a8eaef1b25bb6.tar.bz2
* EPG/TIMERS/RECORDS : SQL-Query improve
Diffstat (limited to 'skins/stone_flat/program.tmpl')
-rw-r--r--skins/stone_flat/program.tmpl16
1 files changed, 9 insertions, 7 deletions
diff --git a/skins/stone_flat/program.tmpl b/skins/stone_flat/program.tmpl
index f712998..c5e08ed 100644
--- a/skins/stone_flat/program.tmpl
+++ b/skins/stone_flat/program.tmpl
@@ -17,8 +17,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="javascript:popup('tedit','<?% param.timers.${id}.id %?>',620,670,1)">
+ <?% IF timerid && allow('tedit') %?>
+ <a href="javascript:popup('tedit','<?% timerid %?>',620,670,1)">
<img src="images/onoff.<?% global.imagetyp %?>" alt="" title="<?% gettext("Edit this timer") %?>" />
</a>
<?% ELSIF allow('tnew') %?>
@@ -30,10 +30,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" %?>
@@ -94,8 +94,10 @@
<?% z = 0 %?>
<?% 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 %?>
<?% IF old.defined %?>
</table>