1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
5 <title>pyTivo - Push - $escape($name)</title>
6 <link rel="stylesheet" type="text/css" href="/main.css">
9 <form action="/TiVoConnect" method="POST">
10 <p id="titlep"><span id="title">pyTivo - Push - $escape($name)</span></p>
11 <p><a href="/">Home</a></p>
12 <script language="JavaScript">
14 function toggle(source) {
15 var checkboxes = document.getElementsByName('File');
16 for (var i = 0; i < checkboxes.length; i++) {
17 if (typeof(checkboxes[i].checked) != "undefined") {
18 checkboxes[i].checked = source.checked;
24 <table id="main" border="0" cellpadding="0" cellspacing="4">
27 <td><input type="checkbox" name="selectAll" onClick="toggle(this)" Title="Select All" /></td>
29 <td><a href='/TiVoConnect?Command=QueryContainer&Container=$quote($name)&SortOrder=Normal'>Title</a></td>
31 <td><a href='/TiVoConnect?Command=QueryContainer&Container=$quote($name)&SortOrder=!CaptureDate'>Capture Date</a></td>
34 #set $folders = $name.split("/")
35 #set $current_folder = $folders.pop()
36 #set $parent = '/'.join($folders)
38 <tr id="parentLinkRow">
39 <td><img src="/back.png" alt="" /></td>
40 <td width="100%" colspan="4">
41 <a id="parentLink" href='/TiVoConnect?Command=QueryContainer&Container=$quote($parent)'>Up to Parent Folder</a>
46 ## i variable is used to alternate colors of row
47 ## loop through passed data printing row for each show or folder
48 #for $video in $videos
55 <td><img src="/folder.png" alt=""></td>
56 <td class="progmain"><a href='/TiVoConnect?Command=QueryContainer&Container=$quote($name)/$quote($video.name)'>$video.title </a></td>
57 <td class="unbreak">$video.total_items Items</td>
58 <td class="unbreak">$video.textDate</td>
62 <input type="checkbox" name="File" value="$escape($video.part_path)">
66 #if $video.episodeTitle
67 <span class="progtitle">$escape($video.title): $escape($video.episodeTitle)</span>
69 <span class="progtitle">$escape($video.title)</span>
71 <span class="progdesc">
72 #if $video.description
73 $escape($video.description)
75 #if $video.displayMajorNumbe and $video.callsign
76 $video.displayMajorNumber $video.callsign
80 <td class="unbreak">$video.textSize
82 <td class="unbreak">$video.textDate</td>
88 <input type="hidden" name="Command" value="Push">
89 <input type="hidden" name="Container" value="$escape($name)">
91 #for $tivo in $tivo_names
92 #if $tivo and $tivo in $tivos
93 <option>$escape($tivo_names[$tivo])</option>
96 #for $tivo in $tivo_names
97 #if $tivo and not $tivo in $tivos
98 <option>$escape($tivo_names[$tivo])</option>
102 <input value="Send to TiVo" type="submit">