commit | author | age
|
354978
|
1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
T |
2 |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
3 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
|
4 |
<head> |
|
5 |
<title>RoundCube Webmail Installer</title> |
|
6 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
|
7 |
<link rel="stylesheet" type="text/css" href="styles.css" /> |
|
8 |
</head> |
|
9 |
|
|
10 |
<body> |
|
11 |
|
|
12 |
<div id="banner"> |
|
13 |
<div id="header"> |
|
14 |
<div class="banner-logo"><a href="http://www.roundcube.net"><img src="images/banner_logo.gif" width="200" height="56" border="0" alt="RoundCube Webmal Project" /></a></div> |
|
15 |
<div class="banner-right"><img src="images/banner_right.gif" width="10" height="56" alt="" /></div> |
|
16 |
</div> |
|
17 |
<div id="topnav"> |
|
18 |
<a href="http://trac.roundcube.net/wiki/Howto_Install">How-to Wiki</a> |
|
19 |
</div> |
|
20 |
</div> |
|
21 |
|
|
22 |
<div id="content"> |
|
23 |
|
|
24 |
<h1>RoundCube Webmail Installer</h1> |
|
25 |
|
|
26 |
<?php |
|
27 |
|
6557d3
|
28 |
ini_set('display_errors', 1); |
T |
29 |
|
354978
|
30 |
require_once 'rcube_install.php'; |
T |
31 |
$RCI = new rcube_install(); |
|
32 |
|
|
33 |
?> |
|
34 |
|
|
35 |
<ol id="progress"> |
|
36 |
<?php |
|
37 |
|
|
38 |
foreach (array('Check environment', 'Create config', 'Test config') as $i => $item) { |
|
39 |
$j = $i + 1; |
|
40 |
$link = $RCI->step > $j ? '<a href="./index.php?_step='.$j.'">' . Q($item) . '</a>' : Q($item); |
|
41 |
printf('<li class="step%d%s">%s</li>', $j+1, $RCI->step > $j ? ' passed' : ($RCI->step == $j ? ' current' : ''), $link); |
|
42 |
} |
|
43 |
?> |
|
44 |
</ol> |
|
45 |
|
|
46 |
<?php |
|
47 |
|
|
48 |
$include_steps = array('welcome.html', 'check.php', 'config.php', 'test.php'); |
|
49 |
|
|
50 |
if ($include_steps[$RCI->step]) { |
|
51 |
include $include_steps[$RCI->step]; |
|
52 |
} |
|
53 |
else { |
|
54 |
header("HTTP/1.0 404 Not Found"); |
|
55 |
echo '<h2 class="error">Invalid step</h2>'; |
|
56 |
} |
|
57 |
|
|
58 |
?> |
|
59 |
</div> |
|
60 |
|
|
61 |
<div id="footer"> |
|
62 |
Installer by the RoundCube Dev Team. Copyright © 2008 - Published under the GNU Public License |
|
63 |
</div> |
|
64 |
</body> |
|
65 |
</html> |