From 4bc990f9c0a5da9e42f5ed58917cf051e1eacc0f Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Fri, 26 Jun 2015 12:06:21 +0200 Subject: Split out code to generate action links Add (and use) two new helper functions html_account_link() and html_account_form() to generate the links in the package actions box. Signed-off-by: Lukas Fleischer --- web/template/pkg_details.php | 74 +++++++++++++------------------------------- 1 file changed, 21 insertions(+), 53 deletions(-) (limited to 'web/template/pkg_details.php') diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php index 6864431..e894c07 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']); + ?>

@@ -99,75 +102,40 @@ $sources = pkg_sources($row["ID"]);
  • -
  • -
    - - -
    -
  • +
  • -
  • -
    - - -
    -
  • +
  • + -
  • -
    - - -
    -
  • +
  • -
  • -
    - - -
    -
  • +
  • + -
  • -
    - - -
    -
  • +
  • -
  • -
    - - -
    -
  • +
  • + -
  • +
  • +
  • 0) { echo _n('%d pending request', '%d pending requests', $row["RequestCount"]); } ?>
  • -
  • +
  • + -
  • -
  • - +
  • +
  • -
  • -
    - - -
    -
  • +
  • -
  • -
    - - -
    -
  • +
  • +
    -- cgit v1.2.3-70-g09d2