Project

General

Profile

« Previous | Next » 

Revision 1353

Added by FrankH almost 14 years ago

Security fixes

View differences:

users.php
53 53
	$template->set_file('page', 'users_form.htt');
54 54
	$template->set_block('page', 'main_block', 'main');
55 55
	$template->set_var(	array(
56
										'ACTION_URL' => ADMIN_URL.'/users/save.php',
57
										'SUBMIT_TITLE' => $TEXT['SAVE'],
58
										'USER_ID' => $user['user_id'],
59
										'USERNAME' => $user['username'],
60
										'DISPLAY_NAME' => $user['display_name'],
61
										'EMAIL' => $user['email'],
62
										'ADMIN_URL' => ADMIN_URL,
63
										'WB_URL' => WB_URL,
64
										'WB_PATH' => WB_PATH,
65
										'THEME_URL' => THEME_URL
66
										)
67
								);
56
							'ACTION_URL' => ADMIN_URL.'/users/save.php',
57
							'SUBMIT_TITLE' => $TEXT['SAVE'],
58
							'USER_ID' => $user['user_id'],
59
							'USERNAME' => $user['username'],
60
							'DISPLAY_NAME' => $user['display_name'],
61
							'EMAIL' => $user['email'],
62
							'ADMIN_URL' => ADMIN_URL,
63
							'WB_URL' => WB_URL,
64
							'WB_PATH' => WB_PATH,
65
							'THEME_URL' => THEME_URL
66
							)
67
					);
68
	
69
	$template->set_var('FTAN', $admin->getFTAN());
68 70
	if($user['active'] == 1) {
69 71
		$template->set_var('ACTIVE_CHECKED', ' checked="checked"');
70 72
	} else {

Also available in: Unified diff