Author: cyb
Date: Thu Jun  7 16:56:32 2007
New Revision: 537

URL: http://svn.gna.org/viewcvs/phplinker?rev=537&view=rev
Log:
Use relative HTML links

Modified:
    trunk/www/lib/general.php

Modified: trunk/www/lib/general.php
URL: 
http://svn.gna.org/viewcvs/phplinker/trunk/www/lib/general.php?rev=537&r1=536&r2=537&view=diff
==============================================================================
--- trunk/www/lib/general.php (original)
+++ trunk/www/lib/general.php Thu Jun  7 16:56:32 2007
@@ -186,7 +186,7 @@
     $other_path1 =str_replace("/index.php","/",$_SERVER['PHP_SELF']);
     if($other_path1=="/")
       $other_path = $_SERVER['SERVER_NAME'];
-    $navbars = "<a href=\"http://".$_SERVER['SERVER_NAME'] . $other_path1."\" 
class=\"bleunsU\"><strong>Sommaire</strong></a>&nbsp;>&nbsp;".linker_output_generated_category_path($id)."";
+    $navbars = "<a href=\"$other_path1\" 
class=\"bleunsU\"><strong>Sommaire</strong></a>&nbsp;>&nbsp;".linker_output_generated_category_path($id)."";
   }else{
     $navbars = "Sommaire";
   }


_______________________________________________
PHPLinker-commits mailing list
[email protected]
https://mail.gna.org/listinfo/phplinker-commits

Reply via email to