From d016fb14f43976ba184d3e0597065b15f5eca1f0 Mon Sep 17 00:00:00 2001 From: natrak <> Date: Wed, 25 Jul 2001 12:21:48 +0000 Subject: common.inc - format_username() now takes a second optional parameter which gives the real name of the user. Rest - updated the calls to format_username() where appropriate to show the name of the user instead of the account id. Clicking on a name will still give you the account info etc. If you find a place where the real name is not shown let me know. --- node.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'node.php') diff --git a/node.php b/node.php index e6db41913..7482e977d 100644 --- a/node.php +++ b/node.php @@ -77,7 +77,7 @@ function node_failure() { function node_history($node) { global $status; if ($node->status == $status[expired] || $node->status == $status[posted]) { - $output .= "
nid\">". check_output($node->title) ."
$node->type - ". format_username($node->userid) ." - ". format_date($node->timestamp, "small") ."
nid\">". check_output($node->title) ."
$node->type - ". format_username($node->userid, $node->name) ." - ". format_date($node->timestamp, "small") ."