Index: trunk/CHANGELOG
===================================================================
--- trunk/CHANGELOG	(revision 944)
+++ trunk/CHANGELOG	(revision 945)
@@ -11,6 +11,10 @@
 ! = Update/Change
 
 ------------------------------------- 2.8.0 -------------------------------------
+24-Feb-2009 Dietrich Roland Pehlke
+!	Changes in warning.htt templates to get valid XHTL1.1 output - replace the center-tag with div
+#	add "AND section_id='$section_id'" to the delete-query to avoid conflicts if there are more
+	than one Form on one single page.
 22-Feb-2009 Matthias Gallas
 +	added skinable Admin Interface
 21-Feb-2009 Christian Sommer
Index: trunk/wb/templates/classic/templates/warning.htt
===================================================================
--- trunk/wb/templates/classic/templates/warning.htt	(revision 944)
+++ trunk/wb/templates/classic/templates/warning.htt	(revision 945)
@@ -33,14 +33,16 @@
 	background-color: #336699;
 	border: 0;
 }
+div#message {
+	text-align: center;
+}
 --></style></head>
 <body>
 
-<center>
-	<br />
+<div id='message'>
 	<h1>Excessive Invalid Logins</h1>
 	You have attempted to login too many times
-</center>
+</div>
 
 </body>
 </html>
\ No newline at end of file
Index: trunk/wb/templates/wb_theme/templates/warning.htt
===================================================================
--- trunk/wb/templates/wb_theme/templates/warning.htt	(revision 944)
+++ trunk/wb/templates/wb_theme/templates/warning.htt	(revision 945)
@@ -33,14 +33,16 @@
 	background-color: #336699;
 	border: 0;
 }
+div#message {
+	text-align: center;
+}
 --></style></head>
 <body>
 
-<center>
-	<br />
+<div id='message'>
 	<h1>Excessive Invalid Logins</h1>
 	You have attempted to login too many times
-</center>
+</div>
 
 </body>
 </html>
\ No newline at end of file
Index: trunk/wb/modules/form/delete.php
===================================================================
--- trunk/wb/modules/form/delete.php	(revision 944)
+++ trunk/wb/modules/form/delete.php	(revision 945)
@@ -29,7 +29,7 @@
 */
 
 // Delete page from mod_wysiwyg
-$database->query("DELETE FROM ".TABLE_PREFIX."mod_form_fields WHERE page_id = '$page_id'");
-$database->query("DELETE FROM ".TABLE_PREFIX."mod_form_settings WHERE page_id = '$page_id'");
+$database->query("DELETE FROM ".TABLE_PREFIX."mod_form_fields WHERE page_id = '$page_id' AND section_id='$section_id'");
+$database->query("DELETE FROM ".TABLE_PREFIX."mod_form_settings WHERE page_id = '$page_id' AND section_id='$section_id'");
 
 ?>
\ No newline at end of file
