mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 09:43:03 +00:00
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>
This commit is contained in:
parent
b56dfc3138
commit
ae1c424c95
4 changed files with 8 additions and 10 deletions
|
@ -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 /> <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").": \n";
|
||||
|
@ -170,4 +169,3 @@ print __("You've found a bug if you see this....")."<br />\n";
|
|||
|
||||
html_footer(AUR_VERSION);
|
||||
|
||||
?>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue