diff options
Diffstat (limited to 'template/default/timer_list.html')
-rw-r--r-- | template/default/timer_list.html | 35 |
1 files changed, 22 insertions, 13 deletions
diff --git a/template/default/timer_list.html b/template/default/timer_list.html index 02b94f3..afc95a1 100644 --- a/template/default/timer_list.html +++ b/template/default/timer_list.html @@ -19,14 +19,10 @@ <div id="infodiv" style="position:absolute; visibility:hidden; z-index:20; top:0px; left:0px;"></div> <script language="JavaScript" type="text/javascript"> <?% - sender=""; FOREACH timer = timers2; - IF timer.cdesc != sender && timer.starttime <= current && timer.stoptime >= current; - sender=timer.cdesc; %?> - maketip('VDR-<?% timer.vdr_id %?>', '<?% timer.title %?>', '<%! Priority: !%> <?% timer.prio %?><br /><%! Lifetime: !%> <?% timer.lft %?><br /><%! Duration: !%> (<?% timer.start %?> - <?% timer.stop %?>, <?% timer.duration %?><%! min !%>)' ); + maketip("VDR-<?% timer.id %?>", "<?% timer.title %?>", "<%! Priority: !%> <?% timer.prio %?><br /><%! Lifetime: !%> <?% timer.lft %?><br /><%! Duration: !%> <?% timer.start %?> - <?% timer.stop %?> (<?% timer.duration %?><%! min !%>)" ); <?% - END; END; %?> </script> @@ -83,7 +79,7 @@ <td colspan="2"></td> <td class="col_right"></td> </tr> - <tr class="row_odd"> + <tr class="row_even"> <td class="col_left"></td> <td colspan="2" align="center"> <table cellspacing="0" cellpadding="0" border="0"> @@ -97,7 +93,7 @@ ende=((stunde * 60 / faktor) +0.5 ) | format('%i'); %?> - <td class=<?% (stunde % 2) == 1 ? "color2" : "color1" %?> align="center"><img src="bilder/spacer.gif" width="<?% ende-pos %?>" height="1" border="0" /><br /><?% stunde - 1 %?></td> + <td class="<?% (stunde % 2) == 1 ? 'color2' : 'color1' %?>" align="center"><img src="bilder/spacer.gif" width="<?% ende-pos %?>" height="1" border="0" /><br /><?% stunde - 1 %?></td> <?% pos=ende; END; @@ -121,7 +117,7 @@ <table cellspacing="0" cellpadding="0" border="0"> <tr> - <td class="<?% (programm % 2) == 0 ? color2 : color1 %?>" height="20" width="100"><img src="bilder/spacer.gif" width="100" height="1" border="0" /><br /><b><?% sender | truncate(11) %?></b></td> + <td class="<?% (programm % 2) == 0 ? 'color2' : 'color1' %?>" height="20" width="100"><img src="bilder/spacer.gif" width="100" height="1" border="0" /><br /><b><?% sender | truncate(11) %?></b></td> <?% pos=0; @@ -154,19 +150,19 @@ IF start>pos; %?> - <td class="<?% (programm % 2) == 0 ? color2 : color1 %?>"><img src="bilder/spacer.gif" width="<?% start-pos %?>" height="1" border="0" /><br /></td> + <td class="<?% (programm % 2) == 0 ? 'color2' : 'color1' %?>"><img src="bilder/spacer.gif" width="<?% start-pos %?>" height="1" border="0" /><br /></td> <?% pos=start; END; IF ende - pos < 2; %?> - <td class="<?% td_class %?>"><span onMouseOver="tip('VDR-<?% timer.vdr_id %?>'); return true;" onMouseOut="untip(); return true;" xtitle="<?% sendung.title %?> / <%! Priority: !%> <?% timer.prio %?> / <%! Lifetime: !%> <?% timer.lft %?> / <%! Duration: !%> (<?% timer.start %?> - <?% timer.stop %?>, <?% timer.duration %?><%! min !%>)"><img src="bilder/spacer.gif" width="<?% ende - pos %?>" height="20" border="0" /></span></td> + <td class="<?% td_class %?>"><span onMouseOver="tip('VDR-<?% sendung.id %?>'); return true;" onMouseOut="untip(); return true;"><img src="bilder/spacer.gif" width="<?% ende - pos %?>" height="20" border="0" /></span></td> <?% ELSE; %?> - <td class="<?% td_class %?>" id="prgtable"><span onMouseOver="tip('VDR-<?% timer.vdr_id %?>'); return true;" onMouseOut="untip(); return true;" xtitle="<?% sendung.title %?> / <%! Priority: !%> <?% timer.prio %?> / <%! Lifetime: !%> <?% timer.lft %?> / <%! Duration: !%> (<?% timer.start %?> - <?% timer.stop %?>, <?% timer.duration %?><%! min !%>)"><img src="bilder/spacer.gif" width="<?% ende - pos - 2 %?>" height="20" border="0" /></span></td> + <td class="<?% td_class %?>" id="prgtable"><span onMouseOver="tip('VDR-<?% sendung.id %?>'); return true;" onMouseOut="untip(); return true;"><img src="bilder/spacer.gif" width="<?% ende - pos - 2 %?>" height="20" border="0" /></span></td> <?% END; @@ -175,7 +171,7 @@ END; IF pos<tablaenge; %?> - <td class="<?% (programm % 2) == 0 ? color2 : color1 %?>"><img src="bilder/spacer.gif" width="<?% tablaenge - pos %?>" height="1" border="0" /><br /></td> + <td class="<?% (programm % 2) == 0 ? 'color2' : 'color1' %?>"><img src="bilder/spacer.gif" width="<?% tablaenge - pos %?>" height="1" border="0" /><br /></td> <?% END; @@ -207,6 +203,19 @@ <form action="<tmpl_var url>" method="get" name="FormName"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="list"> + <colgroup> + <col class="col_left"/> + <col class="col_active"/> + <col class="col_channel"/> + <col class="col_date"/> + <col class="col_start"/> + <col class="col_stop"/> + <col class="col_name"/> + <col class0"col_edit"/> + <col class="col_delete"/> + <col class="col_checkbox"/> + <col class="col_right"/> + </colgroup> <tr class="heading"> <td class="col_left"></td> <td class="col_active" <tmpl_if sortbyactive>selected="yes"</tmpl_if>> @@ -333,7 +342,7 @@ <div><tmpl_var stop></div> </td> <td class="col_name" <tmpl_if sortbyname>selected="yes"</tmpl_if>> - <div title="<%! Priority: !%> <tmpl_var prio> / <%! Lifetime: !%> <tmpl_var lft>"> + <div onMouseOver="tip('VDR-<tmpl_var id>'); return true;" onMouseOut="untip(); return true;"> <tmpl_if recording><img align="absmiddle" src="bilder/rec.gif" border="0" /> </tmpl_if> <tmpl_if infurl> <a href="javascript:popup('<tmpl_var infurl>');"><tmpl_var title></a> |