use detailsPermaLink function on main website as well

This commit is contained in:
Sarah Hoffmann
2020-02-09 16:05:22 +01:00
parent 57ae3d03a1
commit c36fd72f99
4 changed files with 46 additions and 8 deletions

View File

@@ -53,7 +53,7 @@
echo ' <span class="type">('.ucwords(str_replace('_',' ',$aResult['class'])).')</span>';
else
echo ' <span class="type">('.ucwords(str_replace('_',' ',$aResult['type'])).')</span>';
echo ' <a class="btn btn-default btn-xs details" href="details.php?osmtype='.$aResult['osm_type'].'&osmid='.$aResult['osm_id'].'&class='.$aResult['class'].'">details</a>';
echo detailsPermaLink($aResult, 'details', 'class="btn btn-default btn-xs details"');
echo '</div>';
$i = $i+1;
}