\n"; $edit_cat.= ""; $edit_cat.= "Category: "; $edit_cat.= " "; $edit_cat.= ""; } else { $edit_cat = "Category: ".$row['Category']; } if ($row["SubmitterUID"]) { $submitter = username_from_id($row["SubmitterUID"]); if ($SID) { $submitter = '' . $submitter . ''; } } else { $submitter = "None"; } if ($row["MaintainerUID"]) { $maintainer = username_from_id($row["MaintainerUID"]); if ($SID) { $maintainer = '' . $maintainer . ''; } } else { $maintainer = "None"; } $votes = __('Votes') . ': ' . $row['NumVotes']; if ($atype == "Developer" or $atype == "Trusted User") { $votes = "$votes"; } # In case of wanting to put a custom message $msg = __('unknown'); $license = empty($row['License']) ? $msg : $row['License']; # Print the timestamps for last updates $updated_time = ($row["ModifiedTS"] == 0) ? $msg : gmdate("r", intval($row["ModifiedTS"])); $submitted_time = ($row["SubmittedTS"] == 0) ? $msg : gmdate("r", intval($row["SubmittedTS"])); $out_of_date_time = ($row["OutOfDateTS"] == 0) ? $msg : gmdate("r", intval($row["OutOfDateTS"])); ?>


' . $row['URL'] ?>





".__("Tarball")." :: "; print "".__("PKGBUILD").""; if ($row["OutOfDateTS"] !== NULL) { echo "
".__("This package has been flagged out of date.")." (${out_of_date_time})"; } ?>

0 || count($requiredby) > 0) { echo '

'; } if (count($deps) > 0) { echo "". __("Dependencies").""; while (list($k, $darr) = each($deps)) { $url = " ".$darr[1].$darr[3].""; else echo " ".$darr[1].$darr[3].""; } if (count($requiredby) > 0) { echo '
'; } } if (count($requiredby) > 0) { echo "". __("Required by").""; while (list($k, $darr) = each($requiredby)) { $url = " " . $darr[1] . ""; } else { print "".$darr[1].""; } } } if (count($deps) > 0 || count($requiredby) > 0) { echo '

'; } # $sources[0] = 'src'; $sources = package_sources($row["ID"]); if (count($sources) > 0) { ?>
{$src[0]}
\n"; } else { $src = $src[0]; # It is presumably an internal source echo "$src"; echo "
\n"; } } ?>