Project

General

Profile

« Previous | Next » 

Revision 1247

Added by Dietmar over 14 years ago

Ticket #911 5. continue to fix CSS-errors in WB backend

View differences:

branches/2.8.x/CHANGELOG
12 12

  
13 13
------------------------------------- 2.8.1 -------------------------------------
14 14
14-Jan-2010 Dietmar Woellbrink (Luisehahne)
15
#	Ticket #911 5. continue to fix CSS-errors in WB backend
16
14-Jan-2010 Dietmar Woellbrink (Luisehahne)
15 17
#	Ticket #911 4. continue to fix CSS-errors in WB backend
16 18
14-Jan-2010 Dietmar Woellbrink (Luisehahne)
17 19
#	Ticket #911 3. continue to fix CSS-errors in WB backend
branches/2.8.x/wb/admin/interface/version.php
71 71

  
72 72
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
73 73
if(!defined('VERSION')) define('VERSION', '2.8.1');
74
if(!defined('REVISION')) define('REVISION', '1246');
74
if(!defined('REVISION')) define('REVISION', '1247');
75 75

  
76 76
?>
branches/2.8.x/wb/admin/login/forgot/index.php
1
<?php
2

  
3
// $Id$
4

  
5
/*
6

  
7
 Website Baker Project <http://www.websitebaker.org/>
8
 Copyright (C) 2004-2009, Ryan Djurovich
9

  
10
 Website Baker is free software; you can redistribute it and/or modify
11
 it under the terms of the GNU General Public License as published by
12
 the Free Software Foundation; either version 2 of the License, or
13
 (at your option) any later version.
14

  
15
 Website Baker is distributed in the hope that it will be useful,
16
 but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 GNU General Public License for more details.
19

  
20
 You should have received a copy of the GNU General Public License
21
 along with Website Baker; if not, write to the Free Software
22
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23

  
24
*/
25

  
26
// Include the configuration file
27
require('../../../config.php');
28
// Include the language file
29
require(WB_PATH.'/languages/'.DEFAULT_LANGUAGE.'.php');
30
// Include the database class file and initiate an object
31
require(WB_PATH.'/framework/class.admin.php');
32
$admin = new admin('Start', 'start', false, false);
33
$database = new database();
34

  
35
// Get the website title
36
$results = $database->query("SELECT value FROM ".TABLE_PREFIX."settings WHERE name = 'title'");
37
$results = $results->fetchRow();
38
$website_title = $results['value'];
39

  
40
// Check if the user has already submitted the form, otherwise show it
41
if(isset($_POST['email']) AND $_POST['email'] != "") {
42
	
43
	$email = htmlspecialchars($_POST['email'],ENT_QUOTES);
44
	
45
	// Check if the email exists in the database
46
	$query = "SELECT user_id,username,display_name,email,last_reset,password FROM ".TABLE_PREFIX."users WHERE email = '".$admin->add_slashes($_POST['email'])."'";
47
	$results = $database->query($query);
48
	if($results->numRows() > 0) {
49

  
50
		// Get the id, username, email, and last_reset from the above db query
51
		$results_array = $results->fetchRow();
52
		
53
		// Check if the password has been reset in the last 2 hours
54
		$last_reset = $results_array['last_reset'];
55
		$time_diff = time()-$last_reset; // Time since last reset in seconds
56
		$time_diff = $time_diff/60/60; // Time since last reset in hours
57
		if($time_diff < 2) {
58
			
59
			// Tell the user that their password cannot be reset more than once per hour
60
			$message = $MESSAGE['FORGOT_PASS']['ALREADY_RESET'];
61
			
62
		} else {
63
			
64
			$old_pass = $results_array['password'];
65
			
66
			// Generate a random password then update the database with it
67
			$new_pass = '';
68
			$salt = "abchefghjkmnpqrstuvwxyz0123456789";
69
			srand((double)microtime()*1000000);
70
			$i = 0;
71
			while ($i <= 7) {
72
				$num = rand() % 33;
73
				$tmp = substr($salt, $num, 1);
74
				$new_pass = $new_pass . $tmp;
75
				$i++;
76
			}
77
			
78
			$database->query("UPDATE ".TABLE_PREFIX."users SET password = '".md5($new_pass)."', last_reset = '".time()."' WHERE user_id = '".$results_array['user_id']."'");
79
			
80
			if($database->is_error()) {
81
				// Error updating database
82
				$message = $database->get_error();
83
			} else {
84
				// Setup email to send
85
				$mail_to = $email;
86
				$mail_subject = $MESSAGE['SIGNUP2']['SUBJECT_LOGIN_INFO'];
87

  
88
				// Replace placeholders from language variable with values
89
				$search = array('{LOGIN_DISPLAY_NAME}', '{LOGIN_WEBSITE_TITLE}', '{LOGIN_NAME}', '{LOGIN_PASSWORD}');
90
				$replace = array($results_array['display_name'], WEBSITE_TITLE, $results_array['username'], $new_pass); 
91
				$mail_message = str_replace($search, $replace, $MESSAGE['SIGNUP2']['BODY_LOGIN_INFO']);
92

  
93
				// Try sending the email
94
				if($admin->mail(SERVER_EMAIL,$mail_to,$mail_subject,$mail_message)) { 
95
					$message = $MESSAGE['FORGOT_PASS']['PASSWORD_RESET'];
96
					$display_form = false;
97
				} else {
98
					$database->query("UPDATE ".TABLE_PREFIX."users SET password = '".$old_pass."' WHERE user_id = '".$results_array['user_id']."'");
99
					$message = $MESSAGE['FORGOT_PASS']['CANNOT_EMAIL'];
100
				}
101
			}
102
		
103
		}
104
		
105
	} else {
106
		// Email doesn't exist, so tell the user
107
		$message = $MESSAGE['FORGOT_PASS']['EMAIL_NOT_FOUND'];
108
		// and delete the wrong Email
109
		$email = '';
110
	}
111
	
112
} else {
113
	$email = '';
114
}
115

  
116
if(!isset($message)) {
117
	$message = $MESSAGE['FORGOT_PASS']['NO_DATA'];
118
	$message_color = '000000';
119
} else {
120
	$message_color = 'FF0000';
121
}
122
	
