mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
* generate_contributions.py - another php 8 choking points
This commit is contained in:
parent
0bd6fe0fc4
commit
56ab845ca5
@ -227,10 +227,12 @@ function blanket_contrib($name, $email, $msg_title, $msg_ref, $date) {
|
||||
$email = str_replace(' () ', '@', $email);
|
||||
$email = str_replace(' ! ', '.', $email);
|
||||
|
||||
if(!isset($output)){ $output = ''; }
|
||||
|
||||
$output=$output. "
|
||||
|
||||
<dt>
|
||||
<b>[[mailto:${email} | ${name}]]</b>
|
||||
<b>[[mailto:{$email} | {$name}]]</b>
|
||||
</dt>
|
||||
<dd>
|
||||
See the lyx-devel mailing list message
|
||||
@ -239,12 +241,12 @@ $output=$output. "
|
||||
if (isset($msg_ref) && $msg_ref != "") {
|
||||
$msg_ref = htmlspecialchars("$msg_ref");
|
||||
if (substr($msg_ref, 0, 2) == "m=") {
|
||||
$output=$output. "[[https://marc.info/?l=lyx-devel&" . ${msg_ref} . "|" . ${msg_title} . "]]";
|
||||
$output=$output. "[[https://marc.info/?l=lyx-devel&" . $msg_ref . "|" . $msg_title . "]]";
|
||||
} else {
|
||||
$output=$output. "[[https://www.mail-archive.com/lyx-devel@lists.lyx.org/" . ${msg_ref} . ".html |" . ${msg_title} . "]]";
|
||||
$output=$output. "[[https://www.mail-archive.com/lyx-devel@lists.lyx.org/" . $msg_ref . ".html |" . $msg_title . "]]";
|
||||
}
|
||||
} else {
|
||||
$output=$output. "${msg_title}";
|
||||
$output=$output. "{$msg_title}";
|
||||
}
|
||||
|
||||
$output=$output. ""
|
||||
@ -256,6 +258,8 @@ return $output;
|
||||
|
||||
function blanket_output() {
|
||||
|
||||
if(!isset($output)){ $output = ''; }
|
||||
|
||||
$output=$output."<p>
|
||||
The following people hereby grant permission to license their
|
||||
contributions to LyX under the
|
||||
|
Loading…
Reference in New Issue
Block a user