@@ 539-555 (lines=17) @@ | ||
536 | } |
|
537 | ||
538 | $this->setMessage('success_registed'); |
|
539 | if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) |
|
540 | { |
|
541 | if(Context::get('success_return_url')) |
|
542 | { |
|
543 | $this->setRedirectUrl(Context::get('success_return_url')); |
|
544 | } |
|
545 | else |
|
546 | { |
|
547 | global $lang; |
|
548 | htmlHeader(); |
|
549 | alertScript($lang->success_registed); |
|
550 | closePopupScript(); |
|
551 | htmlFooter(); |
|
552 | Context::close(); |
|
553 | exit; |
|
554 | } |
|
555 | } |
|
556 | } |
|
557 | ||
558 | /** |
|
@@ 636-652 (lines=17) @@ | ||
633 | } |
|
634 | } |
|
635 | $this->setMessage('success_registed'); |
|
636 | if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) |
|
637 | { |
|
638 | if(Context::get('success_return_url')) |
|
639 | { |
|
640 | $this->setRedirectUrl(Context::get('success_return_url')); |
|
641 | } |
|
642 | else |
|
643 | { |
|
644 | global $lang; |
|
645 | htmlHeader(); |
|
646 | alertScript($lang->success_registed); |
|
647 | closePopupScript(); |
|
648 | htmlFooter(); |
|
649 | Context::close(); |
|
650 | exit; |
|
651 | } |
|
652 | } |
|
653 | } |
|
654 | ||
655 | /** |