Update of /cvsroot/freevo/freevo/src/www/htdocs
In directory sc8-pr-cvs1:/tmp/cvs-serv23093/src/www/htdocs

Modified Files:
        favorites.rpy edit_favorite.rpy 
Log Message:
Change favorites to use tv_util.get_chan_displayname(prog) as 
favorite.channel rather than channel_id.


Index: favorites.rpy
===================================================================
RCS file: /cvsroot/freevo/freevo/src/www/htdocs/favorites.rpy,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** favorites.rpy       22 May 2003 21:33:23 -0000      1.5
--- favorites.rpy       6 Jul 2003 20:04:26 -0000       1.6
***************
*** 12,15 ****
--- 12,19 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.6  2003/07/06 20:04:26  rshortt
+ # Change favorites to use tv_util.get_chan_displayname(prog) as
+ # favorite.channel rather than channel_id.
+ #
  # Revision 1.5  2003/05/22 21:33:23  outlyer
  # Lots of cosmetic changes:
***************
*** 142,146 ****
              fv.tableCell(fav.name, 'class="'+status+'" align="left" colspan="1"')
              fv.tableCell(fav.title, 'class="'+status+'" align="left" colspan="1"')
!             fv.tableCell(fav.channel_id, 'class="'+status+'" align="left" 
colspan="1"')
  
              if fav.dow != 'ANY':
--- 146,150 ----
              fv.tableCell(fav.name, 'class="'+status+'" align="left" colspan="1"')
              fv.tableCell(fav.title, 'class="'+status+'" align="left" colspan="1"')
!             fv.tableCell(fav.channel, 'class="'+status+'" align="left" colspan="1"')
  
              if fav.dow != 'ANY':

Index: edit_favorite.rpy
===================================================================
RCS file: /cvsroot/freevo/freevo/src/www/htdocs/edit_favorite.rpy,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** edit_favorite.rpy   22 May 2003 21:33:23 -0000      1.6
--- edit_favorite.rpy   6 Jul 2003 20:04:26 -0000       1.7
***************
*** 12,15 ****
--- 12,19 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.7  2003/07/06 20:04:26  rshortt
+ # Change favorites to use tv_util.get_chan_displayname(prog) as
+ # favorite.channel rather than channel_id.
+ #
  # Revision 1.6  2003/05/22 21:33:23  outlyer
  # Lots of cosmetic changes:
***************
*** 147,158 ****
          fv.tableCell(cell, 'class="'+status+'" align="center" colspan="1"')
  
!         cell = '\n<select name="chan" selected="%s">\n' % fav.channel_id
          cell += '  <option value=ANY>ANY CHANNEL</option>\n'
  
          i=1
          for ch in guide.chan_list:
!             if ch.id == fav.channel_id:
                  chan_index = i
!             cell += '  <option value="%s">%s</option>\n' % (ch.id, ch.id)
              i = i +1
  
--- 151,162 ----
          fv.tableCell(cell, 'class="'+status+'" align="center" colspan="1"')
  
!         cell = '\n<select name="chan" selected="%s">\n' % fav.channel
          cell += '  <option value=ANY>ANY CHANNEL</option>\n'
  
          i=1
          for ch in guide.chan_list:
!             if ch.displayname == fav.channel:
                  chan_index = i
!             cell += '  <option value="%s">%s</option>\n' % (ch.displayname, 
ch.displayname)
              i = i +1
  
***************
*** 248,252 ****
          fv.res += '<script language="JavaScript">'
  
!         if fav.channel_id == 'ANY':
              fv.res += 'document.editfavorite.chan.options[0].selected=true'
          else:
--- 252,256 ----
          fv.res += '<script language="JavaScript">'
  
!         if fav.channel == 'ANY':
              fv.res += 'document.editfavorite.chan.options[0].selected=true'
          else:




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to