123
// Setup the template
124
$template = new Template(THEME_PATH.'/templates');
125
$template->set_file('page', 'login_forgot.htt');
126
$template->set_block('page', 'main_block', 'main');
127
if(defined('FRONTEND')) {
128
	$template->set_var('ACTION_URL', 'forgot.php');
129
} else {
130
	$template->set_var('ACTION_URL', 'index.php');
131
}
132
$template->set_var('EMAIL', $email);
133

  
134
if(isset($display_form)) {
135
	$template->set_var('DISPLAY_FORM', 'none');
136
}
137

  
138
$template->set_var(array(
139
								'SECTION_FORGOT' => $MENU['FORGOT'],
140
								'MESSAGE_COLOR' => $message_color,
141
								'MESSAGE' => $message,
142
								'WB_URL' => WB_URL,
143
								'ADMIN_URL' => ADMIN_URL,
144
								'THEME_URL' => THEME_URL,
145
								'LANGUAGE' => strtolower(LANGUAGE),
146
								'TEXT_EMAIL' => $TEXT['EMAIL'],
147
								'TEXT_SEND_DETAILS' => $TEXT['SEND_DETAILS'],
148
								'TEXT_HOME' => $TEXT['HOME'],
149
								'TEXT_NEED_TO_LOGIN' => $TEXT['NEED_TO_LOGIN']
150
								)
151
						);
