Хранилища Subversion ant

Редакция

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

Редакция 669 Редакция 670
Строка 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
           if ($base["repkey"]!="") {
627
           $show .= "# Установка ключа: ".$this->secure->checkStr($base["repkey"],1)."\n";
628
                $show .= "# Установка ключа: ".$this->secure->checkStr($base["repkey"],1)."\n";
-
 
629
           }
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);
630
           $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);
629
           $dvname = str_replace("{DIST}",$this->secure->checkStr($dist["vcodename"],1),$this->secure->checkStr($base["scheme"],1));
631
           $dvname = str_replace("{DIST}",$this->secure->checkStr($dist["vcodename"],1),$this->secure->checkStr($base["scheme"],1));
630
           // Формируем distname
632
           // Формируем distname
631
           $show .= " ".$dvname." ";
633
           $show .= " ".$dvname." ";
632
           // Формируем sections
634
           // Формируем sections
Строка 664... Строка 666...
664
           $query .= ") ORDER BY r.rtype_id ASC";          
666
           $query .= ") ORDER BY r.rtype_id ASC";          
665
           $req =& $this->db->query($query);
667
           $req =& $this->db->query($query);
666
           while ($req->fetchInto($updates)) {
668
           while ($req->fetchInto($updates)) {
667
                // Формируем type proto://host/folder
669
                // Формируем type proto://host/folder
668
                $show .= "# ".$this->secure->checkStr($updates["repinfo"],1)."\n";
670
                $show .= "# ".$this->secure->checkStr($updates["repinfo"],1)."\n";
-
 
671
                if ($updates["repkey"]!="") {
669
                $show .= "# Установка ключа: ".$this->secure->checkStr($updates["repkey"],1)."\n";
672
                    $show .= "# Установка ключа: ".$this->secure->checkStr($updates["repkey"],1)."\n";
-
 
673
                }
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);
674
                $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);
671
                $dvname = str_replace("{DIST}",$this->secure->checkStr($dist["vcodename"],1),$this->secure->checkStr($updates["scheme"],1));
675
                $dvname = str_replace("{DIST}",$this->secure->checkStr($dist["vcodename"],1),$this->secure->checkStr($updates["scheme"],1));
672
                // Формируем distname
676
                // Формируем distname
673
                $show .= " ".$dvname." ";
677
                $show .= " ".$dvname." ";
674
                // Формируем sections
678
                // Формируем sections