<?php echo __('Locked'); ?> (<?php echo $time_left_fmt; ?> ) <br /> <?php } ?> <?php } ?> <a href="<?php echo get_pkgreq_route() . '/' . intval($row['ID']); ?> /close/"><?php echo __('Close'); ?> </a> </td> <?php } else { ?> <?php if ($row['Status'] == 1) { ?> <td><?php echo __("Closed"); ?>
} elseif (current_action("do_EditComaintainers")) { list($ret, $output) = pkgbase_set_comaintainers($base_id, explode("\n", $_POST['users'])); } elseif (current_action("do_AddComment")) { $uid = uid_from_sid($_COOKIE["AURSID"]); list($ret, $output) = pkgbase_add_comment($base_id, $uid, $_REQUEST['comment']); $fragment = '#news'; } elseif (current_action("do_EditComment")) { list($ret, $output) = pkgbase_edit_comment($_REQUEST['comment']); if ($ret && isset($_POST["comment_id"])) { $fragment = '#comment-' . intval($_POST["comment_id"]); } } if ($ret) { if (current_action("do_CloseRequest") || current_action("do_Delete") && $_POST['via']) { /* Redirect back to package request page on success. */ header('Location: ' . get_pkgreq_route()); exit; } if (isset($base_id)) { /* Redirect back to package base page on success. */ header('Location: ' . get_pkgbase_uri($pkgbase_name) . $fragment); exit; } else { /* Redirect back to package search page. */ header('Location: ' . get_pkg_route()); exit; } } } $pkgs = pkgbase_get_pkgnames($base_id); if (!$output && count($pkgs) == 1) {