|
From: Benjamin C. <bc...@us...> - 2001-10-30 04:06:01
|
Update of /cvsroot/phpbt/phpbt/templates/default In directory usw-pr-cvs1:/tmp/cvs-serv13123/templates/default Added Files: install-complete.html install.html Log Message: Web-based installation stuff --- NEW FILE: install-complete.html --- <html> <title>phpBugTracker Installation</title> <link rel="StyleSheet" href="css.php" type="text/css"> </head> <body bgcolor="#ffffff" link="#006699" vlink="#006699" alink="#006699"> <table border="0" cellpadding="0" cellspacing="0" width="640"> <tr> <td width="200" valign="top"><br><img src="logo.jpg"></td> <td valign="top"> <div class="banner">phpBugTracker Installation</div> <!-- BEGIN writeableblock --> The database tables have been created and the config file has been written. Especially if you are on a shared server, you should change the permissions so that config.php isn't writeable by others by executing chmod og-w config.php. You can login to the admin tools by using the login form below. <!-- END writeableblock --> <!-- BEGIN unwriteableblock --> The database tables have been created. Once you have config.php in place, you will be able to login to the admin tools via the form below using the admin login and password you provided. <!-- END unwriteableblock --> You will be taken to the home page, and from there you can go to the configuration page of the admin tools which will allow you to customize your installation of phpBugTracker further. Once you have completed the configuration, you will be ready to add a project and start reporting bugs! <br> <br> Please feel welcome to subscribe the phpbt-users mailing list by visiting the mailing list <a href="http://lists.sourceforge.net/lists/listinfo/phpbt-users" target="_new">web page.</a> <hr size="1" width="300"> <form action="index.php" method="post"> <table border="0" cellpadding="1" cellspacing="3" align="center"> <tr> <td>Login:</td> <td><input type="text" name="login" value="{login}"></td> </tr> <td>Password:</td> <td><input type="password" name="password"></td> </tr> <tr> <td colspan="2" align="center"> <input type="hidden" name="dologin" value="1"> <input type="submit" value="Login"> </td> </tr> </table> </form> </td> </tr> </table> </body> </html> --- NEW FILE: install.html --- <html> <title>phpBugTracker Installation</title> <link rel="StyleSheet" href="css.php" type="text/css"> </head> <body bgcolor="#ffffff" link="#006699" vlink="#006699" alink="#006699"> <form action="{me}" method="post"> <table border="0" cellpadding="0" cellspacing="0" width="640"> <tr> <td width="200" valign="top"><br><img src="logo.jpg"></td> <td valign="top" align="center"> <div class="banner">phpBugTracker Installation</div> {error} <table border="0" cellpadding="0" cellspacing="3"> <tr> <th colspan="2">Database Options</th> </tr> <tr> <td width="150">Type:</td> <td><select name="db_type">{db_type}</select></td> </tr> <tr> <td width="150">Host:</td> <td><input type="text" name="db_host" value="{db_host}"></td> </tr> <tr> <td width="150"> Database Name: <br> (This database must already exist) </td> <td valign="top"><input type="text" name="db_database" value="{db_database}"></td> </tr> <tr> <td width="150">User:</td> <td><input type="text" name="db_user" value="{db_user}"></td> </tr> <tr> <td width="150">Password:</td> <td><input type="text" name="db_pass" value="{db_pass}"></td> </tr> <tr> <td width="150">Table Prefix:</td> <td><input type="text" name="tbl_prefix" value="{tbl_prefix}"></td> </tr> <tr> </tr> <tr> <th colspan="2">Configuration</th> </tr> <tr> <td width="150"> phpBT Email: <br> (The email address used for sending bug updates, etc.) </td> <td valign="top"><input type="text" name="phpbt_email" value="{phpbt_email}"></td> </tr> <tr> <td width="150">Admin Login:</td> <td><input type="text" name="admin_login" value="{admin_login}"></td> </tr> <tr> <td width="150">Admin Password:</td> <td><input type="password" name="admin_pass" value=""></td> </tr> <tr> <td width="150">Confirm Password:</td> <td><input type="password" name="admin_pass2" value=""></td> </tr> <tr> <td width="150">Encrypt Passwords in DB:</td> <td> <input type="radio" name="encrypt_pass" value="1"> Yes <input type="radio" name="encrypt_pass" value="0" checked> No </td> </tr> <tr> <td colspan="2" align="center"> <hr size="1" width="220"> <!-- BEGIN writeableblock --> When you submit the form, the database tables will be created and config.php will be saved to disk. You will then be able to login and use the bug tracker. <input type="hidden" name="op" value="save_config_file"> <!-- END writeableblock --> <!-- BEGIN unwriteableblock --> Since config.php is not writeable by this script, when you submit this form you will be prompted to save config.php. Copy this file to the location of the bug tracker, and then you will be able to login to the bug tracker from the next page. <input type="hidden" name="op" value="dump_config_file"> <!-- END unwriteableblock --> <br> <br> <input type="submit" value="Save Options"> </td> </tr> </table> </td> </tr> </table> </form> </body> </html> |