AC_4897, AC_4898, AC_4899: Multifile uploader fixes.
[acontent.git] / install / include / upgrade_header.php
1 <?php\r
2 /************************************************************************/\r
3 /* AContent                                                             */\r
4 /************************************************************************/\r
5 /* Copyright (c) 2010                                                   */\r
6 /* Inclusive Design Institute                                           */\r
7 /*                                                                      */\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 \r
13 if (!defined('TR_INCLUDE_PATH')) { exit; }\r
14 \r
15 error_reporting(E_ALL ^ E_NOTICE);\r
16 \r
17 if ($step < 5) {\r
18         error_reporting(0);\r
19         include('../include/config.inc.php');\r
20         error_reporting(E_ALL ^ E_NOTICE);\r
21         if (defined('TR_INSTALL')) {\r
22                 include_once(TR_INCLUDE_PATH.'common.inc.php');\r
23                 echo print_meta_redirect();\r
24                 exit;\r
25         }\r
26 }\r
27 \r
28 $new_version = $new_version ? $new_version : $_POST['step1']['new_version'];\r
29 \r
30 $install_steps[0] = array('name' => 'Introduction');\r
31 $install_steps[1] = array('name' => 'Locate Old Version');\r
32 $install_steps[2] = array('name' => 'Database');\r
33 $install_steps[3] = array('name' => 'New '.$new_version.' Configuration Options');\r
34 $install_steps[4] = array('name' => 'Content Directory');\r
35 $install_steps[5] = array('name' => 'Content Files');\r
36 $install_steps[6] = array('name' => 'Save Configuration');\r
37 $install_steps[7] = array('name' => 'Anonymous Usage Collection');\r
38 $install_steps[8] = array('name' => 'Done!');\r
39 \r
40 \r
41 ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r
42 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="utf-8"> \r
43 <head>\r
44 <title>AContent Upgrade</title>\r
45 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\r
46 <link rel="stylesheet" href="stylesheet.css" type="text/css" />\r
47 </head>\r
48 \r
49 <body>\r
50 <div style="height: 70px; vertical-align: bottom; background: #354A81">\r
51         <h1 id="header">AContent <?php echo $new_version; ?> Upgrade</h1>\r
52         <img src="../images/AC_Logo1_sm.png" height="29" width="84" alt="AContent Logo" id="logo" />\r
53 </div>\r
54 <div style="clear: all"></div>\r
55 <div class="content">