removed mods directory from the ATutor codebase
[atutor.git] / mods / mediawiki / index_mystart.php
diff --git a/mods/mediawiki/index_mystart.php b/mods/mediawiki/index_mystart.php
deleted file mode 100644 (file)
index ee93ef8..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php\r
-$_user_location        = 'users';\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
-require (AT_INCLUDE_PATH.'header.inc.php');\r
-\r
-\r
-if($_GET['p']){\r
-       $p = $addslashes($_GET['p']);\r
-}\r
-\r
-if(!$_COOKIE['mysql_active_user']){\r
-\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
-\r
-\r
-<?php require (AT_INCLUDE_PATH.'footer.inc.php'); ?>
\ No newline at end of file