152

  
153
if(defined('FRONTEND')) {
154
	$template->set_var('LOGIN_URL', WB_URL.'/account/login.php');
155
} else {
156
	$template->set_var('LOGIN_URL', ADMIN_URL);
157
}
158
$template->set_var('INTERFACE_URL', ADMIN_URL.'/interface');	
159

  
160
if(defined('DEFAULT_CHARSET')) {
161
	$charset=DEFAULT_CHARSET;
162
} else {
163
	$charset='utf-8';
164
}
165

  
166
$template->set_var('CHARSET', $charset);	
167

  
168
$template->parse('main', 'main_block', false);
169
$template->pparse('output', 'page');
170

  
1
<?php
2
/****************************************************************************
3
* SVN Version information:
4
*
5
* $Id$
6
*
7
*****************************************************************************
8
*                          WebsiteBaker
9
*
10
* WebsiteBaker Project <http://www.websitebaker2.org/>
11
* Copyright (C) 2009, Website Baker Org. e.V.
12
*         http://start.websitebaker2.org/impressum-datenschutz.php
13
* Copyright (C) 2004-2009, Ryan Djurovich
14
*
15
*                        About WebsiteBaker
16
*
17
* Website Baker is a PHP-based Content Management System (CMS)
18
* designed with one goal in mind: to enable its users to produce websites
19
* with ease.
20
*
21
*****************************************************************************
22
*
23
*****************************************************************************
24
*                        LICENSE INFORMATION
25
*
26
* WebsiteBaker is free software; you can redistribute it and/or
27
* modify it under the terms of the GNU General Public License
28
* as published by the Free Software Foundation; either version 2
29
* of the License, or (at your option) any later version.
30
*
31
* WebsiteBaker is distributed in the hope that it will be useful,
32
* but WITHOUT ANY WARRANTY; without even the implied warranty of
33
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
34
* See the GNU General Public License for more details.
35
*
36
* You should have received a copy of the GNU General Public License
37
* along with this program; if not, write to the Free Software
38
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
39
****************************************************************************
40
*
41
*****************************************************************************
42
*                   WebsiteBaker Extra Information
43
*
44
*
45
*
46
*
47
*****************************************************************************/
48
/**
49
 * @category    admin
50
 * @package     login
51
 * @author      Ryan Djurovich
52
 * @copyright   2004-2009, Ryan Djurovich
53
 * @copyright   2009-2010, Website Baker Org. e.V.
54
 * @version     $Id$
55
 * @platform    WebsiteBaker 2.8.x
56
 * @requirements >= PHP 4.3.4
57
 * @license     http://www.gnu.org/licenses/gpl.html
58
 *
59
 */
