made a copy
[atutor.git] / mods / _core / content / 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 (!defined('AT_PRIV_CONTENT')) {\r
6         define('AT_PRIV_CONTENT', $this->getPrivilege());\r
7 }\r
8 \r
9 global $_custom_css;\r
10 $_custom_css = AT_BASE_HREF."jscripts/infusion/components/inlineEdit/css/InlineEdit.css";\r
11 \r
12 //side menu dropdowns\r
13 $this->_stacks['menu_menu'] = array('title_var'=>'menu_menu', 'file'=>AT_INCLUDE_PATH.'html/dropdowns/menu_menu.inc.php');\r
14 $this->_stacks['related_topics'] = array('title_var'=>'related_topics', 'file'=>AT_INCLUDE_PATH.'html/dropdowns/related_topics.inc.php');\r
15 $this->_stacks['search'] = array('title_var'=>'search', 'file'=>AT_INCLUDE_PATH.'html/dropdowns/search.inc.php');\r
16 \r
17 \r
18 $this->_pages['search.php']['title_var']      = 'search';\r
19 \r
20 $this->_pages['tools/content/index.php']['title_var'] = 'content';\r
21 $this->_pages['tools/content/index.php']['parent']    = 'tools/index.php';\r
22 $this->_pages['tools/content/index.php']['guide']     = 'instructor/?p=content.php';\r
23 $this->_pages['tools/content/index.php']['children']  = array('editor/add_content.php', 'editor/arrange_content.php', 'tools/ims/index.php');\r
24 \r
25 $this->_pages['editor/add_content.php']['title_var']    = 'add_content';\r
26 $this->_pages['editor/add_content.php']['parent']   = 'tools/content/index.php';\r
27 $this->_pages['editor/add_content.php']['guide']     = 'instructor/?p=creating_editing_content.php';\r
28 \r
29 $this->_pages['editor/arrange_content.php']['title_var']    = 'arrange_content';\r
30 $this->_pages['editor/arrange_content.php']['parent']   = 'tools/content/index.php';\r
31 $this->_pages['editor/arrange_content.php']['guide']     = 'instructor/?p=arrange_content.php';\r
32 \r
33 $this->_pages['editor/edit_content.php']['title_var'] = 'edit_content';\r
34 $this->_pages['editor/edit_content.php']['parent']    = 'tools/content/index.php';\r
35 $this->_pages['editor/edit_content.php']['guide']     = 'instructor/?p=creating_editing_content.php';\r
36 \r
37 if (!isset($_GET['cid']) && !isset($_POST['cid']))\r
38         $this->_pages['editor/edit_content_folder.php']['title_var'] = 'add_content_folder';\r
39 else\r
40         $this->_pages['editor/edit_content_folder.php']['title_var'] = 'edit_content_folder';\r
41 $this->_pages['editor/edit_content_folder.php']['parent']    = 'tools/content/index.php';\r
42 $this->_pages['editor/edit_content_folder.php']['guide']     = 'instructor/?p=creating_editing_content_folder.php';\r
43 \r
44 $this->_pages['editor/delete_content.php']['title_var'] = 'delete_content';\r
45 $this->_pages['editor/delete_content.php']['parent']    = 'tools/content/index.php';\r
46 \r
47 ?>