Skip to content
Permalink
Browse files

fixed protection area message translation for downloads

  • Loading branch information...
following5 committed Aug 13, 2013
1 parent 686ea0d commit 4e0bef0a6c99a18d1ad18d60bd91139774599a01
Showing with 1 addition and 1 deletion.
  1. +1 −1 htdocs/lib2/logic/npas.inc.php
@@ -37,7 +37,7 @@ function get_desc_npas($cache_id)
$npas = get_npas($cache_id);
if ($npas)
{
$desc = "<p>" . str_replace('%1',$opt['cms']['npa'], _('This geocache is probably placed within the following nature protection areas (<a href="%1">Info</a>):')) . "</p>\n" .
$desc = "<p>" . str_replace('%1',$opt['cms']['npa'], _('This geocache is probably placed within the following protection areas (<a href="%1">Info</a>):')) . "</p>\n" .
"<ul>\n";
foreach ($npas as $npa)
$desc .= "<li>" . $npa['npaTypeName'] . ": <a href='http://www.google.de/search?q=".urlencode($npa['npaTypeName'].' '.$npa['npaName'])."' target='_blank'>" . $npa['npaName'] . "</a></li>\n";

0 comments on commit 4e0bef0

Please sign in to comment.
You can’t perform that action at this time.