working on action box for packages

This commit is contained in:
eric 2004-06-28 10:39:12 +00:00
parent dc3b13064c
commit efcca46f26
5 changed files with 86 additions and 55 deletions

View file

@ -91,4 +91,29 @@ $_t["en"]["Out-of-date"] = "Out-of-date";
# $_t["fr"]["Out-of-date"] = "--> Traduction française ici. <--";
# $_t["de"]["Out-of-date"] = "--> Deutsche Übersetzung hier. <--";
$_t["en"]["Flag Out-of-date"] = "Flag Out-of-date";
# $_t["es"]["Flag Out-of-date"] = "--> Traducción española aquí. <--";
# $_t["fr"]["Flag Out-of-date"] = "--> Traduction française ici. <--";
# $_t["de"]["Flag Out-of-date"] = "--> Deutsche Übersetzung hier. <--";
$_t["en"]["Actions"] = "Actions";
# $_t["es"]["Actions"] = "--> Traducción española aquí. <--";
# $_t["fr"]["Actions"] = "--> Traduction française ici. <--";
# $_t["de"]["Actions"] = "--> Deutsche Übersetzung hier. <--";
$_t["en"]["Adopt Packages"] = "Adopt Packages";
# $_t["es"]["Adopt Packages"] = "--> Traducción española aquí. <--";
# $_t["fr"]["Adopt Packages"] = "--> Traduction française ici. <--";
# $_t["de"]["Adopt Packages"] = "--> Deutsche Übersetzung hier. <--";
$_t["en"]["Disown Packages"] = "Disown Packages";
# $_t["es"]["Disown Packages"] = "--> Traducción española aquí. <--";
# $_t["fr"]["Disown Packages"] = "--> Traduction française ici. <--";
# $_t["de"]["Disown Packages"] = "--> Deutsche Übersetzung hier. <--";
$_t["en"]["Vote"] = "Vote";
# $_t["es"]["Vote"] = "--> Traducción española aquí. <--";
# $_t["fr"]["Vote"] = "--> Traduction française ici. <--";
# $_t["de"]["Vote"] = "--> Deutsche Übersetzung hier. <--";
?>

View file

@ -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;
}

View file

@ -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
#