[pmwiki-users] ?action=diff --> restore-link question

Patrick R. Michaud pmichaud at pobox.com
Tue Nov 28 09:12:36 CST 2006


On Tue, Nov 28, 2006 at 03:45:09PM +0100, Florian Fischer wrote:
> Hello, 
> 
> calling the history of an article shows me the the different 
> versions of the article. Is there a way to show the restore 
> link only to admins? I guess there is, but i don't know how.

In local/config.php:

    # disable the restore link except for admins
    if (!CondAuth($pagename, 'admin')) $DiffRestoreFmt = '';

Pm




More information about the pmwiki-users mailing list