Changeset 2868

Show
Ignore:
Timestamp:
01/14/12 07:58:01 (4 months ago)
Author:
paparazzia
Message:

fix #660

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/site/speedchart.php

    r2749 r2868  
    55    $noHeader = get_cgi_var('noHeader', 'no'); 
    66    $boattype = get_cgi_var('boattype', 'boat_Class40'); 
     7    $boattypeshort = substr($boattype, 5); 
    78    $format   = get_cgi_var('format', 'www'); 
    89 
     
    100101      '; 
    101102        echo "<h3>"; 
    102         echo "<a href=\"".DOC_SERVER_URL.$boattype."\">".$boattype."</a>";        
     103        echo "<a href=\"".DOC_SERVER_URL.$boattypeshort."\">".$boattypeshort."</a>";        
    103104        echo " - <a href=\"/speedchart.php?boattype=".$boattype."&amp;format=xml\">(xml)</a>"; 
    104105        echo " - <a href=\"/speedchart.php?boattype=".$boattype."&amp;format=pol\">(pol)</a>"; 
    105         echo " - <a href=\"/Polaires/boat_".$boattype.".csv\">(csv)</a>"; 
     106        echo " - <a href=\"/Polaires/boat_".$boattypeshort.".csv\">(csv)</a>"; 
    106107        echo "</h3><p>"; 
    107108