Dokuwiki: plugin ifauth patch
The patch to remove the paragraph, provided at the ifauth plugin page1), didn't work well for me. As long as the plugin will be used in a floated text block, it creates a line break. So I slightly changed the code of syntax.php:
# diff --strip-trailing-cr syntax.orig syntax.php 143,144c142,143 < if (stristr(substr($r,-7)," \n</p>\n")) { < $r = substr($r,0,-7); --- > if (stristr(substr($r,-7),"\n</p>\n")) { > $r = substr($r,0,strlen($r)-6);
As I am not a php specialist I did it by try and error, but it works - at least for me on Linux. Btw I converted line endings to Unix style.
Download: Patch    (md5sum)
Update:\ I recommend to use my successor, the plugin isauth instead!
Related
Comments
Dokuwiki: plugin ifauth patch [The DynDN.eS Blog]
Dokuwiki: plugin ifauth patch [The DynDN.eS Blog]
Dokuwiki: plugin ifauth patch [The DynDN.eS Blog]
Dokuwiki: plugin ifauth patch [The DynDN.eS Blog]
Dokuwiki: plugin ifauth patch [The DynDN.eS Blog]
Error: Class "XMLReader" not found
An unforeseen error has occured. This is most likely a bug somewhere. It might be a problem in the captcha plugin.
More info has been written to the DokuWiki error log.
Dokuwiki: plugin ifauth patch [The DynDN.eS Blog]