if self.contact.find("http") != -1:
result.append('@i%s\n' % self.contact)
else:
- ename, address = self.contact.split(" () ", 1)
- address = address.replace(" ! ", ".")
- contact = "%s@%s" % (ename, address)
- result.append('@iE-mail: %s\n' % contact)
+ result.append('@iE-mail: %s\n' % self.contact)
result.append(' %s\n' % self.credit.replace('\n', '\n '))
return "".join(result)
function credits_contrib($name, $email, $msg) {
-$output=$output. "
-
- <dt>
- <b>${name}</b>
-";
+$email = str_replace(' () ', '@', $email);
+$email = str_replace(' ! ', '.', $email);
if (isset($email) && $email != "")
- $output=$output. " <i><${email}></i>";
+ $output=$output. "<dt><b>[[mailto:${email} | ${name}]]</b>";
+else
+ $output=$output. "<dt><b>${name}</b>";
$msg = ereg_replace("\\n *", "\\n ", ltrim($msg));
If your name doesn't appear here although you've done
something for LyX, or your entry is wrong or incomplete,
just drop an e-mail to the
- <a href=\\"mailto:lyx-devel@lists.lyx.org\\">lyx-devel</a>
+ [[mailto:lyx-devel@lists.lyx.org | lyx-devel]]
mailing list. Thanks.
</p>
function blanket_contrib($name, $email, $msg_title, $msg_ref, $date) {
+$email = str_replace(' () ', '@', $email);
+$email = str_replace(' ! ', '.', $email);
+
$output=$output. "
<dt>
- <b>${name}</b>
- <i><${email}></i>
+ <b>[[mailto:${email} | ${name}]]</b>
</dt>
<dd>
See the lyx-devel mailing list message
if (isset($msg_ref) && $msg_ref != "") {
$msg_ref = htmlspecialchars("$msg_ref");
- $output=$output. "<a href=\\"http://marc.info/?l=lyx-devel&${msg_ref}\\">${msg_title}</a>";
+ $output=$output. "[[http://marc.info/?l=lyx-devel&" . ${msg_ref} . "|" . ${msg_title} . "]]";
} else {
$output=$output. "${msg_title}";
}
$output=$output."<p>
The following people hereby grant permission to license their
contributions to LyX under the
- <a href=\\"http://www.opensource.org/licenses/gpl-license.php\\">
- Gnu General Public License</a>, version 2 or later.
+ [[http://www.opensource.org/licenses/gpl-license.php |
+ Gnu General Public License]], version 2 or later.
</p>
<dl>";
<p>
The following people hereby grant permission to license their
contributions to LyX under the
- <a href=\\"http://www.opensource.org/licenses/artistic-license.php\\">
- Artistic License</a>.
+ [[http://www.opensource.org/licenses/artistic-license.php |
+ Artistic License]].
</p>
<dl>";
"",
u"Bug fix to the spellchecker"),
+ contributer(u"Nicola Focci",
+ "nicola.focci () gmail ! com",
+ "GPL",
+ "Permission",
+ "m=120946605432341",
+ "29 April 2008",
+ u"Italian translation of documentations"),
+
contributer(u"Enrico Forestieri",
"forenr () tlc ! unipr ! it",
"GPL",
"m=110916171925288",
"23 February 2005",
u"Norwegian documentation and localization"),
-
+
contributer(u"Richard Heck",
"rgheck () brown ! edu",
"GPL",
"",
u"bug reports and small fixes") ]
+
if __name__ == "__main__":
main(sys.argv, contributers)
+