tagging as ATutor 1.5.4-release
[atutor.git] / mods / _standard / tile_search / 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 /* the URL to the WSDL of the TILE repository of choice. */\r
6 define('AT_TILE_WSDL', 'http://tile.atutor.ca/tile/services/search?wsdl');\r
7 \r
8 /* the URL to the content package export servlet of the TILE repository of choice. */\r
9 define('AT_TILE_EXPORT', 'http://tile.atutor.ca/tile/servlet/export');\r
10 \r
11 /* the URL to the content importing servlet of the TILE repository. */\r
12 define('AT_TILE_IMPORT', 'http://tile.atutor.ca/tile/servlet/put');\r
13 \r
14 define('AT_TILE_PREVIEW', 'http://tile.atutor.ca/tile/servlet/view?view=item&');\r
15 \r
16 // if this module is to be made available to students on the Home or Main Navigation\r
17 $_student_tool = 'tile.php';\r
18 \r
19 $this->_pages['tools/content/index.php']['children'] = array('tools/tile/index.php');\r
20 \r
21 //instructor pages\r
22 $this->_pages['tools/tile/index.php']['title_var']  = 'tile_search';\r
23 $this->_pages['tools/tile/index.php']['parent'] = 'tools/content/index.php';\r
24 $this->_pages['tools/tile/index.php']['guide'] = 'instructor/?p=tile_repository.php';\r
25 \r
26         $this->_pages['tools/tile/import.php']['title_var']    = 'import_content_package';\r
27         $this->_pages['tools/tile/import.php']['parent']   = 'tools/tile/index.php';\r
28 \r
29 //student pages\r
30 $this->_pages['tile.php']['title_var'] = 'tile_search';\r
31 $this->_pages['tile.php']['img']       = 'images/home-tile_search.gif';\r
32 \r
33 ?>