Update of /cvsroot/freevo/freevo/src/www
In directory sc8-pr-cvs1:/tmp/cvs-serv24019
Modified Files:
web_types.py
Log Message:
remove hard links so we can run when proxied
Index: web_types.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/www/web_types.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** web_types.py 23 Sep 2003 18:22:42 -0000 1.15
--- web_types.py 6 Nov 2003 19:55:28 -0000 1.16
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.16 2003/11/06 19:55:28 mikeruelle
+ # remove hard links so we can run when proxied
+ #
# Revision 1.15 2003/09/23 18:22:42 dischi
# use absolute path names
***************
*** 121,125 ****
self.res += '<title>Freevo | '+title+'</title>\n'
if style != None:
! self.res += '<link rel="stylesheet" href="/styles/main.css"
type="text/css" />\n'
if script != None:
self.res += '<script language="JavaScript" src="'+script+'"></script>\n'
--- 124,128 ----
self.res += '<title>Freevo | '+title+'</title>\n'
if style != None:
! self.res += '<link rel="stylesheet" href="styles/main.css"
type="text/css" />\n'
if script != None:
self.res += '<script language="JavaScript" src="'+script+'"></script>\n'
***************
*** 128,137 ****
# Header
self.res += '<!-- Header Logo and Status Line -->'
! self.tableOpen('width="100%" border="0" cellspacing="0" cellpadding="0"
background="/images/headerbg.png"')
self.tableRowOpen()
! self.tableCell('<a target="_new" href="http://freevo.sf.net/"><img
src="/images/headerfreevo.png" width="313" height="101" border="0"/></a>')
self.tableRowClose()
self.tableClose()
! self.tableOpen('width="100%" border="0" cellspacing="0" cellpadding="0"
background="/images/headertxtbg.png"')
self.tableRowOpen()
self.tableCell('<center>' + title + '</center>','height=22')
--- 131,140 ----
# Header
self.res += '<!-- Header Logo and Status Line -->'
! self.tableOpen('width="100%" border="0" cellspacing="0" cellpadding="0"
background="images/headerbg.png"')
self.tableRowOpen()
! self.tableCell('<a target="_new" href="http://freevo.sf.net/"><img
src="images/headerfreevo.png" width="313" height="101" border="0"/></a>')
self.tableRowClose()
self.tableClose()
! self.tableOpen('width="100%" border="0" cellspacing="0" cellpadding="0"
background="images/headertxtbg.png"')
self.tableRowOpen()
self.tableCell('<center>' + title + '</center>','height=22')
***************
*** 212,238 ****
! def printLinks(self):
self.res += """
<center>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
! <td height="24" width="11" background="/images/round_left.png"> </td>
! <td class="tablelink"
onClick="document.location=\'/index.rpy\'"> Home </td>
! <td class="tablelink"
onClick="document.location=\'/guide.rpy\'"> TV Guide </td>
! <td class="tablelink"
onClick="document.location=\'/record.rpy\'"> Scheduled
Recordings </td>
! <td class="tablelink"
onClick="document.location=\'/favorites.rpy\'"> Favorites </td>
! <td class="tablelink"
onClick="document.location=\'/library.rpy\'"> Media Library </td>
! <td class="tablelink"
onClick="document.location=\'/manualrecord.rpy\'"> Manually
Record </td>
! """
try:
if config.ICECAST_WWW_PAGE:
! self.res += '<td class="tablelink"
onClick="document.location=\'/iceslistchanger.rpy\'"> Change Icecast List </td>'
except AttributeError:
pass
! self.res += '<td class="tablelink"
onClick="document.location=\'/help/\'"> Help </td>'
self.res += """
! <td height="24" width="11" background="/images/round_right.png" cellpadding=0
cellspacing=0> </td>
</tr>
</table>
--- 215,242 ----
! def printLinks(self, prefix=0):
! strprefix = '../' * prefix
self.res += """
<center>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
! <td height="24" width="11" background="images/round_left.png"> </td>
! <td class="tablelink"
onClick="document.location=\'%sindex.rpy\'"> Home </td>
! <td class="tablelink"
onClick="document.location=\'%sguide.rpy\'"> TV Guide </td>
! <td class="tablelink"
onClick="document.location=\'%srecord.rpy\'"> Scheduled
Recordings </td>
! <td class="tablelink"
onClick="document.location=\'%sfavorites.rpy\'"> Favorites </td>
! <td class="tablelink"
onClick="document.location=\'%slibrary.rpy\'"> Media
Library </td>
! <td class="tablelink"
onClick="document.location=\'%smanualrecord.rpy\'"> Manually
Record </td>
! """ % (strprefix,strprefix,strprefix,strprefix,strprefix,strprefix)
try:
if config.ICECAST_WWW_PAGE:
! self.res += '<td class="tablelink"
onClick="document.location=\'%siceslistchanger.rpy\'"> Change Icecast List </td>'
% strprefix
except AttributeError:
pass
! self.res += '<td class="tablelink"
onClick="document.location=\'%shelp/\'"> Help </td>' % strprefix
self.res += """
! <td height="24" width="11" background="images/round_right.png" cellpadding=0
cellspacing=0> </td>
</tr>
</table>
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog