made a copy
[atutor.git] / install / include / step1.php
1 <?php
2 /************************************************************************/
3 /* ATutor                                                                                                                               */
4 /************************************************************************/
5 /* Copyright (c) 2002-2003 by Greg Gay, Joel Kronenberg, Heidi Hazelton */
6 /* http://atutor.ca                                                                                                             */
7 /*                                                                                                                                              */
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 if (!defined('AT_INCLUDE_PATH')) { exit; }
13 if (isset($_POST['submit'])) {
14         if ($_POST['submit'] == 'I Agree') {
15                 unset($_POST['submit']);
16                 $step++;
17                 unset($_POST['action']);
18                 return;
19         } else {
20                 exit;
21         }
22 }
23
24 print_progress($step);
25 ?>
26 <p>ATutor is licensed under the terms of the <a href="http://atutor.ca/services/licensing_gpl.php" target="_new">GNU General Public License (GPL)</a>, which essentially allows for the free distribution and modification of ATutor. ATutor has its own license that governs its use outside the bounds of the GPL.</p>
27
28 <p>Please see <a href="http://atutor.ca/services/licensing.php" target="_new">atutor.ca</a> for additional details.</p>
29
30 <p>If you do not agree to the Terms of Use then you may not install and use ATutor.</p>
31
32 <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" name="form">
33         <input type="hidden" name="action" value="process" />
34         <input type="hidden" name="step" value="1" />
35         <input type="hidden" name="new_version" value="<?php echo $new_version; ?>" />
36         <div align="center">
37                 <input type="submit" name="submit" class="button" value="I Agree" /> - <input type="submit" name="submit" class="button" value="I Disagree" /><br />
38         </div>
39 </form>