]> git.lyx.org Git - lyx.git/blobdiff - lib/generate_contributions.py
Small clarification about 'LyX Archives'
[lyx.git] / lib / generate_contributions.py
index ff96f0d154e83f79840702b4cb389d0b4d758352..336d0c19beac6fcec81e9b8b6806a616ff92c3ea 100755 (executable)
@@ -152,9 +152,12 @@ function credits_contrib($name, $email, $msg) {
 $email = str_replace(' () ', '@', $email);
 $email = str_replace(' ! ', '.', $email);
 
 $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));
         $output=$output. "<dt><b>${name}</b>";
 
 $msg = ereg_replace("\\n *", "\\n  ", ltrim($msg));
@@ -1007,7 +1010,7 @@ contributers = [
                  u"Added native support for \makebox to mathed. Several bug fixes, both to the source code and to the llncs layout file"),
 
      contributer(u"LibreOffice Team",
                  u"Added native support for \makebox to mathed. Several bug fixes, both to the source code and to the llncs layout file"),
 
      contributer(u"LibreOffice Team",
-                 "http://http://www.libreoffice.org/",
+                 "http://www.libreoffice.org/",
                  "LGPL",
                  "",
                  "",
                  "LGPL",
                  "",
                  "",
@@ -1159,7 +1162,7 @@ contributers = [
                  u"Improvements to the outliner."),
 
      contributer(u"Oxygen Team",
                  u"Improvements to the outliner."),
 
      contributer(u"Oxygen Team",
-                 "http://www.oxygen-icons.org",
+                 "http://www.oxygen-icons.org/",
                  "LGPL",
                  "",
                  "",
                  "LGPL",
                  "",
                  "",