summaryrefslogtreecommitdiff
path: root/templates/install.tpl
blob: aecfb610992a669373fe392b81ac625004714b9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<style type="text/css">
		<!-- @import url(style/install.css); -->
	</style>
	<title>Install bitweaver - {$browserTitle}</title>
	<link rel="shortcut icon" href="{$smarty.const.INSTALL_PKG_URL}favicon.ico" type="image/x-icon" />

	<!--[if gte IE 5.5000]>
		<script type="text/javascript" src="{$smarty.const.UTIL_PKG_URL}javascript/msiefixes/pngfix.js"></script>
	<![endif]-->

	<script type="text/javascript">//<![CDATA[
		var bitCookiePath = "{$smarty.const.BIT_ROOT_URL}";
		var bitCookieDomain = "";
		var bitIconDir = "{$smarty.const.LIBERTY_PKG_URL}icons/";
		var bitRootUrl = "{$smarty.const.BIT_ROOT_URL}";
	//]]></script>
	<script type="text/javascript" src="{$smarty.const.UTIL_PKG_URL}javascript/libs/tabpane.js"></script>
</head>
{strip}
<body>
	<div class="display install">
		<div class="nav">
			<ul>
				<li class="title">
					{$section|default:"Install"}ometer
				</li>

				{foreach from=$menu_steps item=step key=key}
					<li class="{$step.state}">
						{biticon ipackage=liberty iname=`$step.state` iexplain=`$step.state` iforce=icon}&nbsp;
						{if $step.state ne 'spacer'}
							<a href="{$smarty.const.INSTALL_PKG_URL}{$menu_file|default:"install.php"}?step={$key}">
						{/if}
							{$step.name}
						{if $step.state ne 'spacer'}
							</a>
						{/if}
					</li>
				{/foreach}

				<li>
					{biticon ipackage=liberty iname=spacer iexplain=spacer iforce=icon}
				</li>
				<li class="help">
					{biticon ipackage=liberty iname=help iexplain=help iforce=icon}&nbsp;
					<a class="external" href="http://www.bitweaver.org/wiki/index.php?page={$section|default:"Install"}bitweaverDoc">{$section|default:"Install"} Help</a>
				</li>
				<li class="help">
					{biticon ipackage=liberty iname=refresh iexplain=restart iforce=icon}&nbsp;
					<a href="{$smarty.const.INSTALL_PKG_URL}{$menu_file|default:"install.php"}?step=0">Start over</a>
				</li>
				{if $section}
					<li class="help">
						{biticon ipackage=liberty iname=refresh iexplain=restart iforce=icon}&nbsp;
						<a href="{$smarty.const.INSTALL_PKG_URL}install.php?step=2">Return to Installer</a>
					</li>
				{/if}
				<li class="warning" style="text-align:center;">
					{biticon ipackage=liberty iname=warning iexplain=warning iforce=icon}
					<br />
					Please don't use the browser back button.
				</li>
			</ul>

			<div class="progressbar">
				{$section|default:"Install"} Progress
				<div style="border:1px solid #ccc;background:#eee;margin:2px 0;">
					<div style="width:{$progress}%;background:#f30;text-align:center;padding:5px 0;color:#fff;">{$progress}%</div>
				</div>
			</div>
		</div> <!-- end .nav -->

		<div class="body">
			<div class="bittop">
				<h1>bitweaver <strong>{$bitMajorVersion}.{$bitMinorVersion}.{$bitSubVersion} {$bitLevel}</strong></h1>
			</div>

			{include file=$install_file}
		</div> <!-- end .body -->

		<div class="clear"></div>
	</div> <!-- end .install -->
</body>
</html>
{/strip}