removed mods directory from the ATutor codebase
[atutor.git] / mods / plog / module.php
diff --git a/mods/plog/module.php b/mods/plog/module.php
deleted file mode 100644 (file)
index 41a08bd..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-<?php\r
-/*\r
-This is the main pLog blog module file for ATutor. See the README_ATUTOR_MODULE for\r
-documentation\r
-*/\r
-\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_PLOG',       $this->getPrivilege());\r
-define('AT_ADMIN_PRIV_PLOG', $this->getAdminPrivilege());\r
-\r
-/*******\r
- * create a side menu box/stack.\r
- */\r
-$this->_stacks['plog'] = array('title_var'=>'plog', 'file'=>dirname(__FILE__).'/side_menu.inc.php');\r
-// ** possible alternative: **\r
-// $this->addStack('hello_world', array('title_var' => 'hello_world', '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
-\r
-$_student_tool = 'mods/plog/index.php';\r
-\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_PLOG, TRUE) || admin_authenticate(AT_ADMIN_PRIV_ADMIN, TRUE)) {\r
-       $this->_pages[AT_NAV_ADMIN] = array('mods/plog/index_admin.php');\r
-       $this->_pages['mods/plog/index_admin.php']['parent']    = AT_NAV_ADMIN;\r
-       $this->_pages['mods/plog/index_admin.php']['title_var'] = 'plog';\r
-       $this->_pages['mods/plog/admin_plog.php']['title_var'] = 'plog_admin';\r
-       $this->_pages['mods/plog/index_admin.php']['children'] = array('mods/plog/admin_plog.php');\r
-       $this->_pages['mods/plog/admin_plog.php']['parent']    = 'mods/plog/index_admin.php';\r
-\r
-}\r
-\r
-/*******\r
- * instructor Manage section:\r
- */\r
-$this->_pages['mods/plog/index_instructor.php']['title_var'] = 'plog';\r
-$this->_pages['mods/plog/index_instructor.php']['parent']   = 'tools/index.php';\r
-\r
-// Instructor and student plogs are the same, so grant access to sync dabatases only if the user is the course instructor.\r
-/*\r
-if($_SESSION['is_admin']){\r
-       $this->_pages['mods/plog/sync_plog.php']['title_var'] = 'plog_sync_dbs';\r
-       $this->_pages['mods/plog/index_instructor.php']['children'] = array('mods/plog/sync_plog.php');\r
-       $this->_pages['mods/plog/sync_plog.php']['parent']    = 'mods/plog/index_instructor.php';\r
-}*/\r
-// ** possible alternative: **\r
-// $this->pages['./index_instructor.php']['title_var'] = 'hello_world';\r
-// $this->pages['./index_instructor.php']['parent']    = 'tools/index.php';\r
-\r
-/*******\r
- * student page.\r
- */\r
-$this->_pages['mods/plog/index.php']['title_var'] = 'plog';\r
-$this->_pages['mods/plog/index.php']['img']       = 'mods/plog/plog_logo.gif';\r
-\r
-// If pLog was installed with something other than the default database table prefix "plog_"\r
-// adjust this setting below\r
-define('PLOG_PREFIX', "lt_");\r
-\r
-\r
-\r
-?>
\ No newline at end of file