Редакция 668 | Редакция 670 | К новейшей редакции | Весь файл | Учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS
Редакция 668 | Редакция 669 | ||
---|---|---|---|
Строка 622... | Строка 622... | ||
622 | $query .= "WHERE v.version_id='".$data["version_id"]."' AND r.rtype_id='1'"; |
622 | $query .= "WHERE v.version_id='".$data["version_id"]."' AND r.rtype_id='1'"; |
623 | $rq =& $this->db->query($query); |
623 | $rq =& $this->db->query($query); |
624 | $rq->fetchInto($base); |
624 | $rq->fetchInto($base); |
625 | // Формируем type proto://host/folder
|
625 | // Формируем type proto://host/folder
|
626 | $show .= "# ".$this->secure->checkStr($base["repinfo"],1)."\n"; |
626 | $show .= "# ".$this->secure->checkStr($base["repinfo"],1)."\n"; |
- | 627 | $show .= "# Установка ключа: ".$this->secure->checkStr($base["repkey"],1)."\n"; |
|
627 | $show .= $this->secure->checkStr($dist["type"],1)." ".$this->secure->checkStr($base["proto"],1).$this->secure->checkStr($base["rhost"],1).$this->secure->checkStr($base["rfolder"],1); |
628 | $show .= $this->secure->checkStr($dist["type"],1)." ".$this->secure->checkStr($base["proto"],1).$this->secure->checkStr($base["rhost"],1).$this->secure->checkStr($base["rfolder"],1); |
628 | $dvname = str_replace("{DIST}",$this->secure->checkStr($dist["vcodename"],1),$this->secure->checkStr($base["scheme"],1)); |
629 | $dvname = str_replace("{DIST}",$this->secure->checkStr($dist["vcodename"],1),$this->secure->checkStr($base["scheme"],1)); |
629 | // Формируем distname
|
630 | // Формируем distname
|
630 | $show .= " ".$dvname." "; |
631 | $show .= " ".$dvname." "; |
631 | // Формируем sections
|
632 | // Формируем sections
|
Строка 663... | Строка 664... | ||
663 | $query .= ") ORDER BY r.rtype_id ASC"; |
664 | $query .= ") ORDER BY r.rtype_id ASC"; |
664 | $req =& $this->db->query($query); |
665 | $req =& $this->db->query($query); |
665 | while ($req->fetchInto($updates)) { |
666 | while ($req->fetchInto($updates)) { |
666 | // Формируем type proto://host/folder
|
667 | // Формируем type proto://host/folder
|
667 | $show .= "# ".$this->secure->checkStr($updates["repinfo"],1)."\n"; |
668 | $show .= "# ".$this->secure->checkStr($updates["repinfo"],1)."\n"; |
- | 669 | $show .= "# Установка ключа: ".$this->secure->checkStr($updates["repkey"],1)."\n"; |
|
668 | $show .= $this->secure->checkStr($dist["type"],1)." ".$this->secure->checkStr($updates["proto"],1).$this->secure->checkStr($updates["rhost"],1).$this->secure->checkStr($updates["rfolder"],1); |
670 | $show .= $this->secure->checkStr($dist["type"],1)." ".$this->secure->checkStr($updates["proto"],1).$this->secure->checkStr($updates["rhost"],1).$this->secure->checkStr($updates["rfolder"],1); |
669 | $dvname = str_replace("{DIST}",$this->secure->checkStr($dist["vcodename"],1),$this->secure->checkStr($updates["scheme"],1)); |
671 | $dvname = str_replace("{DIST}",$this->secure->checkStr($dist["vcodename"],1),$this->secure->checkStr($updates["scheme"],1)); |
670 | // Формируем distname
|
672 | // Формируем distname
|
671 | $show .= " ".$dvname." "; |
673 | $show .= " ".$dvname." "; |
672 | // Формируем sections
|
674 | // Формируем sections
|