made a copy
[atutor.git] / mods / _standard / tracker / 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 // if this module is to be made available to students on the Home or Main Navigation\r
6 $_student_tool = 'my_stats.php';\r
7 \r
8 // module sublinks\r
9 $this->_list['my_tracker'] = array('title_var'=>'my_tracker','file'=>'mods/_standard/tracker/sublinks.php');\r
10 \r
11 $_pages['my_stats.php']['title_var'] = 'my_tracker';\r
12 $_pages['my_stats.php']['img']       = 'images/home-tracker.png';\r
13 $_pages['my_stats.php']['icon']      = 'images/home-tracker_sm.png';\r
14 \r
15 $_pages['tools/content/index.php']['children'][]  = 'tools/tracker/index.php';\r
16 \r
17 $_pages['tools/tracker/index.php']['title_var'] = 'content_usage';\r
18 $_pages['tools/tracker/index.php']['parent']    = 'tools/content/index.php';\r
19 $_pages['tools/tracker/index.php']['children']  = array('tools/tracker/student_usage.php', 'tools/tracker/reset.php');\r
20 $_pages['tools/tracker/index.php']['guide']     = 'instructor/?p=content_usage.php';            \r
21 \r
22         $_pages['tools/tracker/student_usage.php']['title_var']  = 'member_stats';\r
23         $_pages['tools/tracker/student_usage.php']['parent'] = 'tools/tracker/index.php';\r
24 \r
25         $_pages['tools/tracker/reset.php']['title_var']  = 'reset';\r
26         $_pages['tools/tracker/reset.php']['parent'] = 'tools/tracker/index.php';\r
27 ?>