From 10c5e95a2fce173d4c13d6df4d9e15d9bb8437f6 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 18 May 2004 18:41:46 +0000 Subject: - Made it possible for anonymous users to leave their name, e-mail address and the URL of their homepage. Patch by Pablo. --- includes/common.inc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/common.inc b/includes/common.inc index 71e4da38c..95cac35dc 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -979,7 +979,14 @@ function format_name($object) { ** the true author of the content. */ - $output = $object->name; + if ($object->homepage) { + $output = "homepage\">$object->name"; + } + else { + $output = $object->name; + } + + $output .= ' ('. t('not verified') .')'; } else { $output = t(variable_get("anonymous", "Anonymous")); -- cgit v1.2.3