diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-04-05 15:13:01 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-04-05 15:54:21 +0200 |
commit | d16f7cf712f0f2f14343ff55a625b12603f542a4 (patch) | |
tree | d03b4552c1b5beaadee6a921db8888e048ceedec /web/template | |
parent | f4613442114b36d32e903b5b0608b73e32bdbc3f (diff) | |
download | aurweb-d16f7cf712f0f2f14343ff55a625b12603f542a4.tar.xz |
Use snake case for all package functions
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template')
-rw-r--r-- | web/template/pkg_comments.php | 2 | ||||
-rw-r--r-- | web/template/pkg_details.php | 2 | ||||
-rw-r--r-- | web/template/pkg_search_form.php | 2 | ||||
-rw-r--r-- | web/template/pkgbase_details.php | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/web/template/pkg_comments.php b/web/template/pkg_comments.php index 1f47bb3..d718118 100644 --- a/web/template/pkg_comments.php +++ b/web/template/pkg_comments.php @@ -14,7 +14,7 @@ $count = package_comments_count($base_id); $row['UserName'] = "<a href=\"" . get_user_uri($row['UserName']) . "\">{$row['UserName']}</a>"; endif; ?> <h4> - <?php if (canDeleteCommentArray($row, $atype, $uid)): ?> + <?php if (can_delete_comment_array($row, $atype, $uid)): ?> <form method="post" action="<?= htmlspecialchars(get_pkgbase_uri($pkgbase_name), ENT_QUOTES); ?>"> <fieldset style="display:inline;"> <input type="hidden" name="action" value="do_DeleteComment" /> diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php index 5268d3b..ed1b030 100644 --- a/web/template/pkg_details.php +++ b/web/template/pkg_details.php @@ -4,7 +4,7 @@ $uid = uid_from_sid($SID); $pkgid = intval($row['ID']); -$catarr = pkgCategories(); +$catarr = pkg_categories(); $submitter = username_from_id($row["SubmitterUID"]); $maintainer = username_from_id($row["MaintainerUID"]); diff --git a/web/template/pkg_search_form.php b/web/template/pkg_search_form.php index ececf06..d004acc 100644 --- a/web/template/pkg_search_form.php +++ b/web/template/pkg_search_form.php @@ -47,7 +47,7 @@ $per_page = array(50, 100, 250); <label for="id_category"><?= __("Category"); ?></label> <select name='C' id="id_category"> <option value='0'><?= __("Any"); ?></option> - <?php foreach (pkgCategories() as $id => $cat): ?> + <?php foreach (pkg_categories() as $id => $cat): ?> <?php if (isset($_REQUEST['C']) && $_REQUEST['C'] == $id): ?> <option value="<?= $id ?>" selected="selected"><?= $cat; ?></option> <?php else: ?> diff --git a/web/template/pkgbase_details.php b/web/template/pkgbase_details.php index 8da23c4..20d75be 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 = pkgCategories(); +$catarr = pkg_categories(); $submitter = username_from_id($row["SubmitterUID"]); $maintainer = username_from_id($row["MaintainerUID"]); |