60

  
61
// Include the configuration file
62
require('../../../config.php');
63
// Include the language file
64
require(WB_PATH.'/languages/'.DEFAULT_LANGUAGE.'.php');
65
// Include the database class file and initiate an object
66
require(WB_PATH.'/framework/class.admin.php');
67
$admin = new admin('Start', 'start', false, false);
68
$database = new database();
69

  
70
// Get the website title
71
$results = $database->query("SELECT value FROM ".TABLE_PREFIX."settings WHERE name = 'title'");
72
$results = $results->fetchRow();
73
$website_title = $results['value'];
74

  
75
// Check if the user has already submitted the form, otherwise show it
76
if(isset($_POST['email']) AND $_POST['email'] != "") {
77
	
78
	$email = htmlspecialchars($_POST['email'],ENT_QUOTES);
79
	
80
	// Check if the email exists in the database
81
	$query = "SELECT user_id,username,display_name,email,last_reset,password FROM ".TABLE_PREFIX."users WHERE email = '".$admin->add_slashes($_POST['email'])."'";
82
	$results = $database->query($query);
83
	if($results->numRows() > 0) {
84

  
85
		// Get the id, username, email, and last_reset from the above db query
86
		$results_array = $results->fetchRow();
87
		
88
		// Check if the password has been reset in the last 2 hours
89
		$last_reset = $results_array['last_reset'];
90
		$time_diff = time()-$last_reset; // Time since last reset in seconds
91
		$time_diff = $time_diff/60/60; // Time since last reset in hours
92
		if($time_diff < 2) {
93
			
94
			// Tell the user that their password cannot be reset more than once per hour
95
			$message = $MESSAGE['FORGOT_PASS']['ALREADY_RESET'];
96
			
97
		} else {
98
			
99
			$old_pass = $results_array['password'];
100
			
101
			// Generate a random password then update the database with it
102
			$new_pass = '';
103
			$salt = "abchefghjkmnpqrstuvwxyz0123456789";
104
			srand((double)microtime()*1000000);
105
			$i = 0;
106
			while ($i <= 7) {
107
				$num = rand() % 33;
108
				$tmp = substr($salt, $num, 1);
109
				$new_pass = $new_pass . $tmp;
110
				$i++;
111
			}
112
			
113
			$database->query("UPDATE ".TABLE_PREFIX."users SET password = '".md5($new_pass)."', last_reset = '".time()."' WHERE user_id = '".$results_array['user_id']."'");
114
			
115
			if($database->is_error()) {
116
				// Error updating database
117
				$message = $database->get_error();
118
			} else {
119
				// Setup email to send
120
				$mail_to = $email;
121
				$mail_subject = $MESSAGE['SIGNUP2']['SUBJECT_LOGIN_INFO'];
122

  
123
				// Replace placeholders from language variable with values
124
				$search = array('{LOGIN_DISPLAY_NAME}', '{LOGIN_WEBSITE_TITLE}', '{LOGIN_NAME}', '{LOGIN_PASSWORD}');
125
				$replace = array($results_array['display_name'], WEBSITE_TITLE, $results_array['username'], $new_pass); 
126
				$mail_message = str_replace($search, $replace, $MESSAGE['SIGNUP2']['BODY_LOGIN_INFO']);
127

  
128
				// Try sending the email
129
				if($admin->mail(SERVER_EMAIL,$mail_to,$mail_subject,$mail_message)) { 
130
					$message = $MESSAGE['FORGOT_PASS']['PASSWORD_RESET'];
131
					$display_form = false;
132
				} else {
133
					$database->query("UPDATE ".TABLE_PREFIX."users SET password = '".$old_pass."' WHERE user_id = '".$results_array['user_id']."'");
134
					$message = $MESSAGE['FORGOT_PASS']['CANNOT_EMAIL'];
135
				}
136
			}
137
		
138
		}
139
		
140
	} else {
141
		// Email doesn't exist, so tell the user
142
		$message = $MESSAGE['FORGOT_PASS']['EMAIL_NOT_FOUND'];
143
		// and delete the wrong Email
144
		$email = '';
145
	}
146
	
147
} else {
148
	$email = '';
149
}
150

  
151
if(!isset($message)) {
152
	$message = $MESSAGE['FORGOT_PASS']['NO_DATA'];
153
	$message_color = '000000';
154
} else {
155
	$message_color = 'FF0000';
156
}
157
	
158
// Setup the template
159
$template = new Template(THEME_PATH.'/templates');
160
$template->set_file('page', 'login_forgot.htt');
161
$template->set_block('page', 'main_block', 'main');
162
if(defined('FRONTEND')) {
163
	$template->set_var('ACTION_URL', 'forgot.php');
164
} else {
165
	$template->set_var('ACTION_URL', 'index.php');
166
}
167
$template->set_var('EMAIL', $email);
168

  
169
if(isset($display_form)) {
170
	$template->set_var('DISPLAY_FORM', 'display:none;');
171
}
172

  
173
$template->set_var(array(
174
								'SECTION_FORGOT' => $MENU['FORGOT'],
175
								'MESSAGE_COLOR' => $message_color,
176
								'MESSAGE' => $message,
177
								'WB_URL' => WB_URL,
178
								'ADMIN_URL' => ADMIN_URL,
179
								'THEME_URL' => THEME_URL,
180
								'LANGUAGE' => strtolower(LANGUAGE),
181
								'TEXT_EMAIL' => $TEXT['EMAIL'],
182
								'TEXT_SEND_DETAILS' => $TEXT['SEND_DETAILS'],
183
								'TEXT_HOME' => $TEXT['HOME'],
184
								'TEXT_NEED_TO_LOGIN' => $TEXT['NEED_TO_LOGIN']
185
								)
186
						);
