summaryrefslogtreecommitdiffstats
path: root/web/html/pkgmerge.php
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-04-05 16:23:26 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2014-04-05 16:23:26 +0200
commitace64c96d3f683eaff0f64cf3fb5275e03ed6ca4 (patch)
tree159a106fbddd459a8077a613a0bc24943ffb70d2 /web/html/pkgmerge.php
parent1486f8067a0dee57fa00473f1628127e8fe43cb4 (diff)
downloadaurweb-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/pkgmerge.php')
-rw-r--r--web/html/pkgmerge.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/web/html/pkgmerge.php b/web/html/pkgmerge.php
index 9ffd5e7..dbc5eac 100644
--- a/web/html/pkgmerge.php
+++ b/web/html/pkgmerge.php
@@ -20,8 +20,16 @@ if ($atype == "Trusted User" || $atype == "Developer"): ?>
<div class="box">
<h2><?= __('Merge Package: %s', htmlspecialchars($pkgbase_name)) ?></h2>
<p>
- <?= __('Use this form to merge the package (%s%s%s) into another package. ',
+ <?= __('Use this form to merge the package base %s%s%s into another package. ',
'<strong>', htmlspecialchars($pkgbase_name), '</strong>'); ?>
+ <?= __('The following packages will be deleted: '); ?>
+ </p>
+ <ul>
+ <?php foreach(pkgbase_get_pkgnames($base_id) as $pkgname): ?>
+ <li><?= htmlspecialchars($pkgname) ?></li>
+ <?php endforeach; ?>
+ </ul>
+ <p>
<?= __('Once the package has been merged it cannot be reversed. '); ?>
<?= __('Enter the package name you wish to merge the package into. '); ?>
<?= __('Select the checkbox to confirm action.') ?>