summaryrefslogtreecommitdiffstats
path: root/web/template
diff options
context:
space:
mode:
Diffstat (limited to 'web/template')
-rw-r--r--web/template/pkg_comments.php2
-rw-r--r--web/template/pkg_details.php2
-rw-r--r--web/template/pkg_search_form.php2
-rw-r--r--web/template/pkgbase_details.php2
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"]);