| @@ 683-700 (lines=18) @@ | ||
| 680 | return $output; |
|
| 681 | } |
|
| 682 | } |
|
| 683 | else |
|
| 684 | { |
|
| 685 | if(!in_array(Context::getRequestMethod(), array('XMLRPC', 'JSON'))) |
|
| 686 | { |
|
| 687 | global $lang; |
|
| 688 | htmlHeader(); |
|
| 689 | alertScript($lang->success_registed); |
|
| 690 | reload(true); |
|
| 691 | closePopupScript(); |
|
| 692 | htmlFooter(); |
|
| 693 | Context::close(); |
|
| 694 | exit; |
|
| 695 | } |
|
| 696 | else |
|
| 697 | { |
|
| 698 | $this->setMessage($msg_code); |
|
| 699 | } |
|
| 700 | } |
|
| 701 | } |
|
| 702 | ||
| 703 | /** |
|
| @@ 245-258 (lines=14) @@ | ||
| 242 | $this->setMessage('success_registed'); |
|
| 243 | } |
|
| 244 | ||
| 245 | if($isProc) |
|
| 246 | { |
|
| 247 | if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) |
|
| 248 | { |
|
| 249 | global $lang; |
|
| 250 | htmlHeader(); |
|
| 251 | alertScript($message); |
|
| 252 | reload(true); |
|
| 253 | closePopupScript(); |
|
| 254 | htmlFooter(); |
|
| 255 | Context::close(); |
|
| 256 | exit; |
|
| 257 | } |
|
| 258 | } |
|
| 259 | ||
| 260 | return $module_srl; |
|
| 261 | } |
|