blob: 275d5d055ac8a3c26e357d745ccc6f11e80291f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
<?php
/**
* Elgg river dashboard plugin
*
* @package ElggRiverDash
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
* @author Curverider Ltd <info@elgg.com>
* @copyright Curverider Ltd 2008-2009
* @link http://elgg.org/
*/
function riverdashboard_init() {
extend_view('css','riverdashboard/css');
register_page_handler('dashboard','riverdashboard_dashboard');
}
function riverdashboard_dashboard() {
include(dirname(__FILE__) . '/index.php');
}
register_plugin_hook('init','system','riverdashboard_init');
// Register actions
global $CONFIG;
register_action("riverdashboard/add",false,$CONFIG->pluginspath . "riverdashboard/actions/add.php");
register_action("riverdashboard/delete",false,$CONFIG->pluginspath . "riverdashboard/actions/delete.php");
?>
|