Changeset 1805

Show
Ignore:
Timestamp:
09/07/10 21:04:22 (17 months ago)
Author:
paparazzia
Message:

fix #400

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/site/races.php

    r1804 r1805  
    4141                if ( strstr(substr($table, 0, 2), "WP") ) { 
    4242                    $WP = $fullRacesObj->races->giveWPCoordinates(substr($table,2)); 
    43                     $cellcontent = $WP['libelle']." (".$table." ".getWaypointHTMLSymbols(intval(substr($table,2)))." )"; 
     43                    $cellcontent = $WP['libelle']." (".$table." ".getWaypointHTMLSymbols($WP['wpformat'])." )"; 
    4444                } else { 
    4545                    $cellcontent = ucfirst($table); 
     
    4949                if ( strstr(substr($table, 0, 2), "WP") ) { 
    5050                    $WP=$fullRacesObj->races->giveWPCoordinates(substr($table,2)); 
    51                     $tlabel=$WP['libelle']." (".$table." ".getWaypointHTMLSymbols(intval(substr($table,2)))." )"; 
     51                    $tlabel=$WP['libelle']." (".$table." ".getWaypointHTMLSymbols($WP['wpformat'])." )"; 
    5252                } else { 
    5353                    $tlabel=$table; 
    5454                } 
    5555                $cellcontent="<a title=\"".ucfirst($tlabel)."\" href=\"" . $_SERVER["PHP_SELF"] . "?idraces=" . $fullRacesObj->races->idraces . "&amp;type=".$table. "\">"; 
    56                 $cellcontent.=$table; 
     56                $cellcontent.=$table." ".getWaypointHTMLSymbols($WP['wpformat']); 
    5757                $cellcontent.="</a>"; 
    5858            }