Project

General

Profile

« Previous | Next » 

Revision 944

Added by Matthias almost 16 years ago

added skinable Admin Interface

View differences:

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

  
30 30
// Setup template object
31
$template = new Template(ADMIN_PATH.'/access');
32
$template->set_file('page', 'template.html');
31
$template = new Template(THEME_PATH.'/templates');
32
$template->set_file('page', 'access.htt');
33 33
$template->set_block('page', 'main_block', 'main');
34 34

  
35 35
// Insert values into the template object
36 36
$template->set_var(array(
37 37
								'ADMIN_URL' => ADMIN_URL,
38
								'THEME_URL' => THEME_URL,
38 39
								'WB_URL' => WB_URL
39 40
								)
40 41
						);

Also available in: Unified diff