Редакция 680 | К новейшей редакции | Весь файл | Учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS
Редакция 680 | Редакция 681 | ||
---|---|---|---|
Строка 37... | Строка 37... | ||
37 | }
|
37 | }
|
38 | }
|
38 | }
|
39 | 39 | ||
40 | switch($stepID) { |
40 | switch($stepID) { |
41 | case '1': |
41 | case '1': |
42 | header('Content-Type: application/xml; charset=utf-8'); |
42 | header('Content-Type: application/json; charset=utf-8'); |
43 | $result = $core->showDistVersionsList("version", $distID, "json"); |
43 | $result = $core->showDistVersionsList("version", $distID, "json"); |
44 | break; |
44 | break; |
45 | case '2': |
45 | case '2': |
46 | header('Content-Type: text/html; charset=utf-8'); |
46 | header('Content-Type: text/html; charset=utf-8'); |
47 | $result = "<form action='./get.php' method='post'>"; |
47 | $result = "<form action='./get.php' method='post'>"; |