removed mods directory from the ATutor codebase
[atutor.git] / mods / social / index_admin.php
diff --git a/mods/social/index_admin.php b/mods/social/index_admin.php
deleted file mode 100644 (file)
index 4b138d2..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-<?php\r
-/****************************************************************/\r
-/* ATutor                                                                                                              */\r
-/****************************************************************/\r
-/* Copyright (c) 2002-2009                                                                             */\r
-/* Adaptive Technology Resource Centre / University of Toronto  */\r
-/* http://atutor.ca                                                                                            */\r
-/*                                                              */\r
-/* This program is free software. You can redistribute it and/or*/\r
-/* modify it under the terms of the GNU General Public License  */\r
-/* as published by the Free Software Foundation.                               */\r
-/****************************************************************/\r
-// $Id$\r
-\r
-define('AT_INCLUDE_PATH', '../../include/');\r
-require (AT_INCLUDE_PATH.'vitals.inc.php');\r
-admin_authenticate(AT_ADMIN_PRIV_SOCIAL);\r
-$_custom_css = $_base_path . AT_SOCIAL_BASENAME . 'module.css'; // use a custom stylesheet\r
-\r
-if($_POST['save']){\r
-       $shindig_url = $addslashes($_POST['shindig_url']);\r
-       $sql = "REPLACE into ".TABLE_PREFIX."config (name,value) VALUES('shindig_url','$shindig_url')";\r
-       if($result = mysql_query($sql, $db)){\r
-                $msg->addFeedback('SOCIAL_SETTINGS_SAVED');\r
-       }else{\r
-               $msg->addError('SOCIAL_SETTINGS_NOT_SAVED');\r
-       }\r
-       header("Location: ".$_SERVER['PHP_SELF']);\r
-       exit;\r
-}\r
-\r
-require (AT_INCLUDE_PATH.'header.inc.php');\r
-?>\r
-\r
-\r
-<div class="headingbox"><h3><?php echo _AT('admin_social'); ?></h3></a></div>\r
-<div class="contentbox">\r
-<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">\r
-       <p><?php echo _AT('shindig_blurb'); ?></p>\r
-               <dl id="public-profile">\r
-                       <dt><label for="shindig"><?php echo _AT('shindig_url'); ?></dt>\r
-                       <dl><input type="text" id="shindig" name="shindig_url" size="60" value="<?php echo $_config['shindig_url']; ?>" /></dd>\r
-               </dl>\r
-       <input type="submit" name="save" value="<?php echo _AT('save'); ?>">\r
-</form>\r
-</div>\r
-<?php \r
-\r
-require (AT_INCLUDE_PATH.'footer.inc.php'); ?>
\ No newline at end of file