From 3bc951e3d87eaf692a7e47cf16a28d838c7cb2bd Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 27 Aug 2013 02:07:50 +0200 Subject: pkg_details: Convert most action links to forms Use forms and POST instead of GET for following actions: * Flagging/Unflagging a package out-of-date * Voting for a package and removing votes * Enabling/Disabling notifications Use CSS to make the submit buttons of these forms look like links. Signed-off-by: Lukas Fleischer --- web/template/pkg_details.php | 36 ++++++++++++++++++++++++++++++------ 1 file changed, 30 insertions(+), 6 deletions(-) (limited to 'web/template/pkg_details.php') diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php index 0973448..bd54923 100644 --- a/web/template/pkg_details.php +++ b/web/template/pkg_details.php @@ -39,20 +39,44 @@ $sources = package_sources($row["ID"]);
  • -
  • +
  • +
    + +
    +
  • -
  • +
  • +
    + +
    +
  • -
  • +
  • +
    + +
    +
  • -
  • +
  • +
    + +
    +
  • -
  • +
  • +
    + +
    +
  • -
  • +
  • +
    + +
    +
  • -- cgit v1.2.3-54-g00ecf