diff options
author | Andreas Mair <amair.sob@googlemail.com> | 2005-07-13 12:01:05 +0200 |
---|---|---|
committer | Andreas Mair <amair.sob@googlemail.com> | 2005-07-13 12:01:05 +0200 |
commit | 8c5b06e471f1254d2e750dfba3154461eb3030bc (patch) | |
tree | 70929fe39cea335cb034c380485aa118383fce21 /template/default/prog_timeline.html | |
parent | 1f33deeae237bdcc4281de03d268528d4a09edd3 (diff) | |
download | vdradmin-am-8c5b06e471f1254d2e750dfba3154461eb3030bc.tar.gz vdradmin-am-8c5b06e471f1254d2e750dfba3154461eb3030bc.tar.bz2 |
2005-07-12: 0.97-am3.3v0.97-am3.3
- Fixed problems with "$" in templates (Reported by All-Ex).
- Updated all help messages.
- Added beautified tooltips in at_timer_list, timer_list and prog_timeline.
- Changed saving of AutoTimer patterns: ":" -> "|" and "|" -> "\|".
- Added support for user.css for overwriting style.css (Must be located in same folder as vdradmind.conf). See user.css.example.
- Removed obsolete files (e.g. images).
- Merged style.css and navi.css.
- Reworked templates so that they use a lot of CSS (Tested using Konqueror 3.3.2 and Firefox 1.0.4).
- Fixed programming timers with special summary when using EPG_DIRECT (timer didn't get programmed) (Thanks to HolgerAusB for giving vital hints).
- Allow browsers to cache all files VDRAdmin sends, except "text/html". This should speed up VDRAdmin but changing the skin or css needs a "shift reload".
- Added support for VDR v1.3.25's info.vdr (Submitted by vejoun).
- Use localized date formates.
- Now using "video/x-mpegurl" MIME type instead of "audio/x-mpegurl" for streaming (Suggested by stefan.h).
- Added patches supplied by stefan.h:
-> using EPG's subtitle when found for AutoTimer else " " (that's the VDR way).
-> New config option VDRVFAT to find recordings if VDR has been compiled with or without VFAT define.
- Fixed calling reccmds on recordings in subdirs, manual recordings (@rectitle) and repeating timer's recordings without episode title.
- Fixed streaming of manual recordings (@rectitle) and repeating timer's recordings without episode title.
- VDRAdmin-AM now uses the required charsets setting in templates, so no need to write "&xyz;" things in .po files.
- Reworked templates to make better use of CSS (for example: timeline colours can be set by style.css).
- EPG_PRUNE now is the number of channels to fetch from VDR (had been one too less before).
- Added "install.sh" and "uninstall.sh" ("./install.sh -h" for help) (Requested by several people).
- Made "name" columns in lists wrapping again (Reported by vejoun).
- Deleting a single recording works again (Reported by vejoun).
- Fixed streaming of recordings in subdirs (Reported by vejoun).
- Added missing gray sign on deactivated AutoTimers (Reported by vejoun).
- Various other minor fixes.
Diffstat (limited to 'template/default/prog_timeline.html')
-rw-r--r-- | template/default/prog_timeline.html | 39 |
1 files changed, 22 insertions, 17 deletions
diff --git a/template/default/prog_timeline.html b/template/default/prog_timeline.html index 5f9e61d..046b368 100644 --- a/template/default/prog_timeline.html +++ b/template/default/prog_timeline.html @@ -64,9 +64,25 @@ } } </script> + <script type="text/javascript" language="JavaScript1.2" src="infobox.js"></script> </head> <body id="prog_timeline"> +<div id="infodiv" style="position:absolute; visibility:hidden; z-index:20; top:0px; left:0px;"></div> +<script language="JavaScript" type="text/javascript"> +<?% + FOREACH name = shows2.keys.nsort; + counter = 0; + FOREACH show = shows2.${name}; +%?> + maketip("VDR-<?% show.vdr_id %?>-<?% counter %?>", "<?% show.title %?>", "<%! Duration: !%> <?% date.format(show.start, '%H:%M') %?> - <?% date.format(show.stop, '%H:%M') %?> (<?% (show.stop - show.start) / 60 %?><%! min !%>)" ); +<?% + counter = counter + 1; + END; + END; +%?> +</script> + <form action="<?% nowurl %?>" method="get" name="FormName"> <table width="100%" border="0" cellspacing="0" cellpadding="0" id="heading"> <tr> @@ -101,18 +117,7 @@ <tr class="heading"> <td class="col_left"></td> <td colspan="3" width='<?% breite + seite %?>'><h2><%! Timeline: !%> <?% date.format(akt_sekunde, '%H:%M') %?> <%! o'clock !%> <%! to !%> <?% date.format(bis_sec, '%H:%M') %?> <%! o'clock !%></h2></td> - <td class="col_navi"> - <?% IF akt_stunde <= jetzt_stunde %?> - <img src="bilder/pfeile_nachlinks_soft.gif" border="0" width="28" height="17" /> - <?% ELSE %?> - <a href="<?% nowurl %?>&time=<?% akt_stunde - zeitrahmen | format('%02d') %?><?% akt_minute | format('%02d') %?>"> - <img src="bilder/pfeile_nachlinks.gif" border="0" width="28" height="17" /> - </a> - <?% END %?> - <a href="<?% nowurl %?>&time=<?% bis_stunde | format('%02d') %?><?% akt_minute | format('%02d') %?>"> - <img src="bilder/pfeile_nachrechts.gif" border="0" width="29" height="17" /> - </a> - </td> + <td class="col_navi"><?% IF akt_stunde <= jetzt_stunde %?><img src="bilder/pfeile_nachlinks_soft.gif" border="0" width="28" height="17" /><?% ELSE %?><a href="<?% nowurl %?>&time=<?% akt_stunde - zeitrahmen | format('%02d') %?><?% akt_minute | format('%02d') %?>"><img src="bilder/pfeile_nachlinks.gif" border="0" width="28" height="17" /></a><?% END %?><a href="<?% nowurl %?>&time=<?% bis_stunde | format('%02d') %?><?% akt_minute | format('%02d') %?>"><img src="bilder/pfeile_nachrechts.gif" border="0" width="29" height="17" /></a></td> <td class="col_right"></td> </tr> <tr class="row_spacer"> @@ -120,7 +125,7 @@ <td colspan="4"></td> <td class="col_right"></td> </tr> - <tr class="row_odd"> + <tr class="row_even"> <td class="col_left"></td> <td colspan="4"> <table border="0" cellpadding="0" cellspacing="0" width="1"> @@ -139,7 +144,7 @@ <tr> <td class="color1"><img src="bilder/spacer.gif" width="<?% seite %?>" height="1" border="0" /><br /></td> <?% WHILE minute < bis %?> - <td width="1%" align="left" valign="bottom" class=<?% minute % 10 ? "color1" : "color2" %?>> + <td width="1%" height="10px" align="left" valign="bottom" class=<?% minute % 10 ? "color1" : "color2" %?>> <?% IF minute % 15 %?> <img src="bilder/pixel.gif" width="1" height="5" border="0" /> <?% ELSE %?> @@ -168,6 +173,7 @@ <nobr> <?% z = 0; + counter = 0; FOREACH show = shows.${name}; start_stunde = date.format(show.start, '%H') - akt_stunde; # start_stunde = (start_stunde < 0 ? 0 : start_stunde); @@ -210,23 +216,22 @@ td_class = show.timer ? "color_timer" : td_class %?> <table border="0" align="left" cellpadding="0" cellspacing="0" id=<?% show.timer ? "timertable" : "prgtable" %?>> <tr> - <td width="1" class="<?% td_class %?>"> + <td width="1" class="<?% td_class %?>" onMouseOver="tip('VDR-<?% show.vdr_id %?>-<?% counter %?>'); return true;" onMouseOut="untip(); return true;"> <img src="bilder/spacer.gif" width="<?% laenge_pix %?>" height="1" border="0" hspace="0" /><br /> <nobr> <?% IF show.summary %?><a href="javascript:popup('./vdradmin.pl?aktion=prog_detail&epg_id=<?% show.anchor %?>&vdr_id=<?% show.vdr_id %?>');"><?% END %?> - <span title="<?% show.title %?> (<?% date.format(show.start, '%H:%M') %?> - <?% date.format(show.stop, '%H:%M') %?>, <?% (show.stop - show.start) / 60 %?><%! min !%>)"> <?% IF laenge_chars > 2 %?> <?% show.title | truncate( laenge_chars ) %?> <?% ELSE %?> <img src="bilder/spacer.gif" width="<?% laenge_pix %?>" height="8" border="0" hspace="0" /> <?% END %?> - </span> <?% IF show.summary %?></a><?% END %?> </nobr> </td> </tr> </table> <?% + counter = counter +1 ; END; z = z + 1; old_start_minute = start_minute; |