diff options
Diffstat (limited to 'web/template/actions_form.php')
-rw-r--r-- | web/template/actions_form.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/template/actions_form.php b/web/template/actions_form.php index 045022d8..c58b3ecf 100644 --- a/web/template/actions_form.php +++ b/web/template/actions_form.php @@ -5,6 +5,7 @@ <input type="hidden" name="ID" value="<?php echo $row['ID'] ?>" /> <input type="hidden" name="token" value="<?php echo htmlspecialchars($_COOKIE['AURSID']) ?>" /> + <?php if (!$USE_VIRTUAL_URLS): ?> <?php if (user_voted($uid, $row['ID'])): ?> <input type="submit" class="button" name="do_UnVote" value="<?php echo __("UnVote") ?>" /> <?php else: ?> @@ -22,6 +23,7 @@ <?php else: ?> <input type="submit" class="button" name="do_UnFlag" value="<?php echo __("UnFlag Out-of-date") ?>" /> <?php endif; ?> + <?php endif; ?> <?php if ($row["MaintainerUID"] === NULL): ?> <input type="submit" class="button" name="do_Adopt" value="<?php echo __("Adopt Packages") ?>" /> |