Project

General

Profile

« Previous | Next » 

Revision 944

Added by Matthias almost 16 years ago

added skinable Admin Interface

View differences:

index.php
29 29
$admin = new admin('Access', 'groups');
30 30

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

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

  
94 94
// Setup template for add group form
95
$template = new Template(ADMIN_PATH.'/groups');
96
$template->set_file('page', 'group_form.html');
95
$template = new Template(THEME_PATH.'/templates');
96
$template->set_file('page', 'groups_form.htt');
97 97
$template->set_block('page', 'main_block', 'main');
98 98
$template->set_var('DISPLAY_EXTRA', 'none');
99 99
$template->set_var('ACTION_URL', ADMIN_URL.'/groups/add.php');

Also available in: Unified diff