(no commit message)
[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 $_pages['my_stats.php']['title_var'] = 'my_tracker';\r
9 $_pages['my_stats.php']['img']       = 'images/home-tracker.gif';\r
10 \r
11 $_pages['tools/content/index.php']['children'][]  = 'tools/tracker/index.php';\r
12 \r
13 $_pages['tools/tracker/index.php']['title_var'] = 'content_usage';\r
14 $_pages['tools/tracker/index.php']['parent']    = 'tools/content/index.php';\r
15 $_pages['tools/tracker/index.php']['children']  = array('tools/tracker/student_usage.php', 'tools/tracker/reset.php');\r
16 $_pages['tools/tracker/index.php']['guide']     = 'instructor/?p=content_usage.php';            \r
17 \r
18         $_pages['tools/tracker/student_usage.php']['title_var']  = 'member_stats';\r
19         $_pages['tools/tracker/student_usage.php']['parent'] = 'tools/tracker/index.php';\r
20 \r
21         $_pages['tools/tracker/reset.php']['title_var']  = 'reset';\r
22         $_pages['tools/tracker/reset.php']['parent'] = 'tools/tracker/index.php';\r
23 ?>