Changeset 4d2469c7e4af30574a75287c0c43f50b184c1d98

Show
Ignore:
Timestamp:
03/14/08 13:41:17 (10 months ago)
Author:
KRKeegan <-NOSPAM-kevin@krkeegan.com>
git-committer:
KRKeegan <-NOSPAM-kevin@krkeegan.com> 1205520077 -0700
git-parent:

[067058368fae72e00ca897022ced1a24ebcf26f2]

git-author:
KRKeegan <-NOSPAM-kevin@krkeegan.com> 1205520077 -0700
Message:

Add html comments to template

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/admin/templates/npl.tmpl

    r0670583 r4d2469c  
    2828      <div style="visibility: visible; width: 920px; overflow: scroll; height: 410px; position: relative;"> 
    2929      #if $tivoIP != '' 
     30          <!-- If TiVoIP is present then we should display a NPL --> 
    3031                  <table> 
    3132                  #if $folder != '' 
     33                        <!-- We are in a subfolder, offer the option to return to NPL --> 
    3234                        <tr><td colspan=5><a href="/TiVoConnect?Command=NPL&Container=$container&TiVo=$tivoIP">Back to Now Playing List</a></td></tr> 
    3335                  #end if 
    3436                  #set $i = 0 
     37                  <!-- i variable is used to alternate colors of row --> 
     38                  <!-- loop through passed data printing row for each show or folder --> 
    3539                  #for $row in $data 
    3640                          #set $i += 1 
     
    4145                          #end if 
    4246                          #if $row['ContentType'] == 'x-tivo-container/folder' 
     47                            <!-- This is a folder --> 
    4348                                <td></td> 
    4449                                <td><a href='/TiVoConnect?Command=NPL&Container=$(container)&Folder=$(row["UniqueId"])&TiVo=$tivoIP'>$row['Title'] </a></td> 
     
    4752                                <td></td> 
    4853                          #else 
     54                            <!-- This is a show --> 
    4955                                #if 'Icon' in $row 
     56                                    <!-- Display small table with color similar to TiVo colored circles --> 
    5057                                        #if $row['Icon'] == 'urn:tivo:image:expires-soon-recording' 
    5158                                                <td><table><tr><td height=18 width=8 bgcolor='yellow'> </td></tr></table></td> 
     
    5865                                        #end if 
    5966                                #else 
     67                                    <!-- No Icon listed in XML sheet --> 
    6068                                        <td width=4></td> 
    6169                                #end if 
     
    93101                                        </td> 
    94102                                #else 
     103                                    <!-- No URL was in links url in XML --> 
    95104                                        <td></td> 
    96105                                #end if