306,8 → 306,8 |
$rq =& $this->db->query($query); |
switch ($format) { |
case 'html': |
$show = $version.":".$reptype."<fieldset><legend>".$this->secure->checkStr($types["rtype"],1)."</legend>\n"; |
while ($rq->fetchInto($types)) { |
$show = "<fieldset><legend>".$this->secure->checkStr($types["rtype"],1)."</legend>\n"; |
while ($rq->fetchInto($element)) { |
$show .= "<div class='repository'><input type='checkbox' name='repository[]' value='".$element["rep_id"]."'> ".$this->secure->checkStr($element["repname"],1)." — ".$this->secure->checkStr($element["repinfo"],1)."</div>\n"; |
} |
$show .= "</fieldset>\n"; |