From ae1c424c95f7912351f776096205e2a7b0b8952c Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Sun, 21 Dec 2008 12:26:46 -0500 Subject: Really make all web paths relative. I forgot about the forms. Signed-off-by: Loui Chang Signed-off-by: Callan Barrett --- web/html/pkgedit.php | 6 ++---- web/html/pkgsubmit.php | 2 +- web/lib/acctfuncs.inc | 8 ++++---- web/template/pkg_search_form.php | 2 +- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/web/html/pkgedit.php b/web/html/pkgedit.php index ff82663..2296470 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 "
\n"; - print "
\n"; + print "\n"; print "\n"; print "\n"; print __("Enter your comment below.")."
 
\n"; @@ -143,7 +142,7 @@ if ($_REQUEST["change_Category"]) { if ($result != NULL) { $catid = mysql_fetch_row($result); } - print "\n"; + print "\n"; print "\n"; print "\n"; print __("Select new category").": \n"; @@ -170,4 +169,3 @@ print __("You've found a bug if you see this....")."
\n"; html_footer(AUR_VERSION); -?> diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php index a3949ed..257e3b5 100644 --- a/web/html/pkgsubmit.php +++ b/web/html/pkgsubmit.php @@ -415,7 +415,7 @@ html_header("Submit"); $pkg_locations = pkgLocations(); ?> - + diff --git a/web/lib/acctfuncs.inc b/web/lib/acctfuncs.inc index 959ae4a..1ee2d9e 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 "\n"; + print "\n"; print "\n"; if ($UID) { print "\n"; @@ -491,7 +491,7 @@ function search_results_page($UTYPE,$O=0,$SB="",$U="",$T="", # print " "; } else { - $edit_url = "/account.php?Action=DisplayAccount&ID=".$row["ID"]; + $edit_url = "account.php?Action=DisplayAccount&ID=".$row["ID"]; print ""; print "Edit"; } @@ -503,7 +503,7 @@ function search_results_page($UTYPE,$O=0,$SB="",$U="",$T="", print ""; print ""; print "
"; - print "\n"; + print "\n"; print "\n"; print "\n"; @@ -517,7 +517,7 @@ function search_results_page($UTYPE,$O=0,$SB="",$U="",$T="", print "\n"; print ""; - print "
\n"; + print "\n"; print "\n"; print "\n"; diff --git a/web/template/pkg_search_form.php b/web/template/pkg_search_form.php index 5478cdb..f74e736 100644 --- a/web/template/pkg_search_form.php +++ b/web/template/pkg_search_form.php @@ -1,4 +1,4 @@ - +
-- cgit v1.2.3-70-g09d2