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



_______________________________________________
GNUnet-SVN mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnunet-svn

Reply via email to