Project

General

Profile

« Previous | Next » 

Revision 1777

Added by Dietmar about 12 years ago

+ add methode StripCodeFromText in class.wb to clean injection
! rebranding the admin/settings and security fixes
! a few new styling in backend wb_theme
! beginning aa lot of account changes like correction of $_SESSION indexe, security fixes
+ add head.load.min.js and head.min.js to /include/jquery/ to style HTML5 templates

View differences:

preferences.htt
1 1
<!-- BEGIN main_block -->
2 2
<!-- BEGIN success_block -->
3
	{SUCCESS_VALUE}
3
{SUCCESS_VALUE}
4 4
<!-- END success_block -->
5 5
<!-- BEGIN error_block -->
6
	{ERROR_VALUE}
6
{ERROR_VALUE}
7 7
<!-- END error_block -->
8 8
<hr />
9 9
<div class="account">
10 10

  
11 11
<div class="details">
12 12
<h3>{HEADING_MY_SETTINGS}</h3>
13
<form name="details" action="" method="post">
14
	<table>
15
		<tr>
16
			<td>{TEXT_DISPLAY_NAME}:</td>
17
			<td class="input">
18
				<input class="display_name" type="text" name="display_name" value="{DISPLAY_NAME}" readonly="readonly" />
19
			</td>
20
		</tr>
21
		<tr>
22
			<td>{TEXT_LANGUAGE}:</td>
23
			<td class="input">
24
				<select name="language" id="language">
25
					<!-- BEGIN language_list_block -->
26
						<option value="{CODE}"{SELECTED} style="background: url({FLAG}.png) no-repeat center left; padding-left: 20px;">{NAME} ({CODE})</option>
27
					<!-- END language_list_block -->
28
				</select>
29
			</td>
30
		</tr>
31
		<tr>
32
			<td>{TEXT_TIMEZONE}:</td>
33
			<td class="input">
34
				<select name="timezone" style="width: 98%;">
35
					<option value="-20">{MOD_PREFERENCE_PLEASE_SELECT}</option>
13
<form name="details" action="{ACTION_URL}" method="post">
14
<table>
15
<tr>
16
<td>{TEXT_DISPLAY_NAME}:</td>
17
<td class="input">
18
<input class="display_name" type="text" name="display_name" value="{DISPLAY_NAME}" readonly="readonly" />
19
</td>
20
</tr>
21
<tr>
22
<td>{TEXT_LANGUAGE}:</td>
23
<td class="input">
24
<select name="language" id="language">
25
<!-- BEGIN language_list_block -->
26
<option value="{CODE}"{SELECTED} style="background: url({FLAG}.png) no-repeat center left; padding-left: 20px;">{NAME} ({CODE})</option>
27
<!-- END language_list_block -->
28
</select>
29
</td>
30
</tr>
31
<tr>
32
<td>{TEXT_TIMEZONE}:</td>
33
<td class="input">
34
<select name="timezone" style="width: 98%;">
35
<option value="-20">{MOD_PREFERENCE_PLEASE_SELECT}</option>
36 36
<!-- BEGIN timezone_list_block -->
37
					<option value="{VALUE}" {SELECTED}>{NAME}</option>
37
<option value="{VALUE}" {SELECTED}>{NAME}</option>
38 38
<!-- END timezone_list_block -->
39
				</select>
40
			</td>
41
		</tr>
42
		<tr>
43
			<td>{TEXT_DATE_FORMAT}:</td>
44
			<td class="input">
45
				<select name="date_format" style="width: 98%;">
46
					<option value="">{MOD_PREFERENCE_PLEASE_SELECT}</option>
39
</select>
40
</td>
41
</tr>
42
<tr>
43
<td>{TEXT_DATE_FORMAT}:</td>
44
<td class="input">
45
<select name="date_format" style="width: 98%;">
46
<option value="">{MOD_PREFERENCE_PLEASE_SELECT}</option>
47 47
<!-- BEGIN date_format_list_block -->
48
					<option value="{VALUE}" {SELECTED}>{NAME}</option>
48
<option value="{VALUE}" {SELECTED}>{NAME}</option>
49 49
<!-- END date_format_list_block -->
50
				</select>
51
			</td>
52
		</tr>
53
		<tr>
54
			<td>{TEXT_TIME_FORMAT}:</td>
55
			<td class="input">
56
				<select name="time_format" style="width: 98%;">
57
					<option value="">{MOD_PREFERENCE_PLEASE_SELECT}</option>
50
</select>
51
</td>
52
</tr>
53
<tr>
54
<td>{TEXT_TIME_FORMAT}:</td>
55
<td class="input">
56
<select name="time_format" style="width: 98%;">
57
<option value="">{MOD_PREFERENCE_PLEASE_SELECT}</option>
58 58
<!-- BEGIN time_format_list_block -->
59
					<option value="{VALUE}" {SELECTED}>{NAME}</option>
59
<option value="{VALUE}" {SELECTED}>{NAME}</option>
60 60
<!-- END time_format_list_block -->
61
				</select>
62
			</td>
63
		</tr>
64
        <tr>
65
        	<td colspan="2">&nbsp;</td>
66
        </tr>
67
		<tr>
68
			<td colspan="2" class="button">
69
				<button type="reset" name="reset" value="reset">{TEXT_RESET}</button>
70
				<button type="submit" name="action" value="details">{MOD_PREFERENCE_SAVE_SETTINGS}</button>
71
            	<button type="button" value="cancel" onclick="javascript:window.location='{HTTP_REFERER}';">{TEXT_CANCEL}</button>
