diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-04-05 16:23:26 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-04-05 16:23:26 +0200 |
commit | ace64c96d3f683eaff0f64cf3fb5275e03ed6ca4 (patch) | |
tree | 159a106fbddd459a8077a613a0bc24943ffb70d2 /web/html/pkgdel.php | |
parent | 1486f8067a0dee57fa00473f1628127e8fe43cb4 (diff) | |
download | aur-ace64c96d3f683eaff0f64cf3fb5275e03ed6ca4.tar.gz aur-ace64c96d3f683eaff0f64cf3fb5275e03ed6ca4.tar.xz |
Add full package list to the removal form
In addition to naming the package base that is going to be removed or
merged, list every single package that is affected.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/html/pkgdel.php')
-rw-r--r-- | web/html/pkgdel.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/web/html/pkgdel.php b/web/html/pkgdel.php index d1026ce4..39fe81a4 100644 --- a/web/html/pkgdel.php +++ b/web/html/pkgdel.php @@ -20,8 +20,15 @@ if ($atype == "Trusted User" || $atype == "Developer"): ?> <div class="box"> <h2><?= __('Delete Package: %s', htmlspecialchars($pkgbase_name)) ?></h2> <p> - <?= __('Use this form to delete the package (%s%s%s) from the AUR. ', + <?= __('Use this form to delete the package base %s%s%s and the following packages from the AUR: ', '<strong>', htmlspecialchars($pkgbase_name), '</strong>'); ?> + </p> + <ul> + <?php foreach(pkgbase_get_pkgnames($base_id) as $pkgname): ?> + <li><?= htmlspecialchars($pkgname) ?></li> + <?php endforeach; ?> + </ul> + <p> <?= __('Deletion of a package is permanent. '); ?> <?= __('Select the checkbox to confirm action.') ?> </p> |