+ add the required fields of my module.

This commit is contained in:
wangchunsheng
2010-03-25 12:41:56 +00:00
parent 38902e5827
commit f0ebf75314
2 changed files with 5 additions and 3 deletions
+2
View File
@@ -0,0 +1,2 @@
<?php
$config->my->editprofile->requiredFields = 'account,realname';
+3 -3
View File
@@ -29,15 +29,15 @@
<caption><?php echo $lang->my->editProfile;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->user->account;?></th>
<td><input type='text' name='account' value='<?php echo $user->account;?>' readonly /></td>
<td><?php echo html::input('account', $user->account, "readonly");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->realname;?></th>
<td><input type='text' name='realname' value='<?php echo $user->realname;?>' /></td>
<td><?php echo html::input('realname', $user->realname);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->email;?></th>
<td><input type='text' name='email' value='<?php echo $user->email;?>' /></td>
<td><?php echo html::input('email', $user->email);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->gendar;?></th>