The module is working now. Hock Sik, my collegue, found the problem. I think it was a typo that worked in the older version of webmin. The newer version is more strict. Here is the diff.
------------- start ------------------------
$ diff pure-users.cgi pure-users.cgi.org
474c474
< print "<tr $tb><td colspan=2 align=center><b>$login</b></td></tr>";
---
> print "<tr $tb><td colspan=2 align=center><b>$login</b></td></tr>",
------------- end --------------------------
It was the last ",". It should have been a ";".
Hope this helps others.
Here is the updated Pureftpd Webmin module.
Keywords: module pureftp webmin