[LON-CAPA-cvs] cvs: loncom /interface lonhelp.pm

albertel lon-capa-cvs@mail.lon-capa.org
Sat, 02 Sep 2006 20:48:58 -0000


albertel		Sat Sep  2 16:48:58 2006 EDT

  Modified files:              
    /loncom/interface	lonhelp.pm 
  Log:
  - no need for the abosulte here
  
  
Index: loncom/interface/lonhelp.pm
diff -u loncom/interface/lonhelp.pm:1.32 loncom/interface/lonhelp.pm:1.33
--- loncom/interface/lonhelp.pm:1.32	Tue Jul 18 17:55:24 2006
+++ loncom/interface/lonhelp.pm	Sat Sep  2 16:48:58 2006
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonhelp.pm,v 1.32 2006/07/18 21:55:24 albertel Exp $
+# $Id: lonhelp.pm,v 1.33 2006/09/02 20:48:58 albertel Exp $
 #
 # .tex help system web server handler
 #
@@ -123,10 +123,10 @@
 	      } else {
 		  $label=~s/\.hlp$//;
 	      }
-             '\\begin{html}<a href="http://' . $serverroot ."/adm/help/".
+             '\\begin{html}<a href="/adm/help/'.
               $label .
               '.hlp#' . &processLabelName($1) . 
-             '"><img src="http://' . $serverroot . '/adm/help/gif/smallHelp.gif" border="0" /></a>' .
+             '"><img src="/adm/help/gif/smallHelp.gif" border="0" /></a>' .
              '\\end{html}'
              |gxe;
 
@@ -135,7 +135,7 @@
 
     # Figures leftover without captions
     $tex =~ s|  \\includegraphics(\[[^]]*\])*\{([^}]*)\}
-             |  '\\begin{html}<img src="http://' . $serverroot . '/adm/help/gif/' . $2 . '.gif" border="2"'.
+             |  '\\begin{html}<img src="/adm/help/gif/' . $2 . '.gif" border="2"'.
                 ' bordercolor="#000000"/>\\end{html}'
              |gxe;