Project

General

Profile

« Previous | Next » 

Revision 1710

Added by Dietmar about 12 years ago

! update folder admin/groups, admin/users, admin/skel/htt

View differences:

users.php
4 4
 * @category        admin
5 5
 * @package         users
6 6
 * @author          Ryan Djurovich, WebsiteBaker Project
7
 * @copyright       2009-2011, Website Baker Org. e.V.
7
 * @copyright       2009-2012, WebsiteBaker Org. e.V.
8 8
 * @link			http://www.websitebaker2.org/
9 9
 * @license         http://www.gnu.org/licenses/gpl.html
10 10
 * @platform        WebsiteBaker 2.8.x
......
44 44

  
45 45
			// Setup template object, parse vars to it, then parse it
46 46
			// Create new template object
47
			$template = new Template(dirname($admin->correct_theme_source('users_form.htt')));
47
			$template = new Template(dirname($admin->correct_theme_source('users_form.htt')),'keep');
48 48
			// $template->debug = true;
49 49
			$template->set_file('page', 'users_form.htt');
50 50
			$template->set_block('page', 'main_block', 'main');
51
			$template->set_block('main_block', 'show_modify_loginname_block', 'show_modify_loginname');
52
			$template->set_block('main_block', 'show_add_loginname_block', 'show_add_loginname');
51 53
			$template->set_var(	array(
52 54
								'ACTION_URL' => ADMIN_URL.'/users/save.php',
53 55
								'SUBMIT_TITLE' => $TEXT['SAVE'],
......
166 168
								'TEXT_NONE' => $TEXT['NONE'],
167 169
								'TEXT_HOME_FOLDER' => $TEXT['HOME_FOLDER'],
168 170
								'USERNAME_FIELDNAME' => $username_fieldname,
169
								'CHANGING_PASSWORD' => $MESSAGE['USERS']['CHANGING_PASSWORD'],
171
								'CHANGING_PASSWORD' => $MESSAGE['USERS_CHANGING_PASSWORD'],
170 172
								'HEADING_MODIFY_USER' => $HEADING['MODIFY_USER']
171 173
								)
172 174
						);
173 175

  
174 176
			// Parse template object
177
			$template->parse('show_modify_loginname', 'show_modify_loginname_block', true);
178
			$template->parse('show_add_loginname', '', true);
175 179
			$template->parse('main', 'main_block', false);
176 180
			$template->pparse('output', 'page');
177 181
			// Print admin footer

Also available in: Unified diff