187

  
188
if(defined('FRONTEND')) {
189
	$template->set_var('LOGIN_URL', WB_URL.'/account/login.php');
190
} else {
191
	$template->set_var('LOGIN_URL', ADMIN_URL);
192
}
193
$template->set_var('INTERFACE_URL', ADMIN_URL.'/interface');	
194

  
195
if(defined('DEFAULT_CHARSET')) {
196
	$charset=DEFAULT_CHARSET;
197
} else {
198
	$charset='utf-8';
199
}
200

  
201
$template->set_var('CHARSET', $charset);	
202

  
203
$template->parse('main', 'main_block', false);
204
$template->pparse('output', 'page');
205

  
171 206
?>
branches/2.8.x/wb/admin/login/index.php
1 1
<?php
2
/****************************************************************************
3
* SVN Version information:
4
*
5
* $Id$
6
*
7
*****************************************************************************
8
*                          WebsiteBaker
9
*
10
* WebsiteBaker Project <http://www.websitebaker2.org/>
11
* Copyright (C) 2009, Website Baker Org. e.V.
12
*         http://start.websitebaker2.org/impressum-datenschutz.php
13
* Copyright (C) 2004-2009, Ryan Djurovich
14
*
15
*                        About WebsiteBaker
16
*
17
* Website Baker is a PHP-based Content Management System (CMS)
18
* designed with one goal in mind: to enable its users to produce websites
19
* with ease.
20
*
21
*****************************************************************************
22
*
23
*****************************************************************************
24
*                        LICENSE INFORMATION
25
*
26
* WebsiteBaker is free software; you can redistribute it and/or
27
* modify it under the terms of the GNU General Public License
28
* as published by the Free Software Foundation; either version 2
29
* of the License, or (at your option) any later version.
30
*
31
* WebsiteBaker is distributed in the hope that it will be useful,
32
* but WITHOUT ANY WARRANTY; without even the implied warranty of
33
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
34
* See the GNU General Public License for more details.
35
*
36
* You should have received a copy of the GNU General Public License
37
* along with this program; if not, write to the Free Software
38
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
39
****************************************************************************
40
*
41
*****************************************************************************
42
*                   WebsiteBaker Extra Information
43
*
44
*
45
*
46
*
47
*****************************************************************************/
48
/**
49
 * @category    admin
50
 * @package     login
51
 * @author      Ryan Djurovich
52
 * @copyright   2004-2009, Ryan Djurovich
53
 * @copyright   2009-2010, Website Baker Org. e.V.
54
 * @version     $Id$
55
 * @platform    WebsiteBaker 2.8.x
56
 * @requirements >= PHP 4.3.4
57
 * @license     http://www.gnu.org/licenses/gpl.html
58
 *
59
 */
2 60

  
3
// $Id$
4

  
5
/*
6

  
7
 Website Baker Project <http://www.websitebaker.org/>
8
 Copyright (C) 2004-2009, Ryan Djurovich
9

  
10
 Website Baker is free software; you can redistribute it and/or modify
11
 it under the terms of the GNU General Public License as published by
12
 the Free Software Foundation; either version 2 of the License, or
13
 (at your option) any later version.
14

  
15
 Website Baker is distributed in the hope that it will be useful,
16
 but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 GNU General Public License for more details.
19

  
20
 You should have received a copy of the GNU General Public License
21
 along with Website Baker; if not, write to the Free Software
22
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23

  
24
*/
25

  
26 61
require_once("../../config.php");
27 62
require_once(WB_PATH."/framework/class.login.php");
28 63

  
branches/2.8.x/wb/templates/classic_theme/templates/login_forgot.htt
33 33
		<tr>
