$packager = username_from_id($row["PackagerUID"]); if ($row["MaintainerUID"] !== NULL) { $maintainers = array_merge(array($row["MaintainerUID"]), pkgbase_get_comaintainer_uids(array($base_id))); } else { $maintainers = array(); } $unflaggers = array_merge($maintainers, array($row["FlaggerUID"])); $votes = $row['NumVotes']; $popularity = $row['Popularity']; # In case of wanting to put a custom message $msg = __('unknown'); # Print the timestamps for last updates $updated_time = $row["ModifiedTS"] == 0 ? $msg : gmdate("Y-m-d H:i", intval($row["ModifiedTS"])); $submitted_time = $row["SubmittedTS"] == 0 ? $msg : gmdate("Y-m-d H:i", intval($row["SubmittedTS"])); $out_of_date_time = $row["OutOfDateTS"] == 0 ? $msg : gmdate("Y-m-d", intval($row["OutOfDateTS"])); $pkgs = pkgbase_get_pkgnames($base_id); $base_uri = get_pkgbase_uri($row['Name']); ?> <div id="pkgdetails" class="box"> <h2><?php echo __('Package Base Details') . ': ' . htmlspecialchars($row['Name']); ?> </h2> <?php include 'pkgbase_actions.php'; ?> <table id="pkginfo"> <tr> <th><?php
html_header(__("Flag Package Out-Of-Date")); if (has_credential(CRED_PKGBASE_FLAG)) { ?> <div class="box"> <h2><?php echo __('Flag Package Out-Of-Date: %s', htmlspecialchars($pkgbase_name)); ?> </h2> <p> <?php echo __('Use this form to flag the package base %s%s%s and the following packages out-of-date: ', '<strong>', htmlspecialchars($pkgbase_name), '</strong>'); ?> </p> <ul> <?php foreach (pkgbase_get_pkgnames($base_id) as $pkgname) { ?> <li><?php echo htmlspecialchars($pkgname); ?> </li> <?php } ?> </ul> <p> <?php echo __('Please do %snot%s use this form to report bugs. Use the package comments instead.', '<strong>', '</strong>'); ?> <?php echo __('Enter details on why the package is out-of-date below, preferably including links to the release announcement or the new release tarball.');