Changeset 21526 for branches/version-2_12-dev/html/user_data
- Timestamp:
- 2012/02/17 00:50:05 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/html/user_data/plugins/google_analytics/classes/pages/LC_Page_Admin_GoogleAnalytics.php
r21514 r21526 80 80 81 81 switch ($_POST['mode']) { 82 case 'register':83 if ($this->register($_POST['ga_ua'])) {84 SC_Response_Ex::reload(array('mode' => 'success'), true);85 exit;86 } else {87 SC_Response_Ex::reload(array('mode' => 'failure'), true);88 exit;89 }90 break;82 case 'register': 83 if ($this->register($_POST['ga_ua'])) { 84 SC_Response_Ex::reload(array('mode' => 'success'), true); 85 exit; 86 } else { 87 SC_Response_Ex::reload(array('mode' => 'failure'), true); 88 exit; 89 } 90 break; 91 91 92 default: 92 default: 93 break; 93 94 } 94 95 95 96 switch ($_GET['mode']) { 96 case 'success':97 $this->tpl_onload .= "window.alert('登録に成功しました。');";98 break;97 case 'success': 98 $this->tpl_onload .= "window.alert('登録に成功しました。');"; 99 break; 99 100 100 case 'failure':101 $this->tpl_onload .= "window.alert('登録に失敗しました。');";102 break;101 case 'failure': 102 $this->tpl_onload .= "window.alert('登録に失敗しました。');"; 103 break; 103 104 104 default: 105 default: 106 break; 105 107 } 106 108
Note: See TracChangeset
for help on using the changeset viewer.
