<?php
/*******
 * doesn't allow this file to be loaded with a browser.
 */
if (!defined('AT_INCLUDE_PATH')) { exit; }

/******
 * this file must only be included within a Module obj
 */
if (!isset($this) || (isset($this) && (strtolower(get_class($this)) != 'module'))) { exit(__FILE__ . ' is not a Module'); }

/*******
 * assign the instructor and admin privileges to the constants.
 */
define('AT_PRIV_READING_LIST',       $this->getPrivilege());


/*******
 * if this module is to be made available to students on the Home or Main Navigation.
 */
$_student_tool = 'reading_list/index.php';


/*******
 * instructor Manage section:
 */
$this->_pages['reading_list/index_instructor.php']['title_var'] = 'reading_list';
$this->_pages['reading_list/index_instructor.php']['parent']   = 'tools/index.php';
$this->_pages['reading_list/index_instructor.php']['children'] = array('reading_list/display_resources.php');
$this->_pages['reading_list/index_instructor.php']['guide'] = 'instructor/?p=reading_list.php';


	$this->_pages['reading_list/add_resource_url.php']['title_var'] = 'rl_add_resource_url';
	$this->_pages['reading_list/add_resource_url.php']['parent']    = 'reading_list/display_resources.php';

	$this->_pages['reading_list/add_resource_book.php']['title_var'] = 'rl_add_resource_book';
	$this->_pages['reading_list/add_resource_book.php']['parent']    = 'reading_list/display_resources.php';

	$this->_pages['reading_list/add_resource_handout.php']['title_var'] = 'rl_add_resource_handout';
	$this->_pages['reading_list/add_resource_handout.php']['parent']    = 'reading_list/display_resources.php';

	$this->_pages['reading_list/add_resource_av.php']['title_var'] = 'rl_add_resource_av';
	$this->_pages['reading_list/add_resource_av.php']['parent']    = 'reading_list/display_resources.php';

	$this->_pages['reading_list/add_resource_file.php']['title_var'] = 'rl_add_resource_file';
	$this->_pages['reading_list/add_resource_file.php']['parent']    = 'reading_list/display_resources.php';

	$this->_pages['reading_list/edit_reading_book.php']['title_var'] = 'rl_edit_reading_book';
	$this->_pages['reading_list/edit_reading_book.php']['parent']    = 'reading_list/index_instructor.php';

	$this->_pages['reading_list/edit_reading_url.php']['title_var'] = 'rl_edit_reading_url';
	$this->_pages['reading_list/edit_reading_url.php']['parent']    = 'reading_list/index_instructor.php';

	$this->_pages['reading_list/edit_reading_handout.php']['title_var'] = 'rl_edit_reading_handout';
	$this->_pages['reading_list/edit_reading_handout.php']['parent']    = 'reading_list/index_instructor.php';

	$this->_pages['reading_list/edit_reading_file.php']['title_var'] = 'rl_edit_reading_file';
	$this->_pages['reading_list/edit_reading_file.php']['parent']    = 'reading_list/index_instructor.php';

	$this->_pages['reading_list/edit_reading_av.php']['title_var'] = 'rl_edit_reading_av';
	$this->_pages['reading_list/edit_reading_av.php']['parent']    = 'reading_list/index_instructor.php';

	$this->_pages['reading_list/delete_reading.php']['title_var'] = 'rl_delete_reading';
	$this->_pages['reading_list/delete_reading.php']['parent']    = 'reading_list/index_instructor.php';

	$this->_pages['reading_list/new_reading_book.php']['title_var'] = 'rl_new_reading_book';
	$this->_pages['reading_list/new_reading_book.php']['parent']    = 'reading_list/index_instructor.php';

	$this->_pages['reading_list/new_reading_url.php']['title_var'] = 'rl_new_reading_url';
	$this->_pages['reading_list/new_reading_url.php']['parent']    = 'reading_list/index_instructor.php';

	$this->_pages['reading_list/new_reading_av.php']['title_var'] = 'rl_new_reading_av';
	$this->_pages['reading_list/new_reading_av.php']['parent']    = 'reading_list/index_instructor.php';

	$this->_pages['reading_list/new_reading_handout.php']['title_var'] = 'rl_new_reading_handout';
	$this->_pages['reading_list/new_reading_handout.php']['parent']    = 'reading_list/index_instructor.php';

	$this->_pages['reading_list/new_reading_file.php']['title_var'] = 'rl_new_reading_file';
	$this->_pages['reading_list/new_reading_file.php']['parent']    = 'reading_list/index_instructor.php';

	$this->_pages['reading_list/display_resources.php']['title_var'] = 'rl_display_resources';
	$this->_pages['reading_list/display_resources.php']['parent']    = 'reading_list/index_instructor.php';

	$this->_pages['reading_list/display_resource.php']['title_var'] = 'rl_display_resource';
	$this->_pages['reading_list/display_resource.php']['parent']    = 'reading_list/index.php';

	$this->_pages['reading_list/delete_resource.php']['title_var'] = 'rl_delete_resource';
	$this->_pages['reading_list/delete_resource.php']['parent']    = 'reading_list/index_instructor.php';


/*******
 * student page.
 */
$this->_pages['reading_list/index.php']['title_var'] = 'reading_list';
$this->_pages['reading_list/index.php']['img']       = 'images/home-reading_list.gif';

$this->_pages['reading_list/index.php']['children'] = array('reading_list/reading_details.php');

	$this->_pages['reading_list/reading_details.php']['title_var'] = 'rl_display_resources';
	$this->_pages['reading_list/reading_details.php']['parent']    = 'reading_list/index.php';
?>