forked from mayflower/PHProjekt
/
server.phtml
45 lines (42 loc) · 1.33 KB
/
server.phtml
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
<div class="prepend-0">
<h2>Step 1 - Check the Server</h2>
Welcome to PHProjekt 6!<br />
This wizard will help you to create one and install all the nesesaries tables.<br />
<b>NOTE: Your browser must accept cookies to run the setup.</b>
<br />
<br />
<b>Checking the server:</b><br />
<?php
include ("serverFeedback.phtml");
if (!empty($this->error)) {
echo '<b>Your server does not meet the requirements needed for PHProjekt 6.<br />'
. 'You must fix the errors for install PHProjekt 6 on this server.</b><br /><br />';
} else {
if (!empty($this->message)) {
echo '<b>It seems to have some caveats, this is not an impediment to install PhProjekt 6, '
. ' however, is recommended fix them.</b><br /><br />';
}
?>
<table class="form"
style="width: auto;">
<col class="col1" />
<tr>
<td colspan="2">
<button dojoType="dijit.form.Button" baseClass="positive" type="button" iconClass="tick"
onClick="
phprSend({
url: '<?php echo $this->webPath; ?>' + 'setup.php/index/jsonDatabaseForm',
onSuccess: dojo.hitch(this, function(data) {
dijit.byId('formContent').attr('content', data.template);
changeStep(1, 2);
})
});">
Continue with the database
</button>
</td>
</tr>
</table>
<?php
}
?>
</div>