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 /* 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
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
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
14 define('AT_TILE_PREVIEW', 'http://tile.atutor.ca/tile/servlet/view?view=item&');
\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
19 $this->_pages['tools/content/index.php']['children'] = array('tools/tile/index.php');
\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
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
30 $this->_pages['tile.php']['title_var'] = 'tile_search';
\r
31 $this->_pages['tile.php']['img'] = 'images/home-tile_search.png';
\r
32 $this->_pages['tile.php']['text'] = _AT('tile_search_text');
\r