Page MenuHomeIn-Portal Phabricator

dbinfo.php
No OneTemporary

File Metadata

Created
Wed, Nov 18, 3:41 PM

dbinfo.php

<td>
<img src="images/icon_install.gif" width="46" height="46" alt="" align="absmiddle">&nbsp;<span class="admintitle">Database Configuration</span><br><br>
<?php section_header('Step '.$tmp_step.' - Database Configuration'); ?>
<table border=0 cellpadding=0 cellspacing=0 width="100%" class="toolbar">
<?php include("install/toolbar.php"); ?>
</table>
<!-- toolbar button \\-->
<table width="100%" border="0f" cellspacing="0" cellpadding="0" class="tableborder">
<tr valign="top">
<td width="60%" bgcolor="#F0F0F0">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="4">
<tr class="table_color2">
<td class="txt"><b>Server Type:</b></td>
<td ALIGN="left">
<SELECT NAME="ServerType">
<OPTION VALUE="mysql" <?php if($g_DBType=="mysql") echo "SELECTED"; ?>>MySQL</OPTION>
<!--<OPTION VALUE="mssql" <?php if($g_DBType=="mssql") echo "SELECTED"; ?>>MS-SQL Server</OPTION>
<OPTION VALUE="pgsql" <?php if($g_DBType=="pgsql") echo "SELECTED"; ?>>pgSQL</OPTION>-->
</SELECT>
</td>
</tr>
<tr class="table_color2">
<td class="txt"><b>Hostname:</b></td>
<td ALIGN="left">
<input type="text" name="ServerHost" class="text" VALUE="<?php echo $g_DBHost; ?>">
</td>
</tr>
<tr class="table_color2">
<td class="txt"><b>Database Name:</b></td>
<td ALIGN="left">
<input type="text" name="ServerDB" class="text" VALUE="<?php echo $g_DBName; ?>">
</td>
</tr>
<tr class="table_color2">
<td class="txt"><b>Database User Name:</b></td>
<td ALIGN="left">
<input type="text" name="ServerUser" class="text" VALUE="<?php echo $g_DBUser; ?>">
</td>
</tr>
<tr class="table_color2">
<td class="txt"><b>Database User Password:</b></td>
<td ALIGN="left">
<input type="password" name="ServerPass" class="text" VALUE="<?php echo $g_DBUserPassword; ?>">
</td>
</tr>
<tr class="table_color2">
<td class="txt"><b>Table Name Prefix:</b></td>
<td ALIGN="left">
<input type="text" name="TablePrefix" class="text" VALUE="<?php if( isset($g_TablePrefix) ) echo $g_TablePrefix; ?>">
</td>
</tr>
<tr class="table_color2">
<td colspan="2"><p class="error"><?php if ($general_error != '') echo $general_error; else echo $db_error; ?></p><br/></td>
</tr>
<input type="hidden" name="UserPass" VALUE="<?php if( isset($UserPass) ) echo $UserPass; ?>">
<input type="hidden" name="UserName" VALUE="<?php if( isset($UserName) )echo $UserName; ?>">
<input TYPE="hidden" NAME ="state" VALUE="db_config_save">
<input type="hidden" name="next_step" value="<?php echo $next_step;?>">
<input type="hidden" name="install_type" value="<?php echo $install_type;?>">
<tr>
<td COLSPAN=2>
<br>
<input type="submit" name="submit_form" value="Continue" class="button">
<input type="button" name="Cancel" value="Cancel" CLASS="button" ONCLICK = "history.go(-1);">
</td>
</tr>
</table>
</td>

Event Timeline