Хранилища Subversion ant

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

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

/branches/ant-ng/lib/core.php
81,12 → 81,12
}
 
// Получение и отображение списка дистрибутивов
public function showDistributionList($name, $head = "", $info = "", $format = 'html') {
public function showDistributionList($name, $heads = "", $info = "", $format = 'html') {
$query = "SELECT * FROM ".$this->prefix."distribution ORDER BY dist_id ASC";
$rq =& $this->db->query($query);
switch ($format) {
case 'html':
$show = "<fieldset><legend>".$head."</legend>\n<select id='".$name."' name='".$name."'>\n";
$show = "<fieldset><legend>".$headss."</legend>\n<select id='".$name."' name='".$name."'>\n";
$show .= "<option value=''>".$info."</option>\n";
while ($rq->fetchInto($element)) {
$show .= "<option value='".$this->secure->checkInt($element["dist_id"])."'>".$this->secure->checkStr($element["distname"],1)."</option>\n";