summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/html/pkgedit.php6
-rw-r--r--web/html/pkgsubmit.php2
-rw-r--r--web/lib/acctfuncs.inc8
-rw-r--r--web/template/pkg_search_form.php2
4 files changed, 8 insertions, 10 deletions
diff --git a/web/html/pkgedit.php b/web/html/pkgedit.php
index ff826634..2296470e 100644
--- a/web/html/pkgedit.php
+++ b/web/html/pkgedit.php
@@ -8,7 +8,6 @@ include_lang("pkgedit_po.inc"); # i18n translations for this script
set_lang(); # this sets up the visitor's language
check_sid(); # see if they're still logged in
html_header(); # print out the HTML header
-$svn_idstr = "\$Id$";
# Make sure this visitor is logged in
#
@@ -102,7 +101,7 @@ if ($_REQUEST["add_Comment"]) {
# Prompt visitor for comment
#
print "<div align='center'>\n";
- print "<form action='/pkgedit.php' method='post'>\n";
+ print "<form action='pkgedit.php' method='post'>\n";
print "<input type='hidden' name='add_Comment' value='1'>\n";
print "<input type='hidden' name='ID' value=\"".$_REQUEST["ID"]."\">\n";
print __("Enter your comment below.")."<br />&nbsp;<br />\n";
@@ -143,7 +142,7 @@ if ($_REQUEST["change_Category"]) {
if ($result != NULL) {
$catid = mysql_fetch_row($result);
}
- print "<form action='/pkgedit.php' method='post'>\n";
+ print "<form action='pkgedit.php' method='post'>\n";
print "<input type='hidden' name='change_Category' value='1'>\n";
print "<input type='hidden' name='ID' value=\"".$_REQUEST["ID"]."\">\n";
print __("Select new category").":&nbsp;\n";
@@ -170,4 +169,3 @@ print __("You've found a bug if you see this....")."<br />\n";
html_footer(AUR_VERSION);
-?>
diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php
index a3949edd..257e3b59 100644
--- a/web/html/pkgsubmit.php
+++ b/web/html/pkgsubmit.php
@@ -415,7 +415,7 @@ html_header("Submit");
$pkg_locations = pkgLocations();
?>
-<form action='/pkgsubmit.php' method='post' enctype='multipart/form-data'>
+<form action='pkgsubmit.php' method='post' enctype='multipart/form-data'>
<input type='hidden' name='pkgsubmit' value='1' />
<table border='0' cellspacing='5'>
<tr>
diff --git a/web/lib/acctfuncs.inc b/web/lib/acctfuncs.inc
index 959ae4af..1ee2d9e8 100644
--- a/web/lib/acctfuncs.inc
+++ b/web/lib/acctfuncs.inc
@@ -21,7 +21,7 @@ function display_account_form($UTYPE,$A,$U="",$T="",$S="",
global $SUPPORTED_LANGS;
- print "<form action='/account.php' method='post'>\n";
+ print "<form action='account.php' method='post'>\n";
print "<input type='hidden' name='Action' value='".$A."'>\n";
if ($UID) {
print "<input type='hidden' name='ID' value='".$UID."'>\n";
@@ -491,7 +491,7 @@ function search_results_page($UTYPE,$O=0,$SB="",$U="",$T="",
#
print "&nbsp;</span></td>";
} else {
- $edit_url = "/account.php?Action=DisplayAccount&ID=".$row["ID"];
+ $edit_url = "account.php?Action=DisplayAccount&ID=".$row["ID"];
print "<a href='".$edit_url . "'>";
print "Edit</a></span></td>";
}
@@ -503,7 +503,7 @@ function search_results_page($UTYPE,$O=0,$SB="",$U="",$T="",
print "<tr>";
print "<td align='left'>";
- print "<form action='/account.php' method='post'>\n";
+ print "<form action='account.php' method='post'>\n";
print "<input type='hidden' name='Action' value='SearchAccounts'>\n";
print "<input type='hidden' name='O'";
print " value='".($OFFSET-$HITS_PER_PAGE)."'>\n";
@@ -517,7 +517,7 @@ function search_results_page($UTYPE,$O=0,$SB="",$U="",$T="",
print "</form>\n";
print "</td>";
print "<td align='right'>";
- print "<form action='/account.php' method='post'>\n";
+ print "<form action='account.php' method='post'>\n";
print "<input type='hidden' name='Action' value='SearchAccounts'>\n";
print "<input type='hidden' name='O'";
print " value='".($OFFSET+$HITS_PER_PAGE)."'>\n";
diff --git a/web/template/pkg_search_form.php b/web/template/pkg_search_form.php
index 5478cdbf..f74e736f 100644
--- a/web/template/pkg_search_form.php
+++ b/web/template/pkg_search_form.php
@@ -1,4 +1,4 @@
-<form action='/packages.php' method='get'>
+<form action='packages.php' method='get'>
<input type='hidden' name='O' value='0'>
<center>