summaryrefslogtreecommitdiffstats
path: root/web/template
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2009-01-22 23:25:10 -0500
committerLoui Chang <louipc.ist@gmail.com>2009-01-22 23:25:10 -0500
commit84cd2d0467f9239cd048e74e5a55a1d8be25ff48 (patch)
tree3d56148beb45646977b263ab1f3c3bf138d030f1 /web/template
parent1bccb1ad7f5657846248f5d11ada5bd0178c612f (diff)
downloadaurweb-84cd2d0467f9239cd048e74e5a55a1d8be25ff48.tar.xz
Fix translated comment messages.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/template')
-rw-r--r--web/template/pkg_comments.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/web/template/pkg_comments.php b/web/template/pkg_comments.php
index 7bcf708..de13513 100644
--- a/web/template/pkg_comments.php
+++ b/web/template/pkg_comments.php
@@ -14,12 +14,11 @@
echo $durl;
}
if ($SID) {
- echo __("Comment by: %h%s%h on %s",
- "<a href='account.php?Action=AccountInfo&ID=".$carr["UsersID"]."'><b>",
- $carr["UserName"], "</b></a>", gmdate("Y m d [H:i:s]", $carr["CommentTS"]));
+ echo __("Comment by: %s on %s",
+ "<a href='account.php?Action=AccountInfo&ID=" . $carr["UsersID"] . "'><b>" . $carr["UserName"] . "</b></a>", gmdate("Y m d [H:i:s]", $carr["CommentTS"]));
} else {
- echo __("Comment by: %h%s%h on %s",
- "<b>", $carr["UserName"], "</b>",
+ echo __("Comment by: %s on %s",
+ '<b>' . $carr['UserName'] . '</b>',
gmdate("Y m d [H:i:s]", $carr["CommentTS"]));
}
?>