[Mapbender-commits] r9204 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Jun 9 02:02:48 PDT 2015
Author: armin11
Date: 2015-06-09 02:02:48 -0700 (Tue, 09 Jun 2015)
New Revision: 9204
Modified:
trunk/mapbender/http/php/mod_showMetadata.php
Log:
New metadata element for grouped layer capabilities
Modified: trunk/mapbender/http/php/mod_showMetadata.php
===================================================================
--- trunk/mapbender/http/php/mod_showMetadata.php 2015-05-22 13:58:40 UTC (rev 9203)
+++ trunk/mapbender/http/php/mod_showMetadata.php 2015-06-09 09:02:48 UTC (rev 9204)
@@ -207,7 +207,8 @@
$translation['Download GML data from INSPIRE Download Service'] = "Download von GML-Daten über INSPIRE Downloaddienst";
$translation['Download raster data from INSPIRE Download Service'] = "Download von Rasterdaten über INSPIRE Downloaddienst";
$translation['Download linked data from INSPIRE Download Service'] = "Download von Daten über INSPIRE Downloaddienst (linked data)";
-
+ $translation['mapbenderCapabilitiesSingleLayer'] = "Zugriffspunkt Einzelebene";
+ $translation['mapbenderCapabilitiesWithSubLayer'] = "Zugriffspunkt mit Unterebenen";
break;
case "en":
$translation['overview'] = 'Overview';
@@ -286,6 +287,8 @@
$translation['Download GML data from INSPIRE Download Service'] = "Download GML data from INSPIRE Download Service";
$translation['Download raster data from INSPIRE Download Service'] = "Download raster data from INSPIRE Download Service";
$translation['Download linked data from INSPIRE Download Service'] = "Download linked data from INSPIRE Download Service";
+ $translation['mapbenderCapabilitiesSingleLayer'] = "Access point for single layer";
+ $translation['mapbenderCapabilitiesWithSubLayer'] = "Access point (sublayer included)";
break;
case "fr":
$translation['overview'] = 'Vue générale';
@@ -364,6 +367,8 @@
$translation['Download GML data from INSPIRE Download Service'] = "Download von GML-Daten über INSPIRE Downloaddienst";
$translation['Download raster data from INSPIRE Download Service'] = "Download von Rasterdaten über INSPIRE Downloaddienst";
$translation['Download linked data from INSPIRE Download Service'] = "Download von Daten über INSPIRE Downloaddienst (linked data)";
+ $translation['mapbenderCapabilitiesSingleLayer'] = "Zugriffspunkt Einzelebene";
+ $translation['mapbenderCapabilitiesWithSubLayer'] = "Zugriffspunkt mit Unterebenen";
break;
default: #to english
$translation['overview'] = 'Overview';
@@ -442,6 +447,8 @@
$translation['Download GML data from INSPIRE Download Service'] = "Download GML data from INSPIRE Download Service";
$translation['Download raster data from INSPIRE Download Service'] = "Download raster data from INSPIRE Download Service";
$translation['Download linked data from INSPIRE Download Service'] = "Download linked data from INSPIRE Download Service";
+ $translation['mapbenderCapabilitiesSingleLayer'] = "Access point for single layer";
+ $translation['mapbenderCapabilitiesWithSubLayer'] = "Access point (sublayer included)";
}
//Array with infos about the different elements which are shown in the tabs
@@ -1299,11 +1306,16 @@
}
if ($resource == 'wms' or $resource == 'layer'){
+
+ $html .= $t_a;
+ $html .= $translation['mapbenderCapabilities'];
+ $html .= $t_b;
+ $html .= "<table>";
+ $html .= $t_a.$translation['mapbenderCapabilitiesSingleLayer'].$t_b."<a href = '../php/wms.php?layer_id=".$layerId."&PHPSESSID=".session_id()."&REQUEST=GetCapabilities&VERSION=1.1.1&SERVICE=WMS' target=_blank>".$translation['capabilities']."</a> <img src='../img/osgeo_graphics/geosilk/link.png' onclick='showCapabilitiesUrl(\"".$mapbenderBaseUrl.$_SERVER['PHP_SELF']."/../wms.php?layer_id=".$layerId."&PHPSESSID=".session_id()."&REQUEST=GetCapabilities&VERSION=1.1.1&SERVICE=WMS"."\",\"".$translation['mapbenderCapabilitiesSingleLayer']."\");'>".$t_c;
- $html .= $t_a.$translation['mapbenderCapabilities'].$t_b."<a href = '../php/wms.php?layer_id=".$layerId."&PHPSESSID=".session_id()."&REQUEST=GetCapabilities&VERSION=1.1.1&SERVICE=WMS' target=_blank>".$translation['capabilities']."</a> <img src='../img/osgeo_graphics/geosilk/link.png' onclick='showCapabilitiesUrl(\"".$mapbenderBaseUrl.$_SERVER['PHP_SELF']."/../wms.php?layer_id=".$layerId."&PHPSESSID=".session_id()."&REQUEST=GetCapabilities&VERSION=1.1.1&SERVICE=WMS"."\",\"".$translation['mapbenderCapabilities']."\");'>".$t_c;
-
-
-
+ $html .= $t_a.$translation['mapbenderCapabilitiesWithSubLayer'].$t_b."<a href = '../php/wms.php?layer_id=".$layerId."&PHPSESSID=".session_id()."&REQUEST=GetCapabilities&VERSION=1.1.1&SERVICE=WMS&withCilds=1' target=_blank>".$translation['capabilities']."</a> <img src='../img/osgeo_graphics/geosilk/link.png' onclick='showCapabilitiesUrl(\"".$mapbenderBaseUrl.$_SERVER['PHP_SELF']."/../wms.php?layer_id=".$layerId."&PHPSESSID=".session_id()."&REQUEST=GetCapabilities&VERSION=1.1.1&SERVICE=WMS&withChilds=1"."\",\"".$translation['mapbenderCapabilitiesWithSubLayer']."\");'>".$t_c;
+ $html .= "</table>";
+ $html .= $t_c;
$capUrl = $resourceMetadata['wms_getcapabilities'].getConjunctionCharacter($resourceMetadata['wms_getcapabilities']).'REQUEST=GetCapabilities&VERSION=1.1.1&SERVICE=WMS';
//show only original url if the resource is not secured!
More information about the Mapbender_commits
mailing list