SVN tag for release should only contain scripts in "docs" folder without "mods",...
[atutor.git] / docs / mods / _core / groups / module.php
1 <?php\r
2 if (!defined('AT_INCLUDE_PATH')) { exit; }\r
3 if (!isset($this) || (isset($this) && (strtolower(get_class($this)) != 'module'))) { exit(__FILE__ . ' is not a Module'); }\r
4 \r
5 define('AT_PRIV_GROUPS', $this->getPrivilege());\r
6 \r
7 $_student_tool = 'mods/_core/groups/groups.php';\r
8 \r
9 $this->_pages['mods/_core/groups/index.php']['title_var'] = 'groups';\r
10 $this->_pages['mods/_core/groups/index.php']['parent']    = 'tools/index.php';\r
11 $this->_pages['mods/_core/groups/index.php']['children']  = array('mods/_core/groups/create.php');\r
12 $this->_pages['mods/_core/groups/index.php']['guide']  = 'instructor/?p=groups.php';\r
13 \r
14         $this->_pages['mods/_core/groups/edit_group.php']['title_var'] = 'edit';\r
15         $this->_pages['mods/_core/groups/edit_group.php']['parent']    = 'mods/_core/groups/index.php';\r
16 \r
17         $this->_pages['mods/_core/groups/delete_group.php']['title_var'] = 'delete';\r
18         $this->_pages['mods/_core/groups/delete_group.php']['parent']    = 'mods/_core/groups/index.php';\r
19 \r
20         $this->_pages['mods/_core/groups/edit_type.php']['title_var'] = 'edit';\r
21         $this->_pages['mods/_core/groups/edit_type.php']['parent']    = 'mods/_core/groups/index.php';\r
22 \r
23         $this->_pages['mods/_core/groups/delete_type.php']['title_var'] = 'delete';\r
24         $this->_pages['mods/_core/groups/delete_type.php']['parent']    = 'mods/_core/groups/index.php';\r
25 \r
26         $this->_pages['mods/_core/groups/create.php']['title_var'] = 'create_groups';\r
27         $this->_pages['mods/_core/groups/create.php']['parent']    = 'mods/_core/groups/index.php';\r
28 \r
29                 $this->_pages['mods/_core/groups/create_manual.php']['title_var'] = 'groups_create_manual';\r
30                 $this->_pages['mods/_core/groups/create_manual.php']['parent']    = 'mods/_core/groups/create.php';\r
31 \r
32                 $this->_pages['mods/_core/groups/create_automatic.php']['title_var'] = 'groups_create_automatic';\r
33                 $this->_pages['mods/_core/groups/create_automatic.php']['parent']    = 'mods/_core/groups/create.php';\r
34 \r
35         $this->_pages['mods/_core/groups/members.php']['title_var'] = 'group_members';\r
36         $this->_pages['mods/_core/groups/members.php']['parent']    = 'mods/_core/groups/index.php';\r
37 \r
38 // student stuff\r
39 $this->_pages['mods/_core/groups/groups.php']['title_var'] = 'groups';\r
40 $this->_pages['mods/_core/groups/groups.php']['img']       = 'images/home-acollab.png';\r
41 $this->_pages['mods/_core/groups/groups.php']['text']      = _AT('groups_text');\r
42 \r
43 ?>