mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
getting closer to printing package search results - also fixed some XHTML stuff
This commit is contained in:
parent
9c6ec26c32
commit
1f62f86af5
12 changed files with 161 additions and 33 deletions
|
@ -29,7 +29,7 @@ if (isset($_COOKIE["AURSID"])) {
|
|||
} else {
|
||||
# a non-privileged user is trying to access the search page
|
||||
#
|
||||
print __("You are not allowed to access this area.")."<br/>\n";
|
||||
print __("You are not allowed to access this area.")."<br />\n";
|
||||
}
|
||||
|
||||
} elseif ($_REQUEST["Action"] == "DisplayAccount") {
|
||||
|
@ -73,7 +73,7 @@ if (isset($_COOKIE["AURSID"])) {
|
|||
if ($atype == "Trusted User" || $atype == "Developer") {
|
||||
# display the search page if they're a TU/dev
|
||||
#
|
||||
print __("Use this form to search existing accounts.")."<br/>\n";
|
||||
print __("Use this form to search existing accounts.")."<br />\n";
|
||||
search_accounts_form();
|
||||
|
||||
} else {
|
||||
|
@ -96,7 +96,7 @@ if (isset($_COOKIE["AURSID"])) {
|
|||
# normal user editing themselves.
|
||||
#
|
||||
print __("Use this form to update your account.");
|
||||
print "<br/>";
|
||||
print "<br />";
|
||||
print __("Leave the password fields blank to keep your same password.");
|
||||
display_account_form($atype, "UpdateAccount", $row["Username"],
|
||||
$row["AccountType"], $row["Suspended"], $row["Email"],
|
||||
|
|
|
@ -85,7 +85,7 @@ if (!isset($_COOKIE["AURSID"])) {
|
|||
#
|
||||
print "<form action='/index.php' method='post'>\n";
|
||||
if ($login_error) {
|
||||
print "<span class='error'>" . $login_error . "</span><br/>\n";
|
||||
print "<span class='error'>" . $login_error . "</span><br />\n";
|
||||
}
|
||||
print "<table border='0' cellpadding='0' cellspacing='0' width='100%'>\n";
|
||||
print "<tr>\n";
|
||||
|
@ -97,7 +97,7 @@ if (!isset($_COOKIE["AURSID"])) {
|
|||
print "<td><input type='password' name='pass' size='30' maxlength='32'></td>";
|
||||
print "</tr>\n";
|
||||
print "<tr>\n";
|
||||
print "<td colspan='2' align='right'> <br/>";
|
||||
print "<td colspan='2' align='right'> <br />";
|
||||
print "<input type='submit' class='button'";
|
||||
print " value='".__("Login")."'></td>";
|
||||
print "</tr>\n";
|
||||
|
|
|
@ -15,7 +15,7 @@ if (isset($_COOKIE["AURSID"])) {
|
|||
}
|
||||
|
||||
html_header(); # print out the HTML header
|
||||
print __("You have been successfully logged out.")."<br/>\n";
|
||||
print __("You have been successfully logged out.")."<br />\n";
|
||||
|
||||
|
||||
html_footer("\$Id$");
|
||||
|
|
|
@ -9,7 +9,7 @@ html_header(); # print out the HTML header
|
|||
# Any text you print out to the visitor, use the __() function
|
||||
# for i18n support. See 'testpo.php' for more details.
|
||||
#
|
||||
print __("Under construction...")."<br/>\n";
|
||||
print __("Under construction...")."<br />\n";
|
||||
|
||||
|
||||
html_footer("\$Id$");
|
||||
|
|
|
@ -38,7 +38,7 @@ if ($atype && $_REQUEST["Action"] == "Something") {
|
|||
#
|
||||
pkg_search_page();
|
||||
}
|
||||
print __("Under construction...")."<br/>\n";
|
||||
print __("Under construction...")."<br />\n";
|
||||
|
||||
|
||||
html_footer("\$Id$");
|
||||
|
|
|
@ -9,7 +9,7 @@ html_header(); # print out the HTML header
|
|||
# Any text you print out to the visitor, use the __() function
|
||||
# for i18n support. See 'testpo.php' for more details.
|
||||
#
|
||||
print __("Under construction...")."<br/>\n";
|
||||
print __("Under construction...")."<br />\n";
|
||||
|
||||
|
||||
html_footer("\$Id$");
|
||||
|
|
|
@ -9,7 +9,7 @@ html_header(); # print out the HTML header
|
|||
# Any text you print out to the visitor, use the __() function
|
||||
# for i18n support. See 'testpo.php' for more details.
|
||||
#
|
||||
print __("Under construction...")."<br/>\n";
|
||||
print __("Under construction...")."<br />\n";
|
||||
|
||||
|
||||
html_footer("\$Id$");
|
||||
|
|
|
@ -9,7 +9,7 @@ html_header(); # print out the HTML header
|
|||
# Any text you print out to the visitor, use the __() function
|
||||
# for i18n support. See 'testpo.php' for more details.
|
||||
#
|
||||
print __("Hi, this is worth reading!")."<br/>\n";
|
||||
print __("Hi, this is worth reading!")."<br />\n";
|
||||
|
||||
|
||||
html_footer("\$Id$"); # Use the $Id$ keyword
|
||||
|
|
|
@ -34,8 +34,8 @@ print __("My current language tag is: '%s'.", array($LANG));
|
|||
print "</p>\n";
|
||||
|
||||
print "<ul>\n";
|
||||
print __("Hello, world!")."<br/>\n";
|
||||
print __("Hello, again!")."<br/>\n";
|
||||
print __("Hello, world!")."<br />\n";
|
||||
print __("Hello, again!")."<br />\n";
|
||||
print "</ul>\n";
|
||||
print "</body>\n</html>";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue