diff options
author | eric <eric> | 2004-06-28 12:39:12 +0200 |
---|---|---|
committer | eric <eric> | 2004-06-28 12:39:12 +0200 |
commit | efcca46f26247ee69b33cb1effb0d34077817a80 (patch) | |
tree | 94ac2b265ff8ed77847a4979744d4f66a511f9a6 /web/lib | |
parent | dc3b13064cdb59dd12b200e7f8c73fd63126dea6 (diff) | |
download | aur-efcca46f26247ee69b33cb1effb0d34077817a80.tar.gz aur-efcca46f26247ee69b33cb1effb0d34077817a80.tar.xz |
working on action box for packages
Diffstat (limited to 'web/lib')
-rw-r--r-- | web/lib/aur.inc | 5 | ||||
-rw-r--r-- | web/lib/pkgs.inc | 35 |
2 files changed, 38 insertions, 2 deletions
diff --git a/web/lib/aur.inc b/web/lib/aur.inc index 9407a401..fd923c7d 100644 --- a/web/lib/aur.inc +++ b/web/lib/aur.inc @@ -406,13 +406,14 @@ function html_footer($ver="") { print " </td>\n"; print " </tr>\n"; print "</table>\n"; - print "<p>\n"; if ($ver) { + print "<p>\n"; print "<table border='0' cellpadding='0' cellspacing='0' width='97%'>\n"; print "<tr><td align='right'><span class='fix'>".$ver."</span></td></tr>\n"; print "</table>\n"; + print "</p>\n"; } - print "</p>\n"; + print "<br />\n"; print "</body>\n</html>"; return; } diff --git a/web/lib/pkgs.inc b/web/lib/pkgs.inc index dfcebb93..b4c47885 100644 --- a/web/lib/pkgs.inc +++ b/web/lib/pkgs.inc @@ -181,6 +181,41 @@ function pkg_search_page($SID="",$L="",$C="",$K="",$SB="",$M=0,$O=0,$PP=25) { # name will be a link that goes to 'details'. There should also be # a column for 'manage/edit' + if ($SID) { + print "<center>\n"; + print "<form action='/pkgsearch.php' method='post'>\n"; + print "<table cellspacing='3' class='boxSoft'>\n"; + print "<tr>\n"; + print " <td class='boxSoftTitle' align='right'>\n"; + print " <span class='f3'>".__("Actions")."</span>\n"; + print " </td>\n"; + print "</tr>\n"; + print "<tr>\n"; + print " <td class='boxSoft'>\n"; + print "<input type='hidden' name='Action' value='DoSomething'>\n"; + print "<table style='width: 100%' align='center'>\n"; + print "<tr>\n"; + print " <td align='center'>"; + print "<input type='submit' class='button' name='do_Flag'"; + print " value='".__("Flag Out-of-date")."'></td>\n"; + print " <td align='center'>"; + print "<input type='submit' class='button' name='do_Disown'"; + print " value='".__("Disown Packages")."'></td>\n"; + print " <td align='center'>"; + print "<input type='submit' class='button' name='do_Adopt'"; + print " value='".__("Adopt Packages")."'></td>\n"; + print " <td align='center'>"; + print "<input type='submit' class='button' name='do_Vote'"; + print " value='".__("Vote")."'></td>\n"; + print "</tr>\n"; + print "</table>\n"; + print " </td>\n"; + print "</tr>\n"; + print "</table>\n"; + print "</form>\n"; + print "</center>\n"; + print "<br />\n"; + } # query to pull out package info # |