diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-04-05 15:41:29 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-04-05 15:55:31 +0200 |
commit | 676595f9bf4ecb3de96d02c89440a6fdaf7fc797 (patch) | |
tree | 9da03d5c8c8c9cea1a2b89a6f4b9673a4011e7bc /web/template/pkgbase_details.php | |
parent | d16f7cf712f0f2f14343ff55a625b12603f542a4 (diff) | |
download | aurweb-676595f9bf4ecb3de96d02c89440a6fdaf7fc797.tar.xz |
Prefix package functions with pkg_/pkgbase_
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template/pkgbase_details.php')
-rw-r--r-- | web/template/pkgbase_details.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/template/pkgbase_details.php b/web/template/pkgbase_details.php index 20d75be..83b474c 100644 --- a/web/template/pkgbase_details.php +++ b/web/template/pkgbase_details.php @@ -4,7 +4,7 @@ $uid = uid_from_sid($SID); $base_id = intval($row['ID']); -$catarr = pkg_categories(); +$catarr = pkgbase_categories(); $submitter = username_from_id($row["SubmitterUID"]); $maintainer = username_from_id($row["MaintainerUID"]); @@ -49,7 +49,7 @@ $pkgs = pkgbase_get_pkgnames($base_id); </form> </li> <?php endif; ?> - <?php if (user_voted($uid, $row['ID'])): ?> + <?php if (pkgbase_user_voted($uid, $row['ID'])): ?> <li> <form action="<?= get_pkgbase_uri($row['Name']) . 'unvote/'; ?>" method="post"> <input type="hidden" name="token" value="<?= htmlspecialchars($_COOKIE['AURSID']) ?>" /> @@ -64,7 +64,7 @@ $pkgs = pkgbase_get_pkgnames($base_id); </form> </li> <?php endif; ?> - <?php if (user_notify($uid, $row['ID'])): ?> + <?php if (pkgbase_user_notify($uid, $row['ID'])): ?> <li> <form action="<?= get_pkgbase_uri($row['Name']) . 'unnotify/'; ?>" method="post"> <input type="hidden" name="token" value="<?= htmlspecialchars($_COOKIE['AURSID']) ?>" /> |