Update of /cvsroot/freevo/freevo/src/www/htdocs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19730
Modified Files:
edit_favorite.rpy
Log Message:
Make it "work", still some bugs.
Index: edit_favorite.rpy
===================================================================
RCS file: /cvsroot/freevo/freevo/src/www/htdocs/edit_favorite.rpy,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** edit_favorite.rpy 10 Aug 2004 12:54:22 -0000 1.18
--- edit_favorite.rpy 10 Aug 2004 14:32:56 -0000 1.19
***************
*** 12,15 ****
--- 12,18 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.19 2004/08/10 14:32:56 rshortt
+ # Make it "work", still some bugs.
+ #
# Revision 1.18 2004/08/10 12:54:22 outlyer
# An impressive update to the guide code from Jason Tackaberry that
***************
*** 118,122 ****
from tv.record_types import Favorite
! import tv.epg_xmltv
import tv.record_client as ri
--- 121,125 ----
from tv.record_types import Favorite
! import util.tv_util as tv_util
import tv.record_client as ri
***************
*** 194,208 ****
! guide = tv.epg_xmltv.get_guide()
fv.printHeader(_('Edit Favorite'), 'styles/main.css')
fv.res += ' <br/>\n'
- # This seems out of place.
- #fv.tableOpen('border="0" cellpadding="4" cellspacing="1" width="100%"')
- #fv.tableRowOpen('class="chanrow"')
- #fv.tableCell('<img src="images/logo_200x100.png" />', 'align="left"')
- #fv.tableCell(_('Edit Favorite'), 'class="heading" align="left"')
- #fv.tableRowClose()
- #fv.tableClose()
fv.res += '<br><form name="editfavorite" method="get"
action="favorites.rpy">'
--- 197,204 ----
! guide = tv_util.get_guide()
fv.printHeader(_('Edit Favorite'), 'styles/main.css')
fv.res += ' <br/>\n'
fv.res += '<br><form name="editfavorite" method="get"
action="favorites.rpy">'
***************
*** 232,236 ****
cell += ' <option value=ANY>'+_('ANY CHANNEL')+'</option>\n'
! i=1
for ch in guide.chan_list:
if ch.displayname == fav.channel:
--- 228,233 ----
cell += ' <option value=ANY>'+_('ANY CHANNEL')+'</option>\n'
! i = 1
! chan_index = 0
for ch in guide.chan_list:
if ch.displayname == fav.channel:
***************
*** 310,319 ****
fv.tableCell(cell, 'class="'+status+'" colspan="1"')
- # cell = '\n<select name="priority" selected="%s">\n' % fav.priority
- # for i in range(num_favorites+1):
- # cell += ' <option value="%s">%s</option>\n' % (i+1, i+1)
- # cell += '</select>\n'
- # fv.tableCell(cell, 'class="'+status+'" colspan="1"')
-
cell = '<input type="hidden" name="priority" value="%s">' % fav.priority
cell += '<input type="hidden" name="action" value="%s">' % action
--- 307,310 ----
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog