diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-05-18 18:41:46 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-05-18 18:41:46 +0000 |
commit | 10c5e95a2fce173d4c13d6df4d9e15d9bb8437f6 (patch) | |
tree | 88026297783f22b48b727aff7692574b2e0bfa12 /includes | |
parent | 25a709a1f30626ebaaa396ca3e2c55d33b5ec7f6 (diff) | |
download | brdo-10c5e95a2fce173d4c13d6df4d9e15d9bb8437f6.tar.gz brdo-10c5e95a2fce173d4c13d6df4d9e15d9bb8437f6.tar.bz2 |
- Made it possible for anonymous users to leave their name, e-mail address
and the URL of their homepage. Patch by Pablo.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/common.inc | 9 |
1 files changed, 8 insertions, 1 deletions
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 = "<a href=\"$object->homepage\">$object->name</a>"; + } + else { + $output = $object->name; + } + + $output .= ' ('. t('not verified') .')'; } else { $output = t(variable_get("anonymous", "Anonymous")); |