57 lines
2.5 KiB
PHP
Executable File
57 lines
2.5 KiB
PHP
Executable File
<?php
|
|
/**
|
|
* The html template file of step2 method of install module of XXB.
|
|
*
|
|
* @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd., www.zentao.net)
|
|
* @license ZOSL (https://zpl.pub/page/zoslv1.html)
|
|
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
|
|
* @package install
|
|
* @version $Id: step2.html.php 4029 2016-08-26 06:50:41Z liugang $
|
|
* @link https://xuanim.com
|
|
*/
|
|
?>
|
|
<?php include '../../common/view/header.lite.html.php';?>
|
|
<div class="container">
|
|
<div class='modal-dialog'>
|
|
<div class='modal-content'>
|
|
<div class='modal-header'><strong><?php echo $lang->install->setConfig;?></strong></div>
|
|
<div class='modal-body'>
|
|
<form method='post' action='<?php echo $this->createLink('install', 'step3');?>' class='form-inline' id='form1'>
|
|
<table class='table table-bordered table-form'>
|
|
<tr>
|
|
<th class='w-p20'><?php echo $lang->install->key;?></th>
|
|
<th class='w-p80 text-center'><?php echo $lang->install->value?></th>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo $lang->install->dbHost;?></th>
|
|
<td><?php echo html::input('dbHost', '127.0.0.1', "class='text-3 form-control'");?><?php echo $lang->install->dbHostNote;?></td>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo $lang->install->dbPort;?></th>
|
|
<td><?php echo html::input('dbPort', '3306', "class='text-3 form-control'");?></td>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo $lang->install->dbUser;?></th>
|
|
<td><?php echo html::input('dbUser', 'root', "class='text-3 form-control'");?></td>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo $lang->install->dbPassword;?></th>
|
|
<td><?php echo html::input('dbPassword', '', "class='text-3 form-control'");?></td>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo $lang->install->dbName;?></th>
|
|
<td><?php echo html::input('dbName', 'xxb', "class='text-3 form-control'");?></td>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo $lang->install->dbPrefix;?></th>
|
|
<td><?php echo html::input('dbPrefix', 'xxb_', "class='text-3 form-control'") . html::checkBox('clearDB', $lang->install->clearDB);?></td>
|
|
</tr>
|
|
<tr><td colspan='2' class='text-center'><?php echo html::hidden('requestType','GET') . html::submitButton();?></td></tr>
|
|
</table>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php include './footer.html.php';?>
|