From d56a88897bcaa9d552d1d2b90c33b7c6e29e330a Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Fri, 21 Sep 2012 10:42:17 +0200 Subject: Avoid use of ""/"" * Use "" for form labels. * Use ""/"" for important text. * Use "

"/"

" for headings. * Drop ""/"" everywhere else. Signed-off-by: Lukas Fleischer --- web/lib/acctfuncs.inc.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'web/lib/acctfuncs.inc.php') 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.", - "", htmlspecialchars($U,ENT_QUOTES), ""); + "", htmlspecialchars($U,ENT_QUOTES), ""); } } 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.", - "", htmlspecialchars($E,ENT_QUOTES), ""); + "", htmlspecialchars($E,ENT_QUOTES), ""); } } 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.", - "", htmlspecialchars($U,ENT_QUOTES), ""); + "", htmlspecialchars($U,ENT_QUOTES), ""); } else { # account created/modified, tell them so. # print __("The account, %s%s%s, has been successfully created.", - "", htmlspecialchars($U,ENT_QUOTES), ""); + "", htmlspecialchars($U,ENT_QUOTES), ""); print "

\n"; print __("Click on the Login link above to use your account."); print "

\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.", - "", htmlspecialchars($U,ENT_QUOTES), ""); + "", htmlspecialchars($U,ENT_QUOTES), ""); } else { print __("The account, %s%s%s, has been successfully modified.", - "", htmlspecialchars($U,ENT_QUOTES), ""); + "", htmlspecialchars($U,ENT_QUOTES), ""); } } } -- cgit v1.2.3-54-g00ecf