|
Revision 2, 1.4 kB
(checked in by sven, 3 years ago)
|
importing elgg-0.1.1a
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
* Templates unit |
|---|
| 5 |
*/ |
|---|
| 6 |
|
|---|
| 7 |
// Load default values |
|---|
| 8 |
$function['init'][] = path . "units/templates/default_template.php"; |
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
$function['templates:init'][] = path . "units/templates/template_actions.php"; |
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
$function['templates:draw'][] = path . "units/templates/template_draw.php"; |
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
$function['templates:variables:substitute'][] = path . "units/templates/variables_substitute.php"; |
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
$function['templates:draw:page'][] = path . "units/templates/page_draw.php"; |
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
$function['templates:view'][] = path . "units/templates/templates_view.php"; |
|---|
| 24 |
$function['templates:preview'][] = path . "units/templates/templates_preview.php"; |
|---|
| 25 |
|
|---|
| 26 |
|
|---|
| 27 |
$function['templates:edit'][] = path . "units/templates/templates_edit.php"; |
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 |
$function['templates:add'][] = path . "units/templates/templates_add.php"; |
|---|
| 31 |
|
|---|
| 32 |
|
|---|
| 33 |
$function['menu:user'] = array_merge(array(path . "units/templates/menu_main.php"), $function['menu:user']); |
|---|
| 34 |
|
|---|
| 35 |
?> |
|---|