2 /************************************************************************/
\r
4 /************************************************************************/
\r
5 /* Copyright (c) 2002-2006 by Greg Gay, Joel Kronenberg, Heidi Hazelton */
\r
6 /* http://atutor.ca */
\r
8 /* This program is free software. You can redistribute it and/or */
\r
9 /* modify it under the terms of the GNU General Public License */
\r
10 /* as published by the Free Software Foundation. */
\r
11 /************************************************************************/
\r
12 if (!defined('AT_INCLUDE_PATH')) { exit; }
\r
14 error_reporting(E_ALL ^ E_NOTICE);
\r
18 include('../include/config.inc.php');
\r
19 error_reporting(E_ALL ^ E_NOTICE);
\r
20 if (defined('AT_INSTALL')) {
\r
21 echo 'ATutor appears to have been installed already.';
\r
26 $new_version = $new_version ? $new_version : $_POST['step1']['new_version'];
\r
28 $install_steps[0] = array('name' => 'Introduction');
\r
29 $install_steps[1] = array('name' => 'Locate Old Version');
\r
30 $install_steps[2] = array('name' => 'Database');
\r
31 $install_steps[3] = array('name' => 'New '.$new_version.' Configuration Options');
\r
32 $install_steps[4] = array('name' => 'Content Directory');
\r
33 $install_steps[5] = array('name' => 'Content Files');
\r
34 $install_steps[6] = array('name' => 'Save Configuration');
\r
35 $install_steps[7] = array('name' => 'Anonymous Usage Collection');
\r
36 $install_steps[8] = array('name' => 'Done!');
\r
39 ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
\r
42 <title>ATutor Upgrade</title>
\r
43 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
\r
44 <link rel="stylesheet" href="stylesheet.css" type="text/css" />
\r
48 <div style="height: 70px; vertical-align: bottom; background: #354A81">
\r
49 <h1 id="header">ATutor <?php echo $new_version; ?> Upgrade</h1>
\r
50 <img src="../images/logo.gif" height="29" width="84" alt="ATutor Logo" id="logo" />
\r
52 <div style="clear: all"></div>
\r