gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r2168 - GNUnet-docs/WWW


From: grothoff
Subject: [GNUnet-SVN] r2168 - GNUnet-docs/WWW
Date: Thu, 6 Oct 2005 02:19:21 -0700 (PDT)

Author: grothoff
Date: 2005-10-06 02:19:20 -0700 (Thu, 06 Oct 2005)
New Revision: 2168

Modified:
   GNUnet-docs/WWW/i18nhtml.inc.php
Log:
stuff

Modified: GNUnet-docs/WWW/i18nhtml.inc.php
===================================================================
--- GNUnet-docs/WWW/i18nhtml.inc.php    2005-10-06 08:15:15 UTC (rev 2167)
+++ GNUnet-docs/WWW/i18nhtml.inc.php    2005-10-06 09:19:20 UTC (rev 2168)
@@ -184,8 +184,9 @@
     $hasTranslation = $i18nHTMLhasTranslation;
   if ( ($editor) || ($i18nHTMLhasTranslation == 0) ) {
     $protocol = "http";
-    if ($HTTP_SERVER_VARS['HTTPS'] == 'on')
-       $secure = "https"; // switch to https
+    if ($HTTP_SERVER_VARS["HTTPS"] == "on") {
+       $protocol = "https"; // switch to https
+    }
     $back = $protocol . "://" . $HTTP_SERVER_VARS["HTTP_HOST"] . 
$HTTP_SERVER_VARS["REQUEST_URI"];
     return "<a href=\"" . $i18nHTMLbase . "translate.php?xlang="
       . $lang





reply via email to

[Prev in Thread] Current Thread [Next in Thread]