diff options
| author | Andreas Brachold <vdr07@deltab.de> | 2010-11-20 16:37:04 +0000 |
|---|---|---|
| committer | Andreas Brachold <vdr07@deltab.de> | 2010-11-20 16:37:04 +0000 |
| commit | 0688845d7e65abcd2ca1af1734a39a3fc4a341b3 (patch) | |
| tree | 277f8977f30c8123ba9e67a976b09c2425009565 /skins/stone_flat | |
| parent | 7f6401f990026d73f2a5edcc8d9fdf22882c4518 (diff) | |
| download | xxv-0688845d7e65abcd2ca1af1734a39a3fc4a341b3.tar.gz xxv-0688845d7e65abcd2ca1af1734a39a3fc4a341b3.tar.bz2 | |
EPG: handle SI:content description
Diffstat (limited to 'skins/stone_flat')
| -rw-r--r-- | skins/stone_flat/search.tmpl | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/skins/stone_flat/search.tmpl b/skins/stone_flat/search.tmpl index 2e40b61..b45565d 100644 --- a/skins/stone_flat/search.tmpl +++ b/skins/stone_flat/search.tmpl @@ -158,6 +158,29 @@ <?% END %?> </select> <br /><br /> + <?% gettext('Content',30) %?><br /> + <select name='__contentid'> + <option value="0"><?% gettext('All contents') %?></option> + <?% h = 1;WHILE h < 16 %?> + <?% c = h | format "%x" %?> + <?% ct = getModule('EPG').content(c) %?> + <?% IF ct %?> + <optgroup label="<?% ct %?>"> + <option value="<?% c %?>"<?% ' selected="selected"' IF cgi.param('__contentid') == c %?>><?% gettext('All')%?> - <?% ct %?></option> + <?% l = 0;WHILE l < 16 %?> + <?% c = ((16 * h) + l) | format "%x" %?> + <?% ct = getModule('EPG').content(c) %?> + <?% IF ct %?> + <option value="<?% c %?>"<?% ' selected="selected"' IF cgi.param('__contentid') == c %?>><?% ct %?></option> + <?% END %?> + <?% l = l + 1 %?> + <?% END %?> + </optgroup> + <?% END %?> + <?% h = h + 1 %?> + <?% END %?> + </select> + <br /><br /> <input type='submit' value='<?% gettext('Search') %?>' /> </form> </td> |
