removed mods directory from the ATutor codebase
[atutor.git] / mods / certificate / module.php
diff --git a/mods/certificate/module.php b/mods/certificate/module.php
deleted file mode 100644 (file)
index 0be4ecd..0000000
+++ /dev/null
@@ -1,81 +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_CERTIFICATE',       $this->getPrivilege());\r
-define('AT_ADMIN_PRIV_CERTIFICATE', $this->getAdminPrivilege());\r
-\r
-/*******\r
- * create a side menu box/stack.\r
- */\r
-//$this->_stacks['certificate'] = array('title_var'=>'certificate', 'file'=>'mods/certificate/side_menu.inc.php');\r
-// ** possible alternative: **\r
-// $this->addStack('certificate', array('title_var' => 'certificate', '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
-$_group_tool = $_student_tool = 'mods/certificate/index.php';\r
-\r
-/*******\r
- * add the admin pages when needed.\r
- */\r
-//if (admin_authenticate(AT_ADMIN_PRIV_CERTIFICATE, TRUE) || admin_authenticate(AT_ADMIN_PRIV_ADMIN, TRUE)) {\r
-//     $this->_pages[AT_NAV_ADMIN] = array('mods/certificate/index_admin.php');\r
-//     $this->_pages['mods/certificate/index_admin.php']['title_var'] = 'certificate';\r
-//     $this->_pages['mods/certificate/index_admin.php']['parent']    = AT_NAV_ADMIN;\r
-//}\r
-\r
-/*******\r
- * instructor Manage section:\r
- */\r
-$this->_pages['tools/tests/index.php']['children'] = array('mods/certificate/index_instructor.php');\r
-$this->_pages['mods/certificate/index_instructor.php']['title_var'] = 'certificate';\r
-$this->_pages['mods/certificate/index_instructor.php']['parent']   = 'tools/tests/index.php';\r
-\r
-$this->_pages['mods/certificate/index_instructor.php']['children'] = array('mods/certificate/certificate_create.php');\r
-$this->_pages['mods/certificate/certificate_create.php']['title_var'] = 'create_certificate';\r
-$this->_pages['mods/certificate/certificate_create.php']['parent']   = 'mods/certificate/index_instructor.php';\r
-\r
-$this->_pages['mods/certificate/certificate_delete.php']['title_var'] = 'delete_certificate';\r
-$this->_pages['mods/certificate/certificate_delete.php']['parent']   = 'mods/certificate/index_instructor.php';\r
-\r
-$this->_pages['mods/certificate/certificate_edit.php']['title_var'] = 'edit_certificate';\r
-$this->_pages['mods/certificate/certificate_edit.php']['parent']   = 'mods/certificate/index_instructor.php';\r
-\r
-// ** possible alternative: **\r
-// $this->pages['./index_instructor.php']['title_var'] = 'certificate';\r
-// $this->pages['./index_instructor.php']['parent']    = 'tools/index.php';\r
-\r
-/*******\r
- * student page.\r
- */\r
-//$this->_pages[AT_NAV_COURSE] = array('mods/certificate/index_public.php');\r
-$this->_pages['mods/certificate/index.php']['title_var'] = 'certificate';\r
-$this->_pages['mods/certificate/index.php']['img']       = 'mods/certificate/certificate.gif';\r
-//\r
-//\r
-///* public pages */\r
-//$this->_pages[AT_NAV_PUBLIC] = array('mods/certificate/index_public.php');\r
-//$this->_pages['mods/certificate/index_public.php']['title_var'] = 'certificate';\r
-//$this->_pages['mods/certificate/index_public.php']['parent'] = AT_NAV_PUBLIC;\r
-//\r
-///* my start page pages */\r
-//$this->_pages[AT_NAV_START]  = array('mods/certificate/index_mystart.php');\r
-//$this->_pages['mods/certificate/index_mystart.php']['title_var'] = 'certificate';\r
-//$this->_pages['mods/certificate/index_mystart.php']['parent'] = AT_NAV_START;\r
-\r
-function certificate_get_group_url($group_id) {\r
-       return 'mods/certificate/index.php';\r
-}\r
-?>
\ No newline at end of file