[GRASS-SVN] r29900 - grass-web/trunk

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jan 30 15:31:46 EST 2008


Author: neteler
Date: 2008-01-30 15:31:46 -0500 (Wed, 30 Jan 2008)
New Revision: 29900

Modified:
   grass-web/trunk/index.php
Log:
message fine tuning

Modified: grass-web/trunk/index.php
===================================================================
--- grass-web/trunk/index.php	2008-01-30 19:07:47 UTC (rev 29899)
+++ grass-web/trunk/index.php	2008-01-30 20:31:46 UTC (rev 29900)
@@ -45,7 +45,8 @@
   $file_contents = curl_exec($ch);
   curl_close($ch);
   if (!$file_contents) {
-     echo "[unknown mirror country]\n";
+     echo "<font size=\"-1\"><i>You are at an official GRASS site (other
+                   <a href=\"mirrors.php\">mirror sites</a>)<br>";
   }
   else {
       // e.g.: "Country: UNITED STATES (US) City: San Diego, CA"
@@ -63,7 +64,8 @@
      $MYIP = $_SERVER['SERVER_ADDR'];
      $file = fopen ("http://api.hostip.info/get_html.php?ip=$MYIP", "r");
      if (!$file) {
-   	    echo "[unknown mirror country]\n";
+         echo "<font size=\"-1\"><i>You are at a official GRASS site (other
+                   <a href=\"mirrors.php\">mirror sites</a>)<br>";
      }
      else {
 	 $line = fgets ($file, 34);



More information about the grass-commit mailing list