configuration_confirm.tpl
3.28 KB
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
<form action="index.php?step_name=configuration" method="post">
<p class="title">System Configuration</p>
<!--Continue Message-->
<?php
if(!$errors && !$warnings) {
?>
<span class='big_ok'> </span><span class='continue_message'>All configuration settings are correctly set. Please click next to continue.</span><br/><br/>
<?php
}
?>
<!--Warning and Error Messages-->
<?php if($errors) { ?>
<span class='cross'> </span>
<span class='error_message'>Your system is not quite ready to run KnowledgeTree. See the list below to determine which areas you need to address. Once you’ve fixed these items, return to this wizard and try again.</span>
<br/>
<?php } elseif ($warnings) {
?>
<span class='cross_orange'> </span>
<span class='warning_message'>Not all optional dependencies required by KnowledgeTree have been met but you will be able to continue.</span>
<br/>
<?php
}?>
<?php
if($errors || $warnings) {
?>
<a href="http://wiki.knowledgetree.com/Web_Based_Installer#System_Configuration" target="_blank">Click here for help on overcoming configuration issues</a>
<?php } ?>
<!--Content-->
<div id="step_content_configuration" class="step">
<h3>Server Settings</h3>
<table>
<tr>
<td width="115px">Host: </td>
<td width="50px"> <div id="tooltips" title="Location of your web root"> </div> </td>
<td><?php echo $server['host']['value']; ?></td>
</tr>
<tr>
<td>Port: </td>
<td> <div id="tooltips" title="The port that the web server listens on."> </div> </td>
<td><?php echo $server['port']['value']; ?></td>
</tr>
<tr>
<td>Root Url: </td>
<td> <div id="tooltips" title="Relative path to KnowledgeTree Source directory"> </div> </td>
<td><?php echo $server['root_url']['value']; ?></td>
</tr>
<tr>
<td>Web Root: </td>
<td> <div id="tooltips" title="Absolute path to KnowledgeTree Source directory"> </div> </td>
<td><?php echo $server['file_system_root']['value']; ?></td>
</tr>
<tr>
<td>Do you have SSL Enabled?: </td>
<td> <div id="tooltips" title="Whether or not you have SSL installed"> </div> </td>
<td><?php echo $server['ssl_enabled']['value']; ?></td>
</tr>
</table>
<h3>Paths and Permissions</h3>
<table class="conf_paths">
<?php
foreach ($paths as $key => $path){
?>
<tr>
<td width="10"><div class='<?php echo $path['class']; ?>'></div></td>
<td width="22%"><?php echo $path['name']; ?>:</td>
<td width="50%"><?php echo $path['path']; ?></td>
<?php if(isset($path['msg'])) { ?>
<td class="error" width="27%"> <?php echo $path['msg']; ?> </td>
<td width="10"><a href="javascript:this.location.reload();" class="refresh">Refresh</a></td>
<?php } else { ?>
<td class="error" width="27%"> </td>
<td width="10"> </td>
<?php } ?>
</tr>
<?php
}
?>
</table>
<br/>
</div>
<input type="submit" name="Edit" value="Edit" class="button_previous"/>
<input type="submit" name="Confirm" value="Confirm" class="button_next"/>
</form>