summaryrefslogtreecommitdiffstats
path: root/web/html/index.php
diff options
context:
space:
mode:
authoreric <eric>2004-06-23 02:28:13 +0200
committereric <eric>2004-06-23 02:28:13 +0200
commit84912ddb2e9e695980ac42c599ceda8362455790 (patch)
tree39bb7ff98de81556b9fe83e63acabc91ad94da58 /web/html/index.php
parent64db123697c4ce34bd9ef0c3881771627465ae6b (diff)
downloadaur-84912ddb2e9e695980ac42c599ceda8362455790.tar.gz
aur-84912ddb2e9e695980ac42c599ceda8362455790.tar.xz
account adding/editing is working
Diffstat (limited to 'web/html/index.php')
-rw-r--r--web/html/index.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/html/index.php b/web/html/index.php
index dd9b2ccb..77d42b56 100644
--- a/web/html/index.php
+++ b/web/html/index.php
@@ -11,7 +11,7 @@ if (isset($_REQUEST["user"]) || isset($_REQUEST["pass"])) {
# Attempting to log in
#
if (!isset($_REQUEST['user'])) {
- $login_error = __("You must supply an email address.");
+ $login_error = __("You must supply a username.");
}
if (!isset($_REQUEST['pass'])) {
$login_error = __("You must supply a password.");
@@ -25,7 +25,7 @@ if (isset($_REQUEST["user"]) || isset($_REQUEST["pass"])) {
$q.= "AND Passwd = '" . mysql_escape_string($_REQUEST["pass"]) . "'";
$result = db_query($q, $dbh);
if (!$result) {
- $login_error = __("Incorrect password for email address, %s.",
+ $login_error = __("Incorrect password for username, %s.",
array($_REQUEST["user"]));
} else {
$row = mysql_fetch_row($result);
@@ -79,7 +79,7 @@ print " </td>";
# XXX Is this the proper way to add some spacing between table cells?
#
print " <td>&nbsp;&nbsp;</td>";
-print " <td align='right'>\n";
+print " <td align='left' valign='top' nowrap>\n";
if (!isset($_COOKIE["AURSID"])) {
# the user is not logged in, give them login widgets
#
@@ -104,7 +104,7 @@ if (!isset($_COOKIE["AURSID"])) {
print "</form>\n";
} else {
- print __("Currently logged in as: %h%s%h",
+ print __("Logged-in as: %h%s%h",
array("<b>", username_from_sid($_COOKIE["AURSID"]), "</b>"));
}
print " </td>";