issue 1584 fixed issue that support multilanguage in member module.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10326 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
devjin 2012-03-05 10:23:59 +00:00
parent 344e6b207e
commit fa8bde2ac7
3 changed files with 3 additions and 3 deletions

View file

@ -204,7 +204,7 @@
if ($formInfo->name == $member_config->identifier || $formInfo->name == 'password') continue;
unset($formTag);
$inputTag = '';
$formTag->title = $formInfo->title;
$formTag->title = ($formInfo->isDefaultForm) ? $lang->{$formInfo->name} : $formInfo->title;
if($isAdmin)
{
if($formInfo->mustRequired) $formTag->title = $formTag->title.' <em style="color:red">*</em>';

View file

@ -5,7 +5,7 @@
<!--@foreach($member_config->signupForm as $no=>$formInfo)-->
<!--@if($formInfo->isUse && ($formInfo->name != 'password' && $formInfo->name != 'find_account_question'))-->
<!--@if($formInfo->isDefaultForm)-->
{@$title = $formInfo->title}
{@$title = Context::getLang($formInfo->name)}
{@$value = $memberInfo[$formInfo->name]}
<!--@if($formInfo->name == 'profile_image' && $memberInfo['profile_image'])-->
{@$target = $memberInfo['profile_image']}

View file

@ -3,7 +3,7 @@
<table width="100%" border="1" cellspacing="0">
<!--@foreach($member_config->signupForm as $no=>$formInfo)-->
<!--@if($formInfo->isDefaultForm)-->
{@$title = $formInfo->title}
{@$title = Context::getLang($formInfo->name)}
{@$value = $memberInfo[$formInfo->name]}
<!--@if($formInfo->name == 'find_account_question')-->
{@$value = $lang->find_account_question_items[$value].' : '.$memberInfo['find_account_answer']}