On 30/03/2011 8:31 AM, Pavel Sanda wrote:
last, some python capable being around? we need to insert into this code
if (isset($email)&&  $email != "")
        $output=$output. "<dt><b>[[mailto:${email} | ${name}]]</b>";

something like:
        if ( email starts with http ) output="<a href="+name+"/>  ....
        else

script is on www/farm/cookbook/LyX/credits.inc
and we want correct output inhttp://www.lyx.org/Credits

        if email.startswith("http"):
          output="<a href="+name+"/>"
        else
          ...

--
Julien

Reply via email to