<?php
if (!defined('AT_INCLUDE_PATH')) { exit; }
if (!isset($this) || (isset($this) && (strtolower(get_class($this)) != 'module'))) { exit(__FILE__ . ' is not a Module'); }

define('AT_PRIV_STYLES', $this->getPrivilege());

$this->_pages['mods/_standard/course_tools/modules.php']['title_var'] = 'course_tools';
$this->_pages['mods/_standard/course_tools/modules.php']['parent']    = 'tools/index.php';
$this->_pages['mods/_standard/course_tools/modules.php']['img']       = 'mods/_standard/course_tools/home-tools.png';
$this->_pages['mods/_standard/course_tools/modules.php']['children']  = array('mods/_standard/course_tools/side_menu.php');
$this->_pages['mods/_standard/course_tools/modules.php']['guide']     = 'instructor/?p=student_tools.php';
$this->_pages['mods/_standard/course_tools/modules.php']['avail_in_mobile']   = true;

	$this->_pages['mods/_standard/course_tools/side_menu.php']['title_var'] = 'side_menu';
	$this->_pages['mods/_standard/course_tools/side_menu.php']['parent']    = 'mods/_standard/course_tools/modules.php';
	$this->_pages['mods/_standard/course_tools/side_menu.php']['guide']     = 'instructor/?p=side_menu.php';
	$this->_pages['mods/_standard/course_tools/side_menu.php']['avail_in_mobile']   = true;
	
if($_SESSION['is_admin'] > 0 || authenticate(AT_PRIV_STYLES, TRUE)){	
    $this->_pages_i['mods/_standard/course_tools/modules.php']['title_var'] = 'course_tools';
    $this->_pages_i['mods/_standard/course_tools/modules.php']['other_parent']    = 'index.php';
    $this->_pages_i['index.php']['children']  = array('mods/_standard/course_tools/modules.php');
}

?>