blob: ceca0986a1ef21b2bff25e1be66c882bc1485d57 (
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
90
91
92
93
|
<h1>Database Connection Information</h1>
{if substr( PHP_OS, 0, 3 ) == 'WIN'}
<p class="alert alert-info">
Your server seems to run under Microsoft Windows. Please set the PHP_MAGIC_PATH constant in the configuration file.
</p>
{/if}
<div class="alert alert-success">
Your configuration was successfully created at <strong>{$smarty.const.CONFIG_PKG_PATH}kernel/config_inc.php</strong>
<p>If you are interested in debugging or developing Bitweaver, please view this file, as there are important additional options that can not be set elsewhere. Web designers can also find some settings that helps with theme creation.</p>
</div>
{form legend="Your database connection information"}
<input type="hidden" name="step" value="{$next_step}" />
<div class="form-group">
<ul class="result">
{if $error}
<li class="error">
{$error}
</li>
{else}
<li class="success">
A connection to your database was sucessfully established
</li>
{/if}
</ul>
</div>
<div class="form-group">
{formlabel label="Database type"}
{forminput}
{$gBitDbType}
{/forminput}
</div>
<div class="form-group">
{formlabel label="Host"}
{forminput}
{$gBitDbHost}
{/forminput}
</div>
<div class="form-group">
{formlabel label="User"}
{forminput}
{$gBitDbUser}
{/forminput}
</div>
<div class="form-group">
{formlabel label="Password"}
{forminput}
{$gBitDbPassword_print}
{/forminput}
</div>
<div class="form-group">
{formlabel label="Database name"}
{forminput}
{$gBitDbName}
{/forminput}
</div>
<div class="form-group">
{formlabel label="Database prefix"}
{forminput}
{$db_prefix_bit|replace:"`":""}
{/forminput}
</div>
<div class="form-group">
{formlabel label="Site base URL"}
{forminput}
{$bit_root_url}
{/forminput}
</div>
{if isset( $has_innodb_support )}
<div class="form-group">
{forminput label="checkbox"}
<input type="checkbox" name="use_innodb" id="use_innodb" {if $has_innodb_support eq 'DEFAULT'}checked="checked"{/if} />Use InnoDB tables
{formhelp note="Your database server supports InnoDB which provides MySQL with a transaction-safe storage engine that has commit, rollback, and crash recovery capabilities. You usually want this for safest possible data storage. Otherwise the standard MyIsam engine is used."}
{/forminput}
</div>
{/if}
<div class="form-group">
{forminput}
<input type="submit" class="btn btn-primary" value="Continue {$section|default:"install"} process" />
{/forminput}
</div>
{/form}
|