Changeset 12439
- Timestamp:
- 08/24/11 14:25:02 (2 years ago)
- Files:
-
- modules/branches/2.10/sipstation/destinations.html.php (modified) (1 diff)
- modules/branches/2.10/sipstation/edittrunk.html.php (modified) (1 diff)
- modules/branches/2.10/sipstation/firewall.html.php (modified) (1 diff)
- modules/branches/2.10/sipstation/refresh.html.php (modified) (1 diff)
- modules/branches/2.10/sipstation/routes.html.php (modified) (1 diff)
- modules/branches/2.10/sipstation/sipstation.html.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.10/sipstation/destinations.html.php
r8659 r12439 194 194 } 195 195 196 $json = new Services_JSON(); 197 $value = $json->decode($_POST);196 197 $value = json_decode($_POST); 198 198 199 199 header("Content-type: application/json"); 200 echo $json->encode($json_array);200 echo json_encode($json_array); modules/branches/2.10/sipstation/edittrunk.html.php
r9438 r12439 129 129 } 130 130 131 $json = new Services_JSON(); 132 $value = $json->decode($_POST); 131 $value = json_decode($_POST); 133 132 134 133 header("Content-type: application/json"); 135 echo $json->encode($json_array);134 echo json_encode($json_array); modules/branches/2.10/sipstation/firewall.html.php
r11105 r12439 114 114 $json_array['status_message'] = _("An unexpected token was returned, try the test again"); 115 115 } 116 $json = new Services_JSON(); 116 117 117 sleep(0); 118 118 header("Content-type: application/json"); 119 echo $json->encode($json_array);119 echo json_encode($json_array); modules/branches/2.10/sipstation/refresh.html.php
r10970 r12439 64 64 } 65 65 66 $json = new Services_JSON(); 67 $value = $json->decode($_POST); 66 $value = json_decode($_POST); 68 67 69 68 header("Content-type: application/json"); 70 echo $json->encode($json_array);69 echo json_encode($json_array); modules/branches/2.10/sipstation/routes.html.php
r9438 r12439 163 163 } 164 164 165 $json = new Services_JSON(); 166 $value = $json->decode($_POST); 165 $value = json_decode($_POST); 167 166 168 167 header("Content-type: application/json"); 169 echo $json->encode($json_array);168 echo json_encode($json_array); modules/branches/2.10/sipstation/sipstation.html.php
r10970 r12439 198 198 } 199 199 200 $json = new Services_JSON();201 200 header("Content-type: application/json"); 202 echo $json->encode($json_array);201 echo json_encode($json_array);
