diff options
Diffstat (limited to 'web/template')
-rw-r--r-- | web/template/actions_form.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/web/template/actions_form.php b/web/template/actions_form.php index 650c6c6f..c5abbb34 100644 --- a/web/template/actions_form.php +++ b/web/template/actions_form.php @@ -1,4 +1,4 @@ -<?php if (!$USE_VIRTUAL_URLS || $atype == "Trusted User" || $atype == "Developer" ): ?> +<?php if (!$USE_VIRTUAL_URLS): ?> <div class="box"> <form action="<?= htmlspecialchars(get_pkg_uri($row['Name']), ENT_QUOTES); ?>" method="post"> <fieldset> @@ -6,7 +6,6 @@ <input type="hidden" name="ID" value="<?= $row['ID'] ?>" /> <input type="hidden" name="token" value="<?= htmlspecialchars($_COOKIE['AURSID']) ?>" /> - <?php if (!$USE_VIRTUAL_URLS): ?> <?php if (user_voted($uid, $row['ID'])): ?> <input type="submit" class="button" name="do_UnVote" value="<?= __("UnVote") ?>" /> <?php else: ?> @@ -25,7 +24,6 @@ ($uid == $row["MaintainerUID"] || $atype == "Trusted User" || $atype == "Developer")): ?> <input type="submit" class="button" name="do_UnFlag" value="<?= __("UnFlag Out-of-date") ?>" /> <?php endif; ?> - <?php endif; ?> <?php if ($atype == "Trusted User" || $atype == "Developer"): ?> <input type="submit" class="button" name="do_Delete" value="<?= __("Delete Packages") ?>" /> |