72 lines
2.5 KiB
PHP
72 lines
2.5 KiB
PHP
<?php
|
|
/**
|
|
* The html template file of step2 method of install module of ZenTaoMS.
|
|
*
|
|
* ZenTaoMS is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Lesser General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* ZenTaoMS is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
* along with ZenTaoMS. If not, see <http://www.gnu.org/licenses/>.
|
|
*
|
|
* @copyright Copyright 2009-2010 Chunsheng Wang
|
|
* @author Chunsheng Wang <wwccss@263.net>
|
|
* @package ZenTaoMS
|
|
* @version $Id$
|
|
*/
|
|
?>
|
|
<?php include './header.html.php';?>
|
|
<div class='yui-d0'>
|
|
<form method='post' action='<?php echo $this->createLink('install', 'step3');?>'>
|
|
<table align='center' class='table-6'>
|
|
<caption><?php echo $lang->install->setConfig;?></caption>
|
|
<tr>
|
|
<th class='w-p20'><?php echo $lang->install->key;?></th>
|
|
<th><?php echo $lang->install->value?></th>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo $lang->install->webRoot;?></th>
|
|
<td><?php echo html::input('webRoot', $webRoot);?></td>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo $lang->install->requestType;?></th>
|
|
<td><?php echo html::radio('requestType', $lang->install->requestTypes, 'GET');?></td>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo $lang->install->dbHost;?></th>
|
|
<td><?php echo html::input('dbHost', 'localhost');?></td>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo $lang->install->dbPort;?></th>
|
|
<td><?php echo html::input('dbPort', '3306');?></td>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo $lang->install->dbUser;?></th>
|
|
<td><?php echo html::input('dbUser', 'root');?></td>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo $lang->install->dbPassword;?></th>
|
|
<td><?php echo html::input('dbPassword');?></td>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo $lang->install->dbName;?></th>
|
|
<td><?php echo html::input('dbName', 'zentao');?></td>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo $lang->install->dbPrefix;?></th>
|
|
<td><?php echo html::input('dbPrefix', 'zt_') . html::checkBox('clearDB', $lang->install->clearDB);?></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan='2' class='a-center'><?php echo html::submitButton();?></td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</div>
|
|
<?php include './footer.html.php';?>
|