summaryrefslogtreecommitdiffstats
path: root/web/template/actions_form.php
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-04-05 15:41:29 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2014-04-05 15:55:31 +0200
commit676595f9bf4ecb3de96d02c89440a6fdaf7fc797 (patch)
tree9da03d5c8c8c9cea1a2b89a6f4b9673a4011e7bc /web/template/actions_form.php
parentd16f7cf712f0f2f14343ff55a625b12603f542a4 (diff)
downloadaur-676595f9bf4ecb3de96d02c89440a6fdaf7fc797.tar.gz
aur-676595f9bf4ecb3de96d02c89440a6fdaf7fc797.tar.xz
Prefix package functions with pkg_/pkgbase_
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template/actions_form.php')
-rw-r--r--web/template/actions_form.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/template/actions_form.php b/web/template/actions_form.php
index c5abbb34..a69e40d0 100644
--- a/web/template/actions_form.php
+++ b/web/template/actions_form.php
@@ -6,13 +6,13 @@
<input type="hidden" name="ID" value="<?= $row['ID'] ?>" />
<input type="hidden" name="token" value="<?= htmlspecialchars($_COOKIE['AURSID']) ?>" />
- <?php if (user_voted($uid, $row['ID'])): ?>
+ <?php if (pkgbase_user_voted($uid, $row['ID'])): ?>
<input type="submit" class="button" name="do_UnVote" value="<?= __("UnVote") ?>" />
<?php else: ?>
<input type="submit" class="button" name="do_Vote" value="<?= __("Vote") ?>" />
<?php endif; ?>
- <?php if (user_notify($uid, $row['ID'])): ?>
+ <?php if (pkgbase_user_notify($uid, $row['ID'])): ?>
<input type="submit" class="button" name="do_UnNotify" value="<?= __("UnNotify") ?>" title="<?= __("No New Comment Notification") ?>" />
<?php else: ?>
<input type="submit" class="button" name="do_Notify" value="<?= __("Notify") ?>" title="<?= __("New Comment Notification") ?>" />