melat0nin wrote
I've seen this block of code in another forum post:
<?php if(isset($_SERVER['REMOTE_USER')) tpl_button('recent') ?>
but all my users are local (it's a corporate intranet) so I'm not sure if that would work.
It will work, this variable is explicitly set by DokuWiki's authentication system.