removed mods directory from the ATutor codebase
[atutor.git] / mods / social / side_menu.inc.php
diff --git a/mods/social/side_menu.inc.php b/mods/social/side_menu.inc.php
deleted file mode 100644 (file)
index fae207b..0000000
+++ /dev/null
@@ -1,75 +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
-global $savant, $_config, $stripslashes;\r
-\r
-require_once('lib/friends.inc.php');\r
-require_once('lib/classes/Application.class.php');\r
-/* start output buffering: */\r
-ob_start(); ?>\r
-\r
-<?php\r
-//Get the list of friends.\r
-/*\r
-$list_of_friends = getFriends($_SESSION['member_id']);\r
-if (sizeof($list_of_friends) > 0){\r
-       foreach ($list_of_friends as $id){\r
-               //print links of friends\r
-               //make a size limit so the rest will be "..."\r
-       }\r
-} else {\r
-       echo 'You don\'t have any friends in your network yet, <a href="'.url_rewrite(AT_SOCIAL_BASENAME.'connections.php').'">click here</a> to start adding friends to your networking';\r
-}\r
-*/\r
-//search box\r
-?>\r
-\r
-<ul class="social_side_menu">\r
-       <li><a href="<?php echo url_rewrite(AT_SOCIAL_BASENAME.'index.php', AT_PRETTY_URL_HEADER); ?>"><?php echo _AT('network_home'); ?></a></li>\r
-       <li><a href="<?php echo url_rewrite(AT_SOCIAL_BASENAME.'connections.php', AT_PRETTY_URL_HEADER); ?>"><?php echo _AT('connections'); ?></a></li>\r
-       <li><a href="<?php echo url_rewrite(AT_SOCIAL_BASENAME.'sprofile.php', AT_PRETTY_URL_HEADER); ?>"><?php echo _AT('social_profile'); ?></a></li>\r
-       <li><a href="<?php echo url_rewrite(AT_SOCIAL_BASENAME.'applications.php', AT_PRETTY_URL_HEADER); ?>"><?php echo _AT('applications'); ?></a></li>\r
-       <li><a href="<?php echo url_rewrite(AT_SOCIAL_BASENAME.'groups/index.php', AT_PRETTY_URL_HEADER); ?>"><?php echo _AT('social_groups'); ?></a></li>\r
-       <li><a href="<?php echo url_rewrite(AT_SOCIAL_BASENAME.'settings.php', AT_PRETTY_URL_HEADER); ?>"><?php echo _AT('settings'); ?></a></li>\r
-</ul>\r
-\r
-<?php\r
-$applications_obj = new Applications();\r
-$myApplications = $applications_obj->listMyApplications();\r
- if (!empty($myApplications)): ?>\r
-<div class="divider"></div>\r
-<div><?php echo _AT('applications'); ?></div>\r
-<ul class="social_side_menu">\r
-       <?php \r
-       foreach ($myApplications as $id=>$app_obj){\r
-               echo '<li><a href="'.url_rewrite(AT_SOCIAL_BASENAME.'applications.php?app_id='.$id, AT_PRETTY_URL_HEADER).'">'.$app_obj->title.'</a></li>';\r
-       }\r
-       ?>\r
-</ul>\r
-<?php endif; ?>\r
-<div class="divider"></div>\r
-\r
-<form action="<?php echo url_rewrite(AT_SOCIAL_BASENAME.'connections.php', AT_PRETTY_URL_HEADER);?>" method="POST">\r
-       <input type="text" name="search_friends_123" value="<?php echo urldecode($_POST['searchFriends']); ?>" title="<?php echo _AT('search_for_friends'); ?>" />\r
-       <input type="hidden" name="rand_key" value="123"/>\r
-       <input type="submit" name="search" value="<?php echo _AT('search_for_friends'); ?>" class="button" />\r
-</form>\r
-\r
-<?php\r
-$savant->assign('dropdown_contents', ob_get_contents());\r
-ob_end_clean();\r
-\r
-$savant->assign('title', _AT('social')); // the box title\r
-$savant->display('include/box.tmpl.php');\r
-?>
\ No newline at end of file