summaryrefslogtreecommitdiffstats
path: root/web/template/actions_form.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/template/actions_form.php')
-rw-r--r--web/template/actions_form.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/template/actions_form.php b/web/template/actions_form.php
index 045022d..c58b3ec 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") ?>" />