summaryrefslogtreecommitdiffstats
path: root/web/lib/acctfuncs.inc.php
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2012-09-21 10:42:17 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2012-09-24 12:23:05 +0200
commitd56a88897bcaa9d552d1d2b90c33b7c6e29e330a (patch)
treec497cc2c86ca4592496d16223ce4e231e5f44e6e /web/lib/acctfuncs.inc.php
parent6102759b7cb9fd23f4e7fa5f12137334ff30a410 (diff)
downloadaurweb-d56a88897bcaa9d552d1d2b90c33b7c6e29e330a.tar.xz
Avoid use of "<b>"/"</b>"
* Use "<label>"/"</label>" for form labels. * Use "<strong>"/"</strong>" for important text. * Use "<h4>"/"</h4>" for headings. * Drop "<b>"/"</b>" everywhere else. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/lib/acctfuncs.inc.php')
-rw-r--r--web/lib/acctfuncs.inc.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/web/lib/acctfuncs.inc.php b/web/lib/acctfuncs.inc.php
index 44cbfbd..bce00f8 100644
--- a/web/lib/acctfuncs.inc.php
+++ b/web/lib/acctfuncs.inc.php
@@ -165,7 +165,7 @@ function process_account_form($UTYPE,$TYPE,$A,$U="",$T="",$S="",$E="",
if ($row[0]) {
$error = __("The username, %s%s%s, is already in use.",
- "<b>", htmlspecialchars($U,ENT_QUOTES), "</b>");
+ "<strong>", htmlspecialchars($U,ENT_QUOTES), "</strong>");
}
}
if (!$error) {
@@ -182,7 +182,7 @@ function process_account_form($UTYPE,$TYPE,$A,$U="",$T="",$S="",$E="",
if ($row[0]) {
$error = __("The address, %s%s%s, is already in use.",
- "<b>", htmlspecialchars($E,ENT_QUOTES), "</b>");
+ "<strong>", htmlspecialchars($E,ENT_QUOTES), "</strong>");
}
}
if ($error) {
@@ -209,12 +209,12 @@ function process_account_form($UTYPE,$TYPE,$A,$U="",$T="",$S="",$E="",
$result = $dbh->exec($q);
if (!$result) {
print __("Error trying to create account, %s%s%s.",
- "<b>", htmlspecialchars($U,ENT_QUOTES), "</b>");
+ "<strong>", htmlspecialchars($U,ENT_QUOTES), "</strong>");
} else {
# account created/modified, tell them so.
#
print __("The account, %s%s%s, has been successfully created.",
- "<b>", htmlspecialchars($U,ENT_QUOTES), "</b>");
+ "<strong>", htmlspecialchars($U,ENT_QUOTES), "</strong>");
print "<p>\n";
print __("Click on the Login link above to use your account.");
print "</p>\n";
@@ -247,10 +247,10 @@ function process_account_form($UTYPE,$TYPE,$A,$U="",$T="",$S="",$E="",
$result = $dbh->exec($q);
if (!$result) {
print __("Error trying to modify account, %s%s%s.",
- "<b>", htmlspecialchars($U,ENT_QUOTES), "</b>");
+ "<strong>", htmlspecialchars($U,ENT_QUOTES), "</strong>");
} else {
print __("The account, %s%s%s, has been successfully modified.",
- "<b>", htmlspecialchars($U,ENT_QUOTES), "</b>");
+ "<strong>", htmlspecialchars($U,ENT_QUOTES), "</strong>");
}
}
}