diff options
| author | anbr <vdr07@deltab.de> | 2013-05-04 11:01:12 +0200 |
|---|---|---|
| committer | anbr <vdr07@deltab.de> | 2013-05-04 11:01:12 +0200 |
| commit | fd3f221e0e86a1b70d7de2735d45302ef7aa55a1 (patch) | |
| tree | dac3658e924e0fb28378969406a265c95fc39766 /skins/stone_flat/program.tmpl | |
| parent | d3aa7c5e0a45901004b40022ea8e66f358f6ce6d (diff) | |
| download | xxv-fd3f221e0e86a1b70d7de2735d45302ef7aa55a1.tar.gz xxv-fd3f221e0e86a1b70d7de2735d45302ef7aa55a1.tar.bz2 | |
Use default FOREACH syntax #1355
Diffstat (limited to 'skins/stone_flat/program.tmpl')
| -rw-r--r-- | skins/stone_flat/program.tmpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/skins/stone_flat/program.tmpl b/skins/stone_flat/program.tmpl index 7f1d733..5c57190 100644 --- a/skins/stone_flat/program.tmpl +++ b/skins/stone_flat/program.tmpl @@ -70,7 +70,7 @@ <?% END %?> <?% ###################################################################################### channelpos=0;priorchannel=0;nextchannel=0;priortitle="";nexttitle=""; - FOREACH ch = param.channels; + FOREACH ch IN param.channels; IF cgi.param('data') == ch.1 || cgi.param('data') == ch.0 || param.current == ch.1; channel = ch.0; channelpos = ch.1; @@ -91,8 +91,8 @@ <?% IF data.size > 1 %?> <?% fields = data.shift %?> <?% z = 0 %?> - <?% FOREACH zeile = data %?> - <?% IF verbose;"<!-- Item: ";FOREACH x = zeile;loop.count - 1;":";x.replace("-"," ");"|";END;"-->";END %?> + <?% FOREACH zeile IN data %?> + <?% IF verbose;"<!-- Item: ";FOREACH x IN 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;pdc=zeile.7;timerid=zeile.8;recording=zeile.9;running=zeile.10; day = zeile.5 %?> @@ -160,7 +160,7 @@ <td class="sidetext"> <form action=""> <select size="15" name="data" onchange="di('?cmd=program&data=',this.form.data.options[this.form.data.options.selectedIndex].value)"> - <?% FOREACH ch = param.channels %?> + <?% FOREACH ch IN param.channels %?> <?% IF ch.2 != channelgroup %?> <?% IF channelgroup %?> </optgroup> |
