[Mapbender-commits] r6185 - trunk/mapbender/http/plugins

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed May 12 04:33:16 EDT 2010


Author: dstenger
Date: 2010-05-12 04:33:14 -0400 (Wed, 12 May 2010)
New Revision: 6185

Modified:
   trunk/mapbender/http/plugins/mb_metadata_edit.php
   trunk/mapbender/http/plugins/mb_metadata_layer.php
Log:


Modified: trunk/mapbender/http/plugins/mb_metadata_edit.php
===================================================================
--- trunk/mapbender/http/plugins/mb_metadata_edit.php	2010-05-12 07:59:01 UTC (rev 6184)
+++ trunk/mapbender/http/plugins/mb_metadata_edit.php	2010-05-12 08:33:14 UTC (rev 6185)
@@ -1,14 +1,15 @@
 <?php
 	require_once dirname(__FILE__) . "/../../core/globalSettings.php";
 ?>
+
 <fieldset>
 	<input name="wms_id" id="wms_id" type="hidden"/>
 
-	<legend>Service Level Metadata: <img class="help-dialog" title="<?php echo _mb("Help");?>" help="{text:'<?php echo _mb("Help text");?>'}" src="../img/questionmark.png"></img></legend>
+	<legend><?php echo _mb("Service Level Metadata");?>: <img class="help-dialog" title="<?php echo _mb("Help");?>" help="{text:'<?php echo _mb("Possibility to adapt and add informations in the separate WMS-Layer Metadata. The modified Metadata is stored in the database of the GeoPortal.rlp, outwardly these metadata overwrite the original Service-Metadata.");?>'}" src="../img/questionmark.png"></img></legend>
 	<p>
 		<label for="wms_title"><?php echo _mb("Show original Service Metadata from last update");?></label>
 		<img class="original-metadata-wms" src="../img/book.png"></img>
-		<img class="help-dialog" title="<?php echo _mb("Help");?>" help="{text:'<?php echo _mb("Help text");?>'}" src="../img/questionmark.png"></img>
+		<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"></img>
 	</p>
 	<p>
 		<label for="wms_title"><?php echo _mb("WMS Title (OWS)");?>:</label>
@@ -16,22 +17,22 @@
 		<img class="metadata_img" src="../img/misc/inspire_eu_klein.png"></img>
 	</p>
 	<p>
-    	<label for="wms_abstract">WMS Abstract (OWS):</label>
+    	<label for="wms_abstract"><?php echo _mb("WMS Abstract (OWS)");?>:</label>
     	<input name="wms_abstract" id="wms_abstract"/>
     	<img class="metadata_img" src="../img/misc/inspire_eu_klein.png"></img>
 	</p>
 	<p>
-		<label for="wms_keywords">WMS Keywords (OWS):</label>
+		<label for="wms_keywords"><?php echo _mb("WMS Keywords (OWS)");?>:</label>
     	<input readonly="readonly" name="wms_keywords" id="wms_keywords"/>
     	<img class="metadata_img" src="../img/misc/inspire_eu_klein.png"></img>
 	</p>
 	<p>
-		<label for="fees">WMS Fees (OWS):</label>
+		<label for="fees"><?php echo _mb("WMS Fees (OWS)");?>:</label>
     	<input name="fees" id="fees"/>
     	<img class="metadata_img" src="../img/misc/inspire_eu_klein.png"></img>
 	</p>
 	<p>
-		<label for="accessconstraints">WMS AccessConstraints (OWS):</label>
+		<label for="accessconstraints"><?php echo _mb("WMS AccessConstraints (OWS)");?>:</label>
 		<input name="accessconstraints" id="accessconstraints"/>
     	<img class="metadata_img" src="../img/misc/inspire_eu_klein.png"></img>
 	</p>
@@ -44,7 +45,7 @@
 	}
 ?>
 	<p>
-		<label for="wms_termsofuse">WMS Predefined Licence (Registry):</label>
+		<label for="wms_termsofuse"><?php echo _mb("WMS Predefined Licence (Registry)");?>:</label>
     	<select name="wms_termsofuse" id="wms_termsofuse">
 			<option>...</option>
 <?php
@@ -57,60 +58,60 @@
 	</p>
 </fieldset>
 <fieldset>
-	<legend>WMS Provider Section (OWS)</legend>
+	<legend><?php echo _mb("WMS Provider Section (OWS)");?></legend>
 	<p>
-		<label for="contactperson">Contact Individual Name (OWS):</label>
+		<label for="contactperson"><?php echo _mb("Contact Individual Name (OWS)");?>:</label>
     	<input name="contactperson" id="contactperson"/>
 	</p>
 	<p>
