mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Use snake case for all package functions
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
f461344211
commit
d16f7cf712
6 changed files with 13 additions and 13 deletions
|
@ -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" />
|
||||
|
|
|
@ -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"]);
|
||||
|
|
|
@ -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: ?>
|
||||
|
|
|
@ -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"]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue