mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Backport to generate_contributions.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38159 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a5a2d0c398
commit
a10f116493
@ -152,9 +152,12 @@ function credits_contrib($name, $email, $msg) {
|
||||
$email = str_replace(' () ', '@', $email);
|
||||
$email = str_replace(' ! ', '.', $email);
|
||||
|
||||
if (isset($email) && $email != "")
|
||||
$output=$output. "<dt><b>[[mailto:${email} | ${name}]]</b>";
|
||||
else
|
||||
if (isset($email) && $email != "") {
|
||||
if (strncasecmp($email,"http",4) == 0)
|
||||
$output =$output. "<dt><b>[[${email} | ${name}]]</b>";
|
||||
else
|
||||
$output=$output. "<dt><b>[[mailto:${email} | ${name}]]</b>";
|
||||
} else
|
||||
$output=$output. "<dt><b>${name}</b>";
|
||||
|
||||
$msg = ereg_replace("\\n *", "\\n ", ltrim($msg));
|
||||
|
Loading…
Reference in New Issue
Block a user