diff options
| author | Andreas Brachold <vdr07@deltab.de> | 2008-01-25 19:20:24 +0000 |
|---|---|---|
| committer | Andreas Brachold <vdr07@deltab.de> | 2008-01-25 19:20:24 +0000 |
| commit | b750c520cd965b42488a387e3a2b9c3fab67ccfc (patch) | |
| tree | 98b9963e544bca5207085a7457dced5b94716784 /html/program.tmpl | |
| parent | fb3e038cc7e44d3726854c7484d161886495b631 (diff) | |
| download | xxv-b750c520cd965b42488a387e3a2b9c3fab67ccfc.tar.gz xxv-b750c520cd965b42488a387e3a2b9c3fab67ccfc.tar.bz2 | |
* SHARE: [Bug #13022] Fix typo
* program,aedit,tedit,redit: choices with group of channels
Diffstat (limited to 'html/program.tmpl')
| -rw-r--r-- | html/program.tmpl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/html/program.tmpl b/html/program.tmpl index e8c64a5..cf1ff1c 100644 --- a/html/program.tmpl +++ b/html/program.tmpl @@ -28,8 +28,15 @@ <td> <select name='data' onChange="di(this.form.data.options[this.form.data.options.selectedIndex].value, '?cmd=program&data=')"> <?% FOREACH ch = param.channels %?> - <option value="<?% ch.1 %?>" <?% "selected" IF channelpos == ch.1 %?>><?% ch.0 %?></option> + <?% IF ch.2 != channelgroup %?> + <?% IF channelgroup %?> + </optgroup> + <?% END %?> + <optgroup label="<?% channelgroup = ch.2;ch.2 %?>"> + <?% END %?> + <option value="<?% ch.1 %?>"<?% ' selected="selected"' IF channelpos == ch.1 %?>><?% ch.0 %?></option> <?% END %?> + </optgroup> </select> </td> </form> |
