diff options
author | Andreas Mair <amair.sob@googlemail.com> | 2008-06-30 08:48:04 +0200 |
---|---|---|
committer | Andreas Mair <amair.sob@googlemail.com> | 2008-06-30 08:48:04 +0200 |
commit | 0f5234f89bea92523d7e8e3ec72bd5cb25dec19f (patch) | |
tree | d9f58f238cd000a91c66802115d63e5491a4ab15 /template/default/tv.html | |
parent | d48934f53b4c3d3b0bb9087d87cc13b60b79839e (diff) | |
download | vdradmin-am-3.6.2.tar.gz vdradmin-am-3.6.2.tar.bz2 |
2008-06-30: 3.6.2v3.6.2
- Changed: No need to set the VFAT option in VDRAdmin-AM any longer as both filename codings will be searched for.
- Fixed: some bugs in tv.html.
- Fixed: command line options parsing.
- Fixed: pattern titles that contain double quotes.
- Fixed: timer titles that contain double quotes.
- Added: new command line switch "--ipv6" to use IO::Socket::INET6 for networking (See bug report #462).
- Updated: Dutch translation (Submitted by Roel Koelewijn).
- Added: ST_STREAMDEV_HOST config option to set the name/ip to be used for streaming.
- Fixed: m3u files for Xine (Reported by Robert C. Helling).
- Updated: Italian translation (Submitted by Gringo).
- Updated: Spanish translation (Submitted by RĂ¼diger Jung).
- Updated: Finnish translation (Submitted by Rolf Ahrenberg).
- Changed: include UTF8 locales by default.
- Introduced new config options "GUI_POPUP_WIDTH" and "GUI_POPUP_HEIGHT" for setting the prog_detail's window size (Requested by Viking @vdr-portal.de).
- Added prev/next arrows in prog_list after each day (Requested by Faudeer @vdr-portal.de).
- Show channel in prog_list even if it's not in the current channel list; this is useful if prog_list is called by a link (e.g. timer_list) (Requested by Faudeer @vdr-portal.de).
- Added support for modifying EPGSearch blacklists (Requested by dings @vdr-portal.de).
- Show stream and switch buttons in prog_summary on channels without EPG information (Reported by Faudeer @vdr-portal.de).
- Added: Show channelname in recording's details (Suggested by Stefan Seyfried).
- Minor bugfixes and improvements.
Diffstat (limited to 'template/default/tv.html')
-rw-r--r-- | template/default/tv.html | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/template/default/tv.html b/template/default/tv.html index 0a9d103..9c02583 100644 --- a/template/default/tv.html +++ b/template/default/tv.html @@ -13,6 +13,7 @@ <!-- var timeout; var interval = <?% interval %?>; + var tmpImage = new Image(); <?% IF full_tv %?> var size = "<?% size %?>"; <?% ELSE %?> @@ -37,9 +38,10 @@ function WebcamUpdate() { Before = new Date(); - NewPicUrl = "<?% url %?>&size=" + size + "&interval=" + interval + "&rand=" + Before.getTime(); - document.Bild.src = NewPicUrl; -//TODO document.getElementById('sect_tv').style.width = (size == 'full' ? 780 : (size == 'half' ? 400 : 210)); + tmpImage.src = "<?% url %?>&size=" + size + "&interval=" + interval + "&rand=" + Before.getTime(); + //TODO: wait until (tmpImage.complete == true)? + document.Bild.src = tmpImage.src; + document.getElementById('sect_tv').style.width = (size == 'full' ? 780 : (size == 'half' ? 400 : 210)) + "px"; if(interval > 0) { After = new Date(); wait_sec = (interval * 1000) - (After - Before); @@ -106,12 +108,12 @@ <table border="0" cellspacing="0" cellpadding="0" id="content"> <tr> - <td id="sect_tv" width="<?% IF size == 'full' %?>780<?% ELSE %?><?% IF size == 'half' %?>400<?% ELSE %?>210<?% END %?><?% END %?>" align="center"> + <td id="sect_tv" style="width:<?% IF size == 'full' %?>780<?% ELSE %?><?% IF size == 'half' %?>400<?% ELSE %?>210<?% END %?><?% END %?>px;" align="center"> <img name="Bild" src="<?% url %?>" border="1" hspace="2" vspace="2" class="tv" alt="" /> <img src="bilder/spacer.gif" name="switchimage" width="2" height="1" alt="" /> </td> <?% IF full_tv %?> - <td id="sect_rc"> + <td id="sect_rc" valign="top"> <table width="200" border="0" cellspacing="0" cellpadding="0"> <tr> <td></td> @@ -202,7 +204,7 @@ <table border="0" cellpadding="0" cellspacing="0"> <tr> <td> - <select name="select_wanted_channels" size="1" class="submit" onchange="window.open(this.options[this.selectedIndex].value,'main')" style="width:100%"> + <select name="select_wanted_channels" size="1" class="submit" onchange="window.open(this.options[this.selectedIndex].value,'main')"> <?% FOREACH ch_grp = ch_groups %?> <option value="<?% ch_grp.url %?>" <?% IF ch_grp.selected %?>selected="selected"<?% END %?> ><?% ch_grp.title %?></option> <?% END %?> @@ -211,12 +213,12 @@ </tr> <tr> <td> - <select name="channel" size="32" onchange="javascript:switch_channel('./vdradmin.pl?aktion=tv_switch&channel=' + encodeURIComponent(this.options[this.selectedIndex].value));" style="width:100%"> + <select name="channel" size="32" onchange="javascript:switch_channel('./vdradmin.pl?aktion=tv_switch&channel=' + encodeURIComponent(this.options[this.selectedIndex].value));" style="width:100%;"> <?% FOREACH chan = channels %?> <option value="<?% chan.vdr_id %?>" <?% IF chan.cur %?>selected="selected"<?% END %?>><?% chan.name | html %?></option> <?% END %?> </select> -<!-- <a class="submit" href="javascript:switch_by_select();">Switch</a>--> +<!-- <a class="submit" href="javascript:switch_by_select();">Switch</a> --> </td> </tr> </table> |