root/releases/0.1.1b/units/weblogs/main.php

Revision 2, 2.2 kB (checked in by sven, 3 years ago)

importing elgg-0.1.1a

Line 
1 <?php
2
3     /*
4     *    Weblog plug-in
5     */
6
7     // Functions to perform upon initialisation
8         $function['weblogs:init'][] = path . "units/weblogs/weblogs_init.php";
9         $function['weblogs:init'][] = path . "units/weblogs/weblogs_actions.php";
10         
11     // Load default template
12         $function['init'][] = path . "units/weblogs/default_template.php";
13     
14     // Init for search
15         $function['search:init'][] = path . "units/weblogs/weblogs_init.php";
16         $function['search:all:tagtypes'][] = path . "units/weblogs/function_search_all_tagtypes.php";
17         
18     // Function to search through weblog posts
19         $function['search:display_results'][] = path . "units/weblogs/function_search.php";
20         $function['search:display_results:rss'][] = path . "units/weblogs/function_search_rss.php";
21         
22     // Edit / create weblog posts
23         $function['weblogs:edit'][] = path . "units/weblogs/weblogs_edit.php";
24         $function['weblogs:posts:add'][] = path . "units/weblogs/weblogs_posts_add.php";
25         $function['weblogs:posts:edit'][] = path . "units/weblogs/weblogs_posts_edit.php";
26         
27     // View weblog posts
28         $function['weblogs:view'][] = path . "units/weblogs/weblogs_view.php";
29         $function['weblogs:posts:view'][] = path . "units/weblogs/weblogs_posts_view.php";
30         $function['weblogs:friends:view'][] = path . "units/weblogs/weblogs_friends_view.php";
31         $function['weblogs:everyone:view'][] = path . "units/weblogs/weblogs_all_users_view.php";
32         $function['weblogs:text:process'][] = path . "units/weblogs/weblogs_text_process.php";
33         $function['weblogs:archives:view'][] = path . "units/weblogs/archives_view.php";
34         $function['weblogs:archives:month:view'][] = path . "units/weblogs/weblogs_view_month.php";
35         
36     // Edit / create weblog comments
37         $function['weblogs:comments:add'][] = path . "units/weblogs/weblogs_comments_add.php";
38         
39     // Menu button
40         $function['menu:main'][] = path . "units/weblogs/menu_main.php";   
41         
42     // Log on bar down the right hand side
43         // $function['profile:log_on_pane'][] = path . "units/weblogs/weblogs_user_info_menu.php";
44         $function['display:sidebar'][] = path . "units/weblogs/weblogs_user_info_menu.php";
45         
46     // Weblog preview
47         $function['templates:preview'][] = path . "units/weblogs/templates_preview.php";
48         
49 ?>
Note: See TracBrowser for help on using the browser.