34 34
			<td height="40" align="center" style="color: #{MESSAGE_COLOR};" colspan="2">{MESSAGE}</td>
35 35
		</tr>
36
		<tr style="display: {DISPLAY_FORM}">
36
		<tr style="{DISPLAY_FORM}">
37 37
			<td height="10" colspan="2"></td>
38 38
		</tr>
39
		<tr style="display: {DISPLAY_FORM}">
39
		<tr style="{DISPLAY_FORM}">
40 40
			<td width="165" height="30" align="right">{TEXT_EMAIL}:</td>
41 41
			<td><input type="text" maxlength="255" name="email" value="{EMAIL}" style="width: 180px;" /></td>
42 42
		</tr>
43
		<tr style="display: {DISPLAY_FORM}" height="30">
43
		<tr style="{DISPLAY_FORM}" height="30">
44 44
			<td>&nbsp;</td>
45 45
			<td><input type="submit" name="submit" value="{TEXT_SEND_DETAILS}" style="width: 180px; font-size: 10px; text-transform: uppercase; color: #003366; border: 1px solid #336699; background-color: #DDDDDD; padding: 3px;"></td>
46 46
		</tr>
47
		<tr style="display: {DISPLAY_FORM}">
47
		<tr style="{DISPLAY_FORM}">
48 48
			<td height="10" colspan="2"></td>
49 49
		</tr>
50 50
		</table>
branches/2.8.x/wb/templates/classic_theme/templates/login.htt
46 46
			<td width="170" height="30" align="right">{TEXT_PASSWORD}:</td>
47 47
			<td><input type="password" maxlength="{MAX_PASSWORD_LEN}" name="{PASSWORD_FIELDNAME}" style="width: 180px;" /></td>
48 48
		</tr>
49
		<tr style="display: {DISPLAY_REMEMBER_ME};">
49
		<tr style="{DISPLAY_REMEMBER_ME};">
50 50
			<td>&nbsp;</td>
51 51
			<td>
52 52
				<input type="checkbox" name="remember" id="remember" value="true" />
branches/2.8.x/wb/templates/wb_theme/templates/login_forgot.htt
33 33
		<tr>
34 34
			<td height="40" align="center" style="color: #{MESSAGE_COLOR};" colspan="2">{MESSAGE}</td>
35 35
		</tr>
36
		<tr style="display: {DISPLAY_FORM}">
36
		<tr style="{DISPLAY_FORM}">
37 37
			<td height="10" colspan="2"></td>
38 38
		</tr>
39
		<tr style="display: {DISPLAY_FORM}">
39
		<tr style="{DISPLAY_FORM}">
40 40
			<td width="165" height="30" align="right">{TEXT_EMAIL}:</td>
41 41
			<td><input type="text" maxlength="255" name="email" value="{EMAIL}" style="width: 180px;" /></td>
42 42
		</tr>
43
		<tr style="display: {DISPLAY_FORM}" height="30">
43
		<tr style="{DISPLAY_FORM}" height="30">
44 44
			<td>&nbsp;</td>
45 45
			<td><input type="submit" name="submit" value="{TEXT_SEND_DETAILS}" style="width: 180px; font-size: 10px; text-transform: uppercase; color: #003366; border: 1px solid #336699; background-color: #DDDDDD; padding: 3px;"></td>
46 46
		</tr>
47
		<tr style="display: {DISPLAY_FORM}">
47
		<tr style="{DISPLAY_FORM}">
48 48
			<td height="10" colspan="2"></td>
49 49
		</tr>
50 50
		</table>
