Хранилища Subversion ant

Сравнить редакции

Не учитывать пробелы Редакция 398 → Редакция 399

/branches/ant-ng/index.php
91,6 → 91,9
$body .= "<option value='".$secure->checkInt($element["dist_id"])."'>".$secure->checkStr($element["distname"],1)."</option>\n";
}
$body .= "</select></fieldset>";
$body .= "<div id='vdist'>\n<fieldset>\n<legend>Версия дистрибутива</legend>\n";
$body .= "<select id='version' disabled='disabled'><option></option>\n";
$body .= "</select></div>\n";
 
$tmpl->assign('scripts', $scripts);
$tmpl->assign('body', $body);
/branches/ant-ng/request.php
14,20 → 14,13
 
require_once dirname(__FILE__)."/init.php";
 
$ID = $_GET["reqID"];
$stepID = $secure->checkInt($_GET["step"]);
$distID = $secure->checkInt($_GET["d"]);
$versID = $secure->checkInt($_GET["v"]);
 
list($step,$dist,$vers,$reps) = split(":",$ID);
$stepId = $secure->checkInt($step);
$distId = $secure->checkInt($dist);
$versId = $secure->checkInt($vers);
if ($reps!="") {
$repsIDs = array();
$repsIDs = split("-",$reps);
}
 
switch($stepId) {
switch($stepID) {
case '1':
$result = $core->showDistributionList("dist","Дистрибутивы","Выберите дистрибутив");
$result = $core->showDistVersionsList("version", $distID, "json");
break;
}