moved code up one level to eliminate the docs subdirectory
[acontent.git] / install / include / header.inc.php
1 <?php
2 /************************************************************************/
3 /* AContent                                                             */
4 /************************************************************************/
5 /* Copyright (c) 2010                                                   */
6 /* Inclusive Design Institute                                           */
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
13 if (!defined('TR_INCLUDE_PATH')) { exit; }
14 error_reporting(E_ALL ^ E_NOTICE);
15
16 if ($step < 3) {
17         error_reporting(0);
18         include('../include/config.inc.php');
19         error_reporting(E_ALL ^ E_NOTICE);
20         if (defined('TR_INSTALL')) {
21                 echo 'AContent appears to have been installed already.';
22                 exit;
23         }
24 }
25
26 $install_steps[0] = array('name' => 'Introduction');
27 $install_steps[1] = array('name' => 'Terms of Use');
28 $install_steps[2] = array('name' => 'Database');
29 $install_steps[3] = array('name' => 'Accounts & Preferences');
30 $install_steps[4] = array('name' => 'Content Directory');
31 $install_steps[5] = array('name' => 'Save Configuration');
32 $install_steps[6] = array('name' => 'Anonymous Usage Collection');
33 $install_steps[7] = array('name' => 'Done!');
34
35 ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
36 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="utf-8"> 
37 <head>
38         <title>AContent Installation</title>
39         <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
40         <link rel="stylesheet" href="stylesheet.css" type="text/css" />
41 </head>
42 <body>
43 <div style="height: 70px; vertical-align: bottom; background-color: #354A81">
44         <h1 id="header">AContent <?php echo $new_version; ?> Installation</h1>
45         <img src="../images/AC_Logo1_sm.png" height="29" width="84" alt="Logo" id="logo" />
46 </div>
47 <div style="clear: all"></div>
48 <div class="content">