* change * style.

+ change 'reg' to 'register'.
This commit is contained in:
zhujinyong
2012-02-22 12:28:15 +00:00
parent 35b7a350f0
commit 7c7e4ba79a
3 changed files with 13 additions and 13 deletions

View File

@@ -132,7 +132,7 @@ class adminModel extends model
* @return object
*/
public function getRegisterInfo()
{
{
$company = $this->dao->select('name')->from(TABLE_COMPANY)->fetch('', false);
$user = $this->dao->select('email')->from(TABLE_USER)
->where('account')->eq($this->app->user->account)

View File

@@ -13,7 +13,7 @@
<?php include '../../common/view/header.html.php';?>
<form method="post" target="hiddenwin">
<table align='center' class='table-6'>
<caption><?php echo $lang->admin->login->caption;?></caption>
<caption><?php echo $lang->admin->bind->caption;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->user->account;?></th>
<td><?php echo html::input('account', '', "class='text-3'");?></td>

View File

@@ -13,18 +13,18 @@
<?php include '../../common/view/header.html.php';?>
<form method="post" target="hiddenwin">
<table align='center' class='table-6'>
<caption><?php echo $lang->admin->reg->caption;?></caption>
<caption><?php echo $lang->admin->register->caption;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->user->account;?></th>
<td><?php echo html::input('account', '', "class='text-3'") . '<font color="red">*</font>' . $lang->admin->reg->lblAccount;?></td>
<td><?php echo html::input('account', '', "class='text-3'") . '<span class="star">*</span>' . $lang->admin->register->lblAccount;?></td>
</tr>
<tr>
<th class="rowhead"><?php echo $lang->user->realname;?></th>
<td><?php echo html::input('realname', '', "class='text-3'") . '<font color="red">*</font>';?></td>
<td><?php echo html::input('realname', '', "class='text-3'") . '<span class="star">*</span>';?></td>
</tr>
<tr>
<th class="rowhead"><?php echo $lang->user->company;?></th>
<td><?php echo html::input('company', $reg->company, "class='text-3'");?></td>
<td><?php echo html::input('company', $register->company, "class='text-3'");?></td>
</tr>
<tr>
<th class="rowhead"><?php echo $lang->user->phone;?></th>
@@ -32,23 +32,23 @@
</tr>
<tr>
<th class="rowhead"><?php echo $lang->user->email;?></td>
<td><?php echo html::input('email', $reg->email, "class='text-3'") . '<font color="red">*</font>';?></td>
<td><?php echo html::input('email', $register->email, "class='text-3'") . '<span class="star">*</span>';?></td>
</tr>
<tr>
<th class="rowhead"><?php echo $lang->user->password;?></th>
<td><?php echo html::password('password1', '', "class='text-3'") . '<font color="red">*</font>' . $lang->admin->reg->lblPasswd;?></td>
<td><?php echo html::password('password1', '', "class='text-3'") . '<span class="star">*</span>' . $lang->admin->register->lblPasswd;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->password2;?></td>
<td><?php echo html::password('password2', '', "class='text-3'") . '<font color="red">*</font>';?></td>
<td><?php echo html::password('password2', '', "class='text-3'") . '<span class="star">*</span>';?></td>
</tr>
<tr>
<th>
<td colspan="2" class="a-center">
<?php
echo html::submitButton($lang->admin->reg->submit) . html::hidden('sn', $sn);
echo sprintf($lang->admin->reg->login, html::a(inlink('bind'), $lang->admin->reg->join));
?>
<?php
echo html::submitButton($lang->admin->register->submit) . html::hidden('sn', $sn);
echo "<span class='star'>" . sprintf($lang->admin->register->bind, html::a(inlink('bind'), $lang->admin->register->click)) . "</span>";
?>
</td>
</th>
</tr>