mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +09:00
fixed update member error
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9175 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7359dbcc53
commit
9f89030ddb
3 changed files with 4 additions and 3 deletions
|
|
@ -169,6 +169,7 @@
|
|||
|
||||
$member_config = $oMemberModel->getMemberConfig();
|
||||
global $lang;
|
||||
if (!$member_config->identifier) $member_config->identifier = 'user_id';
|
||||
$identifierForm->title = $lang->{$member_config->identifier};
|
||||
$identifierForm->name = $member_config->identifier;
|
||||
$identifierForm->value = $memberInfo->{$member_config->identifier};
|
||||
|
|
|
|||
|
|
@ -566,7 +566,7 @@
|
|||
$getVars = array('find_account_answer','allow_mailing','allow_message');
|
||||
if ($config->signupForm){
|
||||
foreach($config->signupForm as $formInfo){
|
||||
if($formInfo->isDefaultForm && $formInfo->isUse || $formInfo->required || $formInfo->mustRequired){
|
||||
if($formInfo->isDefaultForm && ($formInfo->isUse || $formInfo->required || $formInfo->mustRequired)){
|
||||
$getVars[] = $formInfo->name;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -93,14 +93,14 @@
|
|||
<script type="text/javascript">
|
||||
(function($){
|
||||
$(function(){
|
||||
var option = { changeMonth: true, changeYear: true, gotoCurrent: false,yearRange:'-100:+10', onSelect:function(){
|
||||
var option = { changeMonth: true, changeYear: true, gotoCurrent: false,yearRange:'-100:+10', dateFormat:'yy-mm-dd', onSelect:function(){
|
||||
|
||||
$(this).prev('input[type="hidden"]').val(this.value.replace(/-/g,""))}
|
||||
};
|
||||
$.extend(option,$.datepicker.regional['{$lang_type}']);
|
||||
$(".inputDate").datepicker(option);
|
||||
$(".dateRemover").click(function() {
|
||||
$(this).parent().prevAll('input').val('');
|
||||
$(this).prevAll('input').val('');
|
||||
return false;});
|
||||
});
|
||||
})(jQuery);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue