please do not use absolute paths. the web interface is meant to run from
any directory only referencing itself. This allows many people
(including me) to use it through a web proxied https server so they can
access it remotely.

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/

On Tue, 2003-09-23 at 14:22, [EMAIL PROTECTED] wrote:
> Update of /cvsroot/freevo/freevo/src/www
> In directory sc8-pr-cvs1:/tmp/cvs-serv7474
> 
> Modified Files:
>       web_types.py 
> Log Message:
> use absolute path names
> 
> Index: web_types.py
> ===================================================================
> RCS file: /cvsroot/freevo/freevo/src/www/web_types.py,v
> retrieving revision 1.14
> retrieving revision 1.15
> diff -C2 -d -r1.14 -r1.15
> *** web_types.py      12 Sep 2003 20:34:16 -0000      1.14
> --- web_types.py      23 Sep 2003 18:22:42 -0000      1.15
> ***************
> *** 10,13 ****
> --- 10,16 ----
>   # -----------------------------------------------------------------------
>   # $Log$
> + # Revision 1.15  2003/09/23 18:22:42  dischi
> + # use absolute path names
> + #
>   # Revision 1.14  2003/09/12 20:34:16  dischi
>   # start internal help system
> ***************
> *** 118,122 ****
>           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'
> --- 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'
> ***************
> *** 125,134 ****
>           # 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')
> --- 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')
> ***************
> *** 214,235 ****
>       <table border="0" cellpadding="0" cellspacing="0">
>         <tr>
> !         <td height="24" width="11" background="images/round_left.png">&nbsp;</td>
> !         <td class="tablelink" 
> onClick="document.location=\'index.rpy\'">&nbsp;&nbsp;Home&nbsp;&nbsp;</td>
> !         <td class="tablelink" 
> onClick="document.location=\'guide.rpy\'">&nbsp;&nbsp;TV Guide&nbsp;&nbsp;</td>
> !         <td class="tablelink" 
> onClick="document.location=\'record.rpy\'">&nbsp;&nbsp;Scheduled 
> Recordings&nbsp;&nbsp;</td>
> !         <td class="tablelink" 
> onClick="document.location=\'favorites.rpy\'">&nbsp;&nbsp;Favorites&nbsp;&nbsp;</td>
> !         <td class="tablelink" 
> onClick="document.location=\'library.rpy\'">&nbsp;&nbsp;Media 
> Library&nbsp;&nbsp;</td>
> !         <td class="tablelink" 
> onClick="document.location=\'manualrecord.rpy\'">&nbsp;&nbsp;Manually 
> Record&nbsp;&nbsp;</td>
>        """
>           try:
>               if config.ICECAST_WWW_PAGE:
> !                 self.res += '<td class="tablelink" 
> onClick="document.location=\'iceslistchanger.rpy\'">&nbsp;&nbsp;Change&nbsp;Icecast&nbsp;List&nbsp;&nbsp;</td>'
>           except AttributeError:
>               pass
>   
> !         self.res += '<td class="tablelink" 
> onClick="document.location=\'help.rpy\'">&nbsp;&nbsp;Help&nbsp;&nbsp;</td>'
>   
>           self.res += """
> !     <td height="24" width="11" background="images/round_right.png" cellpadding=0 
> cellspacing=0>&nbsp;</td>
>         </tr>
>       </table>
> --- 217,238 ----
>       <table border="0" cellpadding="0" cellspacing="0">
>         <tr>
> !         <td height="24" width="11" background="/images/round_left.png">&nbsp;</td>
> !         <td class="tablelink" 
> onClick="document.location=\'/index.rpy\'">&nbsp;&nbsp;Home&nbsp;&nbsp;</td>
> !         <td class="tablelink" 
> onClick="document.location=\'/guide.rpy\'">&nbsp;&nbsp;TV Guide&nbsp;&nbsp;</td>
> !         <td class="tablelink" 
> onClick="document.location=\'/record.rpy\'">&nbsp;&nbsp;Scheduled 
> Recordings&nbsp;&nbsp;</td>
> !         <td class="tablelink" 
> onClick="document.location=\'/favorites.rpy\'">&nbsp;&nbsp;Favorites&nbsp;&nbsp;</td>
> !         <td class="tablelink" 
> onClick="document.location=\'/library.rpy\'">&nbsp;&nbsp;Media 
> Library&nbsp;&nbsp;</td>
> !         <td class="tablelink" 
> onClick="document.location=\'/manualrecord.rpy\'">&nbsp;&nbsp;Manually 
> Record&nbsp;&nbsp;</td>
>        """
>           try:
>               if config.ICECAST_WWW_PAGE:
> !                 self.res += '<td class="tablelink" 
> onClick="document.location=\'/iceslistchanger.rpy\'">&nbsp;&nbsp;Change&nbsp;Icecast&nbsp;List&nbsp;&nbsp;</td>'
>           except AttributeError:
>               pass
>   
> !         self.res += '<td class="tablelink" 
> onClick="document.location=\'/help/\'">&nbsp;&nbsp;Help&nbsp;&nbsp;</td>'
>   
>           self.res += """
> !     <td height="24" width="11" background="/images/round_right.png" cellpadding=0 
> cellspacing=0>&nbsp;</td>
>         </tr>
>       </table>
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Freevo-cvslog mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-cvslog




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to