[Mapbender-commits] r3731 - trunk/mapbender/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Mar 16 05:32:35 EDT 2009


Author: christoph
Date: 2009-03-16 05:32:35 -0400 (Mon, 16 Mar 2009)
New Revision: 3731

Modified:
   trunk/mapbender/http/php/mod_editElements.php
Log:
added confirmation dialogue

Modified: trunk/mapbender/http/php/mod_editElements.php
===================================================================
--- trunk/mapbender/http/php/mod_editElements.php	2009-03-16 09:16:44 UTC (rev 3730)
+++ trunk/mapbender/http/php/mod_editElements.php	2009-03-16 09:32:35 UTC (rev 3731)
@@ -467,7 +467,9 @@
 	   echo "<input type='button' class='' name='' value='show' onclick='thisShow()'> \n";
 	   echo "<input type='button' class='' name='' value='sql' onclick='thisExport()'> \n";
 	   echo	"<input type='button' class='' name='' value='arrange' " .
-	   		"onclick='window.open(\"mod_editApplication.php?" . SID . "&" .
+	   		"onclick='if (confirm(\"" . 
+			_mb("Please make sure you have made a backup of your application before using this feature! Continue?") . 
+			"\")) window.open(\"mod_editApplication.php?" . SID . "&" .
 	   		"guiID=" . $_SESSION["mb_user_gui"] . "&" .
 	   		"editApplicationId=" . $guiList1 . "\", " .
 	   		"\"edit application\", " .



More information about the Mapbender_commits mailing list