-		<label for="contactposition">Contact Position Name (OWS):</label>
+		<label for="contactposition"><?php echo _mb("Contact Position Name (OWS)");?>:</label>
     	<input name="contactposition" id="contactposition"/>
 	</p>
 	<p>
-		<label for="contactvoicetelephone">Contact Phone Voice (OWS):</label>
+		<label for="contactvoicetelephone"><?php echo _mb("Contact Phone Voice (OWS)");?>:</label>
     	<input name="contactvoicetelephone" id="contactvoicetelephone"/>
 	</p>
 	<p>
-		<label for="contactfacsimiletelephone">Contact Phone Fax (OWS):</label>
+		<label for="contactfacsimiletelephone"><?php echo _mb("");?>Contact Phone Fax (OWS):</label>
     	<input name="contactfacsimiletelephone" id="contactfacsimiletelephone"/>
 	</p>
 	<p>
-		<label for="contactorganization">Contact Organisation (WMS):</label>
+		<label for="contactorganization"><?php echo _mb("Contact Organisation (WMS)");?>:</label>
     	<input name="contactorganization" id="contactorganization"/>
     	<img  class="metadata_img" src="../img/misc/inspire_eu_klein.png"></img>
 	</p>
 	<p>
-		<label for="address">Contact Address (WMS):</label>
+		<label for="address"><?php echo _mb("Contact Address (WMS)");?>:</label>
     	<input name="address" id="address"/>
 	</p>
 	<p>
-		<label for="city">Contact City (WMS):</label>
+		<label for="city"><?php echo _mb("Contact City (WMS)");?>:</label>
      	<input name="city" id="city"/>
 	</p>
 	<p>
-	  	<label for="stateorprovince">Contact State or Province (WMS) - ISO 3166-II:</label>
+	  	<label for="stateorprovince"><?php echo _mb("Contact State or Province (WMS) - ISO 3166-II");?>:</label>
       	<input name="stateorprovince" id="stateorprovince"/>
 	</p>
 	<p>
-	  	<label for="postcode">Contact Post Code (WMS):</label>
+	  	<label for="postcode"><?php echo _mb("Contact Post Code (WMS)");?>:</label>
       	<input name="postcode" id="postcode"/>
 	</p>
 	<p>
-	  	<label for="country">Contact Post Country (WMS) - ISO 3166:</label>
+	  	<label for="country"><?php echo _mb("Contact Post Country (WMS) - ISO 3166");?>:</label>
       	<input name="country" id="country"/>
 	</p>
 	<p>
-	  	<label for="contactelectronicmailaddress">Contact Electronic Mail Address (WMS):</label>
+	  	<label for="contactelectronicmailaddress"><?php echo _mb("Contact Electronic Mail Address (WMS)");?>:</label>
       	<input name="contactelectronicmailaddress" id="contactelectronicmailaddress" class="required email"/>
      	<img class="metadata_img" src="../img/misc/inspire_eu_klein.png"></img>
 	</p>
 	<p>
-	  	<label for="wms_timestamp_create">Date of first registration (Registry):</label>
+	  	<label for="wms_timestamp_create"><?php echo _mb("Date of first registration (Registry)");?>:</label>
       	<input readonly="readonly" name="wms_timestamp_create" id="wms_timestamp_create"/>
       	<img class="metadata_img" src="../img/misc/inspire_eu_klein.png"></img>
 	</p>
 	<p>
-	  	<label for="wms_timestamp">Date of last revision (Registry):</label>
+	  	<label for="wms_timestamp"><?php echo _mb("Date of last revision (Registry)");?>:</label>
       	<td><input readonly="readonly" name="wms_timestamp" id="wms_timestamp"/>
       	<img class="metadata_img" src="../img/misc/inspire_eu_klein.png"></img>
 	</p>

Modified: trunk/mapbender/http/plugins/mb_metadata_layer.php
===================================================================
--- trunk/mapbender/http/plugins/mb_metadata_layer.php	2010-05-12 07:59:01 UTC (rev 6184)
+++ trunk/mapbender/http/plugins/mb_metadata_layer.php	2010-05-12 08:33:14 UTC (rev 6185)
@@ -17,8 +17,6 @@
 	}
 ?>
 
-<h1>Layer Level Metadata:</h1>
-
 <div id="choose">
 	<fieldset class="">
 		<p>
@@ -31,38 +29,38 @@
 	<fieldset class="">
 		<input name="layer_name" id="layer_name" type="hidden"/>
 
