Project

General

Profile

« Previous | Next » 

Revision 945

Added by aldus about 15 years ago

bugfix for #693, add the section_id to the query to aviod conflicts
changes the center tag inside the warning.htt templates to get valid xhtml1.1 output ...

View differences:

trunk/CHANGELOG
11 11
! = Update/Change
12 12

  
13 13
------------------------------------- 2.8.0 -------------------------------------
14
24-Feb-2009 Dietrich Roland Pehlke
15
!	Changes in warning.htt templates to get valid XHTL1.1 output - replace the center-tag with div
16
#	add "AND section_id='$section_id'" to the delete-query to avoid conflicts if there are more
17
	than one Form on one single page.
14 18
22-Feb-2009 Matthias Gallas
15 19
+	added skinable Admin Interface
16 20
21-Feb-2009 Christian Sommer
trunk/wb/templates/classic/templates/warning.htt
33 33
	background-color: #336699;
34 34
	border: 0;
35 35
}
36
div#message {
37
	text-align: center;
38
}
36 39
--></style></head>
37 40
<body>
38 41

  
39
<center>
40
	<br />
42
<div id='message'>
41 43
	<h1>Excessive Invalid Logins</h1>
42 44
	You have attempted to login too many times
43
</center>
45
</div>
44 46

  
45 47
</body>
46 48
</html>
trunk/wb/templates/wb_theme/templates/warning.htt
33 33
	background-color: #336699;
34 34
	border: 0;
35 35
}
36
div#message {
37
	text-align: center;
38
}
36 39
--></style></head>
37 40
<body>
38 41

  
39
<center>
40
	<br />
42
<div id='message'>
41 43
	<h1>Excessive Invalid Logins</h1>
42 44
	You have attempted to login too many times
43
</center>
45
</div>
44 46

  
45 47
</body>
46 48
</html>
trunk/wb/modules/form/delete.php
29 29
*/
30 30

  
31 31
// Delete page from mod_wysiwyg
32
$database->query("DELETE FROM ".TABLE_PREFIX."mod_form_fields WHERE page_id = '$page_id'");
33
$database->query("DELETE FROM ".TABLE_PREFIX."mod_form_settings WHERE page_id = '$page_id'");
32
$database->query("DELETE FROM ".TABLE_PREFIX."mod_form_fields WHERE page_id = '$page_id' AND section_id='$section_id'");
33
$database->query("DELETE FROM ".TABLE_PREFIX."mod_form_settings WHERE page_id = '$page_id' AND section_id='$section_id'");
34 34

  
35 35
?>

Also available in: Unified diff