[Mapbender-commits] r8184 - trunk/mapbender/http/plugins
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Oct 17 10:04:27 EDT 2011
Author: armin11
Date: 2011-10-17 07:04:27 -0700 (Mon, 17 Oct 2011)
New Revision: 8184
Modified:
trunk/mapbender/http/plugins/mb_metadata_layer.js
trunk/mapbender/http/plugins/mb_metadata_layer.php
trunk/mapbender/http/plugins/mb_metadata_layerTree.js
Log:
Add link to show metadata preview at wms metadata editor
Modified: trunk/mapbender/http/plugins/mb_metadata_layer.js
===================================================================
--- trunk/mapbender/http/plugins/mb_metadata_layer.js 2011-10-13 14:09:05 UTC (rev 8183)
+++ trunk/mapbender/http/plugins/mb_metadata_layer.js 2011-10-17 14:04:27 UTC (rev 8184)
@@ -87,6 +87,7 @@
return;
}
$metadataForm.easyform("fill", obj);
+ $('#layer_id_p').append('<a target=\"_blank\"href=\"../php/mod_showMetadata.php?resource=layer&layout=tabs&id='+layerId+'\">Metadata Preview</a>');
//delete metadataURL entries
$('.metadataEntry').remove();
//fill MetadataURLs into metadata_selectbox_id
Modified: trunk/mapbender/http/plugins/mb_metadata_layer.php
===================================================================
--- trunk/mapbender/http/plugins/mb_metadata_layer.php 2011-10-13 14:09:05 UTC (rev 8183)
+++ trunk/mapbender/http/plugins/mb_metadata_layer.php 2011-10-17 14:04:27 UTC (rev 8184)
@@ -35,7 +35,7 @@
<img class="original-metadata-layer" src="../img/book.png" alt="" />
<img class="help-dialog" title="<?php echo _mb("Help");?>" help="{text:'<?php echo _mb("The original WMS-Metadata from the last update could be recovered or updated, so that the original Service-Metadata will be shown outward again.");?>'}" src="../img/questionmark.png" alt="" />
</p>
- <p>
+ <p id = "layer_id_p" name = "layer_id_p">
<label for="layer_id"><?php echo _mb("Number of Layer (Registry)");?>:</label>
<span class="metadata_span"></span>
<input readonly="readonly" name="layer_id" id="layer_id"/>
Modified: trunk/mapbender/http/plugins/mb_metadata_layerTree.js
===================================================================
--- trunk/mapbender/http/plugins/mb_metadata_layerTree.js 2011-10-13 14:09:05 UTC (rev 8183)
+++ trunk/mapbender/http/plugins/mb_metadata_layerTree.js 2011-10-17 14:04:27 UTC (rev 8184)
@@ -61,7 +61,7 @@
data: $.toJSON(set.attr)
},
data: {
- title: leafTitle
+ title: annex
}
};
};
More information about the Mapbender_commits
mailing list