Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/setup/templates/complete_install.tpl
blob: 2def1e6f55303a0f5b7a1c71ed07b7af97e21afb (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
<div>
<form action="<?php echo Filters::noXSS($site_index); ?><?php echo Filters::noXSS($complete_action); ?>" method="post" name="database_form">
	<h1><?php echo Filters::noXSS(L('installstatus')); ?></h1>
	<h2><?php echo Filters::noXSS(L('congratulations')); ?></h2>
	<div class="installBlock">
		<p class="error"><?php echo Filters::noXSS(L('removesetupdirectory')); ?></p>	
		<?php if(!$config_writeable): ?>
		<table class="formBlock">
		<tr>
			<td>
			The configuration file is not writeable. You will have to upload the following
			code manually. Click in the textarea to highlight all of the code. Copy and
			paste the contents into the flyspray.conf.php file available in the base of
			<?php echo Filters::noXSS($product_name); ?> installation.
			</td>
		</tr>
		<tr>
			<td align="center">
				<textarea class="inputbox" rows="10" cols="38" name="configcode" onclick="javascript:this.form.configcode.focus();this.form.configcode.select();" ><?php echo htmlspecialchars($config_text); ?></textarea>
			</td>
		</tr>
		</table>
		<h3>flyspray.conf.php NOT writeable</h3>
		<p>
			To complete setup, copy and paste the contents of the textarea box into flyspray.conf.php
			This file resides in the base of your <?php echo Filters::noXSS($product_name); ?> installation.
		</p>
		<?php endif; ?>
		<?php 		
		if ($admin_username && $admin_password): ?>
		<h3>Administration Login Details</h3>
		<p>
		<strong>Username: <?php echo Filters::noXSS($admin_username); ?></strong><br />
		<strong>Password: <?php echo Filters::noXSS($admin_password); ?></strong>
		</p>
		<?php endif; ?>

		<?php if ($admin_username && $admin_password): ?>
		<input type="hidden" name="return_to" value="./" />
		<input type="hidden" name="do" value="authenticate" />
		<input type="hidden" name="user_name" value="<?php echo Filters::noXSS($admin_username); ?>" />
		<input type="hidden" name="password" value="<?php echo Filters::noXSS($admin_password); ?>" />
		<?php endif; ?>
		<p><?php echo Filters::noXSS(L('proceedtoindex')); ?></p>
		<input type="hidden" name="remember_login" value="1" />
		<button class="button" type="submit" name="next" value="next"><?php echo Filters::noXSS(L('viewsite')); ?></button>
		
	</div>
</form>
</div>