database.tpl
1.86 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
<form id="<?php echo $step_name; ?>" action="index.php?step_name=<?php echo $step_name; ?>" method="post">
<p class="title">Migrate Database</p>
<div id="database" class="step1" style="display:block;">
<div class="description">
This step configures the connection to the database server and migrates the database.
</div>
<div id="step_content_<?php echo $step_name; ?>" class="step">
<?php if(empty($errors)) { ?>
<p class="description">The Setup Wizard will now export your existing database in preparation for the migration to the new KnowledgeTree Stack.</p><br />
<span class="error">Please ensure that your database is backed up before proceeding. If you need assistance with backing up see the <a class="description_click" target="_blank" href="http://wiki.knowledgetree.com/Backing_up_and_restoring_KnowledgeTree">'Backing up and restoring KnowledgeTree'</a> wiki entry.
</span>
<br /><br />
<p class="description">Click <b>Next</b> to continue.</p>
<?php } ?>
<!--Handle a failed dump-->
<?php if(isset($errors)) { ?>
<?php
foreach ($errors as $error) {
?>
<span class="error">
<?php
if(isset($error['error'])) {
echo $error['error'];
?>
<br/><br/>
<?php
}
?>
</span>
<?php
if(isset($error['msg'])) {
echo $error['msg'];
?>
<br/><br/>
<?php
}
?>
<?php
if(isset($error['cmd'])) {
echo $error['cmd'];
}
}
}
?>
<br/>
</div>
</div>
<input type="submit" name="Previous" value="Previous" class="button_previous"/>
<input type="submit" name="Next" value="Next" class="button_next"/>
</form>
<script type="text/javascript">
$("#duname").focus();
</script>
<?php if (AJAX) { echo $html->js('form.js'); } ?>