removed mods directory from the ATutor codebase
[atutor.git] / mods / epresence / module.php
diff --git a/mods/epresence/module.php b/mods/epresence/module.php
deleted file mode 100644 (file)
index 8ebd950..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-<?php\r
-/*******\r
- * doesn't allow this file to be loaded with a browser.\r
- */\r
-if (!defined('AT_INCLUDE_PATH')) { exit; }\r
-\r
-/******\r
- * this file must only be included within a Module obj\r
- */\r
-if (!isset($this) || (isset($this) && (strtolower(get_class($this)) != 'module'))) { exit(__FILE__ . ' is not a Module'); }\r
-\r
-/*******\r
- * assign the instructor and admin privileges to the constants.\r
- */\r
-define('AT_PRIV_EPRESENCE', $this->getPrivilege());\r
-define('AT_ADMIN_PRIV_EPRESENCE', $this->getAdminPrivilege());\r
-\r
-/*******\r
- * create a side menu box/stack.\r
- */\r
-//$this->_stacks['epresence'] = array('title_var'=>'epresence', 'file'=>'mods/epresence/side_menu.inc.php');\r
-// ** possible alternative: **\r
-// $this->addStack('epresence', array('title_var' => 'epresence', 'file' => './side_menu.inc.php');\r
-\r
-/*******\r
- * if this module is to be made available to students on the Home or Main Navigation.\r
- */\r
-$_student_tool = 'mods/epresence/index.php';\r
-// ** possible alternative: **\r
-// $this->addTool('./index.php');\r
-\r
-/*******\r
- * add the admin pages when needed.\r
- */\r
-if (admin_authenticate(AT_ADMIN_PRIV_EPRESENCE, TRUE) || admin_authenticate(AT_ADMIN_PRIV_ADMIN, TRUE)) {\r
-       $this->_pages[AT_NAV_ADMIN] = array('mods/epresence/index_admin.php');\r
-       $this->_pages['mods/epresence/index_admin.php']['parent']    = AT_NAV_ADMIN;\r
-       $this->_pages['mods/epresence/index_admin.php']['title_var'] = 'epresence';\r
-}\r
-/*******\r
- * instructor Manage section: **Not needed for now**\r
- */\r
-$this->_pages['mods/epresence/index_instructor.php']['title_var'] = 'epresence';\r
-$this->_pages['mods/epresence/index_instructor.php']['parent']   = 'tools/index.php';\r
-// ** possible alternative: **\r
-// $this->pages['./index_instructor.php']['title_var'] = 'epresence';\r
-// $this->pages['./index_instructor.php']['parent']    = 'tools/index.php';  \r
-\r
-/*******\r
- * student page.\r
- */\r
-$this->_pages['mods/epresence/index.php']['title_var'] = 'epresence';\r
-$this->_pages['mods/epresence/index.php']['img']       = 'mods/epresence/epresence_logo.gif';\r
-?>
\ No newline at end of file