2 /************************************************************************/
4 /************************************************************************/
5 /* Copyright (c) 2010 */
6 /* Inclusive Design Institute */
8 /* This program is free software. You can redistribute it and/or */
9 /* modify it under the terms of the GNU General Public License */
10 /* as published by the Free Software Foundation. */
11 /************************************************************************/
13 if (!defined('TR_INCLUDE_PATH')) { exit; }
15 $_POST['db_login'] = urldecode($_POST['db_login']);
16 $_POST['db_password'] = urldecode($_POST['db_password']);
20 if(isset($_POST['submit']) && ($_POST['action'] == 'process')) {
22 // $db = @mysql_connect($_POST['step1']['db_host'] . ':' . $_POST['step1']['db_port'], $_POST['step1']['db_login'], urldecode($_POST['step1']['db_password']));
23 // @mysql_select_db($_POST['step1']['db_name'], $db);
25 if (!isset($errors)) {
27 unset($_POST['submit']);
35 print_progress($step);
38 print_errors($errors);
44 <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" name="form">
45 <input type="hidden" name="action" value="process" />
46 <input type="hidden" name="step" value="<?php echo $step; ?>" />
47 <?php print_hidden($step); ?>
48 <p>There are no new configuration options for this version.</p>
51 <div align="center"><input type="submit" class="button" value=" Next »" name="submit" /></div>