removed mods directory from the ATutor codebase
[atutor.git] / mods / fha_student_tools / index.php
diff --git a/mods/fha_student_tools/index.php b/mods/fha_student_tools/index.php
deleted file mode 100644 (file)
index 84face0..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<?php\r
-define('AT_INCLUDE_PATH', '../../include/');\r
-require (AT_INCLUDE_PATH.'vitals.inc.php');\r
-require (AT_INCLUDE_PATH.'header.inc.php');\r
-\r
-$fha_student_tools = array();\r
-\r
-$sql = "SELECT links FROM ".TABLE_PREFIX."fha_student_tools WHERE course_id=$_SESSION[course_id]";\r
-$result = mysql_query($sql, $db);\r
-if ($row = mysql_fetch_assoc($result)) {\r
-       $fha_student_tools = explode('|', $row['links']);\r
-}\r
-\r
-$home_links = array();\r
-foreach ($fha_student_tools as $child) {\r
-       if (isset($_pages[$child])) {\r
-               if (isset($_pages[$child]['title'])) {\r
-                       $title = $_pages[$child]['title'];\r
-               } else {\r
-                       $title = _AT($_pages[$child]['title_var']);\r
-               }\r
-               $home_links[] = array('url' => $_base_path . $child, 'title' => $title, 'img' => $_base_path.$_pages[$child]['img']);\r
-       }\r
-}\r
-\r
-$savant->assign('home_links', $home_links);\r
-\r
-$savant->assign('announcements', array());\r
-$savant->assign('num_pages', 0);\r
-$savant->assign('current_page', 0);\r
-$savant->display('index.tmpl.php');\r
-\r
-?>\r
-\r
-\r
-<?php require (AT_INCLUDE_PATH.'footer.inc.php'); ?>
\ No newline at end of file