Revision 944
Added by Matthias over 16 years ago
| index.php | ||
|---|---|---|
| 28 | 28 |
$admin = new admin('Addons', 'addons');
|
| 29 | 29 |
|
| 30 | 30 |
// Setup template object |
| 31 |
$template = new Template(ADMIN_PATH.'/addons');
|
|
| 32 |
$template->set_file('page', 'template.html');
|
|
| 31 |
$template = new Template(THEME_PATH.'/templates');
|
|
| 32 |
$template->set_file('page', 'addons.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
added skinable Admin Interface