svn commit: r517 - trunk/mapbender/http/javascripts/mod_digitize_tab.php

christoph at osgeo.org christoph at osgeo.org
Mon Jun 19 10:57:41 EDT 2006


Author: christoph
Date: 2006-06-19 14:57:41+0000
New Revision: 517

Modified:
   trunk/mapbender/http/javascripts/mod_digitize_tab.php

Log:
- changed 'py', 'pt' etc to 'polygon', 'point'
- tooltip texts for wfs conf and removing are now in element vars

Modified: trunk/mapbender/http/javascripts/mod_digitize_tab.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/mod_digitize_tab.php?view=diff&rev=517&p1=trunk/mapbender/http/javascripts/mod_digitize_tab.php&p2=trunk/mapbender/http/javascripts/mod_digitize_tab.php&r1=516&r2=517
==============================================================================
--- trunk/mapbender/http/javascripts/mod_digitize_tab.php	(original)
+++ trunk/mapbender/http/javascripts/mod_digitize_tab.php	2006-06-19 14:57:41+0000
@@ -639,9 +639,9 @@
 	var listOfGeom = "<table>\n";
 	for (var i = 0 ; i < d.count(); i ++) {
 		listOfGeom += "\t<tr>\n\t\t<td>\n";
-		listOfGeom += "\t\t\t<img src = '../img/button_digitize/geomInfo.png' title='WFS conf' onclick='showWfs("+i+")'>\n";
+		listOfGeom += "\t\t\t<img src = '../img/button_digitize/geomInfo.png' title='"+tooltip_wfs+"' onclick='showWfs("+i+")'>\n";
 		listOfGeom += "\t\t</td>\n\t\t<td>\n";
-		listOfGeom += "\t\t\t<img src = '../img/button_digitize/geomRemove.png' title='delete this " + d.get(i).geomtype + "' onclick='parent.mb_disableThisButton(mod_digitizeEvent);d.del("+i+");executeDigitizeSubFunctions();'>\n";
+		listOfGeom += "\t\t\t<img src = '../img/button_digitize/geomRemove.png' title='"+tooltip_remove_geometry+"' onclick='parent.mb_disableThisButton(mod_digitizeEvent);d.del("+i+");executeDigitizeSubFunctions();'>\n";
 		listOfGeom += "\t\t</td>\n\t\t<td style = 'color:blue;font-size:12px'>\n";
 		listOfGeom += "\t\t\t<div onmouseover='parent.mb_wfs_perform(\"over\",d.get("+i+"));' ";
 		listOfGeom += " onmouseout='parent.mb_wfs_perform(\"out\",d.get("+i+"))' ";
@@ -654,9 +654,9 @@
 		}
 		var geomName = d.get(i).e.getElementValueByName("name"); 
 		if (!geomName) {geomName = "new";}
-		if (d.get(i).geomtype == geomTypePolygon) {geomName += " (Py)";}
-		else if (d.get(i).geomtype == geomTypeLine) {geomName += " (Li)";}
-		else if (d.get(i).geomtype == geomTypePoint) {geomName += " (Pt)";}
+		if (d.get(i).geomtype == geomTypePolygon) {geomName += " (polygon)";}
+		else if (d.get(i).geomtype == geomTypeLine) {geomName += " (line)";}
+		else if (d.get(i).geomtype == geomTypePoint) {geomName += " (point)";}
 		
 		listOfGeom += ">" + geomName +"</div>\t\t</td>\n";
 	}




More information about the Mapbender_commits mailing list