mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 16:52:16 +09:00
Close Connection when there is no connection value.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13161 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
034a5c0288
commit
f70ce644ce
1410 changed files with 7188 additions and 53541 deletions
|
|
@ -19,6 +19,8 @@ class memberView extends member
|
|||
$oMemberModel = &getModel('member');
|
||||
$this->member_config = $oMemberModel->getMemberConfig();
|
||||
Context::set('member_config', $this->member_config);
|
||||
$oSecurity = new Security();
|
||||
$oSecurity->encodeHTML('member_config.signupForm..');
|
||||
|
||||
$skin = $this->member_config->skin;
|
||||
// Set the template path
|
||||
|
|
@ -178,6 +180,8 @@ class memberView extends member
|
|||
}
|
||||
|
||||
Context::set('displayDatas', $displayDatas);
|
||||
$oSecurity = new Security();
|
||||
$oSecurity->encodeHTML('displayDatas..title', 'displayDatas..description');
|
||||
return $displayDatas;
|
||||
}
|
||||
|
||||
|
|
@ -587,13 +591,14 @@ class memberView extends member
|
|||
$errorLang = array();
|
||||
foreach($extraList as $val)
|
||||
{
|
||||
$title = str_ireplace(array('<script', '</script'), array('<scr"+"ipt', '</scr"+"ipt'), addslashes($val->column_title));
|
||||
if($val->column_type == 'kr_zip' || $val->column_type == 'tel')
|
||||
{
|
||||
$js_code[] = sprintf('validator.cast("ADD_MESSAGE", ["%s[]","%s"]);', $val->column_name, $val->column_title);
|
||||
$js_code[] = sprintf('validator.cast("ADD_MESSAGE", ["%s[]","%s"]);', $val->column_name, $title);
|
||||
}
|
||||
else
|
||||
{
|
||||
$js_code[] = sprintf('validator.cast("ADD_MESSAGE", ["%s","%s"]);', $val->column_name, $val->column_title);
|
||||
$js_code[] = sprintf('validator.cast("ADD_MESSAGE", ["%s","%s"]);', $val->column_name, $title);
|
||||
}
|
||||
$errorLang[$val->column_name] = $val->column_title;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue