remove old readme
[atutor.git] / docs / mods / _standard / chat / view_transcript.php
1 <?php
2 /************************************************************************/
3 /* ATutor                                                                                                                               */
4 /************************************************************************/
5 /* Copyright (c) 2002-2010                                              */
6 /* Inclusive Design Institute                                           */
7 /* http://atutor.ca                                                     */
8 /* This program is free software. You can redistribute it and/or        */
9 /* modify it under the terms of the GNU General Public License          */
10 /* as published by the Free Software Foundation.                        */
11 /************************************************************************/
12
13 define('AT_INCLUDE_PATH', '../../../include/');
14 require(AT_INCLUDE_PATH.'vitals.inc.php');
15
16 if (isset($_GET['back'])) {
17         header('Location: '.url_rewrite('mods/_standard/chat/index.php', AT_PRETTY_URL_IS_HEADER));
18         exit;
19 }
20
21 require(AT_INCLUDE_PATH.'header.inc.php');
22
23 @readfile(AT_CONTENT_DIR . 'chat/'.$_SESSION['course_id'].'/tran/'.$_GET['t'].'.html');
24 ?>
25
26 </table>
27 <br />
28
29 <form method="get" action="mods/_standard/chat/view_transcript.php">
30         <input type="submit" value="<?php echo _AT('back'); ?>" name="back" class="button" />
31 </form>
32
33 <?php require(AT_INCLUDE_PATH.'footer.inc.php'); ?>