branches/2.8.x/wb/templates/argos_theme/templates/login_forgot.htt
1
<!-- BEGIN main_block -->
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
<head>
5
<title>Retrieve Login Details</title>
6
<meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
7
<meta http-equiv="content-language" content="{LANGUAGE}" />
8
<meta name="description" content="Retrieve Login Details" />
9
<meta name="keywords" content="Retrieve Login Details" />
10
<link href="{THEME_URL}/theme.css" rel="stylesheet" type="text/css" />
11
</head>
12
<body onload="document.forgot_pass.email.focus();">
13

  
14
<div style="text-align:left;font-size:20px;color:#fff;padding:15px 0 0 50px;height:100px;">
15
	<!-- <img src="{THEME_URL}/images/logo.png" alt="Logo" /> -->
16
	{SECTION_FORGOT}
17
</div> 
18

  
19
<table cellpadding="0" cellspacing="0" border="0" width="770" align="center" style="margin-top: 30px;">
20
<tr>
21
	<td class="content">
22
	
23
	<form name="forgot_pass" action="{ACTION_URL}" method="post">
24
	<input type="hidden" name="url" value="{URL}" />
25
		<table cellpadding="5" cellspacing="0" border="0" align="center" width="500">
26
		<tr>
27
			<td height="40" align="center" style="color: #{MESSAGE_COLOR};" colspan="2">{MESSAGE}</td>
28
		</tr>
29
		<tr style="display: {DISPLAY_FORM}">
30
			<td height="10" colspan="2"></td>
31
		</tr>
32
		<tr style="display: {DISPLAY_FORM}">
33
			<td width="165" height="30" align="right">{TEXT_EMAIL}:</td>
34
			<td><input type="text" maxlength="255" name="email" value="{EMAIL}" style="width: 180px;" /></td>
35
		</tr>
36
		<tr style="display: {DISPLAY_FORM}" height="30">
37
			<td>&nbsp;</td>
38
			<td><input type="submit" name="submit" value="{TEXT_SEND_DETAILS}" style="width: 180px; font-size: 10px; text-transform: uppercase; color: #003366; border: 1px solid #336699; background-color: #DDDDDD; padding: 3px;"></td>
39
		</tr>
40
		<tr style="display: {DISPLAY_FORM}">
41
			<td height="10" colspan="2"></td>
42
		</tr>
43
		</table>
44
	</form>
45
	
46
	<center>
47
		<a href="{LOGIN_URL}">{TEXT_NEED_TO_LOGIN}</a>
48
		<br />
49
		<br />
50
		<a href="{WB_URL}">{TEXT_HOME}</a>
51
	</center>
52

  
53
	</td>
54
</tr>
55
</table>
56

  
57
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="padding: 10px 0px 10px 0px;">
58
<tr>
59
	<td align="center" style="font-size: 10px;">
60
		<!-- Please note: the below reference to the GNU GPL should not be removed, as it provides a link for users to read about warranty, etc. -->
61
		<a href="http://www.websitebaker.com/" style="color: #000000;" target="_blank">Website Baker</a>
62
		is	released under the
63
		<a href="http://www.gnu.org/copyleft/gpl.html" style="color: #000000;" target="_blank">GNU General Public License</a>
64
		<!-- Please note: the above reference to the GNU GPL should not be removed, as it provides a link for users to read about warranty, etc. -->
65
	</td>
66
</tr>
67
</table>
68

  
69
</body>
70
</html>
1
<!-- BEGIN main_block -->

2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

3
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

4
<head>

5
<title>Retrieve Login Details</title>

6
<meta http-equiv="content-type" content="text/html; charset={CHARSET}" />

7
<meta http-equiv="content-language" content="{LANGUAGE}" />

8
<meta name="description" content="Retrieve Login Details" />

9
<meta name="keywords" content="Retrieve Login Details" />

10
<link href="{THEME_URL}/theme.css" rel="stylesheet" type="text/css" />

