[Mapbender-commits] r10229 - trunk/mapbender/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Aug 30 02:44:45 PDT 2019


Author: armin11
Date: 2019-08-30 02:44:45 -0700 (Fri, 30 Aug 2019)
New Revision: 10229

Modified:
   trunk/mapbender/http/php/mod_linkedDataProxy.php
Log:
New translations for linkedDataProxy

Modified: trunk/mapbender/http/php/mod_linkedDataProxy.php
===================================================================
--- trunk/mapbender/http/php/mod_linkedDataProxy.php	2019-08-30 09:43:55 UTC (rev 10228)
+++ trunk/mapbender/http/php/mod_linkedDataProxy.php	2019-08-30 09:44:45 UTC (rev 10229)
@@ -1238,7 +1238,7 @@
                 $html .= '        </div>'.$newline;
 //further information about the service DATASOURCE TODO
                 $html .= '        <div class="row my-3">'.$newline;
-                $html .= '            <div class="col-md-2 font-weight-bold">Data source</div>'.$newline;
+                $html .= '            <div class="col-md-2 font-weight-bold">'._mb('Data source').'</div>'.$newline;
                 $html .= '            <div class="col-md-10">'.$newline;
                 $html .= '                <a itemprop="isBasedOn" href="'.$returnObject->accessUrl.'" target="_blank">'.$returnObject->accessUrl.'</a>'.$newline;
                 $html .= '            </div>'.$newline;
@@ -1245,7 +1245,7 @@
                 $html .= '        </div>'.$newline;
 //further information about the service PROVIDER TODO
                 $html .= '        <div class="row my-3">'.$newline;
-                $html .= '            <div class="col-md-2 font-weight-bold">Provider</div>'.$newline;
+                $html .= '            <div class="col-md-2 font-weight-bold">'._mb('Provider').'</div>'.$newline;
                 $html .= '            <div class="col-md-10">'.$newline;
                 $html .= '                <ul class="list-unstyled" itemprop="creator" itemscope itemtype="http://schema.org/Organization">'.$newline;
                 $html .= '                    <li itemprop="name">'.$returnObject->provider.'</li>'.$newline;
@@ -1262,7 +1262,7 @@
                 $html .= '        </div>'.$newline;
 //further information about the service LICENSE TODO
                 $html .= '        <div class="row my-3">'.$newline;
-                $html .= '        <div class="col-md-2 font-weight-bold">License</div>'.$newline;
+                $html .= '        <div class="col-md-2 font-weight-bold">'._mb('License').'</div>'.$newline;
                 $html .= '         <div class="col-md-10">'.$newline;
                 $html .= '        <div itemprop="license">'.$returnObject->license.'</div>'.$newline;
                 $html .= '        </div>'.$newline;
@@ -1487,7 +1487,7 @@
 			    foreach($returnObject->features as $feature) {
 				$html .= '                <li>'.$newline;
 				$html .= '                    <div  itemscope itemtype="http://schema.org/Place">'.$newline;
-				$html .= '                        <h4 class="mt-3 mb-1"><a href="'.delTotalFromQuery(array('items','offset','limit','bbox'),$_SERVER['REQUEST_URI']).'&item='.$feature->id.'" target="_blank"><span itemprop="name">'.$feature->id.'</span></a></h4><a href=""  onclick="zoomToExtent('.$geojsonBbox[$objIndex]->minx.",".$geojsonBbox[$objIndex]->miny.",".$geojsonBbox[$objIndex]->maxx.",".$geojsonBbox[$objIndex]->maxy.');return false;">zoom to</a>'.$newline;
+				$html .= '                        <h4 class="mt-3 mb-1"><a href="'.delTotalFromQuery(array('items','offset','limit','bbox'),$_SERVER['REQUEST_URI']).'&item='.$feature->id.'" target="_blank"><span itemprop="name">'.$feature->id.'</span></a></h4><a href=""  onclick="zoomToExtent('.$geojsonBbox[$objIndex]->minx.",".$geojsonBbox[$objIndex]->miny.",".$geojsonBbox[$objIndex]->maxx.",".$geojsonBbox[$objIndex]->maxy.');return false;">'._mb('zoom to').'</a>'.$newline;
 				$html .= '                        <span class="d-none" itemprop="sameAs">https://www.ldproxy.nrw.de/topographie/collections/ax_bergbaubetrieb/items/DENWAT01D000CcF0</span>'.$newline;
 				//foreach attribute
 				foreach($feature->properties as $key=>$value) {



More information about the Mapbender_commits mailing list