diff --git a/web/lib/aur.inc.php b/web/lib/aur.inc.php
index 7f923d75..95f72cef 100644
--- a/web/lib/aur.inc.php
+++ b/web/lib/aur.inc.php
@@ -221,6 +221,43 @@ function html_format_maintainers($maintainer, $comaintainers) {
return $code;
}
+/**
+ * Format a link in the package actions box
+ *
+ * @param string $uri The link target
+ * @param string $desc The link label
+ *
+ * @return string The generated HTML code for the action link
+ */
+function html_action_link($uri, $desc) {
+ $code = '';
+ $code .= htmlspecialchars($desc) . '';
+
+ return $code;
+}
+
+/**
+ * Format a form in the package actions box
+ *
+ * @param string $uri The link target
+ * @param string $action The action name (passed as HTTP POST parameter)
+ * @param string $desc The link label
+ *
+ * @return string The generated HTML code for the action link
+ */
+function html_action_form($uri, $action, $desc) {
+ $code = '
';
+ $code .= '';
+ $code .= '';
+
+ return $code;
+}
+
/**
* Determine the user's e-mail address in the database using a session ID
*
diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php
index 6864431f..e894c07e 100644
--- a/web/template/pkg_details.php
+++ b/web/template/pkg_details.php
@@ -83,6 +83,9 @@ foreach ($rels as $rel) {
# $sources[0] = 'src';
$sources = pkg_sources($row["ID"]);
+
+$base_uri = get_pkgbase_uri($row['BaseName']);
+
?>