+++ /dev/null
-<?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_UTF8CONV', $this->getPrivilege());\r
-define('AT_ADMIN_PRIV_UTF8CONV', $this->getAdminPrivilege());\r
-\r
-/*******\r
- * add the admin pages when needed.\r
- */\r
-if (admin_authenticate(AT_ADMIN_PRIV_UTF8CONV, TRUE) || admin_authenticate(AT_ADMIN_PRIV_ADMIN, TRUE)) {\r
- $this->_pages['admin/courses.php']['children'] = array('mods/utf8conv/index_admin.php');\r
- $this->_pages['mods/utf8conv/index_admin.php']['title_var'] = 'utf8conv';\r
- $this->_pages['mods/utf8conv/index_admin.php']['parent'] = 'admin/courses.php';\r
-}\r
-\r
-/*******\r
- * instructor Manage section:\r
- */\r
-$this->_pages['tools/content/index.php']['children'] = array('mods/utf8conv/index_instructor.php');\r
-$this->_pages['mods/utf8conv/index_instructor.php']['title_var'] = 'utf8conv';\r
-$this->_pages['mods/utf8conv/index_instructor.php']['parent'] = 'tools/content/index.php';\r
-\r
-function utf8conv_get_group_url($group_id) {\r
- return 'mods/utf8conv/index.php';\r
-}\r
-?>
\ No newline at end of file