Project

General

Profile

« Previous | Next » 

Revision 944

Added by Matthias about 15 years ago

added skinable Admin Interface

View differences:

index.php
28 28
$admin = new admin('Access', 'users');
29 29

  
30 30
// Create new template object for the modify/remove menu
31
$template = new Template(ADMIN_PATH.'/users');
32
$template->set_file('page', 'template.html');
31
$template = new Template(THEME_PATH.'/templates');
32
$template->set_file('page', 'users.htt');
33 33
$template->set_block('page', 'main_block', 'main');
34 34
$template->set_var('ADMIN_URL', ADMIN_URL);
35 35

  
......
91 91
$template->pparse('output', 'page');
92 92

  
93 93
// Setup template for add user form
94
$template = new Template(ADMIN_PATH.'/users');
95
$template->set_file('page', 'user_form.html');
94
$template = new Template(THEME_PATH.'/templates');
95
$template->set_file('page', 'users_form.htt');
96 96
$template->set_block('page', 'main_block', 'main');
97 97
$template->set_var('DISPLAY_EXTRA', 'none');
98 98
$template->set_var('ACTIVE_CHECKED', 'checked');

Also available in: Unified diff