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
5 define('AT_PRIV_FAQ', $this->getPrivilege());
\r
7 // if this module is to be made available to students on the Home or Main Navigation
\r
8 $_student_tool = 'faq/index.php';
\r
11 // instructor Manage section:
\r
12 $this->_pages['faq/index_instructor.php']['title_var'] = 'faq';
\r
13 $this->_pages['faq/index_instructor.php']['parent'] = 'tools/index.php';
\r
14 $this->_pages['faq/index_instructor.php']['children'] = array('faq/add_topic.php', 'faq/add_question.php');
\r
15 $this->_pages['faq/index_instructor.php']['guide'] = 'instructor/?p=faq.php';
\r
18 $this->_pages['faq/add_topic.php']['title_var'] = 'add_topic';
\r
19 $this->_pages['faq/add_topic.php']['parent'] = 'faq/index_instructor.php';
\r
21 $this->_pages['faq/delete_topic.php']['title_var'] = 'delete';
\r
22 $this->_pages['faq/delete_topic.php']['parent'] = 'faq/index_instructor.php';
\r
24 $this->_pages['faq/edit_topic.php']['title_var'] = 'edit';
\r
25 $this->_pages['faq/edit_topic.php']['parent'] = 'faq/index_instructor.php';
\r
27 $this->_pages['faq/add_question.php']['title_var'] = 'add_question';
\r
28 $this->_pages['faq/add_question.php']['parent'] = 'faq/index_instructor.php';
\r
30 $this->_pages['faq/delete_question.php']['title_var'] = 'delete';
\r
31 $this->_pages['faq/delete_question.php']['parent'] = 'faq/index_instructor.php';
\r
33 $this->_pages['faq/edit_question.php']['title_var'] = 'edit';
\r
34 $this->_pages['faq/edit_question.php']['parent'] = 'faq/index_instructor.php';
\r
37 $this->_pages['faq/index.php']['title_var'] = 'faq';
\r
38 $this->_pages['faq/index.php']['img'] = 'faq/icon.gif';
\r