Missing "r" prevented display of callsign and channel number in the push
[pyTivo/wmcbrine.git] / plugins / video / templates / container_html.tmpl
blob40275aadaff45999a05bf1ec3379467b6ea80df9
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
3 <html>
4 <head>
5 <title>pyTivo - Push - $escape($name)</title>
6 <link rel="stylesheet" type="text/css" href="/main.css">
7 </head>
8 <body>
9 <form action="/TiVoConnect" method="POST">
10 <p id="titlep"><span id="title">pyTivo - Push - $escape($name)</span></p>
11 <table id="main" border="0" cellpadding="0" cellspacing="4">
12   #set $i = 0
13   ## i variable is used to alternate colors of row
14   ## loop through passed data printing row for each show or folder
15   #for $video in $videos
16           #set $i += 1
17           #set $j = $i%2
18           <tr class="row$(j)">
19           #if $video.is_dir
20             ## This is a folder
21                 <td></td>
22         <td><img src="/folder.png" alt=""></td>
23                 <td class="progmain"><a href='/TiVoConnect?Command=QueryContainer&amp;Container=$quote($name)/$quote($video.name)&amp;Format=text/html'>$video.title </a></td>
24                 <td class="unbreak">$video.total_items Items</td>
25                 <td class="unbreak">$video.textDate</td>
26           #else
27             ## This is a show
28                 <td>
29             <input type="checkbox" name="File" value="$escape($video.part_path)">
30                 </td>
31         <td></td>
32                 <td class="progmain">
33                         #if $video.episodeTitle
34                         <span class="progtitle">$escape($video.title): $escape($video.episodeTitle)</span>
35                         #else
36                         <span class="progtitle">$escape($video.title)</span>
37                         #end if
38                         <span class="progdesc">
39             #if $video.description
40                         $escape($video.description)
41                         #end if
42                         #if $video.displayMajorNumber and $video.callsign
43                         $video.displayMajorNumber $video.callsign
44                         #end if
45                         </span>
46                 </td>
47                 <td class="unbreak">$video.textSize
48                 </td>
49                 <td class="unbreak">$video.textDate</td>
50           #end if
51           </tr>
52   #end for
53 </table>
54 <p>
55       <input type="hidden" name="Command" value="Push">
56       <input type="hidden" name="Container" value="$escape($name)">
57         <select name="tsn">
58         #for $tivo in $tivo_names
59             #if $tivo and $tivo in $tivos
60                 <option>$escape($tivo_names[$tivo])</option>
61             #end if
62         #end for
63         #for $tivo in $tivo_names
64             #if $tivo and not $tivo in $tivos
65                 <option>$escape($tivo_names[$tivo])</option>
66             #end if
67         #end for
68         </select>
69       <input value="Send to TiVo" type="submit">
70 </p>
71 </form>
72 </body>
73 </html>