diff www/loc.php @ 2015:135b2b595e2c

Trailing whitespace cleanup.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 22 Jun 2018 19:28:30 +0300
parents e55d83a233fe
children d9c15f7ae4c4
line wrap: on
line diff
--- a/www/loc.php	Fri Jun 22 19:26:26 2018 +0300
+++ b/www/loc.php	Fri Jun 22 19:28:30 2018 +0300
@@ -32,7 +32,7 @@
     if ($s !== "") $s .= "&amp;";
     $s .= "n=".$qname;
   }
-  
+
   echo
     "  <a class=\"control continent ".$qclass.
     "\" href=\"?".$s."\">".$desc."</a>\n";
@@ -259,7 +259,7 @@
     {
       if ($s == "bat")
         $s = "http://wiz.bat.org/~".strtolower($coderName)."/";
-        
+
       echo "    [<a href=\"".$s."\">Homepage</a>]<br />\n";
     }
 
@@ -280,10 +280,10 @@
   echo
     "<div style=\"color: red;\">\n".
     " <ul>\n";
-  
+
   foreach ($errorMsgs as $msg)
     echo "  <li>".$msg."</li>\n";
-  
+
   echo
     " </ul>\n".
     "</div>\n";
@@ -305,12 +305,12 @@
     $letter = strtoupper($alpha);
 
     asort($alphaLocs);
-    
+
     echo
       "<h3 class=\"alpha\"><a id=\"ch".$letter."\"></a>".$letter."</h3>\n".
       mpSpecialDate("loc", 2).
       "<div class=\"locTable\">\n";
- 
+
     $n = 0;
     foreach ($alphaLocs as $ik => $iv)
     {
@@ -321,7 +321,7 @@
         "  <div class=\"locCell ".$iv["continent"]."\">".
         "<div class=\"locHeader\">".
         "<span class=\"locTitle\">".mpGetMapLink($iv, $continentList[$iv["continent"]][4])."</span>";
-      
+
       // If either freeform desc or URL field are set, we add those
       if (isset($iv["url"]) || isset($iv["freeform"]))
       {
@@ -342,20 +342,20 @@
         {
           $urlBegin = $urlEnd = "";
         }
-          
+
         echo
           " ".$urlBegin.
           "<span onmouseover=\"stt(".$totalLoc.
           ");\" onmouseout=\"htt();\">&#x1F354;</span>".
           $urlEnd;
-          
+
         $locationTips[$totalLoc] = [
           "title" => $iv["name"],
           "desc" => $desc
         ];
       }
 
-      echo "</div>"; // locHeader        
+      echo "</div>"; // locHeader
 
       // Alternative names
       if (($nnames = count($iv["names"])) > 1)
@@ -372,7 +372,7 @@
         }
         echo "<div class=\"locAltNames\">".implode(" | ", $fs)."</div>";
       }
-        
+
       // Coder / society names
       if (count($iv["coders"]) > 0 && $showCoders)
       {
@@ -401,7 +401,7 @@
           echo "<div class=\"locCoders\">".implode(", ", $fs)."</div>";
         }
       }
-        
+
       if (/* isset($coderName) && */ $iv["added"] > 0)
       {
         echo "<div class=\"locAdded\">".mpStrFTime($iv["added"])."</div>";
@@ -411,7 +411,7 @@
     }
     echo "</div>\n";
   }
-  
+
   echo
     "<p><b>".$totalLoc."</b> locations.</p>\n".
     "</div>\n"; // end of contents div