Project

General

Profile

« Previous | Next » 

Revision 949

Added by Matthias over 15 years ago

removed unneeded icons from wb_theme

removed unneeded stylesheet.css from account dir

renamed warning.htt to warning.html to fix display of sourcecode after invalid login attemps

added fixed error.htt also to classic theme

View differences:

trunk/CHANGELOG
12 12

  
13 13
------------------------------------- 2.8.0 -------------------------------------
14 14
25-Feb-2009 Matthias Gallas
15
#	renamed warning.htt to warning.html to fix display of sourcecode after invalid logins
16
+	added fixed error.htt also to classic theme
15 17
+	corrected info.php of news-modul
16 18
24-Feb-2009 Dietrich Roland Pehlke
17 19
!	Changes in warning.htt templates to get valid XHTL1.1 output - replace the center-tag with div
trunk/wb/admin/login/index.php
48 48
$thisApp = new Login(
49 49
							array(
50 50
									'MAX_ATTEMPS' => "3",
51
									'WARNING_URL' => THEME_URL."/templates/warning.htt",
51
									'WARNING_URL' => THEME_URL."/templates/warning.html",
52 52
									'USERNAME_FIELDNAME' => $username_fieldname,
53 53
									'PASSWORD_FIELDNAME' => $password_fieldname,
54 54
									'REMEMBER_ME_OPTION' => SMART_LOGIN,
trunk/wb/account/stylesheet.css
1
body,td,th,input,textarea {
2
	font-family: Verdana, Arial, Helvetica, sans-serif;
3
	font-size: 12px;
4
	color: #000000;
5
}
6
body {
7
	background-color: #FFFFFF;
8
	margin: 0px;
9
}
10
form {
11
	margin: 0;
12
}
13
hr {
14
	margin: 15px 0px 15px 0px;
15
	color: #003366;
16
	height: 1px;
17
}
18
h1 {
19
	text-align: center;
20
	font-size: 20px;
21
	color: #003366;
22
	text-transform: uppercase;
23
}
24
h2 {
25
	font-size: 15px;
26
	color: #336699;
27
	margin: 5px 0px 5px 0px;
28
}
29
a:link, a:visited, a:active {
30
	color: #003366;
31
	text-decoration: none;
32
}
33
a:hover {
34
	text-decoration: none;
35
	color: #336699;
36
}
37
.note {
38
	color: #666666;
39
	font-size: 10px;
40
}
41
.menu {
42
	margin: 0;
43
	padding: 0;
44
	padding-top: 10px;
45
	padding-bottom: 4px;
46
	padding-left: 8px;
47
}
48
.menu li {
49
	list-style-type: none;
50
	display: inline;
51
	padding-right: 1px;
52
}
53
.menu a, .menu a:link, .menu a:active, .menu a:visited {
54
	border-bottom: 0;
55
	padding: 4px 5px 4px 5px;
56
	color: #003366;
57
}
58
.menu a:hover {
59
	text-decoration: none;
60
	color: #336699;
61
}
62
.current a, .current a:link, .current a:active, .current a:visited {
63
	background-color: #FFFFFF;
64
	color: #000000;
65
}
66
.content {
67
	background-color: #FFFFFF;
68
	padding: 20px;
69
	height: 280px;
70
	width: 750px;
71
	text-align: left;
72
	vertical-align: top;
73
}
74
.row_a {
75
	background-color: #EEEEEE;
76
}
77
.row_b {
78
	background-color: #DDDDDD;
79
}
80
.hide {
81
	display: none;
82
}
83 0

  
trunk/wb/account/login.php
57 57
$thisApp = new Login(
58 58
							array(
59 59
									"MAX_ATTEMPS" => "3",
60
									"WARNING_URL" => THEME_URL."/templates/warning.htt",
60
									"WARNING_URL" => THEME_URL."/templates/warning.html",
61 61
									"USERNAME_FIELDNAME" => 'username',
62 62
									"PASSWORD_FIELDNAME" => 'password',
63 63
									"REMEMBER_ME_OPTION" => SMART_LOGIN,
trunk/wb/templates/classic/templates/warning.htt
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
3
<head>
4
<title>Maximum Invalid Login Attemps Exceeded</title>
5
<style type="text/css"><!--
6
body,td,th {
7
	font-family: Verdana, Arial, Helvetica, sans-serif;
8
	font-size: 12px;
9
	color: #000000;
10
}
11
body {
12
	margin: 0px;
13
  background: #A8BCCB url(../interface/background.png) ;
14
  background-repeat:repeat-x;
15
}
16
a:link, a:visited, a:active {
17
	color: #003366;
18
	text-decoration: none;
19
}
20
a:hover {
21
	text-decoration: underline;
22
	color: #336699;
23
}
24
h1 {
25
	text-align: center;
26
	font-size: 18px;
27
	color: #000;
28
	text-transform: uppercase;
29
}
30
hr {
31
	height: 1px;
32
	color: #336699;
33
	background-color: #336699;
34
	border: 0;
35
}
36
div#message {
37
	text-align: center;
38
}
39
--></style></head>
40
<body>
41

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

  
47
</body>
48
</html>
trunk/wb/templates/classic/templates/error.htt
1 1
<!-- BEGIN main_block -->
2
<center>
3
	
4
	{MESSAGE}
5
	
6
	<br /><br />
7
	<a href="{LINK}">{BACK}</a>
8
	
9
</center>
2
<div style='text-align:center;'>
3
	<p>{MESSAGE}</p>
4
	<p><a href="{LINK}">{BACK}</a></p>
5
</div>
10 6
<!-- END main_block -->
trunk/wb/templates/classic/templates/warning.html
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
3
<head>
4
<title>Maximum Invalid Login Attemps Exceeded</title>
5
<style type="text/css"><!--
6
body,td,th {
7
	font-family: Verdana, Arial, Helvetica, sans-serif;
8
	font-size: 12px;
9
	color: #000000;
10
}
11
body {
12
	margin: 0px;
13
  background: #A8BCCB url(../images/background.png) ;
14
  background-repeat:repeat-x;
15
}
16
a:link, a:visited, a:active {
17
	color: #003366;
18
	text-decoration: none;
19
}
20
a:hover {
21
	text-decoration: underline;
22
	color: #336699;
23
}
24
h1 {
25
	text-align: center;
26
	font-size: 18px;
27
	color: #000;
28
	text-transform: uppercase;
29
}
30
hr {
31
	height: 1px;
32
	color: #336699;
33
	background-color: #336699;
34
	border: 0;
35
}
36
div#message {
37
	text-align: center;
38
}
39
--></style></head>
40
<body>
41

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

  
47
</body>
48
</html>
trunk/wb/templates/wb_theme/templates/warning.html
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
3
<head>
4
<title>Maximum Invalid Login Attemps Exceeded</title>
5
<style type="text/css"><!--
6
body,td,th {
7
	font-family: Verdana, Arial, Helvetica, sans-serif;
8
	font-size: 12px;
9
	color: #000000;
10
}
11
body {
12
	margin: 0px;
13
  background: #A8BCCB url(../images/background.png) ;
14
  background-repeat:repeat-x;
15
}
16
a:link, a:visited, a:active {
17
	color: #003366;
18
	text-decoration: none;
19
}
20
a:hover {
21
	text-decoration: underline;
22
	color: #336699;
23
}
24
h1 {
25
	text-align: center;
26
	font-size: 18px;
27
	color: #000;
28
	text-transform: uppercase;
29
}
30
hr {
31
	height: 1px;
32
	color: #336699;
33
	background-color: #336699;
34
	border: 0;
35
}
36
div#message {
37
	text-align: center;
38
}
39
--></style></head>
40
<body>
41

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

  
47
</body>
48
</html>

Also available in: Unified diff