aboutsummaryrefslogtreecommitdiff
path: root/mod/riverdashboard/start.php
blob: 0c765ffa5d41159c8d287b566d747c0a5aea0df5 (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
<?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');

?>