summaryrefslogtreecommitdiff
path: root/setup/templates/complete_install.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'setup/templates/complete_install.tpl')
-rw-r--r--setup/templates/complete_install.tpl50
1 files changed, 50 insertions, 0 deletions
diff --git a/setup/templates/complete_install.tpl b/setup/templates/complete_install.tpl
new file mode 100644
index 0000000..2def1e6
--- /dev/null
+++ b/setup/templates/complete_install.tpl
@@ -0,0 +1,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>