* adjust the install ui.

* set the new qq.
This commit is contained in:
wangchunsheng
2011-03-10 06:45:01 +00:00
parent cb1f4422ef
commit 4e04c80d61
4 changed files with 15 additions and 11 deletions

View File

@@ -10,6 +10,7 @@
*/
?>
<?php include '../../common/view/header.lite.html.php';?>
<?php include '../../common/view/colorbox.html.php';?>
<form method='post' action='<?php echo $this->createLink('install', 'step3');?>'>
<table align='center' class='table-6'>
<caption><?php echo $lang->install->setConfig;?></caption>
@@ -19,39 +20,39 @@
</tr>
<tr>
<th><?php echo $lang->install->webRoot;?></th>
<td><?php echo html::input('webRoot', $webRoot);?></td>
<td><?php echo html::input('webRoot', $webRoot, 'class=text-3');?></td>
</tr>
<tr>
<th><?php echo $lang->install->requestType;?></th>
<td><?php echo html::radio('requestType', $lang->install->requestTypes, 'GET');?></td>
<td><?php echo html::select('requestType', $lang->install->requestTypes, 'GET', 'class=select-3');?></td>
</tr>
<tr>
<th><?php echo $lang->install->defaultLang;?></th>
<td><?php echo html::select('defaultLang', $config->langs, $app->getClientLang());?></td>
<td><?php echo html::select('defaultLang', $config->langs, $app->getClientLang(), 'class=select-3');?></td>
</tr>
<tr>
<th><?php echo $lang->install->dbHost;?></th>
<td><?php echo html::input('dbHost', 'localhost');?><?php echo $lang->install->dbHostNote;?></td>
<td><?php echo html::input('dbHost', 'localhost', 'class=text-3');?><?php echo $lang->install->dbHostNote;?></td>
</tr>
<tr>
<th><?php echo $lang->install->dbPort;?></th>
<td><?php echo html::input('dbPort', '3306');?></td>
<td><?php echo html::input('dbPort', '3306', 'class=text-3');?></td>
</tr>
<tr>
<th><?php echo $lang->install->dbUser;?></th>
<td><?php echo html::input('dbUser', 'root');?></td>
<td><?php echo html::input('dbUser', 'root', 'class=text-3');?></td>
</tr>
<tr>
<th><?php echo $lang->install->dbPassword;?></th>
<td><?php echo html::input('dbPassword');?></td>
<td><?php echo html::input('dbPassword', '', 'class=text-3');?></td>
</tr>
<tr>
<th><?php echo $lang->install->dbName;?></th>
<td><?php echo html::input('dbName', 'zentao');?></td>
<td><?php echo html::input('dbName', 'zentao', 'class=text-3');?></td>
</tr>
<tr>
<th><?php echo $lang->install->dbPrefix;?></th>
<td><?php echo html::input('dbPrefix', 'zt_') . html::checkBox('clearDB', $lang->install->clearDB);?></td>
<td><?php echo html::input('dbPrefix', 'zt_', 'class=text-3') . html::checkBox('clearDB', $lang->install->clearDB);?></td>
</tr>
<tr>
<td colspan='2' class='a-center'><?php echo html::submitButton();?></td>

View File

@@ -10,6 +10,7 @@
*/
?>
<?php include '../../common/view/header.lite.html.php';?>
<?php include '../../common/view/colorbox.html.php';?>
<?php if(isset($error)):?>
<table class='table-6' align='center'>
<caption><?php echo $lang->install->error;?></caption>