Хранилища Subversion ant

Редакция

Редакция 390 | Редакция 399 | К новейшей редакции | Только различия | Не учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS

Редакция 390 Редакция 392
1
<?php
1
<?php
2
2
3
/**
3
/**
4
 *  
4
 *  
5
 *  Codename: ant-ng - generator of sources.list for Debian and
5
 *  Codename: ant-ng - generator of sources.list for Debian and
6
 *  distributives, based on Debian
6
 *  distributives, based on Debian
7
 *  http://alex-w.org.ru/p/antng/
7
 *  http://alex-w.org.ru/p/antng/
8
 *
8
 *
9
 *  Copyright (c) 2009 Alexander Wolf
9
 *  Copyright (c) 2009 Alexander Wolf
10
 *  Dual licensed under the MIT and GNU LGPL licenses.
10
 *  Dual licensed under the MIT and GNU LGPL licenses.
11
 *  http://alex-w.org.ru/p/antng/license
11
 *  http://alex-w.org.ru/p/antng/license
12
 *
12
 *
13
 */
13
 */
14
14
15
require_once dirname(__FILE__)."/init.php";
15
require_once dirname(__FILE__)."/init.php";
16
16
17
$ID = $_GET["reqID"];
17
$ID = $_GET["reqID"];
18
18
19
list($step,$dist,$vers,$reps) = split(":",$ID);
19
list($step,$dist,$vers,$reps) = split(":",$ID);
20
$stepId = $secure->checkInt($step);
20
$stepId = $secure->checkInt($step);
21
$distId = $secure->checkInt($dist);
21
$distId = $secure->checkInt($dist);
22
$versId = $secure->checkInt($vers);
22
$versId = $secure->checkInt($vers);
23
if ($reps!="") {
23
if ($reps!="") {
24
    $repsIDs = array();
24
    $repsIDs = array();
25
    $repsIDs = split("-",$reps);
25
    $repsIDs = split("-",$reps);
26
}
26
}
27
27
28
switch($stepId) {
28
switch($stepId) {
29
    case '1':
29
    case '1':
30
        $result = $core->showDistributionList("dist");
30
        $result = $core->showDistributionList("dist","Дистрибутивы","Выберите дистрибутив");
31
        break;
31
        break;
32
}
32
}
33
33
34
print $result;
34
print $result;
35
35
36
?>
36
?>
37
 
37