removed mods directory from the ATutor codebase
[atutor.git] / mods / mediawiki / index.php
diff --git a/mods/mediawiki/index.php b/mods/mediawiki/index.php
deleted file mode 100644 (file)
index d3581fc..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php\r
-define('AT_INCLUDE_PATH', '../../include/');\r
-require (AT_INCLUDE_PATH.'vitals.inc.php');\r
-$_custom_css = $_base_path . 'mods/mediawiki/module.css'; // use a custom stylesheet\r
-global $_config;\r
-require (AT_INCLUDE_PATH.'header.inc.php');\r
-\r
-if($_GET['p']){\r
-       $p = $addslashes($_GET['p']);\r
-}\r
-\r
-if(!$_COOKIE['mysql_active_user']){\r
-       echo '<a href="'.$_config['mw-url'].'index.php?title=Special:UserLogin&returnto=Special:UserLogin" target="toolframe">'._AT('mediawiki_login').'</a>';\r
-}\r
-\r
-?>\r
-\r
-<iframe src="<?php echo $_config['mw-url']; ?><?php if($p){ echo "index.php/".$p;} ?>" width="95%" height="500" style="border:none;" name="toolframe">\r
-<p><?php echo _AT('mediawiki_no_iframe',$_config['mw-url']); ?>"><?php echo _AT('mediawiki_login'); ?></a></p>\r
-</iframe>\r
-<script>\r
-window.toolframe.wgNamespaceNumber = 1;\r
-</script>\r
-\r
-<?php require (AT_INCLUDE_PATH.'footer.inc.php'); ?>\r
-\r