From: <mar...@us...> - 2008-05-21 19:05:07
|
Revision: 1073 http://navit.svn.sourceforge.net/navit/?rev=1073&view=rev Author: martin-s Date: 2008-05-21 12:05:05 -0700 (Wed, 21 May 2008) Log Message: ----------- Updated web server files Modified Paths: -------------- trunk/navit/navit/script/download_index.html trunk/navit/navit/script/map_index.php Modified: trunk/navit/navit/script/download_index.html =================================================================== --- trunk/navit/navit/script/download_index.html 2008-05-20 15:02:27 UTC (rev 1072) +++ trunk/navit/navit/script/download_index.html 2008-05-21 19:05:05 UTC (rev 1073) @@ -138,7 +138,7 @@ <input type="text" name="bounds_left" class="input"></li> </form> <li> </li> - <li><input type="button" value="Get map!" onclick="javascript:download()"></li> + <li><input type="button" class="button" value="Get map!" onclick="javascript:download()"></li> </ul> </div> </body> Modified: trunk/navit/navit/script/map_index.php =================================================================== --- trunk/navit/navit/script/map_index.php 2008-05-20 15:02:27 UTC (rev 1072) +++ trunk/navit/navit/script/map_index.php 2008-05-21 19:05:05 UTC (rev 1073) @@ -30,7 +30,7 @@ $areas=array( 'Germany' => '5,47,16,55.1', ); - $url='http://' . $HTTP_HOST . $PHP_SELF; + $url='http://' . $HTTP_SERVER_VARS['HTTP_HOST'] . $HTTP_SERVER_VARS['PHP_SELF']; echo "Use: $url?bbox=bllon,bllat,trlon,trlat <br />\n"; echo "<br />\n"; while (list($area,$bbox)=each($areas)) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |