summaryrefslogtreecommitdiffstats
path: root/web/html
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2008-12-21 18:26:46 +0100
committerCallan Barrett <wizzomafizzo@gmail.com>2008-12-22 05:19:56 +0100
commitae1c424c95f7912351f776096205e2a7b0b8952c (patch)
tree8102a866330813c80bf4a9e000b292fb45b94fba /web/html
parentb56dfc3138816a521f48b73a35f7e49f21afaae4 (diff)
downloadaur-ae1c424c95f7912351f776096205e2a7b0b8952c.tar.gz
aur-ae1c424c95f7912351f776096205e2a7b0b8952c.tar.xz
Really make all web paths relative.
I forgot about the forms. Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Diffstat (limited to 'web/html')
-rw-r--r--web/html/pkgedit.php6
-rw-r--r--web/html/pkgsubmit.php2
2 files changed, 3 insertions, 5 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>