diff --git a/lib/generate_contributions.py b/lib/generate_contributions.py index ff96f0d154..4f000d5537 100755 --- a/lib/generate_contributions.py +++ b/lib/generate_contributions.py @@ -152,9 +152,12 @@ function credits_contrib($name, $email, $msg) { $email = str_replace(' () ', '@', $email); $email = str_replace(' ! ', '.', $email); -if (isset($email) && $email != "") - $output=$output. "
[[mailto:${email} | ${name}]]"; -else +if (isset($email) && $email != "") { + if (strncasecmp($email,"http",4) == 0) + $output =$output. "
[[${email} | ${name}]]"; + else + $output=$output. "
[[mailto:${email} | ${name}]]"; +} else $output=$output. "
${name}"; $msg = ereg_replace("\\n *", "\\n ", ltrim($msg));