function ajaxRegister($server, $form) { if (!$this->validateServer($server)) { return; } $s = new Set(); $s->setTo($server)->setData($form)->request(); }
function ajaxRegister($form) { $s = new Set(); $s->setData($form)->request(); }
function ajaxRegister($form) { if (isset($form->re_password) && $form->re_password->value != $form->password->value) { Notification::append(null, $this->__('account.password_not_same')); return; } $s = new Set(); $s->setData($form)->request(); }