summaryrefslogtreecommitdiff
path: root/template/default/timer_list.html
diff options
context:
space:
mode:
authorAndreas Mair <amair.sob@googlemail.com>2005-10-21 10:24:52 +0200
committerAndreas Mair <amair.sob@googlemail.com>2005-10-21 10:24:52 +0200
commit8ed70947cc069fb98d9a281927ba0f289b0a6115 (patch)
treeecf409e62d86fa44e99b85e137e2ead3423926eb /template/default/timer_list.html
parenta935422b27fcfc8713c63033c419081b5731fcff (diff)
downloadvdradmin-am-8ed70947cc069fb98d9a281927ba0f289b0a6115.tar.gz
vdradmin-am-8ed70947cc069fb98d9a281927ba0f289b0a6115.tar.bz2
2005-10-21: 0.97-am3.4.2rcv0.97-am3.4.2rc
- Hopefully fixed browsing in "recordings" menu (if there are folders having the same name). - Added new skin "default". - Removed i18n.pl. - Localization can be set in configuration again. - Added "Transponder" and "CA-System" to tooltips in timer_list. - Show recording's summary and subtitle in rec_edit (Requested by BigDiSt). - Check for and shorten too long summary when programming timer. - Check for too long commands sent to SVDRPort. - Channel select box in TV. - "Test" button in AutoTimer edit for showing results of current settings (Requested by Hardy Flor). - Link from channel name in prog_list2 and timer_list to prog_list. - Bring popups to the front (e.g. help, prog_detail...) (Based on a patch submitted by Ville Skyttä). - Reuse existing TV, RC and help windows (Based on a patch submitted by Ville Skyttä). - Send vdradmin.m3u when streaming. - Tooltips in timer_list, prog_timeline and at_timer_list can be deactivated (Requested by Hardy Flor). - Fixed wrong HTML tags in rec_detail (Reported by foobar42).
Diffstat (limited to 'template/default/timer_list.html')
-rw-r--r--template/default/timer_list.html40
1 files changed, 22 insertions, 18 deletions
diff --git a/template/default/timer_list.html b/template/default/timer_list.html
index 66dc2e9..09a7880 100644
--- a/template/default/timer_list.html
+++ b/template/default/timer_list.html
@@ -9,23 +9,27 @@
<link href="user.css" rel="stylesheet" media="screen" type="text/css" />
</tmpl_if>
<script type="text/javascript" language="JavaScript1.2" src="library.js"></script>
- <script type="text/javascript" language="JavaScript1.2" src="infobox.js"></script>
+ <?% IF config.TM_TT_TIMELINE || config.TM_TT_LIST %?>
+ <script type="text/javascript" language="JavaScript1.2" src="infobox.js"></script>
+ <?% END %?>
<style type="text/css">
#prgtable { border-left-width:1px; border-left-style:solid; border-right-width:1px; border-right-style:solid; }
</style>
</head>
<body id="timer_list">
-<div id="infodiv" style="position:absolute; visibility:hidden; z-index:20; top:0px; left:0px;"></div>
-<script language="JavaScript" type="text/javascript">
-<?%
- FOREACH timer = timers2;
-%?>
- maketip("VDR-<?% timer.id %?>", "<?% timer.title %?>", "<%! Priority: !%> <?% timer.prio %?><br /><%! Lifetime: !%> <?% timer.lft %?><br /><%! Duration: !%> <?% timer.start %?> - <?% timer.stop %?> (<?% timer.duration %?><%! min !%>)" );
-<?%
- END;
-%?>
-</script>
+<?% IF config.TM_TT_TIMELINE || config.TM_TT_LIST %?>
+ <div id="infodiv" style="position:absolute; visibility:hidden; z-index:20; top:0px; left:0px;"></div>
+ <script language="JavaScript" type="text/javascript">
+ <?%
+ FOREACH timer = timers2;
+ %?>
+ maketip("VDR-<?% timer.id %?>", "<?% timer.title %?>", "<%! Priority: !%> <?% timer.prio %?><br /><%! Lifetime: !%> <?% timer.lft %?><br /><%! Duration: !%> <?% timer.start %?> - <?% timer.stop %?> (<?% timer.duration %?><%! min !%>)<br /><%! Transponder: !%> <?% timer.transponder %?><br /><%! CA-System: !%> <?% timer.ca %?>" );
+ <?%
+ END;
+ %?>
+ </script>
+<?% END %?>
<?%
datumold="";
@@ -104,13 +108,13 @@
%?>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
- <td bgcolor="#000000" height="1"><img src="bilder/spacer.gif" width="<?% tablaenge + 100 %?>" height="1" border="0" /></td>
+ <td bgcolor="#00000" height="1" class="blackline"><img src="bilder/spacer.gif" width="<?% tablaenge + 100 %?>" height="1" border="0" /></td>
</tr>
</table>
<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 /><a href="<?% timer.proglink %?>"><b><?% sender | truncate(11) %?></b></a></td>
<?%
pos=0;
@@ -150,12 +154,12 @@
END;
IF ende - pos < 2;
%?>
- <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>
+ <td class="<?% td_class %?>"><span <?% IF config.TM_TT_TIMELINE %?>onMouseOver="tip('VDR-<?% sendung.id %?>'); return true;" onMouseOut="untip(); return true;"<?% END %?>><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-<?% sendung.id %?>'); return true;" onMouseOut="untip(); return true;"><img src="bilder/spacer.gif" width="<?% ende - pos - 2 %?>" height="20" border="0" /></span></td>
+ <td class="<?% td_class %?>" id="prgtable"><span <?% IF config.TM_TT_TIMELINE %?>onMouseOver="tip('VDR-<?% sendung.id %?>'); return true;" onMouseOut="untip(); return true;"<?% END %?><img src="bilder/spacer.gif" width="<?% ende - pos - 2 %?>" height="20" border="0" /></span></td>
<?%
END;
@@ -179,7 +183,7 @@
<table cellspacing="0" cellpadding="0" border="0">
<tr>
- <td bgcolor="#000000" height="1"><img src="bilder/spacer.gif" width="<?% tablaenge + 100 %?>" height="1" border="0" /></td>
+ <td bgcolor="#000000" height="1" class="blackline"><img src="bilder/spacer.gif" width="<?% tablaenge + 100 %?>" height="1" border="0" /></td>
</tr>
</table>
</td>
@@ -299,6 +303,7 @@
<td class="col_left"></td>
<td class="col_active <tmpl_if sortbyactive>selected</tmpl_if>">
<div>
+ <a href="javascript:change('<%! Edit timer status? !%>','<tmpl_var toggleurl>&amp;timer=<?% current %?>');">
<tmpl_if expr="(active%32768) == 0">
<img src="bilder/poempl_grau.gif" alt="inactive" title="<%! This timer is inactive! !%>" width="19" height="19" align="middle" border="0" />
<tmpl_else>
@@ -314,7 +319,6 @@
</tmpl_if>
</tmpl_if>
</tmpl_if>
- <a href="javascript:change('<%! Edit timer status? !%>','<tmpl_var toggleurl>&amp;timer=<?% current %?>');">
<tmpl_if expr="active == 1"><%! Yes !%></tmpl_if>
<tmpl_if expr="(active%32768) == 0"><%! No !%></tmpl_if>
<tmpl_if expr="active == 5"><%! VPS !%></tmpl_if>
@@ -335,7 +339,7 @@
<div><tmpl_var stop></div>
</td>
<td class="col_name <tmpl_if sortbyname>selected</tmpl_if>">
- <div onMouseOver="tip('VDR-<tmpl_var id>'); return true;" onMouseOut="untip(); return true;">
+ <div <?% IF config.TM_TT_LIST %?>onMouseOver="tip('VDR-<tmpl_var id>'); return true;" onMouseOut="untip(); return true;"<?% END %?>>
<tmpl_if recording><img align="middle" src="bilder/rec.gif" border="0" />&nbsp;</tmpl_if>
<tmpl_if infurl>
<a href="javascript:popup('<tmpl_var infurl>');"><tmpl_var title></a>