11
</head>

12
<body onload="document.forgot_pass.email.focus();">

13

  
14
<div style="text-align:left;font-size:20px;color:#fff;padding:15px 0 0 50px;height:100px;">

15
	<!-- <img src="{THEME_URL}/images/logo.png" alt="Logo" /> -->

16
	{SECTION_FORGOT}

17
</div> 

18

  
19
<table cellpadding="0" cellspacing="0" border="0" width="770" align="center" style="margin-top: 30px;">

20
<tr>

21
	<td class="content">

22
	
23
	<form name="forgot_pass" action="{ACTION_URL}" method="post">

24
	<input type="hidden" name="url" value="{URL}" />

25
		<table cellpadding="5" cellspacing="0" border="0" align="center" width="500">

26
		<tr>

27
			<td height="40" align="center" style="color: #{MESSAGE_COLOR};" colspan="2">{MESSAGE}</td>

28
		</tr>

29
		<tr style="{DISPLAY_FORM}">

30
			<td height="10" colspan="2"></td>

31
		</tr>

32
		<tr style="{DISPLAY_FORM}">

33
			<td width="165" height="30" align="right">{TEXT_EMAIL}:</td>

34
			<td><input type="text" maxlength="255" name="email" value="{EMAIL}" style="width: 180px;" /></td>

35
		</tr>

36
		<tr style="{DISPLAY_FORM}" height="30">

37
			<td>&nbsp;</td>

38
			<td><input type="submit" name="submit" value="{TEXT_SEND_DETAILS}" style="width: 180px; font-size: 10px; text-transform: uppercase; color: #003366; border: 1px solid #336699; background-color: #DDDDDD; padding: 3px;"></td>

39
		</tr>

40
		<tr style="{DISPLAY_FORM}">

41
			<td height="10" colspan="2"></td>

42
		</tr>

43
		</table>

44
	</form>

45
	
46
	<center>

47
		<a href="{LOGIN_URL}">{TEXT_NEED_TO_LOGIN}</a>

48
		<br />

49
		<br />

50
		<a href="{WB_URL}">{TEXT_HOME}</a>

51
	</center>

52

  
53
	</td>

54
</tr>

55
</table>

56

  
57
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="padding: 10px 0px 10px 0px;">

58
<tr>

59
	<td align="center" style="font-size: 10px;">

60
		<!-- Please note: the below reference to the GNU GPL should not be removed, as it provides a link for users to read about warranty, etc. -->

61
		<a href="http://www.websitebaker.com/" style="color: #000000;" target="_blank">Website Baker</a>

62
		is	released under the

63
		<a href="http://www.gnu.org/copyleft/gpl.html" style="color: #000000;" target="_blank">GNU General Public License</a>

64
		<!-- Please note: the above reference to the GNU GPL should not be removed, as it provides a link for users to read about warranty, etc. -->

65
	</td>

66
</tr>

67
</table>

68

  
69
</body>

70
</html>

71 71
<!-- END main_block -->
branches/2.8.x/wb/templates/argos_theme/templates/users_form.htt
32 32
		<input type="password" name="password2" maxlength="30" />
33 33
	</td>
34 34
</tr>
35
<tr style="display: {{};">
35
<tr style="{DISPLAY_EXTRA};">
36 36
	<td>&nbsp;</td>
37 37
	<td style="font-size: 10px;">
38 38
		{CHANGING_PASSWORD}
......
50 50
		<input type="text" name="email" maxlength="255" value="{EMAIL}" />
51 51
	</td>
52 52
</tr>
53
<tr style="display: {DISPLAY_HOME_FOLDERS};">
53
<tr style="{DISPLAY_HOME_FOLDERS};">
54 54
	<td>{TEXT_HOME_FOLDER}:</td>
55 55
	<td class="value_input">
56 56
		<select name="home_folder">

Also available in: Unified diff