-		<legend>Layer metadata</legend>
+		<legend>Layer Level Metadata: <img class="help-dialog" title="<?php echo _mb("Help");?>" help="{text:'<?php echo _mb("Possibility to adapt and add informations in the separate WMS-Layer Metadata. The modified Metadata will be stored in the database of the GeoPortal.rlp, outwardly these metadata overwrite the original Service-Metadata.");?>'}" src="../img/questionmark.png"></img></legend>
 		<p>
 			<label for="wms_title"><?php echo _mb("Show original Service Metadata from last update");?></label>
 			<img class="original-metadata-layer" src="../img/book.png"></img>
-			<img class="help-dialog" title="<?php echo _mb("Help");?>" help="{text:'<?php echo _mb("Help text");?>'}" src="../img/questionmark.png"></img>
+			<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"></img>
 		</p>
 		<p>
-			<label for="layer_id">Number of Layer (Registry):</label>
+			<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"/>
 		</p>
 		<p>
-	    	<label for="layer_title">Layer Title (WMS):</label>
+	    	<label for="layer_title"><?php echo _mb("Layer Title (WMS)");?>:</label>
 			<img class="metadata_img" src="../img/misc/inspire_eu_klein.png"></img>
-			<span class="metadata_span"></span>
 	    	<input name="layer_title" id="layer_title" class="required" />
 		</p>
 		<p>
-	    	<label for="layer_abstract">Layer Abstract (WMS):</label>
+	    	<label for="layer_abstract"><?php echo _mb("Layer Abstract (WMS)");?>:</label>
 			<img class="metadata_img" src="../img/misc/inspire_eu_klein.png"></img>
-			<span class="metadata_span"></span>
 	    	<input name="layer_abstract" id="layer_abstract"/>
 		</p>
 		<p>
-	    	<label for="layer_keyword">Layer Keywords (WMS):</label>
+	    	<label for="layer_keyword"><?php echo _mb("Layer Keywords (WMS)");?>:</label>
 			<span class="metadata_span"></span>
-			<span class="metadata_span"></span>
 		   	<input name="layer_keyword" id="layer_keyword"/>
 		</p>
 		<p>
 		    <div id="buttons">
-				<label>Add Information about the underlying data:</label>
+		    	<p>
+					<label><?php echo _mb("Add Information about the underlying data");?>:</label>
+					<img class="help-dialog" title="<?php echo _mb("Help");?>" help="{text:'<?php echo _mb("Linking the WMS layer with metadata set (coupled resource), which describes the underlying informations of the representation in more detail (eg Actuality / quality). It occurs via a link to an already existing metadta set in a catalog or a simple metadata set will be generatetd using a Mapbender Layer Addon-Editor.");?>'}" src="../img/questionmark.png"></img>
+				</p>
 				<p>
 					<input disabled="disabled" class="" type="submit" value="Add new Metadata Record"/>
 				</p>
@@ -85,7 +83,7 @@
 </div>
 <div id="preview">
 	<fieldset class="">
-		<legend>Preview</legend>
+		<legend><?php echo _mb("Preview");?></legend>
 		<div id="map"></div>
 		<div id="toolbar_upper"></div>
 		<div id="toolbar_lower"></div>
@@ -93,9 +91,9 @@
 </div>
 <div id="classification">
 	<fieldset class="">
-		<legend>Classification</legend>
+		<legend><?php echo _mb("Classification");?></legend>
 		<p>
-		    <label for="layer_md_topic_category_id" class="label_classification">ISO Topic Category:</label>
+		    <label for="layer_md_topic_category_id" class="label_classification"><?php echo _mb("ISO Topic Category");?>:</label>
 			<img class="metadata_img" src="../img/misc/inspire_eu_klein.png"></img>
 			<select class="metadata_selectbox" id="layer_md_topic_category_id" name="layer_md_topic_category_id" size="2" multiple="multiple">
 <?php
@@ -105,7 +103,7 @@
 			</select>
 		</p>
 		<p>
-		    <label for="layer_inspire_category_id" class="label_classification">INSPIRE Category:</label>
+		    <label for="layer_inspire_category_id" class="label_classification"><?php echo _mb("INSPIRE Category");?>:</label>
 			<img class="metadata_img" src="../img/misc/inspire_eu_klein.png"></img>
 			<select class="metadata_selectbox" id="layer_inspire_category_id" name="layer_inspire_category_id" size="2" multiple="multiple">
 <?php
@@ -115,7 +113,7 @@
 			</select>
 		</p>
 		<p>
-		    <label for="layer_custom_category_id" class="label_classification">Custom Category:</label>
+		    <label for="layer_custom_category_id" class="label_classification"><?php echo _mb("Custom Category");?>:</label>
 			<span class="metadata_span"></span>
 			<select class="metadata_selectbox" id="layer_custom_category_id" name="layer_custom_category_id" size="2" multiple="multiple">
 <?php



More information about the Mapbender_commits mailing list