summaryrefslogtreecommitdiffstats
path: root/web/lib
diff options
context:
space:
mode:
authoreric <eric>2005-01-25 22:52:32 +0000
committereric <eric>2005-01-25 22:52:32 +0000
commita54ca6bfaf72832e0ca98278c037b7a1bc75fa16 (patch)
treed906562fc4a21ae6b884e15b052d142722380a22 /web/lib
parent9641fdc735640af82606ee9b6a60a1cb3c046d16 (diff)
downloadaurweb-a54ca6bfaf72832e0ca98278c037b7a1bc75fa16.tar.xz
started working on package delete support
Diffstat (limited to 'web/lib')
-rw-r--r--web/lib/acctfuncs.inc2
-rw-r--r--web/lib/config.inc.proto2
-rw-r--r--web/lib/pkgfuncs.inc3
3 files changed, 6 insertions, 1 deletions
diff --git a/web/lib/acctfuncs.inc b/web/lib/acctfuncs.inc
index e56ceeb..52d69c6 100644
--- a/web/lib/acctfuncs.inc
+++ b/web/lib/acctfuncs.inc
@@ -265,7 +265,7 @@ function process_account_form($UTYPE,$TYPE,$A,$U="",$T="",$S="",$E="",
if (!$result) {
print __("Error trying to create account, %h%s%h: %s.",
array("<b>", $U, "</b>", mysql_error($dbh)));
- } else {
+ } else {
# account created/modified, tell them so.
#
print __("The account, %h%s%h, has been successfully created.",
diff --git a/web/lib/config.inc.proto b/web/lib/config.inc.proto
index 673a896..d530fd7 100644
--- a/web/lib/config.inc.proto
+++ b/web/lib/config.inc.proto
@@ -3,4 +3,6 @@
$UPLOAD_DIR = "/aur/temp/";
$INCOMING_DIR = "/aur/incoming/";
$URL_DIR = "/packages/";
+
+# vim: ts=2 sw=2 noet ft=php
?>
diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc
index 2a6fda2..da948fd 100644
--- a/web/lib/pkgfuncs.inc
+++ b/web/lib/pkgfuncs.inc
@@ -576,6 +576,9 @@ function pkg_search_page($SID="") {
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_Delete'";
+ #print " value='".__("Delete Packages")."'></td>\n";
print " <td align='center'>";
print "<input type='submit' class='button' name='do_Vote'";
print " value='".__("Vote")."'></td>\n";