Changeset 2868
- Timestamp:
- 01/14/12 07:58:01 (4 months ago)
- Files:
-
- 1 modified
-
trunk/site/speedchart.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/site/speedchart.php
r2749 r2868 5 5 $noHeader = get_cgi_var('noHeader', 'no'); 6 6 $boattype = get_cgi_var('boattype', 'boat_Class40'); 7 $boattypeshort = substr($boattype, 5); 7 8 $format = get_cgi_var('format', 'www'); 8 9 … … 100 101 '; 101 102 echo "<h3>"; 102 echo "<a href=\"".DOC_SERVER_URL.$boattype ."\">".$boattype."</a>";103 echo "<a href=\"".DOC_SERVER_URL.$boattypeshort."\">".$boattypeshort."</a>"; 103 104 echo " - <a href=\"/speedchart.php?boattype=".$boattype."&format=xml\">(xml)</a>"; 104 105 echo " - <a href=\"/speedchart.php?boattype=".$boattype."&format=pol\">(pol)</a>"; 105 echo " - <a href=\"/Polaires/boat_".$boattype .".csv\">(csv)</a>";106 echo " - <a href=\"/Polaires/boat_".$boattypeshort.".csv\">(csv)</a>"; 106 107 echo "</h3><p>"; 107 108
