On Fri, Apr 04, 2008 at 07:55:03PM -0000, [EMAIL PROTECTED] wrote:
> Author: joost
> Date: Fri Apr  4 21:55:01 2008
> New Revision: 24118
> 
> URL: http://www.lyx.org/trac/changeset/24118
> Log:
> update for e-mail address obfuscation method of new website
> 
> Modified:
>     lyx-devel/trunk/lib/generate_contributions.py
> 
> Modified: lyx-devel/trunk/lib/generate_contributions.py
> URL: 
> http://www.lyx.org/trac/file/lyx-devel/trunk/lib/generate_contributions.py?rev=24118
> ==============================================================================
> --- lyx-devel/trunk/lib/generate_contributions.py (original)
> +++ lyx-devel/trunk/lib/generate_contributions.py Fri Apr  4 21:55:01 2008
> @@ -55,10 +55,7 @@
>                 if self.contact.find("http") != -1:
>                      result.append('@i%s\n' % self.contact)
>                 else:
> -                    ename, address = self.contact.split(" () ", 1)
> -                    address = address.replace(" ! ", ".")
> -                    contact = "[EMAIL PROTECTED]" % (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)
>  
> @@ -154,14 +151,10 @@
>  
>  function credits_contrib($name, $email, $msg) {
>  
> -$output=$output. "
> -
> - <dt>
> -  <b>${name}</b>
> -";
> -
>  if (isset($email) && $email != "")
> -        $output=$output. "  <i>&lt;${email}&gt;</i>";
> +        $output=$output. "<dt><b>[[mailto:${email} | ${name}]]</b>";
> +else
> +        $output=$output. "<dt><b>${name}</b>";
>  
>  $msg = ereg_replace("\\n *", "\\n  ", ltrim($msg));
>  
> @@ -216,8 +209,7 @@
>  $output=$output. "
>  
>   <dt>
> -  <b>${name}</b>
> -  <i>&lt;${email}&gt;</i>
> +  <b>[[mailto:${email} | ${name}]]</b>
>   </dt>
>   <dd>
>    See the lyx-devel mailing list message
> @@ -307,7 +299,7 @@
>  contributers = [
>  
>       contributer(u"Maarten Afman",
> -                 "info () axxx ! net",
> +                 "..."

Could you please explain me what you are doing here?

Andre'

Reply via email to