diff options
author | Andreas Mair <amair.sob@googlemail.com> | 2006-09-06 12:55:02 +0200 |
---|---|---|
committer | Andreas Mair <amair.sob@googlemail.com> | 2006-09-06 12:55:02 +0200 |
commit | b689d61d6a800ef8a74f74f08f05218770e0f52d (patch) | |
tree | da884f9eb3c93b66e60a361e3e730a044533d0f4 /template/default/prog_list2.html | |
parent | 8652aa0a9b228e21df5dd68ccf83badb5e20bab8 (diff) | |
download | vdradmin-am-3.4.7beta.tar.gz vdradmin-am-3.4.7beta.tar.bz2 |
2006-09-06: 3.4.7betav3.4.7beta
- Fixed: Smaller bugs (see ChangeLog).
- Changed: Hide select boxes for templates and skins if it contains only a single choice.
- Fixed: Another fix for the refering pages problem(s).
- Changed: Hide "AutoTimer" menu item unless $FEATURE{AUTOTIMER} is set.
- Changed: Use date instead of empty subtitle in timers programed by AutoTimer with activated "Episode" option.
- Fixed: Don't show outdated broadcast as search result.
- Added: Display warning message if lists is empty.
- Added: UTF8 locales patch by Zoolook (see Bug #124).
- Fixed: AutoTimer test feature didn't find broadcasts if they were in vdradmind.done.
- Removed: HTML::Template dependency.
- Changed: Only use Template-Toolkit's Template.pm.
- Fixed: Hide "switch" button in prog_summary2 if broadcast is not running (Based on suggestion by Hardy Flor).
- Fixed: Initial display of rec_list was empty.
- Added: New PLAY and EDIT actions in rec_list.
- Added: Remember selected size and interval in TV.
- Added: check for features available with VDR's SVDRP, disable missing ones and show them in about.html (ATM used for RENR).
- Changed: handling of sorting in rec_list (should always keep the current sorting).
- Changed: handling of sorting in at_timer_list (should always keep the current sorting).
- New: option to autosave config on exit (also saves sorting state in lists and viewmode in prog_summary).
- Added: Czech translation (Submitted by Karel Borkovec).
- Changed: handling of sorting in timer_list (should always keep the current sorting).
- Changed: Moved favicon.ico from a template's skin folder to the template's main folder.
Diffstat (limited to 'template/default/prog_list2.html')
-rw-r--r-- | template/default/prog_list2.html | 148 |
1 files changed, 77 insertions, 71 deletions
diff --git a/template/default/prog_list2.html b/template/default/prog_list2.html index c247819..0a15582 100644 --- a/template/default/prog_list2.html +++ b/template/default/prog_list2.html @@ -2,12 +2,12 @@ <html> <head> - <meta http-equiv="content-type" content="text/html;charset=<%! ISO-8859-1 !%>" /> - <title>VDRAdmin-AM - <%! Playing Today !%></title> + <meta http-equiv="content-type" content="text/html;charset=<?% gettext('ISO-8859-1') %?>" /> + <title>VDRAdmin-AM - <?% gettext('Playing Today') %?></title> <link href="style.css" rel="stylesheet" media="screen" type="text/css" /> - <tmpl_if usercss> + <?% IF usercss %?> <link href="user.css" rel="stylesheet" media="screen" type="text/css" /> - </tmpl_if> + <?% END %?> <script type="text/javascript" language="JavaScript1.2" src="library.js"></script> <script type="text/javascript" language="JavaScript1.2"> <!-- @@ -21,86 +21,92 @@ </head> <body id="prog_list"> - <form action="<tmpl_var url>" method="get" name="FormName"> + <form action="<?% url %?>" method="get" name="FormName"> <table width="100%" border="0" cellspacing="0" cellpadding="0" id="heading"> <tr> <td class="col_title"> - <h1><tmpl_var title></h1> - <%! starting at !%> - <input type="text" size="5" maxlength="5" value="<tmpl_var now>" name="time"/> - <%! o'clock !%> + <h1><?% title %?></h1> + <?% gettext('starting at') %?> + <input type="text" size="5" maxlength="5" value="<?% now %?>" name="time"/> + <?% gettext('o\'clock') %?> </td> <td class="col_navi"> - <tmpl_if prevdayurl><a href="<tmpl_var prevdayurl>"><img src="bilder/pfeile_nachlinks.png" border="0" alt="" /></a><tmpl_else><img src="bilder/pfeile_nachlinks_soft.png" border="0" alt="" /></tmpl_if> - <select name="days" size="1" onchange="window.open(this.options[this.selectedIndex].value,'main')"> <tmpl_loop days> - <option value="<tmpl_var id>" <tmpl_if sel>selected</tmpl_if>><tmpl_var name></option> -</tmpl_loop> +<?% IF days.size() > 0 %?> + <?% IF prevdayurl %?><a href="<?% prevdayurl %?>"><img src="bilder/pfeile_nachlinks.png" border="0" alt="" /></a><?% ELSE %?><img src="bilder/pfeile_nachlinks_soft.png" border="0" alt="" /><?% END %?> + <select name="days" size="1" onchange="window.open(this.options[this.selectedIndex].value,'main')"> <?% FOREACH d = days %?> + <option value="<?% d.id %?>" <?% IF d.sel %?>selected="selected"<?% END %?>><?% d.name %?></option> +<?% END %?> </select> - <tmpl_if nextdayurl><a href="<tmpl_var nextdayurl>"><img src="bilder/pfeile_nachrechts.png" border="0" alt="" /></a><tmpl_else><img src="bilder/pfeile_nachrechts_soft.png" border="0" alt="" /></tmpl_if> + <?% IF nextdayurl %?><a href="<?% nextdayurl %?>"><img src="bilder/pfeile_nachrechts.png" border="0" alt="" /></a><?% ELSE %?><img src="bilder/pfeile_nachrechts_soft.png" border="0" alt="" /><?% END %?> +<?% END %?> </td> </tr> </table> <input type="hidden" name="aktion" value="prog_list2" /> - <input type="hidden" name="day" value="<tmpl_var day>" /> + <input type="hidden" name="day" value="<?% day %?>" /> </form> <div id="content"> -<tmpl_loop loop> - <tmpl_if newd> - <table width="100%" border="0" cellspacing="0" cellpadding="0" class="list hilight"> - <tr class="heading"> - <td colspan="4"> - <span class="channel_name"><a href="<tmpl_var proglink>" title="<%! Channels !%>"><tmpl_var channel_name></a></span> - <span class="date_long"><tmpl_var longdate></span> - <tmpl_if stream_live_on> - <span class="action stream"><a href="<tmpl_var streamurl>" title="<%! Stream !%>"><img src="bilder/stream.png" border="0" alt="<%! Stream !%>" onmouseover="window.status='<%! Stream !%>';return true" title="<%! Stream !%>" /></a></span> - </tmpl_if> - <span class="action switch"><a href="javascript:callurl('<tmpl_var switchurl>');" title="<%! TV select !%>"><img src="bilder/view.png" border="0" alt="<%! TV select !%>" onmouseover="window.status='<%! TV select !%>';return true" title="<%! TV select !%>" /></a></span> - </td> - </tr> - <tmpl_else> - <tmpl_unless endd> - <tr class="<tmpl_if __ODD__>row_odd<tmpl_else>row_even</tmpl_if>"> - <td class="col_duration"> - <a id="<tmpl_var anchor>" name="<tmpl_var anchor>"><tmpl_var emit> - <tmpl_var duration></a> - </td> - <td class="col_title"> - <div class="epg_title"> - <tmpl_if infurl> - <a href="javascript:popup('<tmpl_var infurl>');" title="<%! More Information !%>"> - </tmpl_if> - <tmpl_var title> - <tmpl_if infurl> - </a> - </tmpl_if> - </div> - <div class="epg_subtitle"> - <tmpl_if subtitle> - <tmpl_var subtitle> - <tmpl_else> - - </tmpl_if> - </div> - </td> - <td class="col_buttons"> - <span class="action repeatings"><a href="vdradmin.pl?search=<tmpl_var find_title>&aktion=prog_summary&submit=go11"><img src="bilder/find.png" border="0" alt="<%! Search for other show times !%>" onmouseover="window.status='<%! Search for other show times !%>';return true" title="<%! Search for other show times !%>" /></a></span> - <tmpl_if infurl> - <span class="action info"><a href="javascript:popup('<tmpl_var infurl>');"><img src="bilder/info_button.png" border="0" title="<%! More Information !%>" alt="info"/></a></span> - <tmpl_else> - <span class="action info"><img src="bilder/info_button_disabled.png" border="0" title="<%! No Information !%>" alt="noinfo"/></span> - </tmpl_if> - <span class="action record"><a href="<tmpl_var recurl>"><img src="bilder/rec_button.png" border="0" title="<%! Record !%>" alt="record"/></a></span> - <tmpl_if imdburl> - <span class="action imdb"><a href="<tmpl_var imdburl>" target="_blank"><img src="bilder/imdb.png" border="0" alt="IMDb" onmouseover="window.status='<%! Lookup movie in the Internet-Movie-Database (IMDb) !%>';return true" title="<%! Lookup movie in the Internet-Movie-Database (IMDb) !%>" /></a></span> - </tmpl_if> - </td> - </tr> - </tmpl_unless> - </tmpl_if> - <tmpl_if endd> - </table> - </tmpl_if> -</tmpl_loop> +<?% IF loop.size() > 0 %?> + <?% FOREACH bc = loop %?> + <?% IF bc.newd %?> + <table width="100%" border="0" cellspacing="0" cellpadding="0" class="list hilight"> + <tr class="heading"> + <td colspan="4"> + <span class="channel_name"><a href="<?% bc.proglink %?>" title="<?% gettext('Channels') %?>"><?% bc.channel_name | html %?></a></span> + <span class="date_long"><?% bc.longdate %?></span> + <?% IF bc.stream_live_on %?> + <span class="action stream"><a href="<?% bc.streamurl %?>" title="<?% gettext('Stream') %?>"><img src="bilder/stream.png" border="0" alt="<?% gettext('Stream') %?>" onmouseover="window.status='<?% gettext('Stream') %?>';return true" title="<?% gettext('Stream') %?>" /></a></span> + <?% END %?> + <span class="action switch"><a href="javascript:callurl('<?% bc.switchurl %?>');" title="<?% gettext('TV select') %?>"><img src="bilder/view.png" border="0" alt="<?% gettext('TV select') %?>" onmouseover="window.status='<?% gettext('TV select') %?>';return true" title="<?% gettext('TV select') %?>" /></a></span> + </td> + </tr> + <?% ELSE %?> + <?% UNLESS bc.endd %?> + <tr class="<?% IF loop.count() % 2 == 0 %?>row_even<?% ELSE %?>row_odd<?% END %?>"> + <td class="col_duration"> + <a id="<?% bc.anchor %?>" name="<?% bc.anchor %?>"><?% bc.emit %?> - <?% bc.duration %?></a> + </td> + <td class="col_title"> + <div class="epg_title"> + <?% IF bc.infurl %?> + <a href="javascript:popup('<?% bc.infurl %?>');" title="<?% gettext('More Information') %?>"> + <?% END %?> + <?% bc.title %?> + <?% IF bc.infurl %?> + </a> + <?% END %?> + </div> + <div class="epg_subtitle"> + <?% IF bc.subtitle %?> + <?% bc.subtitle %?> + <?% ELSE %?> + + <?% END %?> + </div> + </td> + <td class="col_buttons"> + <span class="action repeatings"><a href="vdradmin.pl?search=<?% bc.find_title %?>&aktion=prog_summary&submit=go11"><img src="bilder/find.png" border="0" alt="<?% gettext('Search for other show times') %?>" onmouseover="window.status='<?% gettext('Search for other show times') %?>';return true" title="<?% gettext('Search for other show times') %?>" /></a></span> + <?% IF bc.infurl %?> + <span class="action info"><a href="javascript:popup('<?% bc.infurl %?>');"><img src="bilder/info_button.png" border="0" title="<?% gettext('More Information') %?>" alt="info"/></a></span> + <?% ELSE %?> + <span class="action info"><img src="bilder/info_button_disabled.png" border="0" title="<?% gettext('No Information') %?>" alt="noinfo"/></span> + <?% END %?> + <span class="action record"><a href="<?% bc.recurl %?>"><img src="bilder/rec_button.png" border="0" title="<?% gettext('Record') %?>" alt="record"/></a></span> + <?% IF bc.imdburl %?> + <span class="action imdb"><a href="<?% bc.imdburl %?>" target="_blank"><img src="bilder/imdb.png" border="0" alt="IMDb" onmouseover="window.status='<?% gettext('Lookup movie in the Internet-Movie-Database (IMDb)') %?>';return true" title="<?% gettext('Lookup movie in the Internet-Movie-Database (IMDb)') %?>" /></a></span> + <?% END %?> + </td> + </tr> + <?% END %?> + <?% END %?> + <?% IF bc.endd %?> + </table> + <?% END %?> + <?% END %?> +<?% ELSE %?> + <div class="warning"><?% gettext('No EPG information available') %?></div> +<?% END %?> </div> </body> |