2 /************************************************************************/
\r
4 /************************************************************************/
\r
5 /* Copyright (c) 2002-2010 */
\r
6 /* Inclusive Design Institute */
\r
7 /* http://atutor.ca */
\r
9 /* This program is free software. You can redistribute it and/or */
\r
10 /* modify it under the terms of the GNU General Public License */
\r
11 /* as published by the Free Software Foundation. */
\r
12 /************************************************************************/
\r
14 if (!defined('AT_INCLUDE_PATH')) { exit; }
\r
15 if (!isset($this) || (isset($this) && (strtolower(get_class($this)) != 'module'))) { exit(__FILE__ . ' is not a Module'); }
\r
17 define('AT_PRIV_CHAT', $this->getPrivilege());
\r
19 // if this module is to be made available to students on the Home or Main Navigation
\r
20 $_student_tool = 'mods/_standard/chat/index.php';
\r
23 $this->_list['chat'] = array('title_var'=>'chat','file'=>'mods/_standard/chat/sublinks.php');
\r
25 $this->_pages['mods/_standard/chat/manage/index.php']['title_var'] = 'chat';
\r
26 $this->_pages['mods/_standard/chat/manage/index.php']['parent'] = 'tools/index.php';
\r
27 $this->_pages['mods/_standard/chat/manage/index.php']['children'] = array('mods/_standard/chat/manage/start_transcript.php');
\r
28 $this->_pages['mods/_standard/chat/manage/index.php']['guide'] = 'instructor/?p=chat.php';
\r
30 $this->_pages['mods/_standard/chat/manage/start_transcript.php']['title_var'] = 'chat_start_transcript';
\r
31 $this->_pages['mods/_standard/chat/manage/start_transcript.php']['parent'] = 'mods/_standard/chat/manage/index.php';
\r
33 $this->_pages['mods/_standard/chat/manage/delete_transcript.php']['title_var'] = 'chat_delete_transcript';
\r
34 $this->_pages['mods/_standard/chat/manage/delete_transcript.php']['parent'] = 'mods/_standard/chat/manage/index.php';
\r
36 $this->_pages['mods/_standard/chat/manage/view_transcript.php']['title_var'] = 'chat_transcript';
\r
37 $this->_pages['mods/_standard/chat/manage/view_transcript.php']['parent'] = 'mods/_standard/chat/manage/index.php';
\r
39 $this->_pages['mods/_standard/chat/index.php']['title_var'] = 'chat';
\r
40 $this->_pages['mods/_standard/chat/index.php']['img'] = 'images/home-chat.png';
\r
41 $this->_pages['mods/_standard/chat/index.php']['icon'] = 'images/home-chat_sm.png';
\r
43 $this->_pages['mods/_standard/chat/chat_frame.php']['title_var'] = 'chat';
\r
44 $this->_pages['mods/_standard/chat/chat_frame.php']['parent'] = 'mods/_standard/chat/index.php';
\r
46 $this->_pages['mods/_standard/chat/view_transcript.php']['title_var'] = 'chat_transcript';
\r
47 $this->_pages['mods/_standard/chat/view_transcript.php']['parent'] = 'mods/_standard/chat/index.php';
\r
49 $this->_pages['mods/_standard/chat/chat.php']['title_var'] = 'chat';
\r