[Mapbender-commits] r9064 - trunk/mapbender/http/html
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Sep 10 04:01:48 PDT 2014
Author: armin11
Date: 2014-09-10 04:01:48 -0700 (Wed, 10 Sep 2014)
New Revision: 9064
Modified:
trunk/mapbender/http/html/mod_treefolderPlain.php
Log:
show downloadurls in layertree
Modified: trunk/mapbender/http/html/mod_treefolderPlain.php
===================================================================
--- trunk/mapbender/http/html/mod_treefolderPlain.php 2014-09-10 11:01:22 UTC (rev 9063)
+++ trunk/mapbender/http/html/mod_treefolderPlain.php 2014-09-10 11:01:48 UTC (rev 9064)
@@ -884,8 +884,8 @@
if(wmsbuttons == 'true'&&metadatalink == 'true'){
controls.push('<a href="javascript:openwindow(\''+ defaultMetadataUrl + '&id='+temp.layer_uid+'\');"><img alt="'+msgObj.tooltipMetadata+'" title="'+msgObj.tooltipMetadata+'" src="'+imagedir+'/info.png" /></a>');
}
- if(wmsbuttons == 'true'&&datalink == 'true' && mb_mapObj[i].wms[ii].objLayer[j].gui_layer_dataurl_href != ''){
- controls.push('<a href="'+'javascript:openwindow(\''+ mb_mapObj[i].wms[ii].objLayer[j].layer_dataurl_href +'\');"><img width="18" height="18" alt="'+msgObj.tooltipDownload+'" title="'+msgObj.tooltipDownload+'" src="'+imagedir+'/../gnome/document-save.png" /></a>');
+ if(wmsbuttons == 'true'&&datalink == 'true' && mb_mapObj[i].wms[ii].objLayer[j].layer_dataurl != ''){
+ controls.push('<a href="'+'javascript:openwindow(\''+ mb_mapObj[i].wms[ii].objLayer[j].layer_dataurl +'\');"><img width="18" height="18" alt="'+msgObj.tooltipDownload+'" title="'+msgObj.tooltipDownload+'" src="'+imagedir+'/../gnome/document-save.png" /></a>');
}
var groupedImageStyle ='';
if (temp.has_childs == true){
More information about the Mapbender_commits
mailing list