72
			</td>
73
		</tr>
74
	</table>
61
</select>
62
</td>
63
</tr>
64
<tr>
65
<td colspan="2">&nbsp;</td>
66
</tr>
67
<tr>
68
<td colspan="2" class="button">
69
<button type="reset" name="reset" value="reset">{TEXT_RESET}</button>
70
<button type="submit" name="action" value="details">{MOD_PREFERENCE_SAVE_SETTINGS}</button>
71
<button type="button" value="cancel" onclick="javascript:window.location='{HTTP_REFERER}';">{TEXT_CANCEL}</button>
72
</td>
73
</tr>
74
</table>
75 75
</form>
76 76
</div>
77 77
<div class="email">
78 78
<h3>{HEADING_MY_EMAIL}</h3>
79 79
<form name="email" action="" method="post">
80
	<table>
81
		<tr>
82
			<td>{TEXT_EMAIL}:</td>
83
			<td class="input">
84
				<input type="text" name="email" value="{EMAIL}" style="width: 98%;" />
85
			</td>
86
		</tr>
87
		<tr>
88
			<td>{TEXT_CURRENT_PASSWORD}:</td>
89
			<td class="input">
90
				<input type="password" name="current_password" style="width: 98%;" />
91
			</td>
92
		</tr>
93
        <tr>
94
        	<td colspan="2">&nbsp;</td>
95
        </tr>
96
		<tr>
97
			<td colspan="2" class="button">
98
				<button type="reset" name="reset" value="reset">{TEXT_RESET}</button>
99
				<button type="submit" name="action" value="email">{MOD_PREFERENCE_SAVE_EMAIL}</button>
100
            	<button type="button" value="cancel" onclick="javascript:window.location='{HTTP_REFERER}';">{TEXT_CANCEL}</button>
101
			</td>
102
		</tr>
103
	</table>
80
<table>
81
<tr>
82
<td>{TEXT_EMAIL}:</td>
83
<td class="input">
84
<input type="text" name="email" value="{EMAIL}" style="width: 98%;" />
85
</td>
86
</tr>
87
<tr>
88
<td>{TEXT_CURRENT_PASSWORD}:</td>
89
<td class="input">
90
<input type="password" name="current_password" value="" style="width: 98%;" />
91
</td>
92
</tr>
93
<tr>
94
<td colspan="2">&nbsp;</td>
95
</tr>
96
<tr>
97
<td colspan="2" class="button">
98
<button type="reset" name="reset" value="reset">{TEXT_RESET}</button>
99
<button type="submit" name="action" value="email">{MOD_PREFERENCE_SAVE_EMAIL}</button>
100
<button type="button" value="cancel" onclick="javascript:window.location='{HTTP_REFERER}';">{TEXT_CANCEL}</button>
101
</td>
102
</tr>
103
</table>
104 104
</form>
105 105
</div>
106 106
<div class="password">
107 107
<h3>{HEADING_MY_PASSWORD}</h3>
108 108
<form name="password" action="" method="post">
109
	<table>
110
		<tr>
111
			<td>{TEXT_CURRENT_PASSWORD}:</td>
112
			<td class="input">
113
				<input type="password" name="current_password" style="width: 98%;" />
114
			</td>
115
		</tr>
116
		<tr>
117
			<td>{TEXT_NEW_PASSWORD}:</td>
118
			<td class="input">
119
				<input type="password" name="new_password" style="width: 98%;" />
120
			</td>
121
		</tr>
122
		<tr>
123
			<td>{TEXT_RETYPE_NEW_PASSWORD}:</td>
124
			<td class="input">
125
				<input type="password" name="new_password2" style="width: 98%;" />
126
			</td>
127
		</tr>
128
        <tr>
129
        	<td colspan="2">&nbsp;</td>
130
        </tr>
131
		<tr>
132
			<td colspan="2" class="button">
133
				<button type="reset" name="reset" value="reset">{TEXT_RESET}</button>
134
				<button type="submit" name="action" value="password">{MOD_PREFERENCE_SAVE_PASSWORD}</button>
135
            	<button type="button" value="cancel" onclick="javascript:window.location='{HTTP_REFERER}';">{TEXT_CANCEL}</button>
136
			</td>
137
		</tr>
138
	</table>
109
<table>
110
<tr>
111
<td>{TEXT_CURRENT_PASSWORD}:</td>
112
<td class="input">
113
<input type="password" name="current_password" value="" style="width: 98%;" />
114
</td>
115
</tr>
116
<tr>
117
<td>{TEXT_NEW_PASSWORD}:</td>
118
<td class="input">
119
<input type="password" name="new_password" value="" style="width: 98%;" />
120
</td>
121
</tr>
122
<tr>
123
<td>{TEXT_RETYPE_NEW_PASSWORD}:</td>
124
<td class="input">
125
<input type="password" name="new_password2" value="" style="width: 98%;" />
126
</td>
127
</tr>
128
<tr>
129
<td colspan="2">&nbsp;</td>
130
</tr>
131
<tr>
132
<td colspan="2" class="button">
133
<button type="reset" name="reset" value="reset">{TEXT_RESET}</button>
134
<button type="submit" name="action" value="password">{MOD_PREFERENCE_SAVE_PASSWORD}</button>
135
<button type="button" value="cancel" onclick="javascript:window.location='{HTTP_REFERER}';">{TEXT_CANCEL}</button>
136
</td>
137
</tr>
138
</table>
139 139
</form>
140 140
</div>
141 141
</div>

Also available in: Unified diff