Хранилища Subversion ant

Редакция

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

Редакция 493 Редакция 495
Строка 520... Строка 520...
520
        }
520
        }
521
521
522
        return $result;
522
        return $result;
523
    }
523
    }
524
524
-
 
525
    public function showDistVerstionsEditor($name, $actor, $list = 1) {
-
 
526
        if ($list == 1) {
-
 
527
            $query = "SELECT * FROM ".$this->prefix."version v JOIN ".$this->prefix."distribution d ON v.dist_id=d.dist_id ORDER BY d.dist_id,v.version ASC";
-
 
528
            $rq =& $this->db->query($query);
-
 
529
            $show = "<ul>\n";
-
 
530
            while ($rq->fetchInto($element)) {
-
 
531
                $show .= "<li>[<a href='".$actor."?mode=versions&action=edit&uuid=".$this->secure->checkInt($element["version_id"])."'>править</a>][<a href='".$actor."?mode=versions&action=delete&uuid=".$this->secure->checkInt($element["version_id"])."'>удалить</a>] ".$this->secure->checkStr($element["distname"],1)." ".$this->secure->checkStr($element["version"],1)." ".$this->secure->checkStr($element["vname"],1)."</li>\n";
-
 
532
            }
-
 
533
            $show .= "</ul>";
-
 
534
        } else {
-
 
535
-
 
536
        }
-
 
537
        return $show;
-
 
538
    }
525
539
526
}
540
}
527
541
528
?>
542
?>
529
543