removed mods directory from the ATutor codebase
[atutor.git] / mods / plog / index_instructor.php
diff --git a/mods/plog/index_instructor.php b/mods/plog/index_instructor.php
deleted file mode 100644 (file)
index f26eb8d..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-<?php\r
-/*\r
-This is the main ATutor webcalendar module page. It allows users to access\r
-the course and personal calendars through courses that have the calendar enabled\r
-*/\r
-global $webcalendar_url_db;\r
-define('AT_INCLUDE_PATH', '../../include/');\r
-require (AT_INCLUDE_PATH.'vitals.inc.php');\r
-\r
-// switch the comments in the two lines to switch between LifeType 1.0.2 and 1.1\r
-//require ('sync_plog11.php');\r
-require ('sync_plog.php');\r
-\r
-\r
-//////////\r
-//Check to see if the url to webcalendar exists in the db \r
-$sql = 'SELECT * from '.TABLE_PREFIX.'config WHERE name="plog"';\r
-$result = mysql_query($sql, $db);\r
-\r
-while($row = mysql_fetch_array($result)){\r
-       $plog_url_db = $row[1];\r
-}\r
-\r
-require (AT_INCLUDE_PATH.'header.inc.php');\r
-\r
-?>\r
-               <div class="input-form">\r
-               <div class="row">\r
-                       <p><?php echo _AT('plog_sync'); ?></p>\r
-                       <p>     <strong><?php echo $plog_sync; ?> </strong>                                                                     </p>\r
-                       <div class="row buttons">\r
-                       <form action="<?php  $_SERVER['PHP_SELF']; ?>" method="post">\r
-                       <input type="hidden" name="plog_sync" value="1">\r
-                       <input type="submit" value="<?php echo _AT('plog_sync_button'); ?>" style="botton">\r
-                       </form>\r
-                       </div>\r
-               </div>\r
-               </div>\r
-\r
-\r
-<?php\r
-// Display the appropriate pLog screen: open in a new window, pLog login, the pLog summary screen, course blog\r
-// Comment out or remove the summary link below if you want to hide the Public blog from users.\r
-?>\r
-<div id="topnavlistcontainer">\r
-<ul id="topnavlist">\r
-<li><a href="<?php echo $_SERVER['PHP_SELF']; ?>" onclick="window.open('<?php echo $plog_url_db; ?>index.php?blogId=<?php echo $_SESSION['course_id']; ?>','plogwin','width=800,height=720,scrollbars=yes, resizable=yes'); return false"><?php echo  _AT('plog_own_window'); ?></a> </li>\r
-<li><a href="<?php echo $_SERVER['PHP_SELF']; ?>?enter_blog=1;blogId=<?php echo $_SESSION['course_id']; ?>"> <?php echo  _AT('plog_login'); ?></a> </li>\r
-<li><a href="<?php echo $_SERVER['PHP_SELF']; ?>?summary_blog=1;blogId=<?php echo $_SESSION['course_id']; ?>"> <?php echo  _AT('plog_summary'); ?></a> </li>\r
-<li><a href="<?php echo $_SERVER['PHP_SELF']; ?>?course_blog=1;blogId=<?php echo $_SESSION['course_id']; ?>"> <?php echo  _AT('plog_course'); ?></a></li>\r
-</ul>\r
-</div>\r
-<?php\r
-\r
-if($plog_url_db == ''){\r
-       $msg->addInfo('PLOG_URL_ADD_REQUIRED');\r
-}elseif ($_GET['enter_blog']){\r
-?>\r
-       <iframe name="plog" id="plog" title="pLog" scrolling="yes" src="<?php echo $plog_url_db; ?>admin.php?blogId=<?php echo $_SESSION['course_id']; ?>" height="800" width="90%" align="center" style="border:thin white solid; align:center;"></iframe>\r
-<?php \r
-}elseif ($_GET['summary_blog']){\r
-?>\r
-       <iframe name="plog" id="plog" title="pLog" scrolling="yes" src="<?php echo $plog_url_db; ?>summary.php?blogId=<?php echo $_SESSION['course_id']; ?>" height="800" width="90%" align="center" style="border:thin white solid; align:center;"></iframe>\r
-<?php \r
-}elseif ($_GET['course_blog']){\r
-?>\r
-       <iframe name="plog" id="plog" title="pLog" scrolling="yes" src="<?php echo $plog_url_db; ?>index.php?blogId=<?php echo $_SESSION['course_id']; ?>" height="800" width="90%" align="center" style="border:thin white solid; align:center;"></iframe>\r
-<?php \r
-}else{ ?>\r
-       <iframe name="plog" id="plog" title="pLog" scrolling="yes" src="<?php echo $plog_url_db; ?>index.php?blogId=<?php echo $_SESSION['course_id']; ?>" height="800" width="90%" align="center" style="border:thin white solid; align:center;"></iframe>\r
-<?php\r
-}\r
-\r
- require (AT_INCLUDE_PATH.'footer.inc.php'); \r
-?>
\ No newline at end of file