goba            Sat Sep 11 11:34:49 2004 EDT

  Modified files:              
    /livedocs/themes/php.net    html_format.php 
  Log:
  use WEBBASE as Nuno suggested
  
http://cvs.php.net/diff.php/livedocs/themes/php.net/html_format.php?r1=1.14&r2=1.15&ty=u
Index: livedocs/themes/php.net/html_format.php
diff -u livedocs/themes/php.net/html_format.php:1.14 
livedocs/themes/php.net/html_format.php:1.15
--- livedocs/themes/php.net/html_format.php:1.14        Sat Sep 11 08:13:43 2004
+++ livedocs/themes/php.net/html_format.php     Sat Sep 11 11:34:48 2004
@@ -18,7 +18,7 @@
 // | headers and footers for the HTML rendering                           |
 // +----------------------------------------------------------------------+
 //  
-// $Id: html_format.php,v 1.14 2004/09/11 12:13:43 goba Exp $
+// $Id: html_format.php,v 1.15 2004/09/11 15:34:48 goba Exp $
 
 // in livedoc.php
 define(
@@ -30,7 +30,7 @@
 function manual_page_header() 
 {
        global $lang, $title, $css_url, $nav;
-       $dir = RTL;
+       $dir = RTL; $webbase = WEBBASE;
        $head =<<<HEAD
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
@@ -38,16 +38,16 @@
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 <title>PHP: $title - Manual</title>
-<link rel="stylesheet" href="/style.css" type="text/css" />
-<link rel="stylesheet" href="/styles/mirror.css" type="text/css" />
+<link rel="stylesheet" href="{$webbase}style.css" type="text/css" />
+<link rel="stylesheet" href="{$webbase}styles/mirror.css" type="text/css" />
 <link rel="stylesheet" href="$css_url" type="text/css" />
-<link rel="shortcut icon" href="/favicon.ico" />
-<script language="Javascript" type="text/javascript" src="/userprefs.js"></script>
+<link rel="shortcut icon" href="{$webbase}favicon.ico" />
+<script language="Javascript" type="text/javascript" 
src="{$webbase}userprefs.js"></script>
 </head>
 <body$dir>
 <table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr bgcolor="#9999cc">
-  <td align="center" rowspan="2" width="126"><a href="/"><img 
src="/themes/php.net/php.gif" alt="PHP" width="120" height="67" hspace="3" /></a></td>
+  <td align="center" rowspan="2" width="126"><a href="/"><img 
src="{$webbase}themes/php.net/php.gif" alt="PHP" width="120" height="67" hspace="3" 
/></a></td>
   <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#9999cc">
@@ -55,7 +55,7 @@
    <a href="/downloads.php" class="small">downloads</a> | <a href="/docs.php" 
class="small">documentation</a> | <a href="/FAQ.php" class="small">faq</a> | <a 
href="/support.php" class="small">getting help</a> | <a href="/mailing-lists.php" 
class="small">mailing lists</a> | <a href="http://bugs.php.net/"; 
class="small">reporting bugs</a> | <a href="/sites.php" class="small">php.net 
sites</a> | <a href="/links.php" class="small">links</a> | <a href="/my.php" 
class="small">my php.net</a>&nbsp;
   </td>
  </tr>
- <tr bgcolor="#333366"><td colspan="2"><img src="/themes/php.net/spacer.gif" 
width="1" height="1" border="0" alt="" /></td></tr>
+ <tr bgcolor="#333366"><td colspan="2"><img src="{$webbase}themes/php.net/spacer.gif" 
width="1" height="1" border="0" alt="" /></td></tr>
  <tr bgcolor="#666699">
   <td align="right" valign="top" colspan="2" class="quicksearch">
    <form method="post" action="/search.php" class="thin" name="topsearch">
@@ -71,11 +71,11 @@
    <option value="devlist">developer mailing list</option>
    <option value="phpdoc">documentation mailing list </option>
    </select>
-   <input type="image" src="/themes/php.net/small_submit_white.gif" alt="search" 
align="bottom" />&nbsp;
+   <input type="image" src="{$webbase}themes/php.net/small_submit_white.gif" 
alt="search" align="bottom" />&nbsp;
    </form>
   </td>
  </tr>
- <tr bgcolor="#333366"><td colspan="3"><img src="/themes/php.net/spacer.gif" 
width="1" height="1" border="0" alt="" /></td></tr> 
+ <tr bgcolor="#333366"><td colspan="3"><img src="{$webbase}themes/php.net/spacer.gif" 
width="1" height="1" border="0" alt="" /></td></tr> 
 </table>
 <table>
  <tr>

Reply via email to