Revision 944
Added by Matthias over 16 years ago
| index.php | ||
|---|---|---|
| 28 | 28 |
$admin = new admin('Start','start');
|
| 29 | 29 |
|
| 30 | 30 |
// Setup template object |
| 31 |
$template = new Template(ADMIN_PATH.'/start');
|
|
| 32 |
$template->set_file('page', 'template.html');
|
|
| 31 |
$template = new Template(THEME_PATH.'/templates');
|
|
| 32 |
$template->set_file('page', 'start.htt');
|
|
| 33 | 33 |
$template->set_block('page', 'main_block', 'main');
|
| 34 | 34 |
|
| 35 | 35 |
// Insert values into the template object |
| ... | ... | |
| 39 | 39 |
'DISPLAY_NAME' => $admin->get_display_name(), |
| 40 | 40 |
'ADMIN_URL' => ADMIN_URL, |
| 41 | 41 |
'WB_URL' => WB_URL, |
| 42 |
'THEME_URL' => THEME_URL, |
|
| 42 | 43 |
'WB_VERSION' => WB_VERSION |
| 43 | 44 |
) |
| 44 | 45 |
); |
Also available in: Unified diff
added skinable Admin Interface