removed mods directory from the ATutor codebase
[atutor.git] / mods / userplane / module.php
diff --git a/mods/userplane/module.php b/mods/userplane/module.php
deleted file mode 100644 (file)
index 96373bb..0000000
+++ /dev/null
@@ -1,47 +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
-\r
-define('AT_ADMIN_PRIV_USERPLANE', $this->getAdminPrivilege());\r
-\r
-/*******\r
- * create a side menu box/stack.\r
- */\r
-$this->_stacks['userplane'] = array('title_var'=>'userplane', 'file'=>AT_INCLUDE_PATH.'../mods/userplane/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/userplane/index.php';\r
-\r
-/*******\r
- * add the admin page so the Userplane ID can be managed\r
- */\r
-\r
-if (admin_authenticate(AT_ADMIN_PRIV_USERPLANE, TRUE) || admin_authenticate(AT_ADMIN_PRIV_ADMIN, TRUE)) {\r
-       $this->_pages[AT_NAV_ADMIN] = array('mods/userplane/index_admin.php');\r
-       $this->_pages['mods/userplane/index_admin.php']['title_var'] = 'userplane';\r
-       $this->_pages['mods/userplane/index_admin.php']['parent']    = AT_NAV_ADMIN;\r
-}\r
-\r
-/*******\r
- * student page.\r
- */\r
-$this->_pages['mods/userplane/index.php']['title_var'] = 'userplane';\r
-$this->_pages['mods/userplane/index.php']['img']       = 'mods/userplane/userplane.jpg';\r
-\r
-// You may use the ATutor community ID (e2405db9bcd4f802ffed98a4d1a15ac3) but you should register your own\r
-// at http://www.userplane.com/buy/index.cfm\r
-\r
-?>
\ No newline at end of file