<?php

/************************************************************************/
/* DOCEBO LMS - Learning Managment System                               */
/* ============================================                         */
/*                                                                      */
/* Copyright (c) 2004                                                   */
/* http://www.docebo.com                                                */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/

if(!defined('IN_DOCEBO')) die('You cannot access this file directly');

class Module_Wiki extends LmsModule {

	function loadBody() {
		require_once($GLOBALS['where_lms'].'/modules/wiki/wiki.php');
		wikiDispatch($GLOBALS['op']);
	}

	function useExtraMenu() {
		return false;
	}

	function getAllToken($op) {
		return array(
			'view' => array( 	'code' => 'view',
								'name' => '_VIEW',
								'image' => 'standard/view.gif'),
			'edit' => array( 	'code' => 'edit',
								'name' => '_MOD_WIKI',
								'image' => 'standard/mod.gif'),
			'admin' => array( 	'code' => 'admin',
								'name' => '_ADMIN_WIKI',
								'image' => 'standard/modadmin.gif')
		);
	}

}

?>
