[Mapbender-commits] r7794 - trunk/mapbender/http/plugins
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed May 4 13:06:16 EDT 2011
Author: armin11
Date: 2011-05-04 10:06:16 -0700 (Wed, 04 May 2011)
New Revision: 7794
Modified:
trunk/mapbender/http/plugins/mb_metadata_addon.php
Log:
Bugfixes
Modified: trunk/mapbender/http/plugins/mb_metadata_addon.php
===================================================================
--- trunk/mapbender/http/plugins/mb_metadata_addon.php 2011-05-04 16:39:57 UTC (rev 7793)
+++ trunk/mapbender/http/plugins/mb_metadata_addon.php 2011-05-04 17:06:16 UTC (rev 7794)
@@ -2,11 +2,12 @@
require_once dirname(__FILE__) . "/../../core/globalSettings.php";
?>
<fieldset class="ui-widget" id="metadataUrlEditor" name="metadataUrlEditor" type="hidden" style="display: none">
+<input name="kindOfMetadataAddOn" id="kindOfMetadataAddOn" type="hidden" value="" />
<fieldset id="addonChooser" name="addonChooser" style="display: none">
<legend><?php echo _mb("Choose kind of coupled metadata");?></legend>
<p>
- <table><tr><td><img src='../img/osgeo_graphics/geosilk/link.png' title='linkage' onclick='$("#addonChooser").css("display","none");$("#link_editor").css("display","block");' /></td><td><?php echo _mb("Add URL to existing Metadataset");?></td></tr>
- <tr><td><img src='../img/gnome/edit-select-all.png' title='metadata' onclick='$("#addonChooser").css("display","none");$("#simple_metadata_editor").css("display","block");' /></td><td><?php echo _mb("Add a simple metadata record which is mostly generated from given layer information");?></td></tr>
+ <table><tr><td><img src='../img/osgeo_graphics/geosilk/link.png' title='linkage' onclick='$("#addonChooser").css("display","none");$("#link_editor").css("display","block");$("#kindOfMetadataAddOn").attr("value","link");' /></td><td><?php echo _mb("Add URL to existing Metadataset");?></td></tr>
+ <tr><td><img src='../img/gnome/edit-select-all.png' title='metadata' onclick='$("#addonChooser").css("display","none");$("#simple_metadata_editor").css("display","block");$("#kindOfMetadataAddOn").attr("value","metadataset");' /></td><td><?php echo _mb("Add a simple metadata record which is mostly generated from given layer information");?></td></tr>
</table>
</p>
</fieldset>
More information about the Mapbender_commits
mailing list